:root {
    --primary: #0F172A;
    /* Slate 900 */
    --primary-light: #1E293B;
    --accent: #2563EB;
    /* Blue 600 */
    --accent-hover: #1D4ED8;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background: linear-gradient(135deg, #F0F4F8 0%, #F8FAFC 50%, #E2E8F0 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animações */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}


header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

/* Botões */
.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Degradê escuro de cima para baixo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    color: #FFFFFF;
    /* Alterado para branco */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: var(--accent);
    /* Azul permanece */
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: #FFFFFF;
    /* Alterado para branco */
    opacity: 0.9;
    /* Leve transparência para suavizar */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* O Vídeo de Fundo */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    filter: blur(8px);
    /* Borrado elegante no fundo */
    transform: scale(1.05);
    /* Escala leve para as bordas borradas não revelarem o fundo */
}

/* Garante que o texto fique acima do vídeo e do degradê */
.hero .container {
    position: relative;
    z-index: 2;
    /* Z-index 2 para ficar acima da camada .hero::before */
}

/* Video Placeholders */
.video-wrapper {
    background: transparent;
    border-radius: var(--radius);
    width: 100%;
    height: auto;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    margin-top: 60px;
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.181), 0 0 20px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-wrapper:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 0 30px 10px rgba(136, 207, 255, 0.12);
}

.video-responsivo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.video-placeholder-text {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    font-weight: 500;
    padding: 40px;
    text-align: center;
}

/* Image Placeholders para Funcionalidades */
.image-placeholder {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 3px solid #ffffff;
    border-radius: var(--radius);
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.3);
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Dores Section */
.dores {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.highlight-blue {
    color: var(--accent);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.1);
}

.card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
}

/* Funcionalidades */
.features {
    padding: 100px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.feature-text ul {
    list-style: none;
    margin-top: 24px;
}

.feature-text ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}

.feature-image {
    flex: 1;
}

/* Highlight App de Campo Section */
.highlight-section {
    background: var(--primary);
    color: white;
    padding: 120px 0;
    border-radius: 40px;
    margin: 0 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.5);
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.highlight-section h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 24px;
}

.highlight-section p {
    color: #94A3B8;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
}

.dark-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.dark-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-card h4 i {
    color: var(--accent);
    font-size: 28px;
}

.dark-card p {
    font-size: 16px;
    color: #94A3B8;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: rgba(37, 99, 235, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: serif;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
}

.author-info h5 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 4px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
    margin-top: 60px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:not(.popular):hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    background: white;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    min-height: 220px;
}

.pricing-card ul li {
    margin-bottom: 16px;
    color: var(--text-main);
    padding-left: 32px;
    position: relative;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}

.pricing-card .btn {
    width: 100%;
}

/* Enterprise Box */
.enterprise-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    transition: var(--transition);
}

.enterprise-box:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.enterprise-box h4 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.enterprise-box p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding-bottom: 24px;
    color: var(--text-muted);
}

.accordion-header.active+.accordion-content {
    max-height: 500px;
}

.icon-plus {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent);
    font-size: 20px;
}

.accordion-header.active .icon-plus {
    transform: rotate(45deg);
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-final h2 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Footer */
footer {
    background: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Responsivo */
@media (max-width: 768px) {
    .feature-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 80px;
    }

    .highlight-section {
        margin: 0;
        border-radius: 0;
        padding: 80px 24px;
    }

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

    .hero h1 {
        font-size: 32px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

/* Justificar texto nos cards da seção "Dores" */
.card p {
    text-align: justify;
}

/* Justificar texto nos cards da seção "O Coração do Sistema para a Rua" (App Offline) */
.dark-card p {
    text-align: justify;
}

/* Justificar texto nos depoimentos (Provas Sociais) */
.testimonial-card p {
    text-align: justify;
}

/* Justificar texto nos FAQ (Perguntas Frequentes) */
.accordion-content p {
    text-align: justify;
}