/* Configurações Globais */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #3e4549;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 75%;
    margin: 0 auto;
}

/* Menu */
#menu {
    height: 80px;
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: background-color 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#menu.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#menu .logo img {
    height: 50px;
}

#menu .nav-central ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu .nav-central a {
    color: #3e4549;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

#menu .nav-central a:hover {
    color: #627AB2 !important;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#menu .btn-primary {
    background-color: #0E2287;
    font-weight: bold;
    border: none;
    padding: 15px 25px 15px 25px;
}

#menu .btn-primary:hover {
    background-color: #627AB2 !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Menu no topo*/
#menu.top {
    background-color: transparent;
}

#menu.top .logo img {
    content: url('../images/logo-white.png');
}

#menu.top .nav-central a {
    color: #fff;
}

#menu.top .btn-primary {
    background-color: #0E2287;
    color: #fff;
}

#menu.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
}

#menu.scrolled .logo img {
    content: url('../images/logo-color.png');
}

#menu.scrolled .nav-central a {
    color: #3e4549;
}

#menu.scrolled .btn-primary {
    background-color: #0E2287;
    color: #fff;
}

/* toggle */
.navbar-toggler {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}


.navbar-toggler i {
    color: #ffffff; 
    transition: color 0.3s ease-in-out;
}.navbar-toggler.scrolled {

    border-radius: 5px;
    padding: 5px 10px;
}


.navbar-toggler.scrolled i {
    color: #3e4549 !important; 
}


@media (max-width: 767.98px) {
    .navbar-toggler {
        display: block; 
    }
}


#navbarNav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

#navbarNav.collapse.show {
    display: block;
}

#navbarNav .navbar-nav {
    padding: 20px;
}

#navbarNav .nav-item {
    margin-bottom: 10px;
}

#navbarNav .nav-link {
    color: #3e4549;
    font-weight: 500;
    text-decoration: none;
}

#navbarNav .nav-link:hover {
    color: #627AB2;
}

@media (max-width: 767.98px) {
    #menu .nav-central {
        display: none;
    }

    #menu .comprar {
        margin-left: auto;
    }
}


@media (max-width: 767.98px) {
    .comprar.d-md-block {
        display: none !important;
    }

    #navbarNav .btn-primary {
        display: block;
        width: 50%;
        margin: 10px auto;
        font-size: 1rem;
        padding: 12px;
        text-align: center;
    }
}



/* Banner Hero */
.hero-banner {
    position: relative;
    height: 75vh; 
    background-image: url('../images/banner_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 20px; 
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 34, 135, 0.8);
}

.hero-banner h1 {
    color: #fff;
    font-weight: bold;
    font-size: 3rem;
    z-index: 2;
    position: relative;
    line-height: 1.2; 
    max-width: 80%; 
    margin: 0 auto;
}


@media (max-width: 992px) {
    .hero-banner h1 {
        font-size: 2.5rem;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 1.6rem;
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Boxes */
.boxes-section {
    margin-top: -100px;
    z-index: 1;
    position: relative;
}

.box {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative; 
    overflow: hidden;
}


.box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease; 
}

.box-overlay {
    position: absolute;
    bottom: -100%; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0E2287;
    transition: bottom 0.3s ease;
    z-index: 1; 
}
.box-icon{
    height: 60px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: filter 0.3s ease;
}

.box:hover .box-overlay {
    bottom: 0; 
}


.box img,
.box h3,
.box p {
    position: relative;
    z-index: 2;
}


.box:hover img,
.box:hover h3,
.box:hover p {
    color: #fff; 
}

.box:hover .box-icon {
    filter: brightness(0) invert(1);
    height: 60px;
}




/* Estilo da seção Quem Somos */
.quem-somos-section {
    padding: 100px 0;
    background-color: #ffffff; 
}


.image-window {
    position: relative;
    display: flex; 
    height: 600px;
    overflow: hidden; 
    background-image: url('../images/quem-somos2.jpg'); 
    background-size: cover; 
    background-position: center; 
}


.image-left {
    flex: 1; 
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); 
}


.divider-vertical {
    width: 10px; 
    background-color: #fff; 
}


.image-right {
    flex: 1; 
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%); 
}


.quem-somos-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #3e4549;
    margin-bottom: 30px;
}

/* Box com o número e texto */
.overlay-box {
    position: absolute;
    top: 80%; 
    left: 60%; 
    transform: translate(-50%, -50%); 
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 10px;
    border-radius: 10px;
    z-index: 3; 
}


.overlay-box .number {
    font-size: 5rem; 
    font-weight: bold;
    color: #0E2287; 
    display: block; 
}


.overlay-box .text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3e4549;
    display: block; 
}

.quem-somos-section p {
    font-size: 1rem;
    color: #3e4549;
    margin-bottom: 70px;
}

.quem-somos-section .btn-primary {
    background-color: #0E2287;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.quem-somos-section .btn-primary:hover {
    background-color: #627AB2; 
}





/* Seção de contato*/
.contato-section {
    padding: 100px 0;
    background-color: #f8f9fa; 
}


