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

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    overflow-x: hidden;
    background-color: #a8c47f;
}

/* TELA */

.tela-sofia {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 14px;

    background-image:
        linear-gradient(rgba(255, 246, 222, 0.18),
            rgba(245, 218, 166, 0.22)),
        url("../assets/fundos/fundo-inicio.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* CARD */

.card-sofia {
    width: min(96vw, 400px);

    padding: 28px 22px 24px;

    border-radius: 22px;
    background: #fff9ed;
    border: 2px solid #e8cc8a;

    box-shadow: 0 20px 40px rgba(35, 22, 8, 0.28);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

/* ÍCONE */

.sofia-icone {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(74, 47, 22, 0.2));
}

/* TÍTULO */

.sofia-titulo {
    font-size: 1.25rem;
    font-weight: 900;
    color: #4d341c;
    margin-bottom: 14px;
}

/* FALA */

.sofia-fala {
    font-size: 0.92rem;
    color: #5b4934;
    line-height: 1.55;
    margin-bottom: 22px;
}

/* BOTÃO */

.btn-sofia {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;

    border: none;
    border-top: 2px solid rgba(255, 248, 200, 0.6);
    border-radius: 999px;

    background: linear-gradient(180deg, #ffd46a 0%, #f0a01e 100%);
    color: #3d2409;

    font-size: 1.1rem;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 7px 0 #a8650e,
        0 12px 20px rgba(79, 48, 10, 0.24);

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;
}

.btn-sofia:hover {
    filter: brightness(1.05);
}

.btn-sofia:active {
    transform: translateY(5px);

    box-shadow:
        0 2px 0 #a8650e,
        0 6px 10px rgba(79, 48, 10, 0.16);
}

.btn-sofia:focus-visible {
    outline: 3px solid #6ab7ff;
    outline-offset: 4px;
}

/* DESKTOP */

@media (min-width: 600px) {
    .tela-sofia {
        max-width: 100%;
    }

    .card-sofia {
        width: min(88vw, 420px);
        padding: 32px 28px 28px;
    }

    .sofia-titulo {
        font-size: 1.4rem;
    }

    .sofia-fala {
        font-size: 1rem;
    }
}
