@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'exo 2', sans-serif;
}

.navbar {
    background-color: #184474; /* Azul */
    height: auto;
    min-height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    width: 1200px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar .logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 0;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #cce5ff;
}

.nav-whatsapp {
    background-color: #25D366;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease !important;
}

.nav-whatsapp i {
    margin-right: 5px;
    font-size: 1.1em;
}

.nav-whatsapp:hover {
    background-color: #128C7E;
    color: #fff !important;
}

/* Header Section */
.hero-header {
    display: flex;
    background-color: #1c6fd416;
    width: 100%;
    height: 600px;
    justify-content: space-evenly;
    align-items: center;
}

.hero-header-container {
    display: flex;
    width: 1200px;
    justify-content: space-between;
    align-items: center;
}


.header-content h1 {
    font-size: 60px;
    color: #184474;
    margin-bottom: 20px;
}

.header-content p {
    font-size: 1.5rem;
    color: #6f6f6f;
}

.header-image img {
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;    /* Deixa os cantos da imagem arredondados */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Adiciona uma sombra suave 3D */
    transition: transform 0.3s ease; /* Prepara a imagem para um efeito ao passar o mouse */
}

/* Efeito ao passar o mouse por cima da foto (opcional) */
.header-image img:hover {
    transform: translateY(-5px); /* Dá a impressão de que a imagem "flutua" para cima */
}

a {
    text-decoration: none;
}

.btn-subscribe {
    background-color: #005c9e;
    color: #fff;
    font-size: 20px;
    border-radius: 15px;
    padding: 15px 45px 15px 45px;
}

.btn-subscribe:hover {
    background-color: #178add;
}

.btn-demo {
    background-color: #28a745;
    color: #fff;
    font-size: 20px;
    border-radius: 15px;
    padding: 15px 45px 15px 45px;
    margin-left: 15px;
}

.btn-demo:hover {
    background-color: #218838;
}

.logo img {
    width: 150px;
    display: flex;
    align-items: center;
}

.container-prestador {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;

    h2 {
        font-size: 55px;
        color: #184474;
        margin-bottom: 20px;
    }

    p {
        font-size: 20px;
    }
}

.prestador-cards {
    display: grid; /* Muda de flex para grid */
    grid-template-columns: repeat(4, 1fr); /* Cria exatamente 4 colunas de tamanhos iguais */
    width: 1200px;
    margin-top: 50px;
    gap: 20px; /* Espaçamento entre os cards */

    .card {
        background-color: #f5f5f5;
        /* O width foi removido, pois o grid já cuida da largura (1fr) */
        height: 250px; /* Aumentei um pouco para caber a imagem e o texto respirarem */
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centraliza verticalmente o conteúdo interno do card */
        /* Borda e Efeito Neon Azul */
        border: 2px solid #184474; /* Borda cor azul neon */
        box-shadow: 0 0 4px #1b589a, inset 0 0 4px #024fa1;; /* Brilho externo e interno */
       
        img {
            width: 170px;
            height: auto;
            object-fit: cover; /* Evita que a imagem distorça */
            margin-bottom: 15px; /* Espaço entre a imagem e o título */
        }

        h3 {
            font-size: 25px;
            color: #184474;
        }
    }
}

/* ===============================
   ESTILOS DA GALERIA
   =============================== */
