/*
 * CriarteBrasil Web Solutions
 * Estilos Principais - Refatoração para alinhamento com Mockup Oficial (SaaS Premium)
 */

/* --- VISIBILIDADE MOBILE/DESKTOP --- */
.mobile-only {
    display: none !important;
}

@media (max-width: 992px) {
    .mobile-only {
        display: block !important;
    }
}

/* --- LAYOUT E CONTAINER --- */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

section {
    padding: var(--section-gap) 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-gap-mobile) 0;
    }
}

.section-light {
    background-color: var(--white);
}

.section-alt {
    background-color: var(--gray-100);
}

.section-dark {
    background-color: var(--dark-blue);
    color: var(--white);
}

/* Alinhamento de Títulos */
.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.section-header-centered h2 {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header-centered p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-header-centered h2 {
        font-size: 2rem;
    }

    .section-header-centered p {
        font-size: 1rem;
    }
}

.section-tag-purple {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

/* --- BOTÕES E COMPONENTES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Botão Primário Pill (Solicitar Orçamento) */
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-official);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 10px 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: var(--transition-medium);
}

.btn-arrow-circle {
    background: var(--white);
    color: var(--primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    transition: var(--transition-fast);
}

.btn-primary-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45), var(--shadow-glow);
}

.btn-primary-pill:hover .btn-arrow-circle {
    transform: scale(1.05);
    background: var(--gray-100);
}

/* Botão Fale Conosco Outline no Header */
.btn-fale-conosco-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 10px 24px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-fale-conosco-header:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.btn-fale-conosco-header svg {
    width: 16px;
    height: 16px;
}

