@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --fundo: #111318;
    --fundo-secundario: #181b21;
    --fundo-claro: #f5f3ee;
    --lime: #c7ff00;
    --branco: #f5f5f3;
    --cinza: #a7adb5;
    --cinza-escuro: #60666f;
    --linha: rgba(255,255,255,.12);
    --texto-escuro: #15171b;
    --container: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--fundo);
    color: var(--branco);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}


/* CABEÇALHO */

.cabecalho {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17,19,24,.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--linha);
}

.cabecalho-conteudo {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}


/* MARCA */

.marca {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.marca-q {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    color: var(--lime);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: -8px;
    transform: rotate(-8deg);
}

.marca-q::after {
    content: "";
    position: absolute;
    width: 39px;
    height: 3px;
    background: var(--lime);
    bottom: 7px;
    right: -5px;
    transform: rotate(-24deg);
    border-radius: 5px;
}

.marca-texto {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.marca-texto strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -1px;
}

.marca-texto small {
    margin-top: 6px;
    padding-left: 3px;
    font-size: 9px;
    letter-spacing: 5px;
    font-weight: 600;
}


/* MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    position: relative;
    color: #d5d8dc;
    font-size: 13px;
    font-weight: 500;
    transition: color .2s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--lime);
    transition: width .25s ease;
}

.menu a:hover {
    color: var(--branco);
}

.menu a:hover::after {
    width: 100%;
}

.botao-menu {
    padding: 12px 19px;
    border: 1px solid var(--lime);
    color: var(--lime);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    transition: .2s ease;
}

.botao-menu:hover {
    background: var(--lime);
    color: var(--fundo);
}


/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    overflow: hidden;
}

.hero-conteudo {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    min-height: 600px;
}

.hero-texto {
    position: relative;
    z-index: 2;
}

.eyebrow,
.titulo-pequeno {
    color: var(--lime);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

.hero h1 {
    margin: 28px 0;
    max-width: 760px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(68px, 7.4vw, 112px);
    line-height: .91;
    font-weight: 500;
    letter-spacing: -6px;
}

.hero h1 span,
.sobre h2 span,
.contato h2 span {
    color: var(--lime);
}

.hero-texto > p {
    max-width: 610px;
    color: var(--cinza);
    font-size: 18px;
    line-height: 1.8;
}

.hero-acoes {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 42px;
}

.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.botao:hover {
    transform: translateY(-2px);
}

.botao-principal {
    background: var(--lime);
    color: var(--fundo);
}

.botao-secundario {
    border: 1px solid var(--linha);
    color: var(--branco);
}

.botao-secundario:hover {
    border-color: var(--lime);
    color: var(--lime);
}


/* Q GRÁFICO */

.hero-marca {
    position: absolute;
    right: -110px;
    top: 50%;
    transform: translateY(-50%);
    width: 560px;
    height: 560px;
    opacity: .16;
    pointer-events: none;
}

.q-gigante {
    display: block;
    color: var(--lime);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 520px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: -80px;
    transform: rotate(-9deg);
}

.linha-grafica {
    position: absolute;
    width: 330px;
    height: 8px;
    right: -10px;
    bottom: 80px;
    background: var(--lime);
    transform: rotate(-28deg);
    border-radius: 20px;
}


/* SEÇÕES */

.secao {
    padding: 130px 0;
    border-top: 1px solid var(--linha);
}

.numero-secao {
    display: inline-block;
    margin-right: 17px;
    color: var(--cinza-escuro);
    font-size: 11px;
    font-weight: 600;
}

.cabecalho-secao {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 50px;
    margin-bottom: 75px;
}

.cabecalho-secao h2,
.sobre h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -3px;
    font-weight: 500;
}


/* SOBRE */

.sobre {
    background: var(--fundo-claro);
    color: var(--texto-escuro);
}

.grade-sobre {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 50px;
}

.sobre .numero-secao {
    color: #90949a;
}

.sobre .titulo-pequeno {
    color: #719100;
}

.sobre-texto p {
    max-width: 720px;
    margin-top: 30px;
    color: #5c6168;
    font-size: 17px;
    line-height: 1.85;
}


/* SERVIÇOS */

.servicos {
    background: var(--fundo);
}

.grade-servicos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--linha);
}

.servico {
    min-height: 300px;
    padding: 42px;
    border-bottom: 1px solid var(--linha);
    transition: background .25s ease;
}

.servico:nth-child(odd) {
    border-right: 1px solid var(--linha);
}

.servico:hover {
    background: rgba(255,255,255,.025);
}

.servico > span {
    color: var(--lime);
    font-size: 11px;
}

.servico h3 {
    margin: 65px 0 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 31px;
    font-weight: 500;
}

.servico p {
    max-width: 440px;
    color: var(--cinza);
    font-size: 14px;
    line-height: 1.8;
}


/* PROJETOS */

.projetos {
    background: var(--fundo-claro);
    color: var(--texto-escuro);
}

.projetos .titulo-pequeno {
    color: #719100;
}

.projetos .numero-secao {
    color: #92969b;
}

.projeto-destaque {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    min-height: 500px;
    background: #e9e8e3;
}

.projeto-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.projeto-tipo {
    color: #777c82;
    font-size: 10px;
    letter-spacing: 2px;
}

.projeto-info h3 {
    margin: 20px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 58px;
    line-height: 1;
    letter-spacing: -3px;
}

.projeto-info p {
    color: #60656b;
    font-size: 15px;
    line-height: 1.8;
}

.projeto-info a {
    display: inline-block;
    margin-top: 35px;
    font-size: 13px;
    font-weight: 700;
}

