/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #059669;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Seção Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.status-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.status-banner.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-100%);
    pointer-events: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.status-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.status-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .status-badge {
        font-size: 10px;
        padding: 6px 14px;
        white-space: nowrap;
        overflow: hidden;
        max-width: calc(100vw - 20px);
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .status-text {
        display: inline-block;
        white-space: nowrap;
        padding-left: 30px;
        padding-right: 30px;
        animation: scroll-text 25s linear infinite;
        will-change: transform;
    }
    
    .status-text:hover {
        animation-play-state: paused;
    }
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% + 100vw - 100px));
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 32px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 36px;
    background: var(--secondary-color);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-primary.pulse {
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.6), 0 0 0 8px rgba(16, 185, 129, 0.15); }
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Mockup Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    perspective: 1000px;
}

.mockup-frame {
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.mockup-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transform: translateZ(0);
}

/* Seção Prova Social */
.social-proof-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.social-proof-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto 40px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.social-proof-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Métricas de Prova Social */
.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 640px) {
    .social-proof-badge {
        flex-direction: column;
        text-align: center;
        padding: 16px 24px;
        gap: 8px;
    }

    .social-proof-text {
        font-size: 14px;
    }

    .proof-stats {
        gap: 40px;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* Seção Depoimentos */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title.small {
    font-size: 36px;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--text-light);
}

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

    .section-title.small {
        font-size: 32px;
    }
}

/* Seção A Dor */
.pain-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.pain-item {
    text-align: center;
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.pain-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.pain-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 16px;
}

.pain-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.pain-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Seção Solução */
.solution-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.solution-intro {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 80px;
    line-height: 1.8;
}

.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.flow-item {
    flex: 0 0 320px; /* largura base (mobile/tablet) */
    min-width: 320px;
    max-width: 320px;
    text-align: center;
}

.flow-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.flow-visual {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px; /* espaço suficiente para as três imagens sem cortes */
}

.flow-mockup {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    min-height: 200px;
}

.flow-mockup-header {
    background: var(--gradient-primary);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 14px;
}

.flow-mockup-body {
    padding: 16px 0;
}

.flow-input {
    height: 12px;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 12px;
}

.flow-input.short {
    width: 70%;
}

.ai-mockup {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.ai-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 120px;
}

.ai-pulse {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    animation: ai-pulse 1.4s ease-in-out infinite;
}

.ai-pulse:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-pulse:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes ai-pulse {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.flow-edit-line {
    height: 10px;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}

.flow-edit-line.active {
    background: var(--primary-color);
}

.flow-edit-line.active::after {
    content: '✎';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
}

.flow-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.flow-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.flow-arrow {
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 300;
    width: 48px; /* largura fixa mantém espaçamento igual entre colunas */
    text-align: center;
}

/* Desktop largo: manter tudo em uma linha e ajustar medidas para caber no container */
@media (min-width: 1100px) {
    .solution-flow {
        flex-wrap: nowrap;
        gap: 24px;
    }
    .flow-item {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }
    .flow-arrow {
        width: 24px;
        font-size: 32px;
    }
}

/* Imagens do fluxo (substituem os mockups anteriores) */
.flow-image {
    width: auto;
    height: 220px; /* altura igual para todas as imagens */
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}

/* Seção Pré-Venda */
.presale-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.presale-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.presale-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.presale-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.section-title.white {
    color: white;
}

.presale-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 32px 0 60px;
    line-height: 1.8;
}

.presale-description strong {
    color: white;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.presale-cta {
    margin-top: 40px;
}

/* Seção Contato */
.contact-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content {
    padding-top: 20px;
}

.about-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-container h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

/* Badges de Confiança */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 14px;
    flex: 1;
    min-width: 140px;
}

.badge-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.badge-text {
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 640px) {
    .trust-badges {
        flex-direction: column;
    }

    .trust-badge {
        width: 100%;
    }
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    /* Em telas menores, remover restrições de altura para melhor fluidez */
    .flow-visual {
        height: auto;
    }
    .flow-image {
        width: 100%;
        height: auto;
    }

    .status-badge {
        font-size: 11px;
        padding: 8px 16px;
        white-space: nowrap;
        text-align: center;
        max-width: 95vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .status-banner {
        top: 10px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .mockup-image {
        max-width: 320px;
    }

    .pain-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        padding: 16px 28px;
        font-size: 14px;
    }
    
    .status-banner {
        top: 10px;
    }
}

/* Animações de Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