.contato-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #3e4549;
    margin-bottom: 60px;
    text-align: left; 
}


.white-box {
    background-color: #fff;
    padding: 50px; 
    border-radius: 20px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px; 
}


/* Estilo do formulário dentro do box */
.white-box .form-control {
    width: 100%;
    padding: 25px;
    margin-bottom: 25px;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.white-box .form-control:focus {
    border-color: #0E2287; 
    box-shadow: 0 0 5px rgba(16, 172, 220, 0.5); 
}

.white-box textarea {
    resize: vertical; 
}

/* Estilo do botão */
.white-box .btn-primary {
    background-color: #0E2287;
    border: none;
    padding: 20px 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 30%; 
}

.white-box .btn-primary:hover {
    background-color: #627AB2; 
}


.contact-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px; 
    display: flex;
    font-weight: bold;
    align-items: center; 
    gap: 10px; 
}


.contact-info i {
    font-size: 1.8rem; 
    background-color: #CEDCEE; 
    padding: 8px 12px; 
    border-radius: 8px; 
    color: #0E2287; 
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px; 
    height: 45px; 
}


@media (max-width: 768px) {
    .contact-info i {
        font-size: 1.5rem; 
        padding: 6px 10px;
        min-width: 40px;
        height: 40px;
    }

    .contact-info p {
        font-size: 0.9rem; 
    }
}


#contact-form .row {
    margin-bottom: 15px; 
}

#contact-form .row .form-control {
    margin-bottom: 0; 
}

#contact-form .form-control {
    width: 100%; 
    padding: 25px; 
    margin-bottom: 25px; 
    border: none; 
    border-radius: 2px; 
    font-size: 1rem; 
    background-color: #f9f9f9; 
}

#contact-form .form-control:focus {
    border-color: #0E2287; 
    box-shadow: 0 0 5px rgba(16, 172, 220, 0.5); 
}

#contact-form textarea {
    resize: vertical; 
}



#contact-form .btn-primary {
    background-color: #0E2287; 
    border: none; 
    padding: 15px 30px; 
    font-size: 1.1rem; 
    font-weight: bold; 
    transition: background-color 0.3s ease; 
    width: auto; 
    min-width: 150px; 
    text-align: center; 
    white-space: nowrap; 
}


@media (max-width: 768px) {
    #contact-form .btn-primary {
        width: 100%; 
        font-size: 1rem; 
        padding: 15px; 
    }
}


#contact-form .btn-primary:hover {
    background-color: #627AB2; 
}




/* Footer */
.footer-section {
    background-color: #0E2287; 
    padding: 50px 0;
    color: #fff; 
}


.footer-section img {
    max-width: 80%; 
    height: auto; 
}


.footer-section h3 {
    margin-bottom: 20px;
    font-weight: bold; 
    color: #fff; 
    font-size: 1.5rem;
}


.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff; 
    text-decoration: none;
    font-weight: 500; 
}

.footer-section ul li a:hover {
    text-decoration: underline; 
}

/* Informações de contato */
.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-section p i {
    margin-right: 10px; 
    font-size: 1.2rem; 
}


.marcas {
    display: flex;
    flex-direction: column; 
    gap: 15px; 
    display: inline;
    align-items: flex; 
}

.marcas .marca {
    max-width: 100%; 
    height: auto; 
    margin: 10px;
}


.marcas .icp-logo {
    width: 35px; 
}

.marcas .iti-logo {
    width: 100px; 
}

.marcas .receita-logo {
    width: 50px; 
}

/* Banner */
.sale-banner {
    position: relative;
    height: 40vh;
    background-image: url('../images/banner_venda.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 20px;
    overflow: hidden;
}

.sale-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 90, 53, 0.8);
}

.sale-banner h2 {
    color: #fff;
    font-weight: bold;
    font-size: 2.5rem;
    z-index: 2;
    position: relative;
    line-height: 1.2;
    max-width: 80%;
    margin: 0 auto;
}

/* Botões de seleção */
.user-type-selection {
    text-align: center;
    margin: 20px 0;
    padding: 50px;

}

.user-type-selection h2{
    text-align: center;
    color: #3e4549;
    font-weight: bold;
    padding: 20px;

}

.user-type-selection button {
    margin: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #0E2287;
    color: white;
    transition: all 0.3s ease;
}

.user-type-selection button:hover {
    background-color: #020B70;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Categorias de Certificados */
.category-container {
    display: none;
    text-align: center;
    padding: 20px;
}

.category-container h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3e4549;
    margin-bottom: 20px;
}

/* Container dos produtos */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* Cartão de produto */
.product-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: scale(1.01);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Título do produto */
.product-card h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0E2287;
}

/* Descrição do produto */
.product-card p {
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.5;
    color: #3e4549;
}

/* Dropdown de validade */
.dropdown {
    margin-bottom: 12px;
    margin-top: 20px;
    padding: 8px;
    font-size: 1rem;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    text-align: center;
}

/* Preço */
.product-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 28px;
    margin-top: 28px;
    text-align: center;
    color: #0E2287;
}

