
/* IMPORTAÇÃO DA FONTE PAVON DEMO */
@font-face {
    font-family: 'pavon';
    src: url('../fonts/pavon.ttf') format('truetype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

/* APLICA O SCROLL SUAVE EM NÍVEL GLOBAL MÁXIMO */
html, body {
    scroll-behavior: smooth !important;
}

/* Garante que seções ou contêineres específicos respeitem o scroll suave */
:root {
    scroll-behavior: smooth !important;
}

/* RESET E PADRONIZAÇÃO ABSOLUTA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #000000 !important;
    color: #E0E0E0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   PADRONIZAÇÃO UNIVERSAL DE TÍTULOS DE SEÇÕES
   ========================================================================== */
h2:not(.main-logo-giant) {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 2.5rem !important; /* Tamanho premium padrão */
    font-weight: 700 !important;   /* Negrito marcante */
    color: #E0E0E0 !important;     /* Branco puro */
    letter-spacing: -0.03em !important; /* Letras levemente juntas (Estilo Apple/Vercel) */
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
    text-align: center !important; /* Centraliza por padrão */
}

/* Ajuste sutil para subtítulos gerais de seções */
h2:not(.main-logo-giant) + p,
.section-subtitle,
.pricing-header p,
.faq-section-header p {
    font-size: 1.05rem !important;
    color: #8c8c8c !important; /* Cinza elegante para contraste */
    line-height: 1.6 !important;
    text-align: center !important;
    max-width: 600px !important;
    margin: 0 auto 50px auto !important; /* Espaçamento padrão para o conteúdo abaixo */
}

/* GARANTIA DE FUNDO UNIFICADO */
section, 
.bento-grid-section, 
.features-timeline-section, 
.faq-section, .prices-section, 
.benefits-text-section {
    background-color: #000000 !important;
}

/* ==========================================================================
   DESIGN PREMIUM - GLASSMORPHISM E CARTÕES (CORRIGIDO)
   ========================================================================== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-blur: 12px;
    --glass-radius: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --hover-scale: 1.02;
    --transition-speed: 0.4s;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* ==========================================================================
   AJUSTE DE PROPORÇÃO PREMIUM PARA O LOGO E NAVBAR
   ========================================================================== */
header, .top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 24px 0;
    background: transparent;
}

.navbar.nav-container-pill { 
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 64px !important;
    padding: 0 36px !important;
    width: 90%;
    max-width: 1150px;
    margin: 0 auto !important;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-logo {
    height: 34px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
     color: #E0E0E0;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.07) !important; 
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-radius: 50px;
}

/* ==========================================================================
   1A. TELA DA LOGO ISOLADA (ISOLAMENTO COMPLETO DE CONTEXTO)
   ========================================================================== */
.logo-intro-screen {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    position: relative;
    z-index: 5;
}

.main-logo-giant {
    font-family: 'pavon', 'Impact', sans-serif !important;
    font-size: 13.5vw !important; 
    font-weight: normal !important; 
    letter-spacing: -0.03em !important; 
    line-height: 0.8 !important; 
    color: #E0E0E0!important;
    text-align: center !important;
    text-transform: uppercase !important;
    width: 100% !important;
    max-width: 100vw !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   1B. HERO SECTION (TEXTOS NA SEGUNDA TELA)
   ========================================================================== */
.hero-section {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: transparent !important;
    position: relative;
    z-index: 4;
}

.container-hero {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: #8c8c8c;
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* ==========================================================================
   BOTÃO DE CTA PREMIUM (ESTILO APPLE / VERCEL)
   ========================================================================== */
.cta-container {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-primary-cta {
    display: inline-block;
    background-color: #E0E0E0 !important;
    color: #000000 !important;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none !important;
    padding: 16px 36px;
    border-radius: 8px;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.3s ease,
                background-color 0.3s ease !important;
    cursor: pointer;
}

.btn-primary-cta:hover {
    transform: translateY(-3px) scale(1.02);
    background-color: #f5f5f7 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-primary-cta:active {
    transform: translateY(-1px) scale(1.0);
}

@media (max-width: 480px) {
    .btn-primary-cta {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
}

/* ==========================================================================
   ADAPTAÇÃO DO COMPONENTE BENTO GRID (REACT -> NATÍVOS)
   ========================================================================== */
.bento-grid-section {
    padding: 80px 5%;
    background-color: #000000;
}

.bento-section-header {
    text-align: center;
    margin-bottom: 60px;
}


.bento-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1280px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    padding: 20px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.bento-item.col-span-1 { grid-column: span 1; }
.bento-item.col-span-2 { grid-column: span 2; }

.bento-item:hover, 
.bento-item.has-persistent-hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.03);
}

.bento-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.bento-item:hover .bento-bg-dots,
.bento-item.has-persistent-hover .bento-bg-dots {
    opacity: 1;
}

.bento-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.bento-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.text-blue { color: #3b82f6; }
.text-emerald { color: #10b981; }
.text-purple { color: #a855f7; }
.text-sky { color: #0ea5e9; }

.bento-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: #d1d5db;
    transition: background 0.3s ease;
}
.bento-item:hover .bento-status {
    background: rgba(255, 255, 255, 0.2);
}

.bento-item-body {
    margin-top: 16px;
    position: relative;
    z-index: 2;
}
.bento-item-body h3 {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #f3f4f6 !important;
    letter-spacing: -0.01em;
    margin-bottom: 8px !important;
}
.bento-meta {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 8px;
}
.bento-item-body p {
    font-size: 14px !important;
    color: #9ca3af !important;
    line-height: 1.5 !important;
    font-weight: 425 !important;
    margin: 0 !important;
}

.bento-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    position: relative;
    z-index: 2;
}
.bento-tags {
    display: flex;
    gap: 8px;
}
.bento-tags span {
    font-size: 12px;
    color: #9ca3af;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}
.bento-tags span:hover {
    background: rgba(255, 255, 255, 0.2);
}
.bento-cta {
    font-size: 12px;
    color: #9ca3af;
    opacity: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.bento-item:hover .bento-cta {
    opacity: 1;
}

.bento-border-gradient {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    /* Versão limpa e desmembrada para passar na validação do VS Code */
    mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    mask-clip: content-box, border-box;
    mask-composite: exclude;

    -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.bento-item:hover .bento-border-gradient,
.bento-item.has-persistent-hover .bento-border-gradient {
    opacity: 1;
}

.animated-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border-radius: var(--glass-radius) !important;
    border: var(--glass-border) !important;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow var(--transition-speed) ease,
                border-color var(--transition-speed) ease !important;
    padding: 35px 25px;
}
.animated-card:hover {
    transform: scale(var(--hover-scale)) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   SEÇÃO TIMELINE INTERATIVA
   ========================================================================== */
.features-timeline-section {
    padding: 100px 0;
    background-color: #000000;
    width: 100%;
    position: relative;
}

.features-timeline-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-timeline-section .section-header {
    text-align: center;
    max-width: 700px;
    margin-bottom: 60px;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    padding-left: 45px;
    box-sizing: border-box;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 16px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #444446;
    border: 2px solid #000000;
    z-index: 2;
    transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s ease;
}

.timeline-content-box {
    background: #0b0b0c;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 20px 28px;
    cursor: pointer;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}

.timeline-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8c8c8c;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-right: 18px;
    font-family: monospace;
    transition: color 0.3s ease;
}

.timeline-header-trigger {
    display: flex;
    align-items: center;
    width: 100%;
}

.timeline-header-trigger h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #d1d1d6;
    margin: 0;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.timeline-expandable-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, margin-top 0.4s ease;
}

.timeline-expandable-body p {
    font-size: 0.98rem;
    color: #a0a0a5;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.timeline-btn {
    display: inline-block;
    background: #E0E0E0;
    color: #000000;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.timeline-btn:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}

.tags-container-timeline {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.timeline-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a0a0a5;
}

.timeline-item:hover .timeline-dot {
    background: #ffffff;
    transform: scale(1.2);
}

.timeline-item:hover .timeline-content-box {
    background: #121214;
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-item:hover .timeline-header-trigger h3 {
    color: #E0E0E0;
    font-weight: 600;
}

.timeline-item:hover .timeline-number {
    color: #E0E0E0;
}

.timeline-item:hover .timeline-expandable-body {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .timeline-wrapper { padding-left: 30px; }
    .timeline-line { left: 10px; }
    .timeline-dot { left: -25px; }
    .timeline-header-trigger h3 { font-size: 1.2rem; }
}

/* ==========================================================================
   5. SEÇÃO DE PREÇOS
   ========================================================================== */
.prices-section {
    background: transparent !important;
}
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px !important;
    align-items: center;
}
.price-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border-radius: var(--glass-radius) !important;
    border: var(--glass-border) !important;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow var(--transition-speed) ease,
                border-color var(--transition-speed) ease !important;
    padding: 40px 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    transform: scale(var(--hover-scale)) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.05);
}

.price-card h3, 
.price-card .plan-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px !important;
}

.price-card .plan-subtitle {
    font-size: 0.9rem;
    color: #8c8c8c;
    margin-bottom: 20px !important;
}

.price-card .price, 
.price-card h4 {
    font-size: 2.2rem !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 6px !important;
}

.price-card .billing-info {
    font-size: 0.9rem;
    color: #8c8c8c;
    margin-bottom: 30px !important;
}

.price-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 35px 0 !important;
    text-align: left;
}

.price-card ul li {
    font-size: 0.95rem;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E0E0E0;
}

/* Alterado seletor :is para evitar bugs em analisadores legados */
.price-card.featured-white {
    background: #E0E0E0 !important;
    color: #000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.price-card.featured-white h3,
.price-card.featured-white .plan-title,
.price-card.featured-white .price,
.price-card.featured-white .badge,
.price-card.featured-white li {
    color: #000000 !important;
}

.price-card.featured-white:hover {
    transform: scale(var(--hover-scale)) translateY(-5px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
}

.btn-card-pricing {
    background: transparent;
    color: #E0E0E0;
    border: 1px solid #262626;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.price-card.featured-white .btn-card-pricing {
    background: #000000;
    color: #ffffff;
    border: none;
}

/* ==========================================================================
   6. SEÇÃO FAQ
   ========================================================================== */
.faq-section {
    background: transparent !important;
    padding-bottom: 120px;
}
.faq-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto !important;
}

.accordion-wrapper {
    max-width: 100%;
}
.accordion-item {
    border-bottom: none !important;
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #E0E0E0;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header .arrow {
    color: #444444;
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item.active .accordion-header .arrow {
    transform: rotate(180deg);
    color: #E0E0E0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 25px;
}

.accordion-content p {
    color: #8c8c8c;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   MEDIAS QUERIES - RESPONSIVIDADE COMPLETA PARA CELULAR
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }

    .bento-section-header h2,
    .cards-section-header h2,
    .features-section-header h2,
    .faq-section-header h2,
    .prices-section h2,
    .pricing-header h3 {
        padding: 0 15px;
    }

    .bento-grid-container {
        grid-template-columns: 1fr !important;
    }
    .bento-item.col-span-2 {
        grid-column: span 1 !important;
    }

    .main-logo-giant {
        font-size: 12vw !important;
        letter-spacing: -0.03em;
    }

    .pricing-grid, 
    .pricing-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding: 0 20px !important;
    }

    .price-card.featured-white {
        transform: none !important;
    }
    .price-card.featured-white:hover {
        transform: translateY(-2px) !important;
    }

    .accordion-header {
        padding: 18px 15px !important;
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   CONTAINER DAS LINHAS FLUIDAS LUMINOSAS
   ========================================================================== */
#hero-lines-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    pointer-events: auto;
    
    /* Correção de compatibilidade da sintaxe para validação estrita no VS Code */
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.main-logo-giant, 
.hero-title,
.logo-intro-screen * {
    position: relative;
    z-index: 2 !important;
}

/* ==========================================================================
   ANIMAÇÃO ESTILO LEGO INFINITA (VAI E VOLTA)
   ========================================================================== */

/* Estado inicial e de RETORNO (Quando o usuário sai da seção) */
.bento-grid-container .bento-item {
    opacity: 0;
    /* Removido o blur para melhorar performance de scroll */
    /* Transição um pouco mais rápida na saída para não quebrar o visual */
    transition: transform 0.5s ease-in, 
                opacity 0.4s ease-in !important;
    will-change: transform, opacity;
}

/* Direções de dispersão quando desencaixado */
.bento-grid-container .bento-item:nth-child(3n+1) { transform: translateY(60px) scale(0.92); }
.bento-grid-container .bento-item:nth-child(3n+2) { transform: translateY(-50px) translateX(-30px) rotate(-1deg); }
.bento-grid-container .bento-item:nth-child(3n+3) { transform: translateY(40px) translateX(30px) rotate(1deg); }

/* Estado ativo (Quando entra na tela e encaixa) */
.bento-grid-container.lego-assembled .bento-item {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0) scale(1) !important;
    /* Efeito mola/impacto na entrada */
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.6s ease !important;
}

/* Delays de entrada (Efeito cascata) */
.bento-grid-container.lego-assembled .bento-item:nth-child(1) { transition-delay: 0.05s !important; }
.bento-grid-container.lego-assembled .bento-item:nth-child(2) { transition-delay: 0.12s !important; }
.bento-grid-container.lego-assembled .bento-item:nth-child(3) { transition-delay: 0.18s !important; }
.bento-grid-container.lego-assembled .bento-item:nth-child(4) { transition-delay: 0.25s !important; }
.bento-grid-container.lego-assembled .bento-item:nth-child(5) { transition-delay: 0.32s !important; }
.bento-grid-container.lego-assembled .bento-item:nth-child(6) { transition-delay: 0.38s !important; }

/* ==========================================================================
   ANIMAÇÃO EM CASCATA VERTICAL (SEÇÃO FERRAMENTAS)
   ========================================================================== */

/* Estado inicial e de retorno (Itens suspensos e transparentes) */
.timeline-wrapper .timeline-item {
    opacity: 0;
    transform: translateY(-40px) scale(0.98); /* Começa 40px acima */
    /* Removido o blur por ser custoso para a renderização */
    transition: transform 0.4s ease-in, 
                opacity 0.3s ease-in !important;
    will-change: transform, opacity;
}

/* Estado ativo (Quando entra na tela, os itens caem para a posição certa) */
.timeline-wrapper.tools-assembled .timeline-item {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
    /* Efeito elástico suave ao encaixar vindo de cima */
    transition: transform 0.6s cubic-bezier(0.25, 1.1, 0.5, 1), 
                opacity 0.5s ease !important;
}

/* Delays dinâmicos para criar o efeito de "escada" de cima para baixo */
.timeline-wrapper.tools-assembled .timeline-item:nth-child(1) { transition-delay: 0.05s !important; }
.timeline-wrapper.tools-assembled .timeline-item:nth-child(2) { transition-delay: 0.15s !important; }
.timeline-wrapper.tools-assembled .timeline-item:nth-child(3) { transition-delay: 0.25s !important; }
.timeline-wrapper.tools-assembled .timeline-item:nth-child(4) { transition-delay: 0.35s !important; }
.timeline-wrapper.tools-assembled .timeline-item:nth-child(5) { transition-delay: 0.45s !important; }
.timeline-wrapper.tools-assembled .timeline-item:nth-child(6) { transition-delay: 0.55s !important; }
.timeline-wrapper.tools-assembled .timeline-item:nth-child(6) { transition-delay: 0.55s !important; }

/* ==========================================================================
   MEDIA QUERY ULTRA REFORÇADO - RESPONSIVIDADE TOTAL PARA CELULARES
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. RESET DE SEGURANÇA CONTRA ROLAGEM LATERAL */
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ajusta os containers gerais para não estourarem a tela */
    .container, .container-hero, .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Ajuste de escala proporcional para títulos e subtítulos (Exceto a logo gigante) */
    h2:not(.main-logo-giant) {
        font-size: 1.6rem !important;
    }
    
    .hero-content h2 {
        font-size: 1.5rem !important;
    }

    h3:not(.main-logo-giant),
    .timeline-header-trigger h3,
    .price-card h3 {
        font-size: 1.1rem !important;
    }

    .hero-subtitle,
    .section-subtitle,
    .pricing-header p,
    .faq-section-header p,
    h2:not(.main-logo-giant) + p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
    }

    /* 2. NAVBAR / MENU MOBILE PREMIUM */
    header, .top-header {
        padding: 12px 0 !important;
    }

    .navbar, .nav-container, .nav-container-pill {
        width: 92% !important;
        height: auto !important;
        padding: 12px 20px !important;
        flex-direction: column !important; /* Joga o logo em cima e os links embaixo */
        gap: 12px !important;
        border-radius: 24px !important; /* Mantém o estilo pílula menor */
    }

    .header-logo {
        height: 28px !important; /* Diminui o tamanho do logo */
        width: auto !important;
    }

    /* Transforma os links do menu em uma linha horizontal compacta e centralizada */
    .nav-links, .menu-links, .navbar-nav {
        gap: 16px !important; /* Diminui o espaço entre os links */
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .nav-links a, .menu-links a {
        font-size: 0.85rem !important; /* Letra ligeiramente menor para caber em telas pequenas */
    }

    /* 3. TELA DE INTRODUÇÃO (LOGO GIGANTE) */
    .logo-intro-screen {
        height: 80vh !important; /* Reduz a altura para não sumir o conteúdo */
    }

    .main-logo-giant {
        font-size: 14vw !important; /* Ajusta dinamicamente ao tamanho da tela do celular */
        white-space: normal !important; /* Permite quebra de linha se o nome for grande */
        line-height: 1.0 !important;
        padding: 0 10px !important;
    }

    /* 4. HERO SECTION (TEXTOS INICIAIS) */
    .hero-section {
        height: auto !important;
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }

    /* 6. BENTO GRID (PEÇAS DE LEGO RESPONSIVAS) */
    .bento-grid-section {
        padding: 40px 15px !important;
    }

    .bento-grid-container {
        grid-template-columns: 1fr !important; /* Tudo vira uma coluna única */
        gap: 16px !important;
    }

    .bento-item, 
    .bento-item.col-span-2 {
        grid-column: span 1 !important; /* Elimina os cartões duplos */
        min-height: auto !important;
        padding: 24px 20px !important;
    }

    /* 7. TIMELINE DE RECURSOS */
    .features-timeline-section {
        padding: 60px 0 !important;
    }

    .timeline-wrapper {
        padding-left: 24px !important; /* Espaço menor no celular */
    }

    .timeline-line {
        left: 8px !important;
    }

    .timeline-dot {
        left: -20px !important;
        width: 9px !important;
        height: 9px !important;
    }

    .timeline-content-box {
        padding: 16px 20px !important;
    }

    .timeline-header-trigger h3 {
        font-size: 1.15rem !important;
    }

    /* Aumenta o limite de expansão para evitar corte do botão quando o texto quebra */
    .timeline-item:hover .timeline-expandable-body {
        max-height: 500px !important;
    }

    /* --- SEÇÃO DE PREÇOS MOBILE: UNIFORMIZAÇÃO TOTAL --- */
    .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 45px !important; /* Define o mesmo espaço exato entre o 1º, 2º e 3º card */
        padding: 40px 20px !important;
        align-items: center !important;
    }

    .price-card {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 !important; /* Zera margens externas para que apenas o 'gap' controle o espaço */
        transform: none !important; /* Evita que o card suba ou desça fora do planejado no mobile */
        position: relative !important;
    }

    .price-card:hover, .price-card.featured-white:hover {
        transform: translateY(-4px) !important; /* Efeito de flutuação leve ao tocar */
    }

    /* 9. ACCORDION (FAQ) */
    .faq-section {
        padding-bottom: 60px !important;
    }

    .accordion-header {
        font-size: 0.95rem !important;
        padding: 20px 5px !important;
    }

    /* 10. LINHAS FLUIDAS DE CANVAS BACKGROUND */
    #hero-lines-canvas-container {
        height: 100% !important;
    }
}