@font-face {
    font-family: Roboto;
    src: url("/fonts/roboto-medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url("/fonts/roboto-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Changa One";
    src: url("/fonts/changa-one-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Changa One";
    src: url("/fonts/changa-one-italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --brand: #ff8200;
    --brand-deep: #e07000;
    --ink: #141414;
    --paper: #f7f4ef;
    --muted: #5c564e;
    --line: rgba(20, 20, 20, 0.08);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.55;
}

body.soon-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    z-index: 20;
}

.top-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.brand img {
    display: block;
    height: 46px;
    width: auto;
}

.countdown {
    text-align: right;
}

.countdown-live p,
.countdown-done {
    margin: 0;
}

.countdown-live p {
    color: #6b645c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.digits {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
}

.digits span {
    min-width: 64px;
}

.digits strong {
    display: block;
    font-family: Roboto, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 0.9;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

.digits small {
    display: block;
    color: #8a837b;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.digits b {
    color: var(--brand);
    font-size: 1.8rem;
    line-height: 1;
    padding-top: 2px;
}

.countdown-done {
    font-family: "Changa One", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand);
}

.top-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    border-bottom: 2px solid var(--brand);
    padding-bottom: 2px;
}

.top-link:hover {
    color: var(--brand);
}

.hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    padding: 48px 7vw 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(255, 250, 245, 0.96) 0%, rgba(255, 248, 240, 0.9) 40%, rgba(255, 255, 255, 0.55) 68%, rgba(255, 255, 255, 0.28) 100%),
        url("/imagens/maquinas.jpg") center right / cover no-repeat;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: min(640px, 54%);
    padding-bottom: 56px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero h1,
.practice h2,
.guide h2,
.role h3,
.closer h2 {
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.hero h1 {
    font-size: clamp(2.15rem, 3.5vw, 2.9rem);
    line-height: 1.05;
}

.hero h1 em {
    font-style: italic;
    color: var(--brand);
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-photo {
    position: absolute;
    right: 3vw;
    bottom: 0;
    height: min(92%, 680px);
    width: auto;
    max-width: none;
    filter: drop-shadow(0 16px 24px rgba(80, 50, 20, 0.18));
    pointer-events: none;
    user-select: none;
}

.btn-enroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: var(--brand);
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 2px solid var(--brand);
    border-radius: 8px;
    padding: 16px 22px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.2;
    box-shadow: 0 12px 28px rgba(255, 130, 0, 0.28);
}

.btn-enroll:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #1a1a1a;
}

.wrap {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.pitch {
    background: #111;
    color: #fff;
    padding: 42px 24px 36px;
}

.pitch-box {
    width: min(680px, 100%);
    margin: 0 auto;
    text-align: left;
}

.pitch-box p {
    margin: 0 0 14px;
    font-size: 1.12rem;
    line-height: 1.55;
    color: #f3ece4;
}

.pitch-box p:last-of-type {
    margin-bottom: 0;
    color: #fff;
    font-weight: 700;
}

.pitch-box .btn-enroll {
    margin-top: 22px;
}

.practice {
    padding: 72px 0;
}

.eyebrow-dark {
    color: #9a4d00;
}

.practice h2,
.guide h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.practice h2 {
    max-width: 18em;
}

.guide h2 {
    max-width: 14ch;
}

.roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.role {
    background: #fff;
    border-radius: 18px;
    padding: 26px 26px 10px;
    border-top: 6px solid #1f7a4d;
    box-shadow: 0 16px 40px rgba(20, 20, 20, 0.06);
}

.role-mvb {
    border-top-color: #e2a100;
}

.role h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.role ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.role li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-top: 1px solid var(--line);
}

.role li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1f7a4d;
}

.role-mvb li::before {
    background: #e2a100;
}

.guide {
    background: #fff;
    color: var(--ink);
    padding: 28px 0 0;
    overflow: hidden;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.guide img {
    order: 2;
    display: block;
    width: min(100%, 420px);
    margin: 0 0 0 auto;
    filter: drop-shadow(0 16px 24px rgba(80, 50, 20, 0.12));
}

.guide-grid div {
    padding: 48px 0 64px;
}

.guide h2 {
    max-width: 14ch;
}

.guide p:last-child {
    color: #3d3832;
    font-size: 1.12rem;
}

.closer {
    padding: 78px 0;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 247, 238, 0.94), rgba(255, 255, 255, 0.92)),
        url("/imagens/maquinas.jpg") center / cover no-repeat;
    color: var(--ink);
}

.closer .wrap {
    max-width: 760px;
}

.closer-flag {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    background: var(--brand);
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.closer h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-left: auto;
    margin-right: auto;
}

.closer p {
    color: #3d3832;
    text-align: justify;
}

.landing-foot {
    background: #fff;
    color: #5c564e;
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 22px 16px 28px;
}

.landing-foot a {
    color: var(--brand);
    font-weight: 700;
}

.soon {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(8, 8, 8, 0.72);
}

.soon-dialog {
    width: min(420px, 100%);
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    padding: 28px 24px 22px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.soon-dialog h2 {
    margin: 0 0 18px;
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .hero {
        min-height: 480px;
        padding: 20px 22px 12px;
    }

    .hero-copy {
        max-width: 62%;
        padding-bottom: 28px;
    }

    .hero-photo {
        height: min(100%, 450px);
        right: 0;
    }

    .guide-grid {
        gap: 12px;
        align-items: center;
    }

    .guide img {
        width: 100%;
    }

    .guide-grid div {
        padding: 28px 0 24px;
    }

    .guide h2 {
        max-width: none;
        font-size: clamp(1.7rem, 4vw, 2.4rem);
    }
}

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

@media (max-width: 640px) {
    .topbar {
        padding: 12px 14px 10px;
    }

    .brand img {
        height: 36px;
    }

    .countdown-live p {
        letter-spacing: 0;
        font-size: 0.58rem;
        white-space: nowrap;
    }

    .digits {
        gap: 4px;
    }

    .digits span {
        min-width: 34px;
    }

    .digits strong {
        font-size: 1.35rem;
    }

    .digits b {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 0;
        padding: 16px 12px 0;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        column-gap: 8px;
    }

    .hero-copy {
        max-width: none;
        grid-column: 1;
        grid-row: 1;
        padding-bottom: 14px;
    }

    .hero h1 {
        font-size: 1.45rem;
    }

    .hero-actions .btn-enroll {
        width: auto;
        max-width: 100%;
        padding: 14px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .hero-photo {
        position: relative;
        right: auto;
        grid-column: 2;
        grid-row: 1;
        width: auto;
        height: auto;
        max-height: 300px;
        max-width: 42vw;
        align-self: end;
        justify-self: end;
        margin: 0;
    }

    .guide-grid {
        display: block;
    }

    .guide img {
        float: right;
        width: 42%;
        max-width: 170px;
        margin: 4px 0 8px 12px;
    }

    .guide-grid div {
        padding: 20px 0 28px;
    }

    .guide h2 {
        font-size: 1.7rem;
        max-width: none;
    }

    .practice,
    .closer {
        padding: 48px 0;
    }

    .pitch {
        padding: 32px 16px 28px;
    }
}
