:root {
    --black: #070707;
    --black-2: #101010;
    --black-3: #171717;

    --yellow: #ffd400;
    --yellow-light: #ffe44d;

    --white: #ffffff;
    --gray: #999999;

    --border: rgba(255, 212, 0, .18);
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);

    font-family: "Space Grotesk", sans-serif;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
}


/* =========================
   FUNDO
========================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: .035;

    background-image:
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);

    background-size: 50px 50px;

    z-index: -2;
}

.background-glow {
    position: fixed;

    width: 650px;
    height: 650px;

    top: -300px;
    right: -250px;

    background: var(--yellow);

    opacity: .09;

    filter: blur(150px);

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;
}


/* =========================
   HEADER
========================= */

header {
    width: 100%;
    max-width: 1300px;

    margin: auto;

    padding: 28px 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    z-index: 10;
}

.logo {
    font-size: 23px;

    font-weight: 700;

    letter-spacing: -1px;
}

.logo span,
.footer-logo span {
    color: var(--yellow);

    margin: 0 4px;
}

nav {
    display: flex;

    gap: 35px;
}

nav a {
    color: #aaa;

    font-size: 14px;

    transition: .3s;
}

nav a:hover {
    color: var(--yellow);
}

.btn-menu {
    background: var(--yellow);

    color: #000;

    padding: 12px 22px;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 700;

    transition: .3s;
}

.btn-menu:hover {
    background: var(--yellow-light);

    transform: translateY(-2px);

    box-shadow: 0 10px 30px rgba(255,212,0,.2);
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 1300px;

    min-height: 720px;

    margin: auto;

    padding: 100px 40px;

    display: flex;

    align-items: center;

    position: relative;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 750px;
}

.mini {
    color: var(--yellow);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;
}

.mini::before {
    content: "";

    width: 35px;

    height: 2px;

    background: var(--yellow);
}

.hero h1 {
    font-size: clamp(55px, 7vw, 100px);

    line-height: .92;

    letter-spacing: -5px;

    margin-bottom: 35px;
}

.hero h1 span {
    color: var(--yellow);
}

.descricao {
    color: var(--gray);

    font-size: 16px;

    margin-bottom: 35px;
}

.botoes {
    display: flex;

    gap: 15px;
}

.btn-primary,
.btn-outline {
    padding: 16px 28px;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 700;

    transition: .3s;
}

.btn-primary {
    background: var(--yellow);

    color: #000;
}

.btn-primary:hover {
    background: var(--yellow-light);

    transform: translateY(-3px);

    box-shadow: 0 15px 40px rgba(255,212,0,.2);
}

.btn-outline {
    border: 1px solid #444;

    color: #fff;
}

.btn-outline:hover {
    border-color: var(--yellow);

    color: var(--yellow);

    transform: translateY(-3px);
}


/* =========================
   CÍRCULO
========================= */

.hero-circle {
    position: absolute;

    width: 520px;
    height: 520px;

    right: 10px;
    top: 100px;

    border-radius: 50%;

    border: 1px solid var(--border);

    background:
        radial-gradient(
            circle,
            rgba(255,212,0,.18),
            rgba(255,212,0,.04) 45%,
            transparent 70%
        );

    box-shadow:
        0 0 100px rgba(255,212,0,.04);
}

.hero-circle::before {
    content: "";

    position: absolute;

    width: 340px;
    height: 340px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border: 1px dashed rgba(255,212,0,.35);

    animation: rotate 18s linear infinite;
}

.hero-circle::after {
    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    background: var(--yellow);

    border-radius: 50%;

    top: 70px;
    right: 80px;

    box-shadow:
        0 0 20px var(--yellow),
        0 0 50px var(--yellow);
}

@keyframes rotate {

    from {
        transform: translate(-50%, -50%) rotate(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }

}


/* =========================
   SERVIÇOS
========================= */

.servicos {
    max-width: 1300px;

    margin: auto;

    padding: 120px 40px;
}

.titulo {
    margin-bottom: 60px;
}

.titulo h2 {
    font-size: clamp(42px, 5vw, 65px);

    letter-spacing: -3px;

    line-height: 1;

    margin-bottom: 18px;
}

.titulo > p:last-child {
    color: var(--gray);
}


/* =========================
   CARDS
========================= */

.cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.card {
    min-height: 270px;

    padding: 35px 30px;

    background: var(--black-2);

    border: 1px solid #252525;

    position: relative;

    overflow: hidden;

    transition: .35s;
}

.card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 3px;

    background: var(--yellow);

    transition: .35s;
}

