/* 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 no topo*/
#menu.top {
    background-color: transparent;
}

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

#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;
}

/* 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: #80e7ff;
}

@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;
    }
}

.hero-banner h1 {
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin: 0 auto;
}


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

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

    .btn-comprar-mobile {
        background-color: #007cb5;
        color: #fff;
        font-weight: bold;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        border-radius: 0;
        padding: 1rem;
        font-size: 1.2rem;
        text-align: center;
    }

    .btn-comprar-mobile:hover {
        background-color: #007cb5;
    }

    .hero-banner {
        height: 50vh !important; 
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 1.6rem !important;
        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-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-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 .text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3e4549;
    display: block; 
}

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

/* 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;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.white-box textarea {
    resize: vertical; 
}

.white-box .btn-primary:hover {
    background-color: #0d8bbf; 
}

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

@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; 
    border: none; 
    border-radius: 2px; 
    font-size: 1rem; 
    background-color: #f9f9f9; 
}

#contact-form textarea {
    resize: vertical; 
}

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

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

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

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

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

.footer-section a {
    color: #FFFFFF; 
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

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

.contact-info a {
    color: #555; 
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline; 
}

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

.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(16, 172, 220, 0.8);
}

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

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

}

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

}

.user-type-selection button:hover {
    background-color: #006989;
    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;
    margin-bottom: 15px;
    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);
}

/* 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;
}

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

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

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

fieldset {
    border: 1px solid #007cb5; 
    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: #007cb5; 
    /* 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;
}

.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;
}

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

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

.produto-info-card p {
    font-size: 1rem;
    color: #007cb5;
    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: #007cb5; 
    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: #007cb5;
    margin-bottom: 20px;
}

/* Fieldset (Bloco de informações) */
.checkout-page-finalizacao {
    border: 1px solid #007cb5;
    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: #007cb5;
    /* 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;
}

/* 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: #007cb5;
    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;
}

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

.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: #007cb5;
    border: 2px solid #007cb5;
    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: #007cb5;
    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;
}

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

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

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

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

.form-message {
  border: none;
  display: none;
  border-radius: 6px !important;
}

.form-message.error, .form-message.success {
  display: block;
  -webkit-animation: form-message 0.4s;
  -moz-animation: form-message 0.4s;
  -o-animation: form-message 0.4s;
  animation: form-message 0.4s;
}

.form-message.error .form-message-text, .form-message.success .form-message-text {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
}

.form-message.success .form-message-text {
  background-color: #62be67;
  color: #fff;
}

.form-message.error .form-message-text {
  background-color: #f55353;
  color: #fff;
}

/* Informativos */
.informativo-grid {
    row-gap: 40px;
}

.informativo-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.informativo-card:hover {
    transform: translateY(-5px);
}

.informativo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.informativo-conteudo {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.informativo-conteudo h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #007cb5;
    margin-bottom: 8px;
}

.informativo-conteudo h3 a {
    color: inherit;
    text-decoration: none;
}

.informativo-conteudo h3 a:hover {
    text-decoration: underline;
}

.informativo-data {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.informativo-conteudo p {
    font-size: 0.95rem;
    color: #3e4549;
    margin-bottom: 15px;
    flex-grow: 1;
}

.informativo-share {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.informativo-share a {
    font-size: 1.2rem;
    color: #007cb5;
    transition: color 0.3s ease;
}

.informativo-share a:hover {
    color: #005f87;
}

/* Informativos */
.informativo-grid {
    row-gap: 40px;
}

.informativo-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.informativo-card:hover {
    transform: translateY(-5px);
}

.informativo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.informativo-conteudo {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.informativo-conteudo h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #007cb5;
    margin-bottom: 8px;
}

.informativo-conteudo h3 a {
    color: inherit;
    text-decoration: none;
}

.informativo-conteudo h3 a:hover {
    text-decoration: underline;
}

.informativo-data {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.informativo-conteudo p {
    font-size: 0.95rem;
    color: #3e4549;
    margin-bottom: 15px;
    flex-grow: 1;
}

.informativo-share {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.informativo-share a {
    font-size: 1.2rem;
    color: #007cb5;
    transition: color 0.3s ease;
}

.informativo-share a:hover {
    color: #005f87;
}

.pagination .page-link {
  color: #007cb5;
  border-radius: 5px;
}

.pagination .page-item.active .page-link {
  background-color: #007cb5;
  border-color: #007bff;
  color: white;
}

.box a {
    color: #000000;
    text-decoration: none;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

.card a {
    color: #000000;
    text-decoration: none;
}

input.is-invalid,
textarea.is-invalid {
    border: 1px solid #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 12 12'%3e%3cpath d='M6.5 0a.5.5 0 0 0-1 0v7a.5.5 0 0 0 1 0V0zM6.5 9.5a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

#contato-erro,
#contato-sucesso {
    display: none;
}

.input-error {
  border: 1px solid red !important;
}

.field-error {
  color: red;
  font-size: 12px;
  display: block;
}

.field-error {
  color: red;
  font-size: 0.875rem;
  margin-top: 4px;
  min-height: 1em;
  display: block;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.input-wrapper {
  flex: 1 1 300px; /* flex-grow, flex-shrink, flex-basis */
  min-width: 250px;
}


