@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;1,300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital@0;1&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,600;1,600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,800;1,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,500;1,500&display=swap');

/* ─── Largura máxima ───────────────────────────────────────────────────────── */
/*
 * Largura máxima do site (17/11/2026): em monitor ultrawide, o layout em vw esticava tudo e se
 * desencontrava (foto do topo parava no meio da tela, título saía do banner). Agora as medidas
 * em vw dos CSS são calc(N * var(--vw, 1vw)) e o --vw para de crescer em --largura-max: acima
 * disso o site fica igual a um monitor de 1920 px, centralizado. Até 1920 px nada muda.
 * Fica no começo do headerfooter.css, que todas as páginas do site carregam. O painel (admin.css)
 * não carrega este arquivo, então lá --vw cai no 1vw de reserva e fica como sempre foi.
 */
:root {
    --largura-max: 1920px;
    --vw: min(1vw, calc(var(--largura-max) / 100));
    --sobra: max(0px, (100vw - var(--largura-max)) / 2);   /* margem de cada lado da tela */
}

/* "html body" e "html" vencem o "* { margin: 0; max-width: ... }" do headerfooter.css */
html { max-width: none; background: #fff; }
html body { max-width: var(--largura-max); margin-left: auto; margin-right: auto; position: relative; }

/* Faixas de cor sólida vão até a borda da tela; o conteúdo continua na largura máxima. A sombra
   sem desfoque desenha a cor só FORA da faixa (não soma com o fundo translúcido do cabeçalho) e o
   clip-path corta o que passaria para cima e para baixo. Só acima da largura máxima. */
@media (min-width: 1921px) {
    html .header, html .faixa_footer {
        clip-path: inset(0 calc(-1 * var(--sobra)));
    }
    html .header       { box-shadow: 0 0 0 var(--sobra) #ffffffcc; }
    html .faixa_footer { box-shadow: 0 0 0 var(--sobra) var(--marca-destaque); }
}


* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    max-width: calc(calc(100 * var(--vw, 1vw)));
}

body {
    width: auto;
    height: auto;
    margin: 0;
    font-size: 100%;
    font-family: 'Open Sans';
    background: solid #e2e2e2;
}

    #header_mobile {
        display: none;
    }

    .header {
        position: fixed;
        background-color: #ffffffcc;
        width: min(100%, var(--largura-max, 100%));
        height: 65px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        z-index: 10;
    }
    
    ul {
        display: flex;
        flex-direction: row;
        list-style: none;
        justify-content: center;
    }


    li {
        list-style: none;
        position: relative;
        font-family: 'Open Sans';
        font-size: 1rem;
        color: #363636;
        margin: 10px;
        padding: 10px;
        
    }

    li:hover {
        font-weight: 600;
    }


    li:hover::after {
        content: "";
        display: none;
        position: absolute;
        width: 100%;
        transform: translateX(calc(-100% + 10px)) translateY(44px);
        height: 2px;
        background: #000;
    }

    .a_nav_menu {
        color: #363636;
    }

    .logo_simbolo {
        position: relative;
        height: 55px;
        top: 5px;
        left: calc(5 * var(--vw, 1vw));
    }

    .logo_nome {
        position: relative;
        left: calc(6 * var(--vw, 1vw));
        top: 17px;
        width: 150px;
        height: 30px;
    }

    .contato_header {
        position: relative;
        font-family: 'Open Sans';
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--marca-destaque);
        margin-right: calc(1 * var(--vw, 1vw));
        margin-top: 10px;
        cursor: pointer;
        height: 0;
    }

    .whatsapp_fixed {
        position: fixed;
        display: flex;
        flex-direction: row-reverse;
        z-index: 10;
        width: auto;
    }

    .notificacao_whatsapp {
        position: relative;
        width: 16px;
        height: 16px;
        border-radius: 8px;
        background: red;
        font-family: 'Open Sans';
        font-weight: 600;
        font-size: 1rem;
        color: #fff;
        text-align: center;
        line-height: 16px;
        transform: translateX(50px);
    }

    .notificacao_whatsapp::after {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        transform: translateX(-80%) translateY(-0%);
        border-radius: 8px;
        background: rgb(255, 0, 0);
        animation: changeColor 1.5s infinite ease-in-out;
        z-index: -1;
    }

    @keyframes changeColor {
        0% {         
            width: 16px;
            height: 16px;
            transform: translateX(-75%) translateY(0%);
            border-radius: 8px;
            background: rgb(255, 0, 0);}
        100% {         
            width: 30px;
            height: 30px;
            transform: translateX(-65%) translateY(-25%);
            border-radius: 15px;
            background: rgba(255, 0, 0, 0);}
    }

    .logo_whatsapp_fixed {
        position: relative;
        height: 50px;
    }

    .logo_whatsapp_header {
        position: relative;
        top: 6px;
        width: 25px;
        height: 25px;
        background: var(--marca-destaque);
        padding: 5px;
        border-radius: 12.5px;
        margin-right: 5px;
        color: var(--marca-destaque);
        transition: all 0.4s;
    }

    .mensagem_whatsapp {
        position: relative;
        display: none;
        top: 10px;
        left: -65px;
        font-family: 'Open Sans';
        font-weight: 400;
        font-size: 1rem;
        background: #ffffff;
        width: auto;
        height: 25px;
        color: #000000;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid #0000006a;
        line-height: 2px;
        animation: mensagemwhatsapp 8s;
        opacity: 0;
        flex-direction: row-reverse;
        z-index: 10;
        transition: opacity 0.3s ease;
    }

    @keyframes mensagemwhatsapp {
        0%, 10%, 100% {         
            opacity: 0;
        }

        40%, 70% {
            opacity: 1;
        }

    }

    .whatsapp_fixed_ctn {
        position: fixed;
        left: calc(var(--sobra, 0px) + calc(47 * var(--vw, 1vw)));
        top: -10px;
        display: flex;
        flex-direction: row-reverse;
        z-index: 10;
        width: calc(50 * var(--vw, 1vw));
        transform: translateY(calc(100vh - 70px));
    }

    .whatsapp_fixed_ctn:hover  .mensagem_whatsapp {
        opacity: 1;
    }

    .escrita_whatsapp_header {
        position: relative;
        font-family: 'Open Sans';
        font-size: 1.1rem;
        padding: 5px;
        margin-right: 5px;
        color: var(--marca-destaque);
    }


    .a_whatsapp_header:hover .logo_whatsapp_header {
        transform: rotate(360deg);
    }

    .a_whatsapp_header {
        position: relative;
        height: 25px;
    }

    #servicos {
        scroll-margin-top: calc(5 * var(--vw, 1vw));
    }

    #rodrigo {
        scroll-margin-top: calc(5 * var(--vw, 1vw));
    }

    #footer {
        scroll-margin-top: calc(5 * var(--vw, 1vw));
    }

    .secao_footer {
        position: relative;
        display: flex;
        flex-direction: column;
        width: calc(26 * var(--vw, 1vw));
        margin-bottom: calc(2 * var(--vw, 1vw));
        margin-top: calc(2 * var(--vw, 1vw));
        margin-left: calc(5 * var(--vw, 1vw));
    }

    .titulo_footer {
        position: relative;
        font-family: 'Open Sans';
        font-weight: 600;
        font-size: 1rem;
        color:var(--marca-destaque)
    }

    .linha_footer {
        position: relative;
        width: 100%;
        height: 1px;
        background: var(--marca-destaque);
        margin-bottom: calc(1 * var(--vw, 1vw));
    }

    .faixa_footer {
        position: relative;
        width: 100%;
        height: 30px;
        background: var(--marca-destaque);
    }

