html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

body {
    background: #fff url('../../images/Background_lp_jap.png') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    color: #222;
}

.container-main {
    padding-top: 48px;
    min-height: 90vh;
}

.row {
    max-width: 1140px;
    margin: 0 auto;
}

.col-lg-8.col-esquerda {
    padding-right: 24px;
}

.jap-logo-images {
    max-width: 300px;
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.logo-caasp.desktop-logos {
    max-width: 180px;
    width: 100%;
    display: block;
    margin-bottom: 40px;
    align-self: flex-end;
}

.top-logos-row {
    display: none;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.logo-caasp-mobile-wrapper {
    max-width: 80px;
    width: 100%;
}

.logo-caasp-mobile {
    width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(0.4) sepia(100%) hue-rotate(180deg) saturate(800%) invert(10%);
}

.cronometro-bloco {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cronometro-num {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 3.5em;
    color: #e00;
    text-align: center;
    min-width: 70px;
}

.cronometro-label {
    font-weight: 700;
    font-size: 1em;
    color: #333;
    text-align: center;
    margin-top: -12px;
    min-width: 70px;
}

.info-linha {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.info-icone {
    max-height: 30px;
    width: auto;
}

.info-destaque {
    font-weight: 700;
    font-size: 1.5em;
    color: #222;
}

.info-desc {
    font-style: italic;
    font-size: 1.1em;
    color: #555;
    margin-left: 5px;
    margin-top: -16px;
    max-width: 450px;
}

.email-form-bloco {
    max-width: 420px;
    margin-top: 80px;
}

    .email-form-bloco label {
        font-size: 1.15em;
        color: #15202b;
        margin-bottom: 16px;
        display: block;
    }

.input-email-destaque {
    width: 100%;
    font-size: 1.25em;
    padding: 12px 18px;
    border: 2px solid #eee;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    background: #fff;
    box-shadow: 0 0 5px #0001;
    height: 44px;
}

.enviar-btn {
    width: 140px;
    height: 45px;
    background: #e00;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

    .enviar-btn:hover {
        background: #bb0000;
    }

.navbar-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #eee;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    z-index: 1000;
}

.multi-color-bar {
    height: 4px;
    background: linear-gradient(to right, #48C8F2 33%, #222 33% 66%, #e00 66%);
    width: 100%;
}

.navbar-bottom .container-fluid {
    display: flex;
    justify-content: center;
    gap: 28px;
    overflow-x: auto;
}

.navbar-bottom .nav-link {
    white-space: nowrap;
    font-size: 1em;
    color: #444;
    padding: 0 6px;
    cursor: pointer;
    transition: color 0.3s;
    user-select: none;
}

    .navbar-bottom .nav-link.active, .navbar-bottom .nav-link:hover {
        color: #e00;
        font-weight: bold;
    }

/* RESPONSIVO */
@media (max-width: 991px) {
    .desktop-logos {
        display: none !important;
    }

    .top-logos-row {
        display: flex !important;
    }

    .col-lg-8.col-esquerda {
        padding-right: 0;
    }

    .d-flex.cronometro-bloco {
        justify-content: center !important;
        gap: 12px !important;
    }

    .cronometro-num {
        font-size: 2.6em !important;
        min-width: 55px;
    }

    .cronometro-label {
        font-size: 1em !important;
        min-width: 55px;
    }

    .info-linha {
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    .info-destaque {
        font-size: 1.1em !important;
    }

    .info-desc {
        font-size: 0.95em !important;
        margin-top: 0 !important;
    }

    .email-form-bloco {
        margin: 160px auto !important;
        max-width: 95vw !important;
    }

    .input-email-destaque, .enviar-btn {
        width: 100% !important;
        height: 44px !important;
        font-size: 1.1em !important;
        box-sizing: border-box !important;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 420px) {
    .cronometro-num {
        font-size: 2em !important;
        min-width: 40px !important;
    }

    .cronometro-label {
        font-size: 0.9em !important;
        min-width: 40px !important;
    }

    .jap-logo-images {
        max-width: 180px !important;
    }

    .email-form-bloco {
        margin-top: 20px !important;
    }
}

@media (max-width: 991px) {
    .top-logos-row {
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center;
        margin-bottom: 30px;
        margin-top: 32px;
    }

    .jap-logo-images {
        order: 1; 
    }

    .logo-caasp-mobile-wrapper {
        order: 2;
        margin-left: auto;
        max-width: 60px; 
        margin-right: 12px; 
    }
}

/* LOGO JAP*/
@media (min-width: 992px) {
    .jap-logo-images {
        margin-top: 100px !important; 
    }
}

/* CRONOMETRO*/
@media (min-width: 992px) {
    .cronometro-bloco {
        margin-top: 45px !important; 

    }
    .info-desc {
        margin-top: 16px !important; 
    }
}

@media (min-width: 992px) {
    .logo-caasp.desktop-logos {
        max-width: 100px !important;
        margin-top: 100px !important;
    }
}

@media (min-width: 992px) {
    .email-form-bloco {
        margin-top: 140px !important;
    }
}

@media (max-width: 991px) {
    .email-form-bloco {
        margin-top: 100px !important; 
    }
}

.container-fluid {
    display: flex;
    align-items: center;
}

.links-wrapper {
    overflow: hidden;
    width: 1200px; 
}

.links-container {
    display: flex;
    transition: transform 0.3s ease;
}

.nav-link {
    flex: 0 0 auto;
    padding: 0 10px;
    white-space: nowrap;
}

.arrow-left, .arrow-right {
    cursor: pointer;
    padding: 10px;
}

.nav-link {
    margin-left: 30px;
    margin-right: 30px;
}

.links-wrapper {
    height: 40px; 
    display: flex;
    align-items: center;
}

.container-fluid {
    height: 46px; 
}



@media (min-width: 1200px) {
    .row {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .col-lg-8.col-esquerda {
        flex: 0 0 65%;
        max-width: 65%;
        padding-right: 32px;
    }

    .email-form-bloco {
        max-width: 480px !important;
        margin-top: 185px !important;
        margin-left: auto;
        margin-right: 0;
    }

    .jap-logo-images {
        max-width: 180px !important;
        margin-top: 80px !important;
    }

    .logo-caasp.desktop-logos {
        margin-top: 100px !important;
        max-width: 130px !important;
    }

    .input-email-destaque {
        font-size: 1.5em !important;
        height: 54px !important;
        padding: 14px 20px !important;
    }

    .enviar-btn {
        width: 160px !important;
        height: 50px !important;
        font-size: 1.15em !important;
    }

    .cronometro-num {
        font-size: 3.8em !important;
        min-width: 85px !important;
    }

    .cronometro-label {
        font-size: 1.3em !important;
        min-width: 90px !important;
    }

    .info-destaque {
        font-size: 1.8em !important;
    }

    .info-desc {
        font-size: 1.3em !important;
        max-width: 550px !important;
        margin-top: 36px !important;
    }

    .logo-caasp.desktop-logos {
        max-width: 90px !important;
        margin-top: 80px !important;
    }
}

/*@media (min-width: 1200px) and (max-width: 1599px) {
    .row {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .col-lg-8.col-esquerda {
        flex: 0 0 62%;
        max-width: 62%;
        padding-right: 22px;
    }

    .email-form-bloco {
        max-width: 420px !important;
        margin-top: 240px !important;
        margin-left: auto;
        margin-right: 0;
    }

    .jap-logo-images {
        max-width: 480px !important;
        margin-top: 200px !important;
    }

    .logo-caasp.desktop-logos {
        margin-top: 205px !important;
        max-width: 88px !important;
    }

    .input-email-destaque {
        font-size: 1.25em !important;
        height: 46px !important;
        padding: 11px 16px !important;
    }

    .enviar-btn {
        width: 128px !important;
        height: 46px !important;
        font-size: 1.08em !important;
    }

    .cronometro-num {
        font-size: 2.7em !important;
        min-width: 65px !important;
    }

    .cronometro-label {
        font-size: 1em !important;
        min-width: 70px !important;
    }

    .info-destaque {
        font-size: 1.15em !important;
    }

    .info-desc {
        font-size: 1.1em !important;
        max-width: 460px !important;
        margin-top: 18px !important;
    }
}
*/

@media (min-width: 1600px) {

    .row {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .col-lg-8.col-esquerda {
        flex: 0 0 65%;
        max-width: 65%;
        padding-right: 32px;
    }

    .email-form-bloco {
        max-width: 480px !important;
        margin-top: 280px !important;
        margin-left: auto;
        margin-right: 0;
    }

    .jap-logo-images {
        max-width: 450px !important;
        margin-top: 160px !important;
    }

    .logo-caasp.desktop-logos {
        margin-top: 120px !important;
        max-width: 130px !important;
    }

    .input-email-destaque {
        font-size: 1.5em !important;
        height: 54px !important;
        padding: 14px 20px !important;
    }

    .enviar-btn {
        width: 160px !important;
        height: 50px !important;
        font-size: 1.15em !important;
    }

    .cronometro-num {
        font-size: 3.8em !important;
        min-width: 85px !important;
    }

    .cronometro-label {
        font-size: 1.3em !important;
        min-width: 90px !important;
    }

    .info-destaque {
        font-size: 1.8em !important;
    }

    .info-desc {
        font-size: 1.3em !important;
        max-width: 550px !important;
        margin-top: 36px !important;
    }

    .logo-caasp.desktop-logos {
        margin-top: 160px !important;
    }
}

.links-container a.nav-link {
    pointer-events: none; 
    cursor: default; 
    text-decoration: none; 
    color: inherit; 
}


#instaCAASP {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

#instaCAASP img {
    height: 24px;
    width: auto;
}