/* ============================================================================
   LANDING PAGE - STYLESHEET ORGANIZADO
   ============================================================================ */

/* ============================================================================
   1. RESET E CONFIGURAÇÕES GLOBAIS
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f4f6f9;
    color: #1a1a1a;
    scroll-behavior: smooth;
}

section {
    padding: 140px 0;
}


/* ============================================================================
   2. HEADER - NAVEGAÇÃO FIXA COM EFEITO GLASS
   ============================================================================ */

/* ===== 2.1 Container Principal do Header ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 4px 0;
    z-index: 1000;
    
    /* Efeito vidro translúcido */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    
    transition:
        padding 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.65s ease,
        transform 1.85s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s ease;
}

/* ===== 2.2 Estados do Header (Scroll) ===== */
.header.hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.header.hidden .menu-cta,
.header.scrolled .menu-cta {
    background: linear-gradient(135deg, #00a6ff, #21d4fd);
    color: #fff;
    box-shadow: 0px 14px 38px rgba(0, 166, 255, 0.55);
}

/* ===== 2.3 Container Interno ===== */
.header-container {
    width: 90%;
    margin: auto;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== 2.4 Logo ===== */
.logo {
    height: 72px;
    transition: transform 0.25s ease;
}

.header.scrolled .logo {
    transform: scale(0.94);
}

/* ===== 2.5 Menu de Navegação ===== */
.menu a {
    position: relative;
    margin-left: 22px;
    font-size: 15px;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.02em;
    font-weight: 500;
    padding-bottom: 4px;
    transition: 0.25s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #00a6ff;
    transition: width 0.25s ease;
}

.menu a:hover {
    color: #00a6ff;
}

.menu a:hover::after {
    width: 100%;
}

/* ===== 2.6 Botão CTA do Menu ===== */
.menu-cta {
    margin-left: 28px;
    padding: 2px 28px 8px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #54A9FF, #77C7FF);
    font-weight: 700;
    font-size: 14px;
    color: #000 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    position: relative;
    top: 2px;
    box-shadow: 0 8px 20px rgba(84, 169, 255, 0.35);
    transition: 0.25s ease;
}

.menu-cta::after {
    display: none !important;
}

.menu-cta:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}


/* ============================================================================
   3. HERO - SEÇÃO PRINCIPAL
   ============================================================================ */

/* ===== 3.1 Container Hero ===== */
.hero {
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(145deg, #f4f9fd 0%, #e8f3fb 100%);
}

.hero-grid {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ===== 3.2 Texto Hero ===== */
.hero-text h1 {
    font-size: 36px;
    color: #0d2946;
    line-height: 1.3;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00A6FF, #21D4FD);
    border-radius: 4px;
}

.hero-text p {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

/* ===== 3.3 Imagem Hero ===== */
.hero-img-placeholder img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(0, 166, 255, 0.15);
}

/* ===== 3.4 Botões CTA ===== */
.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 26px;
    background: #00a6ff;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 10px 24px rgba(0, 166, 255, 0.35);
}

.cta-button:hover {
    background: #0088d4;
    animation: pulse 1s ease infinite;
}

.cta-button.white {
    background: #fff;
    color: #0d2946;
    border: 2px solid #0d2946;
    box-shadow: none;
}

.cta-button.white:hover {
    background: #0d2946;
    color: #fff;
}

/* ===== 3.5 Animação Pulse ===== */
@keyframes pulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(0, 166, 255, 0.5); 
    }
    70% { 
        transform: scale(1.02); 
        box-shadow: 0 0 0 10px rgba(0, 166, 255, 0); 
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(0, 166, 255, 0); 
    }
}


/* ============================================================================
   4. SEÇÃO PROBLEMA
   ============================================================================ */