.btn-light {
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* --- HEADER / GLASSMORPHISM --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(8, 18, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

header:not(.scrolled) {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-official);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
    z-index: 1001; /* Garante que fique acima do menu lateral em qualquer estado */
    outline: none;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        position: relative;
    }

    .menu-toggle svg {
        width: 30px;
        height: 30px;
        display: block;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .menu-toggle:hover svg {
        color: var(--accent);
        transform: scale(1.1);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 320px;
        background: rgba(8, 18, 38, 0.96); /* Efeito Glassmorphism escuro */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: 40px 24px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.85);
        display: inline-block;
        padding: 12px 0;
        width: 100%;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        color: var(--accent);
        transform: translateY(-2px);
    }

    .nav-menu .nav-link::after {
        display: none; /* Remove barra horizontal no menu mobile */
    }

    .nav-actions {
        display: none;
    }

    .nav-menu .mobile-only {
        width: 100%;
        margin-top: 16px;
        display: flex;
        justify-content: center;
    }

    .nav-menu .mobile-only a.btn-fale-conosco-header {
        display: inline-flex;
        background: var(--gradient-official);
        color: var(--white);
        border: none;
        padding: 14px 28px;
        border-radius: 100px;
        font-weight: 700;
        font-size: 1rem;
        box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .nav-menu .mobile-only a.btn-fale-conosco-header:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(124, 58, 237, 0.45);
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    background-color: var(--dark-blue);
    background-image:
        linear-gradient(180deg, rgba(8, 18, 38, 0.4) 0%, rgba(8, 18, 38, 0.75) 100%),
        url('../img/fundo-topo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

/* Badge do Mockup */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--accent);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Título H1 Diminuído e Proporcional */
.hero-title {
    font-size: 2.85rem;
    /* Proporção perfeita para tela cheia e resoluções médias */
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 24px;
}

.text-purple {
    background: linear-gradient(135deg, #7C3AED 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.text-cyan {
    background: linear-gradient(135deg, #06B6D4 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 620px;
}

/* Botões do Hero */
.hero-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.btn-portfolio-link {
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-portfolio-link:hover {
    color: var(--accent);
}

.btn-portfolio-link:hover svg {
    transform: translateX(4px);
}

/* Barra de 4 diferenciais horizontais */
.hero-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
}

.hero-feature-item-small {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feature-icon-small {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-feature-icon-small svg {
    width: 20px;
    height: 20px;
}

.hero-feature-text-small h4 {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.hero-feature-text-small p {
    font-size: 0.75rem;
    color: var(--text-light-muted);
    margin: 0;
    line-height: 1.2;
}

/* Lado Direito: Notebook Imagem (Posicionado Absolutamente para Transbordar e Ficar Enorme) */
.hero-mockup-side {
    display: flex;
    position: absolute;
    right: 1vw;
    /* Mantém o notebook totalmente visível na tela, alinhado à direita */
    width: 40vw;
    /* Tamanho proporcional exato como na imagem de teste */
    max-width: 800px;
    min-width: 600px;
    top: 20%;
    /* Centralizado verticalmente de forma harmoniosa */
    transform: translateY(-50%);
    z-index: 10;
    justify-content: center;
    pointer-events: none;
    /* Não bloqueia cliques */
}

.hero-mockup-wrapper {
    position: relative;
    width: 100%;
}

.hero-mockup-image {
    width: 100%;
    /* Largura herdada do container absoluto */
    max-width: none;
    height: auto;
    display: block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
    transition: var(--transition-slow);
}

.hero-mockup-image:hover {
    transform: scale(1.02);
}

/* Proporção e Responsividade da Resolução do Monitor */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-mockup-side {
        right: 1vw;
        width: 45vw;
    }

    .hero-features-row {
        gap: 16px;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons-wrapper {
        justify-content: center;
    }

    .hero-features-row {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-mockup-side {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 520px;
        min-width: 0;
        margin: 40px auto 0 auto;
        pointer-events: auto;
    }

    .hero-mockup-image {
        width: 100%;
    }

    .hero-mockup-image:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-features-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* --- SEÇÃO DE SOLUÇÕES (NOSSAS SOLUÇÕES) --- */
.solutions-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(8, 18, 38, 0.06);
    border-radius: 20px;
    padding: 40px 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(8, 18, 38, 0.03);
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.solution-card.crm-card:hover::before {
    background: var(--gradient-official);
}

.solution-card.ifood-card:hover::before {
    background: linear-gradient(90deg, #06B6D4 0%, #22d3ee 100%);
}

.solution-card.restaurant-card:hover::before {
    background: linear-gradient(90deg, #5b21b6 0%, #7C3AED 100%);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.solution-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 16px -4px rgba(8, 18, 38, 0.05);
    border: 1px solid transparent;
}

.solution-card-icon svg {
    width: 24px;
    height: 24px;
}

.solution-card-icon.crm {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.02) 100%);
    border-color: rgba(124, 58, 237, 0.15);
    color: var(--secondary);
}

.solution-card-icon.ifood {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(6, 182, 212, 0.02) 100%);
    border-color: rgba(6, 182, 212, 0.15);
    color: var(--accent);
}

.solution-card-icon.restaurant {
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.08) 0%, rgba(91, 33, 182, 0.02) 100%);
    border-color: rgba(91, 33, 182, 0.15);
    color: var(--primary);
}

.solution-card h3 {
    font-size: 1.4rem;
    font-weight: 750;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.solution-card:hover h3 {
    color: var(--dark-blue);
}

.solution-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-card-bullets {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-card-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563; /* Gray-600 */
    transition: color 0.3s ease;
}

.solution-card:hover .solution-card-bullets li {
    color: var(--text-dark);
}

.crm-card .solution-card-bullets li svg {
    color: var(--secondary);
}

.ifood-card .solution-card-bullets li svg {
    color: var(--accent);
}

.restaurant-card .solution-card-bullets li svg {
    color: var(--primary);
}

.solution-card-bullets li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-card-link {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: stretch;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
}

.crm-card .btn-card-link {
    background: rgba(124, 58, 237, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.12);
    color: var(--secondary);
}

.ifood-card .btn-card-link {
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.12);
    color: var(--accent);
}

.restaurant-card .btn-card-link {
    background: rgba(91, 33, 182, 0.04);
    border: 1px solid rgba(91, 33, 182, 0.12);
    color: var(--primary);
}

/* Hover dos Botões */
.crm-card .btn-card-link:hover {
    background: var(--gradient-official);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25);
    transform: translateY(-2px);
}

.ifood-card .btn-card-link:hover {
    background: linear-gradient(135deg, #06B6D4 0%, #22d3ee 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
}

.restaurant-card .btn-card-link:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #7C3AED 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(91, 33, 182, 0.25);
    transform: translateY(-2px);
}

.btn-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-card-link:hover svg {
    transform: translateX(4px);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 
        0 20px 40px -15px rgba(8, 18, 38, 0.08),
        0 0 0 1px rgba(124, 58, 237, 0.03);
}

.solution-card:hover .solution-card-icon {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .solutions-grid-3 {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* --- SEÇÃO DIFERENCIAIS (5 COLUNAS VERTICAIS) --- */
.diferenciais-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.diferencial-card-vertical {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition-medium);
}

.diferencial-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.diferencial-icon-circle svg {
    width: 24px;
    height: 24px;
}

.diferencial-card-vertical h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.diferencial-card-vertical p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.diferencial-card-vertical:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
}

.diferencial-card-vertical:hover .diferencial-icon-circle {
    background: var(--gradient-official);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

@media (max-width: 1024px) {
    .diferenciais-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .diferenciais-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .diferenciais-grid-5 {
        grid-template-columns: 1fr;
    }
}

/* --- BANNER DE CTA HORIZONTAL --- */
.cta-banner-horizontal {
    background: linear-gradient(135deg, #081226 0%, #0d1e3d 100%);
    border-radius: 24px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cta-banner-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1.2;
}

.cta-banner-logo-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
    flex-shrink: 0;
}

.cta-banner-left h2 {
    font-size: 2.25rem;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.text-cyan-light {
    color: var(--accent);
}

.cta-banner-right {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.cta-banner-right p {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    line-height: 1.6;
    margin: 0;
}

.btn-white-cta {
    background: var(--white);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.btn-white-cta:hover {
    transform: translateY(-2px);
    background: var(--gray-100);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
    .cta-banner-horizontal {
        flex-direction: column;
        align-items: stretch;
        padding: 40px;
        gap: 32px;
    }

    .cta-banner-right {
        align-items: stretch;
    }

    .btn-white-cta {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .cta-banner-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cta-banner-left h2 {
        font-size: 1.75rem;
    }
}

/* --- PROCESSO TIMELINE --- */
.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gray-200);
    z-index: 1;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.timeline-step {
    text-align: center;
}

.timeline-node {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-200);
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    transition: var(--transition-medium);
}

.timeline-step.active .timeline-node {
    border-color: var(--secondary);
    background: var(--gradient-official);
    color: var(--white);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.35);
}

.timeline-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .timeline-line {
        top: 0;
        left: 23px;
        width: 3px;
        height: 100%;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }

    .timeline-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .timeline-node {
        margin: 0;
        flex-shrink: 0;
    }
}

/* --- FORMULÁRIO DE CONTATO --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 64px;
    align-items: start;
}

.contact-info-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.05);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: none;
}

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

.form-row .form-group {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* --- FOOTER & NEWSLETTER --- */
footer {
    background-color: var(--dark-blue);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    margin: 20px 0;
    color: var(--text-light-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-light-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

/* Newsletter Box */
.newsletter-box {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    margin-top: 24px;
}

.newsletter-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.newsletter-desc {
    font-size: 0.8rem;
    color: var(--text-light-muted);
    margin-bottom: 14px;
}

.newsletter-form {
    display: flex;
    position: relative;
    width: 100%;
}

.newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 48px 10px 18px;
    color: var(--white);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-official);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.newsletter-form button svg {
    width: 14px;
    height: 14px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-light-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- WHATSAPP FLOAT BUTTON --- */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: var(--transition-medium);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
}

/* Reposiciona chatbot para a direita e afasta da bolha do WhatsApp */
.chatbot-bubble {
    right: 30px;
}

.chatbot-window {
    right: 30px;
}

@media (max-width: 480px) {
    .whatsapp-float-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* --- DETAILS MODAL / DRAWER --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 18, 38, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 640px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gray-200);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-medium);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: var(--dark-blue);
    padding: 30px;
    color: var(--white);
    position: relative;
}

.modal-header h3 {
    color: var(--white);
    margin-top: 10px;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.modal-feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    .modal-feature-list {
        grid-template-columns: 1fr;
    }
}

.modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
}

.modal-feature-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.modal-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

/* --- FLOATING CHATBOT / AI WIDGET --- */
.chatbot-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-official);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4), var(--shadow-glow);
    transition: var(--transition-medium);
}

.chatbot-bubble:hover {
    transform: scale(1.1) rotate(5deg);
}

.chatbot-bubble svg {
    width: 28px;
    height: 28px;
}

.chatbot-bubble-alert {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 520px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-card);
    box-shadow: 0 15px 40px rgba(8, 18, 38, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-medium);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--dark-blue);
    padding: 16px 20px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-name {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.chatbot-status {
    font-size: 0.75rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
    background: var(--gradient-official);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    align-self: flex-start;
}

.chat-msg.user .chat-time {
    align-self: flex-end;
}

/* Sugestões de Resposta */
.chatbot-suggestions {
    padding: 10px 16px;
    background: var(--gray-100);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--gray-200);
}

