:root {
    --font-main: "Google Sans", "Inter", "Roboto", Arial, sans-serif;

    --color-primary: #f86711;
    --color-primary-rgb: 248, 103, 17;
    --color-primary-dark: #d94f00;
    --color-primary-soft: rgba(248, 103, 17, 0.16);
    --color-primary-border: rgba(248, 103, 17, 0.38);

    --bg-main: #050505;
    --bg-soft: #0d0d0f;
    --bg-card: rgba(255, 255, 255, 0.06);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.68);

    --border-soft: rgba(255, 255, 255, 0.12);

    --radius-lg: 20px;
    --radius-xl: 32px;

    --navbar-height: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img,
video {
    max-width: 100%;
}

::selection {
    background: #ffffff;
    color: #000000;
}

.site-navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    transition: 0.3s ease;
    padding: 14px 0;
}

.site-navbar.navbar-scrolled {
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    padding: 6px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-brand img {
    max-height: 48px;
    width: auto;
}

.site-brand span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    font-size: 1.2rem;
}

.site-brand small {
    font-size: 1.05rem;
    color: #ffffff;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    padding-inline: 0.85rem;
}

.navbar .nav-link:hover {
    color: #ffffff;
}

.messages-wrapper {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 1050;
    pointer-events: none;
}

.messages-wrapper .alert {
    pointer-events: auto;
}

.section-block {
    padding-block: clamp(4.5rem, 8vw, 9rem);
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.section-heading {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
    max-width: 850px;
    font-size: clamp(2.1rem, 5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 800;
}

.section-lead {
    color: var(--text-muted);
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    line-height: 1.45;
}

.site-footer {
    background: #030303;
    border-top: 1px solid var(--border-soft);
    padding-block: 4rem 2rem;
}

.site-footer h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.06em;
    font-weight: 800;
}

.site-footer h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.site-footer p,
.footer-bottom {
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    font-size: 0.92rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1060;

    width: 58px;
    height: 58px;

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

    background: #25d366;
    color: #ffffff;
    border-radius: 999px;

    font-size: 1.7rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.whatsapp-float:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1800px) {
    .container-xxl {
        max-width: 1680px;
    }
}

@media (max-width: 991px) {
    .site-navbar {
        background: rgba(5, 5, 5, 0.88);
        backdrop-filter: blur(20px);
    }

    .navbar-collapse {
        padding: 1rem 0;
    }
}

.btn-primary-4k {
    background: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(var(--color-primary-rgb), 0.28);
}

.btn-primary-4k:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-primary-4k {
    background: rgba(var(--color-primary-rgb), 0.08);
    color: #ffffff;
    border: 1px solid var(--color-primary-border);
    font-weight: 700;
}

.btn-outline-primary-4k:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.navbar .nav-link:hover {
    color: var(--color-primary);
}

.site-navbar.navbar-scrolled {
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.18);
}

::selection {
    background: var(--color-primary);
    color: #ffffff;
}

.side-section-nav {
    position: fixed;
    top: 50%;
    right: clamp(18px, 2vw, 34px);
    transform: translateY(-50%);
    z-index: 1035;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.side-section-dot {
    position: relative;

    width: 13px;
    height: 13px;

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

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);

    transition: 0.25s ease;
}

.side-section-dot::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 999px;
}

.side-section-dot::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    transition: 0.25s ease;
}

.side-section-dot:hover,
.side-section-dot.active {
    width: 16px;
    height: 16px;
    border-color: var(--color-primary, #f86711);
    background: rgba(248, 103, 17, 0.18);
    box-shadow: 0 0 0 6px rgba(248, 103, 17, 0.10);
}

.side-section-dot:hover::after,
.side-section-dot.active::after {
    width: 7px;
    height: 7px;
    background: var(--color-primary, #f86711);
}

.side-section-dot span {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);

    padding: 7px 11px;
    border-radius: 999px;

    background: rgba(5, 5, 5, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;

    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition: 0.25s ease;
}

.side-section-dot:hover span {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Esconde no celular */
@media (max-width: 767px) {
    .side-section-nav {
        display: none;
    }
}

/* Ajuste para tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .side-section-nav {
        right: 16px;
        gap: 12px;
    }

    .side-section-dot {
        width: 12px;
        height: 12px;
    }

    .side-section-dot span {
        display: none;
    }
}

/* Ajuste para TVs e telas muito grandes */
@media (min-width: 1800px) {
    .side-section-nav {
        right: 42px;
        gap: 18px;
    }

    .side-section-dot {
        width: 15px;
        height: 15px;
    }

    .side-section-dot.active,
    .side-section-dot:hover {
        width: 19px;
        height: 19px;
    }
}

#inicio,
#servicos,
#portfolio,
#clientes,
#contato {
    scroll-margin-top: 110px;
}