.problema {
    background: linear-gradient(145deg, #fefefe 0%, #eaf3fb 100%);
}

.problema .img-block img {
    box-shadow: 0 18px 42px rgba(0, 70, 130, 0.12);
    border-radius: 18px;
}

.problema .text-block h2 {
    position: relative;
    padding-left: 18px;
}

.problema .text-block h2::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 6px;
    height: 90%;
    background: linear-gradient(180deg, #00A6FF, #21D4FD);
    border-radius: 999px;
}

.problema .text-block p {
    color: #2a2a2a;
    font-size: 18px;
    line-height: 1.6;
}


/* ============================================================================
   5. SEÇÕES GENÉRICAS (Estrutura Padrão)
   ============================================================================ */

.section-container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-container img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.text-block h2 {
    font-size: 30px;
    color: #0d2946;
    margin-bottom: 16px;
}

.text-block p {
    font-size: 17px;
    color: #333;
}


/* ============================================================================
   6. SEÇÃO COMPARAÇÃO
   ============================================================================ */

.comparacao {
    background: linear-gradient(135deg, #f0f7ff 0%, #e2f0fb 100%);
}

.comparacao h2 {
    text-align: center;
    font-size: 32px;
    color: #0d2946;
    margin-bottom: 50px;
}

.comparacao-grid {
    width: 90%;
    margin: auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* ===== 6.1 Cards de Comparação ===== */
.card {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

.card h3 {
    margin: 20px 0;
    color: #0d2946;
}

.card ul li {
    margin: 10px 0;
    color: #333;
    list-style: none;
    font-size: 15px;
}

/* ===== 6.2 Card em Destaque ===== */
.card.destaque {
    border: none;
    background: linear-gradient(135deg, #00a6ff, #21d4fd);
    color: #fff;
    box-shadow: 0 24px 56px rgba(0, 166, 255, 0.35);
    position: relative;
    z-index: 2;
}

.comparacao .card.destaque h3,
.comparacao .card.destaque li {
    color: #fff;
}

/* ===== 6.3 Ícones ===== */
.icon {
    height: 50px;
}


/* ============================================================================
   7. SEÇÃO BENEFÍCIOS
   ============================================================================ */

.beneficios {
    background: linear-gradient(180deg, #f0f8ff 0%, #e8f4fb 100%);
}

.beneficios h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0d2946;
    position: relative;
    padding-left: 16px;
}

.beneficios h2::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 5px;
    height: 80%;
    background: linear-gradient(180deg, #00A6FF, #21D4FD);
    border-radius: 999px;
}

/* ===== 7.1 Grid de Benefícios ===== */
.beneficios-grid {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.beneficio-item {
    background: #ffffff;
    padding: 22px 16px;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.beneficio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 166, 255, 0.20);
}

.beneficio-item p {
    margin-top: 12px;
    font-weight: 500;
    color: #0d2946;
}

.beneficio-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.beneficio-item:hover img {
    transform: scale(1.06);
}

/* ===== 7.2 Imagem de Benefícios ===== */
.beneficio-img img {
    display: block;
    width: 90%;
    margin: 50px auto 0 auto;
    border-radius: 20px;
    box-shadow: 0 22px 56px rgba(0, 166, 255, 0.25);
}


/* ============================================================================
   8. SEÇÃO NICHOS
   ============================================================================ */

.nichos {
    background: linear-gradient(180deg, #f5faff 0%, #eaf3fb 100%);
}

.nichos h2 {
    text-align: center;
    color: #0d2946;
    font-size: 32px;
    margin-bottom: 50px;
}

/* ===== 8.1 Grid de Nichos ===== */
.nicho-grid {
    width: 90%;
    margin: auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.nicho-item {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nicho-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 166, 255, 0.20);
}

.nicho-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.35s ease;
}

.nicho-item:hover img {
    transform: scale(1.03);
}

.nicho-item span {
    display: block;
    margin: 16px 0 18px;
    font-weight: 600;
    font-size: 15px;
    color: #0d2946;
}


/* ============================================================================
   9. SEÇÃO COMO FUNCIONA
   ============================================================================ */

.como-funciona {
    background: linear-gradient(180deg, #f4faff 0%, #e6f2fb 100%);
}

.como-funciona h2 {
    text-align: center;
    color: #0d2946;
    font-size: 32px;
    margin-bottom: 40px;
}

/* ===== 9.1 Grid de Passos ===== */
.passos-grid {
    width: 90%;
    margin: auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.passo {
    background: linear-gradient(145deg, #ffffff 0%, #f2faff 100%);
    border-radius: 18px;
    padding: 24px 20px 30px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.passo:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0, 166, 255, 0.25);
}

/* Destaque do card central (IA) */
.passo:nth-child(2) {
    background: linear-gradient(145deg, #e8f6ff 0%, #f3fbff 100%);
}

.passo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.passo:hover img {
    transform: scale(1.03);
}

.passo h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0d2946;
    margin-top: 10px;
}

.passo p {
    font-size: 15px;
    color: #2a2a2a;
    line-height: 1.5;
}


/* ============================================================================
   10. SEÇÃO FAQ
   ============================================================================ */

.faq {
    background: linear-gradient(180deg, #f4faff 0%, #eaf3fb 100%);
    padding: 60px 0;
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #0d2946;
}

/* ===== 10.1 Cards de Perguntas ===== */
.faq-item {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 16px;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 166, 255, 0.10);
}

.faq-item h3 {
    color: #0d2946;
    margin-bottom: 4px;
}

/* ===== 10.2 Título com Ícone Animado ===== */
.faq-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #0d2946;
}

.faq-title::after {
    content: '▼';
    font-size: 14px;
    color: #00A6FF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-title::after {
    transform: rotate(180deg);
}

/* ===== 10.3 Conteúdo da Resposta ===== */
.faq-content {
    font-size: 15px;
    color: #2a2a2a;
    line-height: 1.5;
    margin-top: 12px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}


/* ============================================================================
   11. SEÇÃO CTA FINAL
   ============================================================================ */

.cta-final {
    background: linear-gradient(135deg, #0D2946 0%, #173E63 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta-final h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-final .cta-button {
    background: linear-gradient(90deg, #00A6FF, #21D4FD);
    color: white;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(0, 166, 255, 0.3);
}

.cta-final .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 166, 255, 0.4);
}


/* ============================================================================
   12. ANIMAÇÕES DE REVEAL (Scroll)
   ============================================================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================================
   13. RESPONSIVIDADE
   ============================================================================ */

/* ===== 13.1 Tablets e Telas Médias (max-width: 1000px) ===== */
@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .section-container {
        grid-template-columns: 1fr;
    }

    .comparacao-grid {
        grid-template-columns: 1fr;
    }

    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nicho-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .passos-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 13.2 Mobile (max-width: 600px) ===== */
@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .nicho-grid {
        grid-template-columns: 1fr;
    }
}



.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #0d2946;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .menu {
        position: absolute;
        top: 70px;
        right: 20px;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}