.projeto-info a:hover {
    color: #719100;
}

.projeto-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #071b38;
    color: white;
}

.projeto-visual > span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(60px, 8vw, 105px);
    font-weight: 700;
    letter-spacing: -6px;
}

.projeto-visual > span span {
    color: #1598ff;
}

.projeto-visual small {
    margin-top: 10px;
    color: #9cb3cf;
    font-size: 9px;
    letter-spacing: 2px;
}


/* PROCESSO */

.processo {
    background: var(--fundo-secundario);
}

.linha-processo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--linha);
}

.linha-processo > div {
    position: relative;
    padding: 42px 30px 15px 0;
    min-height: 240px;
}

.linha-processo > div:not(:last-child) {
    border-right: 1px solid var(--linha);
    padding-right: 30px;
    margin-right: 30px;
}

.linha-processo span {
    color: var(--lime);
    font-size: 11px;
}

.linha-processo h3 {
    margin: 55px 0 13px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 500;
}

.linha-processo p {
    color: var(--cinza);
    font-size: 13px;
    line-height: 1.7;
}


/* CONTATO */

.contato {
    padding: 150px 0;
    text-align: center;
}

.contato-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contato h2 {
    margin: 25px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(60px, 8vw, 105px);
    line-height: .94;
    font-weight: 500;
    letter-spacing: -5px;
}

.contato p {
    max-width: 560px;
    margin-bottom: 40px;
    color: var(--cinza);
    font-size: 16px;
}


/* RODAPÉ */

footer {
    border-top: 1px solid var(--linha);
    padding: 60px 0 30px;
}

.rodape {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 25px;
}

.marca-rodape {
    margin-bottom: 18px;
}

.rodape > p:not(.copyright) {
    grid-column: 1;
    color: var(--cinza);
    font-size: 12px;
}

.copyright {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    color: #6e747d;
    font-size: 11px;
}


/* RESPONSIVO */

@media (max-width: 980px) {
    .menu {
        display: none;
    }

    .hero-conteudo {
        grid-template-columns: 1fr;
    }

    .hero-marca {
        right: -250px;
    }

    .cabecalho-secao,
    .grade-sobre {
        grid-template-columns: 1fr;
    }

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

    .linha-processo > div:not(:last-child) {
        border-right: 0;
        margin-right: 0;
    }

    .projeto-destaque {
        grid-template-columns: 1fr;
    }

    .projeto-visual {
        min-height: 380px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .cabecalho-conteudo {
        height: 76px;
    }

    .marca-q {
        width: 45px;
        height: 45px;
        font-size: 45px;
    }

    .marca-texto strong {
        font-size: 23px;
    }

    .marca-texto small {
        font-size: 7px;
        letter-spacing: 4px;
    }

    .botao-menu {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-conteudo {
        min-height: 570px;
    }

    .hero h1 {
        font-size: 59px;
        letter-spacing: -4px;
    }

    .hero-texto > p {
        font-size: 15px;
    }

    .hero-acoes {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-marca {
        opacity: .08;
    }

    .secao {
        padding: 90px 0;
    }

    .cabecalho-secao {
        margin-bottom: 50px;
    }

    .grade-servicos {
        grid-template-columns: 1fr;
    }

    .servico:nth-child(odd) {
        border-right: 0;
    }

    .servico {
        padding: 35px 15px;
        min-height: 260px;
    }

    .servico h3 {
        margin-top: 45px;
    }

    .projeto-info {
        padding: 40px 25px;
    }

    .projeto-visual {
        min-height: 280px;
    }

    .linha-processo {
        grid-template-columns: 1fr;
    }

    .linha-processo > div {
        border-bottom: 1px solid var(--linha);
    }

    .contato h2 {
        font-size: 58px;
        letter-spacing: -4px;
    }

    .rodape {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        margin-top: 20px;
    }
}

/* Logotipo oficial Q-Line Design */
.marca-logo-oficial {
    display: flex;
    align-items: center;
    height: 70px;
}

.marca-logo-oficial img {
    display: block;
    width: auto;
    height: 66px;
    max-width: 230px;
    object-fit: contain;
}

@media (max-width: 680px) {
    .marca-logo-oficial {
        height: 58px;
    }

    .marca-logo-oficial img {
        height: 54px;
        max-width: 190px;
    }
}

/* Logotipo oficial no rodapé */
.marca-logo-rodape {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.marca-logo-rodape img {
    display: block;
    width: auto;
    height: 72px;
    max-width: 250px;
    object-fit: contain;
}

@media (max-width: 680px) {
    .marca-logo-rodape img {
        height: 62px;
        max-width: 220px;
    }
}

/* Q oficial personalizado no Hero */
.q-gigante-oficial {
    position: absolute;
    width: 720px;
    height: auto;
    max-width: none;
    right: -90px;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    display: block;
    object-fit: contain;
}

/* Ajuste de enquadramento do Q oficial no Hero */
.q-gigante-oficial {
    width: 620px;
    right: -25px;
    transform: translateY(-50%) rotate(-5deg);
}

/* Intensidade final do Q no Hero */
.hero-marca {
    opacity: .23;
}

/* Posicionamento final do Q oficial */
.q-gigante-oficial {
    transform: translateY(calc(-50% - 25px)) rotate(-5deg);
}

/* Telefones de contato */
.contato-telefones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
}

.contato-telefones a {
    color: var(--branco);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .3px;
    transition: color .2s ease;
}

.contato-telefones a:hover {
    color: var(--lime);
}

@media (max-width: 680px) {
    .contato-telefones {
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }
}