.suggestion-chip {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.suggestion-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.chatbot-input-area {
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 8px;
}

.chatbot-input {
    flex-grow: 1;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.chatbot-input:focus {
    border-color: var(--primary);
}

.chatbot-send-btn {
    background: var(--gradient-official);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-send-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100% - 40px);
        height: 80vh;
        bottom: 90px;
        right: 20px;
    }

    .chatbot-bubble {
        bottom: 20px;
        right: 20px;
    }
}

/* --- ANIMAÇÕES DE ENTRADA (FADE UP) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* --- ANIMAÇÕES DE ROTAÇÃO (SPINNER LOADER) --- */
.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* --- ESTILOS DAS PÁGINAS LEGAIS (LGPD / TERMOS) --- */
.terms-wrapper h2 {
    transition: color 0.3s ease;
}

.terms-wrapper a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-wrapper a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.terms-wrapper ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.terms-wrapper ul li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
    padding-left: 12px;
}

.terms-wrapper ul li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* --- CHECKBOX DE ACEITE NO FORMULÁRIO --- */
.form-accept-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.form-accept-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-accept-group label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
}

.form-accept-group label a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-accept-group label a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* --- BANNER DE CONSENTIMENTO LGPD (COOKIES) --- */
.lgpd-banner {
    position: fixed;
    bottom: -200px; /* Começa oculto */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 850px;
    background: rgba(8, 18, 38, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lgpd-banner.active {
    bottom: 24px;
}

.lgpd-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lgpd-icon {
    color: var(--accent);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.lgpd-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-light-muted);
    margin: 0;
}

.lgpd-content p a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lgpd-content p a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lgpd-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
    .lgpd-content {
        align-items: flex-start;
    }
    .lgpd-banner button {
        width: 100%;
        justify-content: center !important;
    }
}

/* --- PREMIUM TOAST NOTIFICATION SYSTEM --- */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    min-width: 320px;
    max-width: 420px;
    background: rgba(8, 18, 38, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    position: relative;
    overflow: hidden;
}

.toast-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.toast-item.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-item.success::before {
    background: #10b981;
}

.toast-item.error::before {
    background: #ef4444;
}

.toast-item.warning::before {
    background: #f59e0b;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 20px;
    height: 20px;
}

.toast-item.success .toast-icon {
    color: #10b981;
}

.toast-item.error .toast-icon {
    color: #ef4444;
}

.toast-item.warning .toast-icon {
    color: #f59e0b;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
    text-align: left;
}

.toast-message {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: var(--text-light-muted);
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px;
    font-size: 1.25rem;
    line-height: 1;
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: var(--white);
}

@media (max-width: 480px) {
    .toast-container {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
    }
    .toast-item {
        min-width: 0;
        width: 100%;
    }
}