@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400;
    src: url('../assets/fonts/dm-sans-400.woff2') format("woff2");
}
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 500;
    src: url('../assets/fonts/dm-sans-500.woff2') format("woff2");
}
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 700;
    src: url('../assets/fonts/dm-sans-700.woff2') format("woff2");
}
@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 600;
    src: url('../assets/fonts/outfit-600.woff2') format("woff2");
}
@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 800;
    src: url('../assets/fonts/outfit-800.woff2') format("woff2");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root,
html {
    height: 100%;
}
body {
    font-family: "DM Sans", sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, 
.logo-text, 
.cta-button, 
.nav-link,
button,      
input[type="button"],  
input[type="submit"],  
input[type="reset"] {
    font-family: 'Outfit', sans-serif;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.hero-section { min-height: 60vh; }
.card-inicial h1 {
    background: linear-gradient(45deg, #fff, #bb86fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.badge-new, .badge-new-mobile {
    background-color: #bb86fc;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
a {
    text-decoration: none;
    color: inherit;
}
body:not(.pagina-resultado) {
    background: radial-gradient(circle at top right, #2a0040, #0f0f0f 60%);
    background-attachment: fixed;
}
body:not(.pagina-resultado) main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 150px;
    padding-bottom: 100px;
}
.cover-placeholder {
    position: relative;
    overflow: hidden;
    background-color: #333;
}
.cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.cover-placeholder img.loaded {
    opacity: 1;
}
.home-header {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
}
.topo-fixo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 500;
}
.topo-fixo .btn-voltar {
    pointer-events: auto;
    margin-right: auto;
}
.btn-voltar {
    color: #fff;
    font-weight: 700;
    padding: 8px 15px;
    background-color: rgb(0 0 0 / 0.5);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 50px;
    height: 50px;
    background-color: #0f0f0f;
    border-radius: 10%;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-text {
    color: #fff;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateX(-40px);
    position: relative;
    z-index: 1;
    animation: slideOutReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}
#bannerBackground {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#btnIr,
.btn-voltar,
#btnGerarRelatorio {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    vertical-align: middle;
}
svg {
    flex-shrink: 0;
}
@keyframes slideOutReveal {
    to {
        opacity: 1;
        transform: translateX(15px);
    }
}
@keyframes zoomInFade {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes popInCentered {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    80% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}
@keyframes zoomInFast {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes shineSweep {
    from {
        transform: translateX(-100px) skewX(-30deg);
    }
    to {
        transform: translateX(450px) skewX(-30deg);
    }
}
html {
    scroll-behavior: smooth;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #bb86fc #0f0f0f;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0f0f0f;
}
::-webkit-scrollbar-thumb {
    background-color: #bb86fc;
    border-radius: 20px;
    border: 2px solid #0f0f0f;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #9965f4;
}
@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 990;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(187 134 252 / 0.15);
    color: #bb86fc;
    border: 1px solid rgb(187 134 252 / 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#scrollTopBtn svg,
#scrollTopBtn i {
    width: 26px;
    height: 26px;
    font-size: 26px;
}
#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
#scrollTopBtn:hover {
    background-color: rgb(187 134 252 / 0.25);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgb(187 134 252 / 0.4);
}
@media (max-width: 768px) {
    #scrollTopBtn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    #scrollTopBtn svg,
    #scrollTopBtn i {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
a {
    text-decoration: none;
    color: inherit;
}
body:not(.pagina-resultado) {
    background: radial-gradient(circle at top right, #2a0040, #0f0f0f 60%);
    background-attachment: fixed;
}
body:not(.pagina-resultado) main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 150px;
    padding-bottom: 100px;
}
.cover-placeholder {
    position: relative;
    overflow: hidden;
    background-color: #333;
}
.cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.cover-placeholder img.loaded {
    opacity: 1;
}
.home-header {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
}
.topo-fixo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 500;
}
.topo-fixo .btn-voltar {
    pointer-events: auto;
    margin-right: auto;
}
.btn-voltar {
    color: #fff;
    font-weight: 700;
    padding: 8px 15px;
    background-color: rgb(0 0 0 / 0.5);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 50px;
    height: 50px;
    background-color: #0f0f0f;
    border-radius: 10%;
    position: relative;
    z-index: 5;
}
.logo-text {
    color: #fff;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateX(-40px);
    position: relative;
    z-index: 1;
    animation: slideOutReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}
#bannerBackground {
    transition: opacity 0.5s ease-in-out;
    opacity: 0; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#btnIr, .btn-voltar, #btnGerarRelatorio {
    display: inline-flex !important; 
    align-items: center;       
    justify-content: center;     
    gap: 10px;                   
    vertical-align: middle;
}
svg {
    flex-shrink: 0;
}
@keyframes slideOutReveal {
    to {
        opacity: 1;
        transform: translateX(15px);
    }
}
@keyframes zoomInFade {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes popInCentered {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    80% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}
@keyframes zoomInFast {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes shineSweep {
    from {
        transform: translateX(-100px) skewX(-30deg);
    }
    to {
        transform: translateX(450px) skewX(-30deg);
    }
}
html {
    scroll-behavior: smooth;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #bb86fc #0f0f0f;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0f0f0f;
}
::-webkit-scrollbar-thumb {
    background-color: #bb86fc;
    border-radius: 20px;
    border: 2px solid #0f0f0f;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #9965f4;
}
@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 990;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(187 134 252 / 0.15);
    color: #bb86fc;
    border: 1px solid rgb(187 134 252 / 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#scrollTopBtn svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.5;
}
#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
#scrollTopBtn:hover {
    background-color: rgb(187 134 252 / 0.25);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgb(187 134 252 / 0.4);
}
@media (max-width: 768px) {
    #scrollTopBtn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    #scrollTopBtn svg {
        width: 24px;
        height: 24px;
    }
}