/* Configurações gerais */

:root {
    /* Cores fixas (não mudam com o tema) */
    --amarelo: #e9ad00;
    --amarelo-escuro: #f0b500;
    --preto: #111111;
    --branco: #ffffff;

    /* Tokens do tema claro */
    --fundo-base: #e9e9e9;
    --fundo-alternativo: #ffffff;
    --fundo-suave: #f7f7f7;
    --superficie: #ffffff;
    --texto: #111111;
    --texto-suave: #777777;
    --borda: #aaaaaa;
    --sombra: 0 5px 14px rgba(0, 0, 0, 0.12);

    --faixa-fundo: #111111;
    --faixa-texto: #ffffff;
}

:root[data-tema="escuro"] {
    --fundo-base: #121212;
    --fundo-alternativo: #1a1a1a;
    --fundo-suave: #161616;
    --superficie: #1f1f1f;
    --texto: #f2f2f2;
    --texto-suave: #a5a5a5;
    --borda: #3a3a3a;
    --sombra: 0 5px 14px rgba(0, 0, 0, 0.55);

    --faixa-fundo: #000000;
    --faixa-texto: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--texto);
    background-color: var(--fundo-base);
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}


/* Cabeçalho */

.cabecalho {
    background-color: var(--fundo-base);
    padding: 22px 0;
}

.cabecalho-conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 10px;
}

.marca img {
    width: 76px;
}

.marca span {
    color: var(--texto-suave);
    font-size: 1.4rem;
    font-weight: 500;
}

.menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 42px;
}

.menu a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 400;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--amarelo);
    transition: width 0.25s ease;
}

.menu a:hover::after {
    width: 100%;
}


/* Botão de tema (sol | lua) */

.botao-tema {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--texto);
    background-color: transparent;
    border: 1px solid var(--borda);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease;
}

.botao-tema:hover {
    border-color: var(--amarelo);
    transform: translateY(-2px);
}

.botao-tema:focus-visible {
    outline: 2px solid var(--amarelo);
    outline-offset: 3px;
}