.container-galeria {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.container-galeria h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.container-galeria p {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Indicador visual que a imagem é clicável */
.img-clicavel {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img-clicavel:hover {
    transform: scale(1.05); /* Pequeno zoom ao passar o mouse */
    opacity: 0.8;
}

/* ===============================
   ESTILOS DAS FUNCIONALIDADES
   =============================== */
.container-funcionalidades {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.container-funcionalidades h2 {
    font-size: 2.5rem;
    color: #184474;
    margin-bottom: 30px;
}

.funcionalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-top: 20px;
}

.func-card {
    background-color: #f5f5f5;
    border: 2px solid #184474;
    border-radius: 15px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.func-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(24, 68, 116, 0.3);
}

.func-card i {
    font-size: 40px;
    color: #184474;
    margin-bottom: 15px;
}

.func-card h3 {
    font-size: 1.2rem;
    color: #333;
}

/* ===============================
   ESTILOS DO MODAL (IMAGEM GRANDE)
   =============================== */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed; 
    z-index: 9999; /* Fica acima de tudo no site */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); /* Fundo preto transparente */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Imagem dentro do Modal */
.modal-conteudo {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    animation: zoomAparecer 0.3s ease; /* Animação de entrada */
}

/* Legenda da imagem no Modal */
#legendaModal {
    margin-top: 15px;
    color: #ccc;
    font-size: 18px;
    text-align: center;
}

/* --- FOOTER --- */
.footer {
    background-color: #184474;
    color: #fff;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: #3b82f6; /* Azul clarinho para os ícones */
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #3b82f6; /* Azul ao passar o mouse */
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar .nav-links {
        gap: 10px;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-whatsapp {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info p {
        justify-content: center;
    }
}
    font-size: 1.2rem;
    text-align: center;
    animation: zoomAparecer 0.3s ease;
}

/* Botão de Fechar (X) */
.fechar-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.fechar-modal:hover,
.fechar-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animação suave ao abrir */
@keyframes zoomAparecer {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.grid-container {
    padding: 80px;
  display: grid;
  /* Define 3 colunas de larguras iguais (1fr cada) */
  grid-template-columns: repeat(3, 1fr);
  /* Define 2 linhas (neste caso, com 150px de altura cada) */
  grid-template-rows: repeat(2, 150px);
  /* Espaçamento entre as células */
  gap: 10px;
}

/* Estilo apenas para visualização dos itens */
.grid-item {
  background-color: #4CAF50;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 4px;
}

/* ===============================
   ESTILOS PÁGINA DEMO (sistema.html)
   =============================== */
.bg-light {
    background-color: #f5f7fa;
}

.demo-header {
    background-color: #184474;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.demo-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.demo-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Botoes Grandes de Ação */
.demo-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.demo-btn {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.demo-btn i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #184474;
}

.demo-btn.primary {
    border-color: #3b82f6;
}

.demo-btn.primary i {
    color: #3b82f6;
}

.demo-btn h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.demo-btn p {
    font-size: 0.9rem;
    color: #666;
}

.demo-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(24,68,116,0.15);
}

/* Secao de Instruçoes e Login */
.demo-instructions {
    display: flex;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.instructions-content {
    flex: 1;
    min-width: 300px;
}

.instructions-content h2, .login-card h3 {
    color: #184474;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions-content ol {
    padding-left: 20px;
    line-height: 1.8;
    color: #444;
}

.instructions-content ol li {
    margin-bottom: 10px;
}

.login-card {
    background-color: #f8fbff;
    border: 1px solid #cce0ff;
    padding: 30px;
    border-radius: 10px;
    min-width: 300px;
    flex: 0.6;
}

.login-card p {
    color: #555;
    margin-bottom: 15px;
}

.credentialsBox {
    background-color: #e6f0ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.credentialsBox p {
    margin: 5px 0;
    color: #184474;
    font-size: 1.1rem;
}

/* Videos */
.demo-videos {
    text-align: center;
    margin-bottom: 40px;
}

.demo-videos h2 {
    color: #184474;
    margin-bottom: 10px;
}

.demo-videos > p {
    color: #666;
    margin-bottom: 30px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
}

.video-card h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #333;
}

@media (max-width: 768px) {
    .demo-instructions {
        flex-direction: column;
        padding: 20px;
    }
    .login-card {
        width: 100%;
        margin-top: 20px;
    }
}

/* ===============================
   ESTILOS DA SEÇÃO DE PLANOS
   =============================== */
.container-planos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container-planos h2 {
    color: #184474;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitulo-planos {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-align: center;
}

.planos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.plano-card {
    background: #fff;
    border: 2px solid #184474;
    border-radius: 8px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.plano-badge {
    background-color: #184474;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    font-size: 1rem;
}

.plano-conteudo {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plano-conteudo h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.plano-preco {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 25px;
    color: #000;
}

.plano-preco .moeda {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 5px;
}

.plano-preco .valor {
    font-size: 3rem;
    font-weight: 900;
}

.plano-preco .periodo {
    font-size: 1.1rem;
    color: #555;
    margin-left: 5px;
}

.plano-recursos {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
}

.plano-recursos li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plano-recursos li i {
    color: #326fac;
    font-size: 1rem;
}

.btn-assinar {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #1877f2;
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-assinar:hover {
    background-color: #155dbf;
}

/* Responsividade Planos */
@media (max-width: 768px) {
    /* Hero Header */
    .hero-header {
        height: auto;
        padding: 40px 20px;
    }
    
    .hero-header-container {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .header-content h1 {
        font-size: 35px;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
    
    .header-image img {
        width: 100%;
        max-width: 300px;
        margin-top: 30px;
    }

    .btn-subscribe, .btn-demo {
        display: block;
        margin: 10px auto;
        width: 80%;
    }

    /* Prestador Cards */
    .prestador-cards {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        padding: 0 20px;
    }

    .container-prestador h2 {
        font-size: 35px;
    }

    /* Navigation */
    .navbar-container {
        width: 100%;
    }
    
    .logo img {
        width: 120px;
    }

    .planos-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .plano-card {
        width: 100%;
        max-width: 100%;
    }
}


/* ===============================
   ESTILOS DA SEÇÃO DE RECURSOS
   =============================== */
.container-recursos {
    padding: 60px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.recursos-wrapper {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.recursos-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recurso-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    color: #4a4a4a;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.recurso-item i {
    font-size: 1.2rem;
    width: 30px;
    margin-right: 10px;
    text-align: center;
    color: #6c757d;
}

.recurso-item:hover, .recurso-item.ativo {
    background-color: #e2e6ea;
    color: #1a1a1a;
}

.recurso-item.ativo i, .recurso-item:hover i {
    color: #184474;
}

/* Info Tooltip Hover para Recursos */
.recurso-item {
    position: relative; /* Necessário para posicionar o tooltip absoluto a ele */
}

.info-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 105%; /* Posiciona para a direita do item da lista */
    top: 50%;
    transform: translateY(-50%) translateX(-10px); /* Inicia ligeiramente deslocado */
    width: 320px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s ease;
    cursor: default;
}

/* Triângulo do balão de informação apontando para a esquerda */
.info-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

/* Triângulo extra levemente maior caso exista borda (sombra) */
.info-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -9px;
    border-width: 9px;
    border-style: solid;
    border-color: transparent transparent transparent transparent;
}

.recurso-item:hover .info-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) translateX(0); /* Desliza suavemente no lugar */
}

.info-tooltip h4 {
    color: #184474;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tooltip h4 i {
    color: #184474;
    font-size: 1.1rem;
    margin: 0;
    width: auto;
}

.info-tooltip p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsividade Tooltip - em telas menores ele aparece embaixo ao invés de no lado direito */
@media (max-width: 768px) {
    .info-tooltip {
        left: 50%;
        top: 100%;
        transform: translateX(-50%) translateY(10px);
        margin-top: 10px;
        width: 250px;
    }

    .recurso-item:hover .info-tooltip {
        transform: translateX(-50%) translateY(0);
    }

    .info-tooltip::before, .info-tooltip::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        right: auto;
        margin-left: -8px;
        border-color: transparent transparent #fff transparent;
    }
    
    .info-tooltip::after {
        margin-top: 0;
        margin-left: -9px;
    }
}
