/* Geral */
body, html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    color: #333;
    background-color: #f9f9f9;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* logo texto
.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000ba3;
}
*/
/*logo imagem*/
.logo img {
    width: 140px; /* Ajuste a largura conforme necessário */
    height: auto; /* Mantém a proporção da imagem */
}



.navbar .menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar .menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .menu a:hover {
    color: #000ba3;
}

.navbar .test-button {
    background: linear-gradient(45deg, #17007e, #001d7a);/*botao de teste*/
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 5px;
    margin-right: 45px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.navbar .test-button:hover {
    background-color: #000ba3;
}

/* Sections */
section {
    padding: 5rem 4rem;
    margin-top: 1rem;
    text-align: center;
}

/* CSS para a seção "Início" */
/* CSS para a seção "Início" com ajustes adicionais */
.home {
    background-color: #ffffff;
    padding: 12rem 11rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.home-content h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1E90FF, #00008B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-content p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 600px;
    width: 100%;
}

.search-form input[type="text"] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 50px 5px 5px 50px;/*borda input subdominio*/
    border-right: none;
    flex: 1;
    font-size: 1rem;
}

.search-form .fixed-domain {
    padding: 0.75rem;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-left: none;
    color: #888;
    border-radius:  5px 50px 50px 5px; /*borda dominio fixo*/
    font-size: 1.3rem;
    display: flex;
    align-items: baseline;
}

.search-form .fixed-domain span:first-child {
    font-size: 1rem; /*tamanho .eichat*/
    font-weight: bold;
}

.search-form .fixed-domain span:last-child {
    font-size: 0.9rem;
    margin-left: 2px;
}

.search-form button {
    padding: 0.30rem 0.60rem;
    background: linear-gradient(45deg, #0024ee, #053fff);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px 50px 50px 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.search-form button:hover {
    background: linear-gradient(45deg, #1c20ee, #031788);
}

.search-form button .icon {
    font-size: 1.2rem;
}

.typing-effect {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    color: white;
    display: inline-block;
    background: linear-gradient(45deg, #1E90FF, #00008B);
    padding: 0.25rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
}

.typing-effect::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    color: white;
    animation: blink 1s step-start infinite;
    z-index: 1;
}

.typing-effect span {
    position: relative;
    z-index: 2;
}


/*cursor | */
.cursor {
    font-weight: bold;
    color: white;
    animation: blink 0.8s steps(2, start) infinite;
    display: inline-block;
    transition: opacity 0.2s ease-in-out;
    width: 10px; /* Mantém o espaço do cursor */
}

/* Classe para ocultar o cursor */
.hidden {
    opacity: 0;
    visibility: hidden; /* Oculta completamente */
}



/*Seção Sobre*/
/* Estilização da seção Sobre */
/* Seção Sobre */
.about {
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    margin-top: 6rem;
    color: #333;
}

/* Contêiner dos blocos */
.chat-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Blocos */
.option {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.option h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Ícones */
.option .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.checklist li span {
    color: #28a745; /* Verde para o ícone de check */
    font-weight: bold;
}

/* Botão Escolher Plano */
.plan-button {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.plan-button:hover {
    background: linear-gradient(to right, #0056b3, #003f7f);
}

/*Faq Section*/
/* Estilo da Seção FAQ */
.faq-section {
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.faq-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    margin-top: 6rem;
}

/* Contêiner dos itens FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Estilo de cada item FAQ */
.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
}

/* Estilo das perguntas */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    color: #007bff;
    outline: none;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #0056b3;
}

/* Estilo do botão de alternância (+/-) */
.faq-toggle {
    font-size: 1.5rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

/* Estilo das respostas */
.faq-answer {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

/* Quando a resposta está visível */
.faq-item.open .faq-answer {
    max-height: 200px; /* Valor suficiente para o conteúdo expandido */
    opacity: 1;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg); /* Muda de + para - */
}



/* Plans Section */
/* Seção Planos */

#planos {
    scroll-margin-top: 70px; /* Ajuste conforme altura da navbar */
}

.plans {
            max-width: 1200px;
            margin: 0 auto;
        }

        .plans h2 {
            text-align: center;
            color: #333;
            font-size: 2.5rem;
            margin-bottom: 40px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .tabs-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin: 0 auto; /* Centraliza o elemento horizontalmente */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            border-bottom: 2px solid #e0e0e0;
            flex-wrap: wrap;
        }

        .tab-button {
            padding: 15px 30px;
            background: transparent;
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            color: #666;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
            position: relative;
            bottom: -2px;
        }

        .tab-button:hover {
            color: #363636;
        }

        .tab-button.active {
            color: #0334f8;
            border-bottom-color: #0334f8;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.4s ease;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .plan-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 20px;
            justify-items: center; /* Centraliza os cards dentro de cada coluna */
            align-items: start; /* Mude para 'start' para melhor alinhamento */
        }
        
        /* Cartões dos planos */
       .plan-card {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 15px;
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin: 0 auto;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }


    
        .plan-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        .plan-card h3 {
            color: #333;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .price {
            color: gray;
            font-size: 3rem;
            font-weight: bold;
            margin: 20px 0;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .currency {
            font-size: 1.5rem;
            margin-right: 5px;
        }

        .cents {
            font-size: 1.5rem;
        }

        .plan-card ul {
            list-style: none;
            margin: 25px 0;
            text-align: left;
        }

        .plan-card li {
            padding: 10px 0;
            color: #555;
            font-size: 1rem;
        }

        .select-plan {
            display: inline-block;
            padding: 15px 40px;
            background: linear-gradient(to right, #007bff, #0056b3);
            color: #fff;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .select-plan:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
        }

@media (max-width: 768px) {
    /* Título */
    .plans {
        padding: 0 10px; /* Adicione esta linha */
        overflow-x: hidden; /* E esta */
    }
    .plans h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Container de Abas - Centralização */
    .tabs,
    .tabs-container {
        width: 350px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
        margin: 0 auto 2rem; /* margin-left e margin-right como auto centraliza */
    }
    
    /* Botões de Abas - LARGURA AUMENTADA */
    .tab-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        max-width: 200px; /* AUMENTADO de 200px para 280px */
        text-align: center;
        margin: 0 auto;
        display: block;
    }
    
    /* Grid dos Cards - Centralização CORRIGIDA */
    .plan-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 7px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    /* Card do Plano - TAMANHO AJUSTADO */
    .plan-card {
        width: 310px; /* MUDADO de 100% para 90% */
        margin: 0 auto;
        box-sizing: border-box; /* ADICIONADO */
        /* Conteúdo interno centralizado */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 14px;
    }
}



.plans,
.plan-grid,
.plan-card,
.tabs-container {
    box-sizing: border-box;
}


/*Estilo icones lista planos */
/* Lista de features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
}

/* Ícone check (verde) */
.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* Ícone X (vermelho) */
.icon-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Feature incluída */
.feature-included {
    color: #1f2937;
}

/* Feature excluída (opacidade reduzida) */
.feature-excluded {
    color: #9ca3af;
    opacity: 0.7;
}

.feature-excluded span:last-child {
    text-decoration: line-through;
}

/*Estilo Contato*/
.contact {
    
    padding: 3rem;
    background-color: #f8f9fa;
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 6rem;
    color: #333;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    text-align: left;
    font-weight: bold;
    color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
      margin: 0 auto;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
     
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: linear-gradient(to right, #0056b3, #003d80);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(45deg, #1E90FF, #00008B);
    color: white;
}


/*Dispositivos Moveis*/
/* Responsividade para dispositivos móveis */
/* Esconde o menu hambúrguer em telas grandes */
.hamburger-menu {
    display: none;
}

/* Exibe o menu hambúrguer em dispositivos móveis */
@media (max-width: 768px) {
    /* Estilo do menu hambúrguer */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.3rem;
        cursor: pointer;
        position: relative; /* Mantém o alinhamento relativo */
        z-index: 1001; /* Certifica-se de que o ícone está acima do menu */
    }
    
    .hamburger-menu div {
        width: 30px; /* Largura padrão das linhas */
        height: 4px; /* Altura padrão das linhas */
        background-color: #333;
        border-radius: 2px; /* Deixa as bordas arredondadas para suavidade */
        transition: all 0.3s ease; /* Animação suave */
    }
    .navbar .menu {
        display: none; /* Menu escondido por padrão */
    }
    
    /*tamanho logo mobile*/
    .logo img {
    width: 100px; /* Ajuste a largura conforme necessário */
    height: auto; /* Mantém a proporção da imagem */
    }


    .navbar .menu.active {
        display: flex; /* Menu exibido quando ativo */
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 20%;
        background-color: rgba(44, 130, 203, 0.4); /*Transparencia menu mobile*/
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    /* Quando ativo (menu aberto) */
    .hamburger-menu.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px); /* Linha superior */
    }
    
    .hamburger-menu.active div:nth-child(2) {
        opacity: 0; /* Esconde a linha do meio */
        transform: translateX(-20px); /* Move-a para fora para evitar problemas visuais */
    }
    
    .hamburger-menu.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px); /* Linha inferior */
    }
    
}
 

/* Seção "Início" */
@media (max-width: 768px) {

    .home {
        padding: 10rem 3rem; /* Aumentando o espaço de altura */
    }

    .home-content h1 {
        font-size: 2rem;
    }

    .home-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .search-form {
        display: flex;
        flex-direction: row; /* Organiza os elementos em linha */
        align-items: center;
        gap: 1rem;
        max-width: 100%;
        flex-wrap: wrap; /* Permite quebra de linha em dispositivos menores */
    }

    .search-form input[type="text"] {
        padding: 1rem;
        width: 63%; /* Metade da largura disponível */
        font-size: 0.8rem;
        box-sizing: border-box; /* Inclui padding e border na largura total */
    }

    .search-form .fixed-domain {
        padding: 1rem;
        width: 37%; /* Metade da largura disponível */
        
        box-sizing: border-box; /* Inclui padding e border na largura total */
    }
    
    /*tamanho .eichat*/
    .search-form .fixed-domain span:first-child {
    font-size: 0.9rem; /*tamanho .eichat*/
    font-weight: bold;
    }
    
    .search-form .fixed-domain span:last-child {
        font-size: 0.8rem;
        margin-right: 0.8px;
    }

    .search-form button { 
        width: 50%; /* Botão ocupa 50% da largura */ 
        padding: 0.5rem 1rem;
        font-size: 1rem;
        margin: 1rem auto 0 auto; /* Centraliza o botão */
    }
    
    
    .typing-effect {
        font-size: 1.5rem;
    }

    .home-content p {
        font-size: 1rem;
    }
}


/*Botao flutuante whatsapp*/
/* Estilo do botão flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Distância da parte inferior */
    right: 20px; /* Distância da lateral direita */
    z-index: 1000; /* Sempre acima dos outros elementos */
    background-color: #25d366; /* Cor do botão */
    border-radius: 50%; /* Deixa o botão redondo */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra para destaque */
    width: 60px; /* Tamanho do botão */
    height: 60px; /* Tamanho do botão */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Ícone do WhatsApp */
.whatsapp-icon {
    width: 50%; /* Ajusta o tamanho do ícone dentro do botão */
    height: 50%;
}

/* Efeito de hover */
.whatsapp-float:hover {
    transform: scale(1.1); /* Aumenta o botão ao passar o mouse */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* Destaca mais a sombra */
}

/* Responsividade */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon {
        width: 40%;
        height: 40%;
    }
}


/*Tags Planos */
/* Badge/Tag dos planos */
.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    animation: pulseBadge 2s infinite;
}

/* Tag Recomendado */
.badge-recommended {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

/* Tag Econômico */
.badge-economy {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: #333;
}

/* Animação sutil */
@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Garante que o plan-card seja position relative */
.plan-card {
    position: relative;
    /* seu CSS existente... */
}

/* Responsivo */
@media (max-width: 768px) {
    .plan-badge {
        top: -10px;
        right: 15px;
        font-size: 11px;
        padding: 5px 12px;
    }
}