.icone-tema {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icone-lua {
    display: none;
}

:root[data-tema="escuro"] .icone-sol {
    display: none;
}

:root[data-tema="escuro"] .icone-lua {
    display: block;
    fill: currentColor;
    stroke: none;
}


/* Apresentação */

.apresentacao {
    background-color: var(--fundo-base);
    padding: 25px 0 55px;
}

.apresentacao-conteudo {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 55px;
}

.apresentacao-texto {
    max-width: 440px;
}

.apresentacao-texto h1 {
    margin-bottom: 30px;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.3;
    font-weight: 600;
}

.apresentacao-texto h1 span {
    display: inline-block;
    margin-top: 8px;
    color: var(--amarelo);
    font-weight: 700;
}

.apresentacao-texto p {
    max-width: 410px;
    font-size: 1rem;
    line-height: 1.55;
}

.apresentacao-imagem {
    display: flex;
    justify-content: center;
}

.apresentacao-imagem img {
    width: min(100%, 560px);
}

/* Sobre o Connect */

.sobre {
    background-color: var(--fundo-alternativo);
    padding: 45px 0;
}

.sobre-conteudo {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.sobre-texto {
    max-width: 410px;
}

.sobre-texto h2 {
    margin-bottom: 3px;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 600;
}

.sobre-texto h2 span {
    color: var(--texto-suave);
}

.sobre-texto h3 {
    margin-bottom: 18px;
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;
}

.sobre-texto p {
    font-size: 0.88rem;
    line-height: 1.55;
}

.white-label {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 460px;
    min-height: 225px;
    padding: 24px 32px;
    background-color: var(--superficie);
    border-radius: 14px;
    box-shadow: var(--sombra);
}

.white-label > p {
    margin-bottom: 2px;
    font-size: 1rem;
}

.white-label h2 {
    margin-bottom: 22px;
    font-size: 1.65rem;
    line-height: 1.2;
}

.white-label ul {
    list-style: none;
}

.white-label li {
    margin-bottom: 7px;
    font-size: 0.88rem;
}


/* Ícone da etiqueta */

.icone-etiqueta {
    position: absolute;
    right: 32px;
    bottom: 24px;
    width: 76px;
    height: 76px;
    object-fit: contain;
    border: 3px solid var(--amarelo);
    border-radius: 50%;
}

/* Como funciona */

.como-funciona {
    background-color: var(--fundo-base);
    padding: 45px 0;
}

.titulo-secao {
    margin-bottom: 24px;
}

.titulo-secao h2 {
    color: var(--amarelo);
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 600;
}

.titulo-secao p {
    margin-top: 4px;
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;
}

.etapas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.etapa {
    position: relative;
    min-height: 220px;
    padding: 30px 28px 25px;
    background-color: var(--superficie);
    border-radius: 14px;
    box-shadow: var(--sombra);
}

.numero-etapa {
    position: absolute;
    top: -17px;
    left: -17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--branco);
    background-color: var(--amarelo);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 500;
}

.etapa h3 {
    margin: 0 0 24px 28px;
    color: var(--amarelo);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 600;
}

.etapa p {
    font-size: 0.88rem;
    line-height: 1.55;
}

.frase-etapas {
    margin-top: 28px;
    color: var(--amarelo);
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

/* Diferencial */

.diferencial {
    height: 520px;
    overflow: hidden;
    background-color: var(--fundo-suave);
    padding: 45px 0 0;
}

.diferencial-conteudo {
    height: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.65fr;
    align-items: stretch;
    gap: 50px;
}

.diferencial-texto {
    align-self: start;
    max-width: 470px;
    padding-top: 60px;
    padding-bottom: 0;
}

.diferencial-texto h2 {
    margin-bottom: 26px;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 600;
}

.diferencial-texto h2 span {
    color: var(--texto-suave);
}

.diferencial-texto p {
    margin-bottom: 20px;
    font-size: 0.88rem;
    line-height: 1.55;
}

.diferencial-texto strong {
    color: var(--amarelo);
    font-weight: 600;
}

.diferencial-imagem {
    display: flex;
    justify-content: center;
    align-self: start;
    height: 100%;
}

.diferencial-imagem img {
    width: 330px;
    max-width: 100%;
    transform: translateY(-20px);
}

/* Faixa de destaque */

.faixa-destaque {
    position: relative;
    z-index: 1;
    padding: 15px 0;
    color: var(--faixa-texto);
    background-color: var(--faixa-fundo);
    text-align: center;
}

.faixa-destaque h2 {
    font-size: 1.45rem;
    line-height: 1.3;
}

.faixa-destaque p {
    margin-top: 8px;
    color: var(--amarelo);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
}

/* Contato */

.contato {
    background-color: var(--fundo-base);
    padding: 45px 0 38px;
    text-align: center;
}

.contato-conteudo h2 {
    font-size: 1.7rem;
    line-height: 1.3;
    font-weight: 600;
}

.contato-conteudo h2 span {
    color: var(--amarelo);
}

.contato-conteudo p {
    margin: 6px 0 25px;
    font-size: 0.88rem;
}

.botao-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 500px);
    min-height: 52px;
    margin: 0 auto;
    padding: 12px 25px;
    color: var(--preto);
    background-color: var(--amarelo);
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.botao-contato:hover {
    background-color: var(--amarelo-escuro);
    transform: translateY(-2px);
}

/* Rodapé */

.rodape {
    background-color: var(--fundo-base);
    padding: 0 0 24px;
}

.rodape-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
    border-top: 1px solid var(--borda);
    border-bottom: 1px solid var(--borda);
}