input, textarea, select {
    background: #ffffff;           /* fundo branco */
    color: #000000;                /* texto preto */
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;             /* um pouco maior que 0.85rem para legibilidade */
    border-radius: 6px;            /* cantos levemente arredondados */
    border: 1px solid #ccc;        /* borda mais clara que o seu #484848 */
    height: 40px;                  /* um pouco mais alto para conforto */
    padding: 10px 12px;            /* mais espaçamento interno */
    width: 100%;
    margin-bottom: 12px;           /* mais espaçamento entre campos */
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Foco no input */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--marca-destaque);         /* borda com cor secundária */
    box-shadow: 0 0 5px rgba(var(--marca-destaque-rgb), 0.3);
    background-color: #fff;
}

/* Placeholder */
input::placeholder, textarea::placeholder {
    color: #888888;
    font-weight: 300;
}

/* Seleção de texto */
input::selection, textarea::selection {
    background: #4a90e2;
    color: #ffffff;
}

    textarea {
        resize: none;
        height: 60px;
    }

    .button_footer {
        position: relative;
        font-family: 'Open Sans';
        font-size: 0.75rem;
        border: none;
        background: #363636;
        color: #fff;
        width: calc(8 * var(--vw, 1vw));
        height: 30px;
        border-radius: 15px;
        cursor: pointer;
    }

    form {
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .assinatura_footer {
        position: relative;
        top: -2px;
        display: flex;
        flex-direction: row;
        width: calc(40 * var(--vw, 1vw));
        left: calc(35 * var(--vw, 1vw));
        font-family: 'Open Sans';
        font-size: 0.75rem;
        height: 0;
        margin-bottom: 20px;
        margin-top: 10px;
        font-weight: 400;
        text-align: center;
    }

    .a_assinatura_footer {
        color: #000;
    } 

    .icone_footer {
        width: 20px;
        height: 20px;
        margin-bottom: 10px;
        margin-right: 15px;
        transition: all 0.5s;
    }

    .icone_footer:hover {
        transform: rotate(360deg);
    }

    .horizontal_footer:hover .icone_footer {
        transform: rotate(360deg);
    }

    .escrita_footer {
        position: relative;
        font-family: 'Open Sans';
        font-size: 0.9rem;
        font-weight: 400;
        color: var(--marca-destaque);
    }

    .horizontal_footer {
        display: flex;
        flex-direction: row;

    }

    .flex_footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .mensagem_form {
        display: none;
        position: relative;
        font-family: 'Open Sans';
        font-size: 1rem;
        font-weight: 400;
        width: calc(26 * var(--vw, 1vw));
        height: 0;
        text-align: center;
        margin-top: calc(2 * var(--vw, 1vw));
        margin-bottom: 230px;
    }

    .horizontal {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;

    }

    .vertical {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

@media (min-width: 770px) and (max-width: 1100px) {
    .header {
        align-items: center;
    }

    .logo_simbolo {
        height: 45px;
        top: 0;
        left: 0;
    }

    .logo_nome {
        left: 0;
        top: 0;
        width: 110px;
        height: auto;
    }

    .header > div:first-child {
        padding-left: calc(2 * var(--vw, 1vw));
        align-items: center;
        flex-shrink: 0;
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    nav ul {
        justify-content: center;
        gap: 0;
    }

    li {
        font-size: 0.85rem;
        margin: 0 2px;
        padding: 8px 6px;
    }

    .escrita_whatsapp_header {
        display: none;
    }

    .contato_header {
        margin-right: calc(2 * var(--vw, 1vw));
        margin-top: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 769px) {

    #servicos {
        scroll-margin-top: 65px;
    }

    #rodrigo {
        scroll-margin-top: 65px;
    }

    #atletas {
        scroll-margin-top: 65px;
    }

    #footer {
        scroll-margin-top: 65px;
    }

    #header_desktop {
        display: none;
    }

    #header_mobile {
        display: block;
        position: fixed;
        z-index: 20;
        overflow: hidden;
        top: 0;
    }

    .nav_mobile {
        position: relative;
        display: block;
        color: #000;
        height: 50px;
        width: calc(90 * var(--vw, 1vw));
        font-weight: 600;
        padding-bottom: 30px;
        padding-top: 30px;
        margin: 0;
        text-align: center;
        line-height: 0px;
        border-bottom: 1px solid #00000057;
    }

    .linha_header_mobile {
        position: relative;
        display: none;
        width: calc(100 * var(--vw, 1vw));
        height: 2px;
        background: #000;
        z-index: 10;
    }
    
    .header_mobile_switch {
        position: fixed;
        left: calc(var(--sobra, 0px) + calc(100 * var(--vw, 1vw)));
        display: block;
        width: min(calc(100 * var(--vw, 1vw)), var(--largura-max, 100%));
        height: 100vh;
        padding: 20px;
        padding-top: 10px;
        background: #fffffff2;
        z-index: 10;
        transition: all 0.5s;
    }

    .header1_mobile {
        position: relative;
        background: #fffffff2;
        width: calc(100 * var(--vw, 1vw));
        height: 65px;
        z-index: 10;
    }

    .header2_mobile {
        position: relative;
        display: none;
        width: calc(100 * var(--vw, 1vw));
        height: 80px;
        z-index: 10;
        margin-bottom: -172px;
    }

    .button_header_mobile {
        background: transparent;
        border: none;
        margin-right: calc(4 * var(--vw, 1vw));
    }

    .logo_nome {
        left: 0;
    }
    
    .logo_simbolo {
        left: calc(2 * var(--vw, 1vw));
    }

    #button_close_mobile {
        display: none;
    }

    ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        justify-content: center;
    }

    li {
        display: block;
        width: calc(100 * var(--vw, 1vw));
        padding: 0;
        margin: 0;
    }

    .flex_footer {
        flex-direction: column;
        margin: 0;
    }

    .secao_footer {
        width: calc(90 * var(--vw, 1vw));
        margin-top: calc(6 * var(--vw, 1vw));
    }

    .linha_footer {
        margin-top: calc(2 * var(--vw, 1vw));
        margin-bottom: calc(5 * var(--vw, 1vw));
    }

    .button_footer {
        width: calc(90 * var(--vw, 1vw));
        border-radius: 5px;
        margin-bottom: calc(3 * var(--vw, 1vw));
    }

    .assinatura_footer {
        width: calc(90 * var(--vw, 1vw));
        left: calc(5 * var(--vw, 1vw));
        font-size: 0.5rem;
    }

    .whatsapp_fixed_ctn {
        width: calc(80 * var(--vw, 1vw));
        left: calc(17 * var(--vw, 1vw));
        top: -100px;
    }
    
    .mensagem_form {
        width: calc(90 * var(--vw, 1vw));
        margin-bottom: 265px;
    }

}

/* Ícones do rodapé na cor de destaque do cliente (as imagens vêm numa cor só) */
.icone_footer {
    filter: var(--marca-filtro-icone);
}