.card:hover {
    transform: translateY(-8px);

    border-color: var(--border);

    background: var(--black-3);

    box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.card:hover::before {
    width: 100%;
}

.numero {
    color: var(--yellow);

    font-size: 13px;

    font-weight: 700;

    display: block;

    margin-bottom: 45px;
}

.card h3 {
    font-size: 20px;

    margin-bottom: 18px;
}

.card p {
    color: #8d8d8d;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   PORTFÓLIO
========================= */

.portfolio {
    max-width: 1300px;

    margin: auto;

    padding: 120px 40px;
}

.portfolio-titulo {
    margin-bottom: 55px;
}

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.portfolio-item {
    height: 380px;

    position: relative;

    overflow: hidden;

    background: var(--black-2);

    border: 1px solid #222;
}

.portfolio-item.grande {
    grid-column: span 2;

    height: 500px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .6s;
}

.portfolio-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.9),
            rgba(0,0,0,.05) 70%
        );
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 28px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    z-index: 2;
}

.portfolio-overlay span {
    color: var(--yellow);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.portfolio-overlay h3 {
    margin-top: 8px;

    font-size: 24px;
}

.portfolio-overlay strong {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.3);

    border-radius: 50%;

    font-size: 20px;

    transition: .3s;
}

.portfolio-item:hover .portfolio-overlay strong {
    background: var(--yellow);

    color: #000;

    border-color: var(--yellow);
}


/* =========================
   SOBRE
========================= */

.sobre {
    padding: 150px 40px;

    border-top: 1px solid #1d1d1d;

    border-bottom: 1px solid #1d1d1d;
}

.sobre-conteudo {
    max-width: 1000px;

    margin: auto;
}

.sobre h2 {
    font-size: clamp(40px, 6vw, 75px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.sobre h2 span {
    color: var(--yellow);
}

.sobre p:last-child {
    max-width: 650px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================
   CONTATO
========================= */

.contato {
    padding: 160px 40px;

    text-align: center;
}

.contato-conteudo {
    max-width: 900px;

    margin: auto;
}

.contato .mini {
    justify-content: center;
}

.contato h2 {
    font-size: clamp(45px, 7vw, 90px);

    line-height: .95;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

.contato h2 span {
    color: var(--yellow);
}

.contato p:not(.mini) {
    color: var(--gray);

    margin-bottom: 35px;
}

.contato-botoes {
    display: flex;

    justify-content: center;

    gap: 15px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 50px 40px;

    border-top: 1px solid #222;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    max-width: 1300px;

    margin: auto;
}

.footer-logo {
    font-weight: 700;

    font-size: 18px;
}

footer > p {
    color: #666;

    font-size: 12px;
}

.footer-social {
    display: flex;

    gap: 20px;
}

.footer-social a {
    color: #999;

    font-size: 13px;

    transition: .3s;
}

.footer-social a:hover {
    color: var(--yellow);
}

.copyright {
    display: none;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1000px) {

    header {
        padding: 25px 30px;
    }

    nav {
        gap: 18px;
    }

    .hero {
        padding: 80px 30px;
    }

    .hero-circle {
        width: 400px;
        height: 400px;

        right: -100px;

        opacity: .5;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicos,
    .portfolio {
        padding-left: 30px;
        padding-right: 30px;
    }

}


@media (max-width: 700px) {

    header {
        padding: 20px;
    }

    nav {
        display: none;
    }

    .logo {
        font-size: 19px;
    }

    .btn-menu {
        padding: 10px 16px;

        font-size: 12px;
    }


    /* HERO */

    .hero {
        min-height: 650px;

        padding: 70px 20px;

        align-items: flex-start;
    }

    .hero-content {
        margin-top: 40px;
    }

    .hero h1 {
        font-size: 52px;

        letter-spacing: -3px;
    }

    .hero-circle {
        width: 300px;
        height: 300px;

        right: -150px;
        top: 60px;

        opacity: .35;
    }

    .botoes {
        flex-direction: column;

        max-width: 260px;
    }


    /* SERVIÇOS */

    .servicos,
    .portfolio {
        padding: 90px 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }


    /* PORTFÓLIO */

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item,
    .portfolio-item.grande {
        grid-column: span 1;

        height: 320px;
    }

    .portfolio-overlay {
        left: 20px;
        right: 20px;
    }


    /* SOBRE */

    .sobre {
        padding: 100px 20px;
    }

    .sobre h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }


    /* CONTATO */

    .contato {
        padding: 100px 20px;
    }

    .contato h2 {
        font-size: 48px;

        letter-spacing: -3px;
    }

    .contato-botoes {
        flex-direction: column;

        align-items: center;
    }


    /* FOOTER */

    footer {
        padding: 40px 20px;

        flex-direction: column;

        text-align: center;
    }

}