/* ═══════════════════════════════════════════════════════════════════════
   DO 0 AO DEV — Landing page do curso
   Design system amostrado de https://studioscriar.com.br (css/style.css)
   Cores, fontes e estilo de botão são os MESMOS do site institucional.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* --- tokens reais do site --- */
    --bg-base: #07050a;
    --bg-surface: #100a0c;
    --bg-elevated: #1a1014;
    --brand-orange: #ff6a00;
    --brand-red: #ff2d2d;
    --brand-amber: #ffb800;
    --brand-deep: #c41e1e;
    --txt-primary: #ffffff;
    --txt-secondary: #a1a1aa;
    --txt-muted: #71717a;

    --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Manrope", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* --- derivados desta página --- */
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --btn: #fb923c;
    --maxw: 1200px;
}

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

html { scroll-behavior: smooth; background: var(--bg-base); }

body {
    background: var(--bg-base);
    color: var(--txt-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg, iframe { display: block; max-width: 100%; }
::selection { background: rgba(255, 106, 0, 0.3); color: #fff; }

:focus-visible {
    outline: 2px solid var(--brand-orange);
    outline-offset: 3px;
}

/* ── Tipografia ───────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { color: var(--txt-secondary); }

strong { color: var(--txt-primary); font-weight: 700; }

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 300;
    max-width: 62ch;
}

.hl { color: var(--brand-amber); }

.grad {
    background: linear-gradient(100deg, var(--brand-amber), var(--brand-orange) 45%, var(--brand-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Rótulo de seção em comentário de código — assinatura da marca */
.label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-orange);
    display: block;
    margin-bottom: 1rem;
}

/* Notas em comentário de código — minúsculas, porque são frases longas */
.mono {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    color: var(--txt-muted);
}

/* ── Layout ───────────────────────────────────────────────────────────── */

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: clamp(4rem, 9vw, 7.5rem) 0;
    position: relative;
}

.section-head { max-width: 72ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin-top: 1rem; }

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

.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
}

/* ── Botões (iguais ao site) ──────────────────────────────────────────── */

.btn {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 1rem 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-1 { background-color: var(--btn); color: #000; }
.btn-1:hover { background-color: #fff; box-shadow: 0 0 36px rgba(255, 106, 0, 0.55); }

.btn-2 {
    border: 1px solid var(--line-strong);
    color: #fff;
    background: transparent;
}
.btn-2:hover { border-color: #fff; background-color: rgba(255, 255, 255, 0.05); }

.btn-sm { padding: 0.75rem 1.25rem; font-size: 0.72rem; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(7, 5, 10, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
    gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 2.1rem; height: 2.1rem; }
.brand-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.brand-name span { color: var(--brand-orange); }
.brand-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--txt-muted);
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
    font-size: 0.9rem;
    color: var(--txt-secondary);
    transition: color 0.2s ease;
}
.nav a:hover { color: #fff; }

@media (max-width: 1000px) {
    .nav { display: none; }
}
@media (max-width: 560px) {
    .header-cta { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
    padding-top: calc(4.25rem + clamp(1.25rem, 3vw, 2.25rem));
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 70vh;
    background:
        radial-gradient(45% 55% at 20% 10%, rgba(255, 106, 0, 0.22), transparent 70%),
        radial-gradient(40% 50% at 80% 0%, rgba(255, 45, 45, 0.16), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero .wrap { position: relative; z-index: 1; }

/* Primeira seção centralizada e compacta: promessa curta, vídeo inteiro e
   botão cabem na primeira tela de um notebook (1440x820). Cada medida aqui
   foi calibrada para isso — ao mexer, confira se o botão continua visível
   sem rolar. */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2rem);
    justify-items: center;
    text-align: center;
}

.hero .badge { margin-inline: auto; margin-bottom: 0.75rem; }

.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.25rem);
    max-width: 24ch;
    margin-inline: auto;
    margin-bottom: 0.75rem;
}

.hero .hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 56ch;
    margin-inline: auto;
}

.hero .btn-row,
.hero .pills { justify-content: center; }

/* Botão logo abaixo do vídeo, colado nele. */
.hero-grid .btn-row { margin-top: 1.25rem; }

/* O vídeo não ocupa a largura toda: 640px cabe inteiro acima da dobra. */
.hero-grid > :last-child {
    width: 100%;
    max-width: 640px;
}

.hero .video-note { margin-top: 0.75rem; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--line-strong);
    padding: 0.45rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--txt-secondary);
    margin-bottom: 1.5rem;
}

.dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 10px var(--brand-orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero h1 { margin-bottom: 1.25rem; }

.hero-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; max-width: 54ch; }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }

.pill {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--txt-secondary);
}

/* Espaço do vídeo — troque o data-video-id no index.html */
.video {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(160deg, var(--bg-elevated), var(--bg-surface));
    border: 1px solid var(--line-strong);
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.video::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 90px rgba(255, 106, 0, 0.14);
    pointer-events: none;
}

.video img { width: 100%; height: 100%; object-fit: cover; }

.video iframe { width: 100%; height: 100%; border: 0; }

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(7, 5, 10, 0.35);
    transition: background 0.3s ease;
}

.video:hover .video-overlay { background: rgba(7, 5, 10, 0.15); }

.play {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--btn);
    color: #000;
    display: grid;
    place-items: center;
    box-shadow: 0 0 40px rgba(255, 106, 0, 0.5);
    transition: transform 0.3s ease;
}

.video:hover .play { transform: scale(1.08); }

.video-caption {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}

.video-note {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--txt-muted);
    margin-top: 0.75rem;
    text-align: center;
}

/* ── Cards ────────────────────────────────────────────────────────────── */

.card {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    padding: 1.75rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover { border-color: rgba(255, 106, 0, 0.45); transform: translateY(-3px); }

.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

.card-n {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--brand-orange);
    display: block;
    margin-bottom: 0.9rem;
}

.card-flat { background: transparent; }

/* Antes / Ponte / Depois */
.bridge .card { border-top: 2px solid var(--line-strong); }
.bridge .card.is-before { border-top-color: var(--brand-deep); }
.bridge .card.is-path { border-top-color: var(--brand-orange); }
.bridge .card.is-after { border-top-color: var(--brand-amber); }

.list { list-style: none; display: grid; gap: 0.7rem; margin-top: 1rem; }
.list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--txt-secondary);
    font-size: 0.95rem;
}
.list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-family: var(--font-mono);
}
.list.neg li::before { content: "×"; color: var(--brand-red); }
.list.pos li::before { content: "✓"; color: var(--brand-amber); }

/* Equação de valor */
.equation {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 2.1vw, 1.3rem);
    text-align: center;
    padding: 1.5rem;
    border: 1px dashed var(--line-strong);
    background: rgba(255, 106, 0, 0.04);
    color: #fff;
    letter-spacing: 0.05em;
}
.equation b { color: var(--brand-amber); font-weight: 600; }

/* Módulos */
.module {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.module:first-of-type { border-top: 1px solid var(--line); }
.module-n {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.9rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--brand-orange);
    line-height: 1;
}
.module h3 { margin-bottom: 0.4rem; }
.module p { font-size: 0.95rem; }
.module .obstacle {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--txt-muted);
    margin-top: 0.6rem;
    display: block;
}

@media (max-width: 620px) {
    .module { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
}

/* CTA repetido ao longo da página: quem decide no meio da leitura não
   precisa rolar até a oferta para comprar. */
.cta-inline {
    text-align: center;
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.cta-inline .btn { margin-inline: auto; }

.cta-inline p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--txt-muted);
    margin-top: 0.85rem;
}

/* Números de impacto */
.stats { border-block: 1px solid var(--line); }
.stat { padding: 1.5rem 0; text-align: center; }
.stat b {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.2rem);
    display: block;
    line-height: 1;
    background: linear-gradient(100deg, var(--brand-amber), var(--brand-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--txt-muted);
    margin-top: 0.5rem;
    display: block;
}