.rodape-marca {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rodape-marca img {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.rodape-marca p {
    color: var(--texto-suave);
    font-size: 0.8rem;
    line-height: 1.4;
}

.rodape-equipe {
    width: 100%;
    text-align: center;
}

.rodape-equipe h2 {
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 600;
}

.rodape-equipe ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    list-style: none;
}

.rodape-equipe a {
    display: inline-block;
    color: var(--texto);
    font-size: 0.8rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.rodape-equipe a:hover {
    color: var(--amarelo);
    transform: translateY(-2px);
}

.rodape-final {
    padding-top: 16px;
    color: var(--texto-suave);
    text-align: center;
    font-size: 0.72rem;
}


/* Responsividade */

/* Notebooks menores */
@media (max-width: 1024px) {
    .menu {
        gap: 26px;
    }

    .apresentacao-conteudo {
        gap: 36px;
    }

    .sobre-conteudo {
        gap: 40px;
    }

    .diferencial {
        height: auto;
        overflow: visible;
        padding: 45px 0;
    }

    .diferencial-conteudo {
        height: auto;
        gap: 36px;
    }

    .diferencial-texto {
        padding-top: 0;
    }

    .diferencial-imagem {
        height: auto;
    }

    .diferencial-imagem img {
        transform: none;
    }
}

/* Tablets */
@media (max-width: 860px) {
    .cabecalho-conteudo {
        row-gap: 14px;
    }

    .menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 24px;
    }

    .apresentacao {
        padding: 10px 0 40px;
    }

    .apresentacao-conteudo,
    .sobre-conteudo,
    .diferencial-conteudo {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .apresentacao-texto,
    .sobre-texto,
    .diferencial-texto {
        max-width: 100%;
    }

    .apresentacao-texto p {
        max-width: 100%;
    }

    .apresentacao-imagem img {
        width: min(100%, 460px);
    }

    .white-label {
        justify-self: center;
        max-width: 100%;
        min-height: 0;
        padding-bottom: 118px;
    }

    .icone-etiqueta {
        right: auto;
        left: 32px;
    }

    .etapas {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .etapa {
        min-height: 0;
    }

    .diferencial-imagem {
        justify-content: center;
    }
}

/* Celulares */
@media (max-width: 560px) {
    .container {
        width: min(92%, 1200px);
    }

    .cabecalho {
        padding: 16px 0;
    }

    .marca img {
        width: 60px;
    }

    .marca span {
        font-size: 1.15rem;
    }

    .menu {
        gap: 18px;
    }

    .menu a {
        font-size: 0.88rem;
    }

    .botao-tema {
        width: 38px;
        height: 38px;
    }

    .apresentacao-texto h1 {
        margin-bottom: 20px;
        font-size: clamp(1.75rem, 7.5vw, 2.4rem);
    }

    .apresentacao-texto p {
        font-size: 0.92rem;
    }

    .sobre,
    .como-funciona,
    .diferencial,
    .contato {
        padding: 34px 0;
    }

    .sobre-texto h2,
    .titulo-secao h2,
    .diferencial-texto h2,
    .white-label h2 {
        font-size: 1.35rem;
    }

    .sobre-texto h3 br,
    .apresentacao-texto h1 br {
        display: none;
    }

    .white-label {
        padding: 20px 22px 112px;
    }

    .icone-etiqueta {
        left: 22px;
        bottom: 20px;
        width: 64px;
        height: 64px;
    }

    .numero-etapa {
        top: -15px;
        left: -8px;
        width: 42px;
        height: 42px;
    }

    .etapa {
        padding: 26px 22px 22px;
    }

    .etapa h3 {
        margin-left: 22px;
    }

    .faixa-destaque {
        padding: 18px 0;
    }

    .faixa-destaque h2 {
        font-size: 1.15rem;
    }

    .faixa-destaque p {
        font-size: 0.85rem;
    }

    .contato-conteudo h2 {
        font-size: 1.35rem;
    }

    .botao-contato {
        min-height: 48px;
        font-size: 1.05rem;
    }

    .rodape-equipe ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