/* Botão de compra */
.buy-button {
    display: block;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1rem;
    background-color: #0E2287;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background-color: #020B70 !important;
}


/* Formulário */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 45px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

fieldset {
    border: 1px solid #0E2287; 
    border-radius: 8px; 
    padding: 20px; 
    background-color: #f7fdff; 
    margin: 0; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
}

legend {
    font-weight: bold; 
    font-size: 1.2rem; 
    color: #0E2287; 
    padding: 0 8px; 
    background-color: #f7fdff; 
    border-radius: 4px; 
    display: inline-block; 
    align-self: flex-start; 
    max-width: fit-content; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.form-group label {
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 8px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    background-color: #f7fdff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0E2287;
}

/* Produto Sticky Card */
.produto-info-card {
    position: sticky;
    top: 155px;
    border: 1px solid #0E2287;
    padding: 20px;
    background-color: #f7fdff;
    border-radius: 8px;
}

.produto-info-card h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0E2287;
}

.produto-info-card p {
    font-size: 1rem;
    color: #0E2287;
    line-height: 1.5;
    margin-bottom: 10px;
}

.btn.checkout {
    display: block; 
    margin: 20px auto; 
    padding: 15px 30px; 
    font-size: 18px; 
    font-weight: bold; 
    color: #ffffff; 
    background-color: #0E2287; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: background-color 0.3s ease, transform 0.2s ease; 
}

.btn.checkout:hover {
    background-color: #005f87; 
}

.btn.checkout:active {
    background-color: #003f5c; 
    transform: scale(1); 
}

.banner-area {
    height: 250px; 
    max-height: 100vh; 
    overflow: hidden; 
    background-size: cover; 
    background-position: center; 
}

/* Container principal */
.checkout-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

/* Título principal */
.checkout-page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #0E2287;
    margin-bottom: 20px;
}

/* Fieldset (Bloco de informações) */
.checkout-page-finalizacao {
    border: 1px solid #0E2287;
    border-radius: 8px;
    padding: 20px;
    background-color: #f7fdff;
    margin-bottom: 20px;
}

/* Título do Fieldset */
.checkout-page-finalizacao legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0E2287;
    padding: 0 10px;
    background-color: #f7fdff;
    border-radius: 4px;
    text-align: left;
}

/* Linhas de informações */
.checkout-page-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

/* Grupo de informações */
.checkout-page-group {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

/* Labels */
.checkout-page-group label {
    font-weight: bold;
    color: #232323;
    display: block;
    margin-bottom: 5px;
}

/* Destacar os valores */
.checkout-page-dado {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0E2287;
    margin-top: 5px;
}

/* Pagamento Pendente */
.checkout-page-section {
    background-color: #f7fdff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

/* Títulos das Seções */
.checkout-page-section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0E2287;
    margin-bottom: 10px;
}

/* Mensagem de aviso */
.checkout-page-alert {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
}

/* Botões */
.checkout-page-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

/* Botão de Pagamento */
.checkout-page-btn-info {
    background-color: #0E2287;
}

.checkout-page-btn-info:hover {
    background-color: #020B70;
}

/* Botão de Download */
.checkout-page-btn-primary {
    background-color: #0E2287;
}

.checkout-page-btn-primary:hover {
    background-color: #005f87;
}

/* Responsividade */
@media (max-width: 768px) {
    .checkout-page-container {
        padding: 15px;
    }

    .checkout-page-finalizacao {
        padding: 15px;
    }

    .checkout-page-section {
        padding: 15px;
    }

    .checkout-page-section-title {
        font-size: 1.5rem;
    }

    .checkout-page-btn {
        width: 100%;
    }
}

/* Botão de Download (Outline) */
.checkout-page-btn-outline {
    background-color: transparent;
    color: #0E2287;
    border: 2px solid #0E2287;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

/* Efeito Hover */
.checkout-page-btn-outline:hover {
    background-color: #0E2287;
    color: white;
}/* Container principal */
.error-page-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

/* Título da página de erro */
.error-page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #d9534f; 
    margin-bottom: 20px;
}

/* Fieldset (Bloco de detalhes do erro) */
.error-page-details {
    border: 2px solid #d9534f; 
    border-radius: 8px;
    padding: 20px;
    background-color: #fff5f5; 
    margin-bottom: 20px;
}

/* Título do Fieldset */
.error-page-details legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d9534f;
    padding: 0 10px;
    background-color: #fff5f5;
    border-radius: 4px;
}

/* Grupo de informações */
.error-page-group {
    text-align: left;
    margin-bottom: 10px;
}

/* Labels */
.error-page-group label {
    font-weight: bold;
    color: #232323;
    display: block;
    margin-bottom: 5px;
}

/* Botão de Retorno */
.error-page-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #0E2287;
    border-radius: 8px;
    text-decoration: none;
}

/* Efeito Hover do Botão */
.error-page-btn:hover {
    background-color: #0E2287;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .error-page-container {
        padding: 20px;
    }

    .error-page-title {
        font-size: 1.5rem;
    }

    .error-page-btn {
        width: 100%;
    }
}
