@font-face {
    font-family: Bold;
    src: url(/style/Bold.woff) format('woff');
    font-display: swap;
}
@font-face {
    font-family: Regular;
    src: url(/style/RegularFont.woff) format('woff');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

/* Version WEB */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/img/background.png);
    background: -moz-linear-gradient(314deg, #FF4414 0%, rgba(255, 124, 85, 1) 50%, rgba(255, 60, 81, 1) 100%);
    background: -webkit-linear-gradient(314deg, #FF4414 0%, rgba(255, 124, 85, 1) 50%, rgba(255, 60, 81, 1) 100%);
    background: -o-linear-gradient(314deg, #FF4414 0%, rgba(255, 124, 85, 1) 50%, rgba(255, 60, 81, 1) 100%);
    background: -ms-linear-gradient(314deg, #FF4414 0%, rgba(255, 124, 85, 1) 50%, rgba(255, 60, 81, 1) 100%);
    background: linear-gradient(136deg, #FF4414 0%, rgba(255, 124, 85, 1) 50%, rgba(255, 60, 81, 1) 100%);
    overflow: hidden;
}

/* Efeito de brilho sutil no fundo */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

body>div {
    display: grid;
    grid-template-rows: 10% 80% 10%;
    height: 97%;
    width: 97%;
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ============ HEADER ============ */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header>img {
    width: 9rem;
    margin-left: 2em;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

header>img:hover {
    transform: scale(1.05);
}

/* Botão Central — mesmo visual, só mais polido */
.btn-central {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3em;
    width: 9rem;
    margin-right: 2em;
    cursor: pointer;
    border-radius: 5px;
    background: #a6ce38;
    font-family: Regular;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    border: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-central::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-central:hover::before {
    left: 100%;
}

.btn-central:hover {
    box-shadow: -1px 7px 10px #52661b;
    transform: translateY(-2px);
}

.btn-central:active {
    transform: translateY(0);
}

.btn-central:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ============ MAIN ============ */
main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

main>span {
    font-size: 100px;
    color: white;
    font-family: Bold;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    line-height: 1;
    animation: slideUp 0.8s ease-out backwards;
}

main>span:nth-of-type(1) {
    animation-delay: 0.1s;
}

main>span:nth-of-type(2) {
    animation-delay: 0.25s;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

main>p {
    font-family: Regular;
    -webkit-font-smoothing: antialiased;
    color: white;
    margin-top: 3em;
    letter-spacing: 0.1em;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

main>div {
    display: flex;
    margin-top: 2em;
    animation: slideUp 0.8s ease-out 0.55s backwards;
}

main>div>a {
    display: flex;
    padding: 46px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

main>div>a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

main>div>a:nth-child(3) {
    margin-bottom: 1em;
}

main>div>a>img {
    width: 78px;
    transition: transform 0.3s ease;
}

main>div>a:hover>img {
    transform: scale(1.1);
}

/* ============ FOOTER ============ */
footer {
    display: flex;
    font-family: Regular;
    color: white;
    align-items: flex-end;
    justify-content: center;
    animation: slideUp 0.8s ease-out 0.7s backwards;
}

footer>p {
    margin-bottom: 1em;
    opacity: 0.85;
}

/* ============ MEDIA QUERIES ============ */
@media screen and (max-width: 500px) {
    body {
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    header {
        width: 100vw;
    }
    header>img {
        width: 6rem;
        margin-left: 1em;
    }
    .btn-central {
        margin-right: 1.3em;
        margin-top: 1em;
    }
    main {
        width: 100vw;
    }
    main > span {
        font-size: 51px;
    }
    main > p {
        font-size: 1em;
    }
    main > div > a {
        padding: 1em;
    }
    footer {
        width: 100vw;
    }
}

@media screen and (max-height: 500px) {
    body {
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    header {
        width: 100vw;
    }
    header>img {
        width: 6rem;
        margin-top: 1em;
        margin-left: 1em;
    }
    .btn-central {
        margin-right: 2em;
        margin-top: 1em;
    }
    main {
        width: 100vw;
    }
    main > span {
        font-size: 30px;
    }
    main > p {
        margin-top: 1em;
        font-size: 10px;
    }
    main > div {
        margin-top: 0;
    }
    main > div > a {
        padding: 1em;
    }
    main > div > a > img {
        width: 3em;
    }
    footer {
        width: 100vw;
    }
}

/* ============ ACESSIBILIDADE ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}