:root {
    --bg: #fbf8f7;
    --surface: rgba(255, 255, 255, 0.78);
    --text: #241a1d;
    --muted: #77686d;
    --accent: #c7375a;
    --accent-hover: #ad2c4b;
    --border: rgba(50, 31, 37, 0.10);
    --shadow: 0 22px 70px rgba(65, 38, 46, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 14px;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 16% 12%, rgba(199, 55, 90, 0.08), transparent 30%),
        radial-gradient(circle at 88% 84%, rgba(199, 55, 90, 0.06), transparent 28%),
        var(--bg);
}

.hero {
    width: min(100%, 700px);
    padding: clamp(26px, 4vh, 38px) clamp(24px, 5vw, 48px);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: appear 560ms cubic-bezier(.2, .8, .2, 1) both;
}

.hero__badge {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 26px rgba(199, 55, 90, 0.20);
    font-size: 0.92rem;
}

.hero__eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(2.25rem, 4.3vw, 3.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

h1 span {
    color: var(--accent);
}

.hero__text {
    max-width: 500px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.55;
}

.buttons {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

button {
    min-width: 140px;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

#sim {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(199, 55, 90, 0.18);
}

#sim:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(199, 55, 90, 0.23);
}

#sim:active {
    transform: translateY(0) scale(0.985);
}

#botao {
    color: var(--text);
    background: #fff;
    border-color: var(--border);
    box-shadow: 0 8px 22px rgba(45, 27, 32, 0.06);
    will-change: left, top, transform;
    transition:
        left 420ms cubic-bezier(.22, 1, .36, 1),
        top 420ms cubic-bezier(.22, 1, .36, 1),
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

#botao:hover {
    border-color: rgba(199, 55, 90, 0.24);
    background: #fffafa;
}

button:focus-visible {
    outline: 3px solid rgba(199, 55, 90, 0.20);
    outline-offset: 4px;
}

.hero__hint {
    margin: 16px 0 0;
    color: #9b8d91;
    font-size: 0.76rem;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    body {
        padding: 18px;
    }

    .hero {
        padding: 38px 20px;
        border-radius: 24px;
    }

    .hero__badge {
        width: 44px;
        height: 44px;
        margin-bottom: 18px;
    }

    .hero__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.09em;
    }

    h1 {
        font-size: clamp(2.15rem, 11vw, 3.1rem);
    }

    .hero__text {
        margin-top: 18px;
        font-size: 0.95rem;
    }

    .buttons {
        margin-top: 28px;
        gap: 10px;
    }

    button {
        min-width: 132px;
        min-height: 50px;
        padding-inline: 18px;
    }
}

@media (max-width: 360px) {
    .buttons {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}


@media (max-height: 700px) and (min-width: 601px) {
    body {
        padding: 10px;
    }

    .hero {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .hero__badge {
        width: 38px;
        height: 38px;
        margin-bottom: 12px;
    }

    h1 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .hero__text {
        margin-top: 12px;
    }

    .buttons {
        margin-top: 18px;
    }

    .hero__hint {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