/* Depoimento (placeholder até ter os reais) */
.quote {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-left: 2px solid var(--brand-orange);
    padding: 1.75rem;
}
.quote p { font-size: 0.98rem; color: var(--txt-secondary); }
.quote footer {
    margin-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--txt-muted);
}
.quote.is-slot { border-left-color: var(--line-strong); border-style: dashed; }

/* Custo de não agir / ancoragem */
.compare { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: var(--bg-surface);
    align-items: center;
}
.compare-row span { color: var(--txt-secondary); font-size: 0.95rem; }
.compare-row b { font-family: var(--font-mono); font-size: 0.95rem; white-space: nowrap; }
.compare-row.is-you b { color: var(--brand-amber); }
.compare-row.is-total { background: var(--bg-elevated); }
.compare-row.is-total span { color: #fff; font-weight: 700; }

/* Oferta / preço */
.offer {
    border: 1px solid rgba(255, 106, 0, 0.35);
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(255, 106, 0, 0.12), transparent 70%),
        var(--bg-surface);
    padding: clamp(1.75rem, 4vw, 3rem);
    text-align: center;
}

.price-old {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--txt-muted);
    text-decoration: line-through;
}

.price {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3rem, 9vw, 5rem);
    line-height: 1;
    margin: 0.5rem 0;
}

.price small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--txt-secondary);
    margin-top: 0.75rem;
}

.offer .btn-row { justify-content: center; }

.guarantee {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.guarantee div {
    border: 1px solid var(--line);
    padding: 0.6rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--txt-secondary);
}

/* Detalhe da garantia de resultado: dentro do bloco centrado da oferta,
   mas alinhado à esquerda — é uma regra para ler, não um slogan. */
.guarantee-detail {
    text-align: left;
    max-width: 62ch;
    margin: 1.75rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.guarantee-detail p { font-size: 0.95rem; }
.guarantee-detail .list { margin-bottom: 1rem; }
.guarantee-detail .mono { font-size: 0.72rem; }

/* Contagem regressiva */
.countdown {
    display: inline-flex;
    gap: 0.75rem;
    font-family: var(--font-mono);
    margin-top: 1.5rem;
}
.countdown div {
    min-width: 4rem;
    border: 1px solid var(--line-strong);
    padding: 0.6rem 0.4rem;
    text-align: center;
}
.countdown b { display: block; font-size: 1.4rem; color: var(--brand-amber); }
.countdown span { font-size: 0.6rem; letter-spacing: 0.14em; color: var(--txt-muted); text-transform: uppercase; }

/* FAQ / objeções */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    padding: 1.25rem 2.5rem 1.25rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    color: var(--brand-orange);
    font-size: 1.3rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.5rem; font-size: 0.97rem; max-width: 75ch; }

/* Passos pós-compra */
.steps { counter-reset: s; }
.steps .card::before {
    counter-increment: s;
    content: "0" counter(s);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--brand-orange);
    display: block;
    margin-bottom: 0.9rem;
}

/* ── CTA final + footer ───────────────────────────────────────────────── */

.final {
    text-align: center;
    background:
        radial-gradient(60% 80% at 50% 100%, rgba(255, 45, 45, 0.16), transparent 70%),
        var(--bg-base);
    border-top: 1px solid var(--line);
}
.final .lead { margin: 1.25rem auto 0; }
.final .btn-row { justify-content: center; }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
    background: var(--bg-surface);
}
.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-between;
    align-items: center;
}
.site-footer p, .site-footer a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--txt-muted);
}
.site-footer a:hover { color: var(--brand-orange); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ── Barra fixa de CTA no mobile ──────────────────────────────────────── */

.sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: none;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(7, 5, 10, 0.93);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-strong);
}
.sticky-cta strong { font-family: var(--font-mono); font-size: 0.8rem; }
.sticky-cta small { display: block; font-family: var(--font-mono); font-size: 0.6rem; color: var(--txt-muted); letter-spacing: 0.1em; }

@media (max-width: 760px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 4.5rem; }
}

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

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

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

/* ── Impressão ────────────────────────────────────────────────────────── */

@media print {
    .site-header, .sticky-cta, .video { display: none; }
    body { background: #fff; color: #000; }
}
