

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(242, 86, 29, 0.08), transparent 34%),
        linear-gradient(90deg, #02030a 0%, #07080c 50%, #02030a 100%);
}

main {
    padding: 0;
    margin: 0;
}

:root {
    --site-max-width: 1920px;
}

body {
    overflow-x: hidden;
}

main#page {
    width: min(100%, var(--site-max-width));
    margin-inline: auto;
    position: relative;
    overflow: visible;
    background: #00010D;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Oculta barras de rolagem no site inteiro sem desativar o scroll */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legado */
}

body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legado */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Chrome/Safari/Edge */
}

/* Containers internos com overflow também não exibem barra */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legado */
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Chrome/Safari/Edge */
}

/* Loader temporário para suavizar a entrada do vídeo do hero */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    gap: 22px;
    align-content: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(63, 166, 166, 0.18), transparent 28%),
        radial-gradient(circle at 50% 50%, rgba(242, 86, 29, 0.1), transparent 38%),
        linear-gradient(135deg, #00010d 0%, #06151a 50%, #00010d 100%);
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(127, 232, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 232, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
    pointer-events: none;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader__core {
    position: relative;
    width: 136px;
    height: 136px;
}

.site-loader__ring,
.site-loader__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.site-loader__ring {
    border: 1px solid rgba(127, 232, 255, 0.22);
    box-shadow: 0 0 22px rgba(63, 166, 166, 0.16);
}

.site-loader__ring--outer {
    border-top-color: #3fa6a6;
    border-right-color: rgba(242, 86, 29, 0.75);
    animation: siteLoaderSpin 1.8s linear infinite;
}

.site-loader__ring--middle {
    inset: 18px;
    border-bottom-color: #f2561d;
    border-left-color: rgba(127, 232, 255, 0.7);
    animation: siteLoaderSpinReverse 1.35s linear infinite;
}

.site-loader__ring--inner {
    inset: 42px;
    background: radial-gradient(circle, rgba(127, 232, 255, 0.24), rgba(242, 86, 29, 0.1) 52%, transparent 70%);
    border-color: rgba(255, 255, 255, 0.2);
    animation: siteLoaderPulse 1.4s ease-in-out infinite;
}

.site-loader__pulse {
    inset: 34px;
    border: 1px solid rgba(242, 86, 29, 0.32);
    animation: siteLoaderPing 1.8s ease-out infinite;
}

.site-loader__text {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    text-align: center;
    font-family: 'Syncopate', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.site-loader__text span {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: #f2f2f2;
    text-shadow: 0 0 16px rgba(63, 166, 166, 0.45);
}

.site-loader__text small {
    font: 600 0.68rem/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.58);
}

@keyframes siteLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes siteLoaderSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes siteLoaderPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes siteLoaderPing {
    0% {
        transform: scale(0.75);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-loader__ring,
    .site-loader__pulse {
        animation: none;
    }
}
