/* RESET E VARIÁVEIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #041D30;
    --primary-dark: #02121f;
    --secondary-color: #0a3a5c;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 8px 30px -6px rgba(4, 29, 48, 0.3);

    /* Gradientes modernos - Azul Marinho Escuro */
    --gradient-primary: linear-gradient(135deg, #041D30 0%, #02121f 100%);
    --gradient-secondary: linear-gradient(135deg, #0a3a5c 0%, #041D30 100%);
    --gradient-success: linear-gradient(135deg, #4ade80 0%, #06b6d4 100%);
    --gradient-blue: linear-gradient(135deg, #041D30 0%, #0a3a5c 100%);
}

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

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

/* HERO SECTION - PRIMEIRA DOBRA */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(4, 29, 48, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(10, 58, 92, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    gap: 30px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
    text-align: center;
}

.headline {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.subheadline {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: 0;
}

/* FORMULÁRIO */
.form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 15px;
    color: var(--text-light);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-form input,
.lead-form select {
    padding: 16px;
    border: 2px solid var(--border-color) !important;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white) !important;
    width: 100%;
    color: var(--text-dark);
    box-sizing: border-box;
    display: block;
    height: auto;
    min-height: 52px;
}

.lead-form input::placeholder {
    color: var(--text-light);
}

.lead-form select {
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px;
    line-height: 1.5;
}

.lead-form select:invalid {
    color: var(--text-light);
}

.lead-form select:valid {
    color: var(--text-dark);
}

.lead-form select option {
    padding: 12px;
    color: var(--text-dark);
    background-color: var(--white);
}

.lead-form select option:first-child {
    color: var(--text-light);
}

.lead-form select option:disabled {
    color: var(--text-light);
}

/* Remove estilos nativos do select */
.lead-form select::-ms-expand {
    display: none;
}

.lead-form select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--text-dark);
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.cta-button {
    background: var(--gradient-success);
    color: var(--white);
    padding: 18px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px -6px rgba(74, 222, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px -6px rgba(74, 222, 128, 0.5);
}

.cta-button:active {
    transform: translateY(-1px) scale(1);
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

/* SOCIAL PROOF */
.social-proof {
    background: var(--bg-light);
    padding: 50px 0 70px 0;
    text-align: center;
}

.social-proof-text {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    font-weight: 600;
}

.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* CALCULADORA DE ROI */
.roi-calculator {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    border: 2px solid #e2e8f0;
}

.roi-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.roi-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 35px;
}

.roi-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.roi-metric {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.roi-metric:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.metric-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
    text-align: left;
}

.metric-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.roi-arrow {
    display: none;
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
}

.roi-result {
    background: var(--gradient-primary);
    padding: 35px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: grid;
    gap: 25px;
}

.roi-result-item {
    text-align: center;
}

.result-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-text {
    color: #4ade80 !important;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.3);
}

.result-roi {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.roi-divider {
    display: none;
}

.highlight-result {
    position: relative;
}

.highlight-result::before {
    content: '🎉';
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 32px;
}

.roi-cta {
    text-align: center;
}

.roi-cta-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.roi-button {
    display: inline-block;
    background: var(--gradient-success);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px -6px rgba(74, 222, 128, 0.3);
}

.roi-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px -6px rgba(74, 222, 128, 0.5);
}

/* SECTIONS GERAIS */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    line-height: 1.3;
}

/* PROBLEMA/SOLUÇÃO */
.problem-solution {
    background: var(--white);
}

.problems-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 50px;
}

.problem-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: #ef4444;
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.problem-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    font-size: 15px;
}

.solution-box {
    background: var(--gradient-success);
    padding: 40px 30px;
    border-radius: 16px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.solution-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.solution-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.solution-text {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* SERVIÇOS */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, #eff6ff 100%);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* PROCESSO */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    margin-top: 25px;
}

.step p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* DEPOIMENTOS */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
    border: 2px solid var(--primary-color);
}

.stars {
    font-size: 20px;
    margin-bottom: 15px;
}

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

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 16px;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* CTA FINAL */
.cta-section {
    background: var(--gradient-blue);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(10, 58, 92, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(4, 29, 48, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-button-large {
    display: inline-block;
    background: var(--gradient-success);
    color: var(--white);
    padding: 20px 50px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px -6px rgba(74, 222, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button-large:hover::before {
    left: 100%;
}

.cta-button-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px -6px rgba(74, 222, 128, 0.5);
}

.cta-guarantee {
    margin-top: 25px;
    font-size: 14px;
    opacity: 0.9;
}

/* FAQ */
.faq {
    background: var(--white);
    padding: 80px 0;
}

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

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

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

.footer p {
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-cnpj {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 0;
}

/* RESPONSIVO - TABLET */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .hero-text {
        text-align: left;
    }

    .headline {
        font-size: 42px;
    }

    .subheadline {
        font-size: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

/* RESPONSIVO - DESKTOP */
@media (min-width: 1024px) {
    .hero {
        padding: 60px 0;
    }

    .headline {
        font-size: 52px;
    }

    .subheadline {
        font-size: 22px;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }

    .services-grid .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }

    .form-container {
        padding: 40px 35px;
    }

    /* ROI Calculator Desktop */
    .roi-calculator {
        padding: 50px 40px;
    }

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

    .roi-metrics {
        grid-template-columns: auto 30px auto 30px auto 30px auto;
        align-items: center;
        gap: 0;
    }

    .roi-arrow {
        display: block;
    }

    .roi-metric {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .metric-content {
        text-align: center;
    }

    .metric-icon {
        font-size: 48px;
    }

    .metric-value {
        font-size: 24px;
    }

    .roi-result {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 40px 50px;
    }

    .roi-divider {
        display: block;
        width: 2px;
        height: 80px;
        background: rgba(255, 255, 255, 0.3);
    }

    .result-value {
        font-size: 36px;
    }
}

/* ANIMAÇÕES DE SCROLL */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card,
    .problem-card,
    .step {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* LOADING STATE */
.lead-form.loading .cta-button {
    opacity: 0.7;
    cursor: not-allowed;
    background: var(--text-light);
}

/* SUCCESS MESSAGE */
.success-message {
    background: var(--gradient-success);
    color: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    animation: slideDown 0.5s ease;
    box-shadow: var(--shadow-colored);
}

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

/* AJUSTES MOBILE - HERO SECTION */
@media (max-width: 767px) {
    .hero {
        padding: 20px 0;
        min-height: 100vh;
    }

    .hero-content {
        gap: 20px;
    }

    .headline {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .subheadline {
        font-size: 16px;
        margin-bottom: 20px;
    }
}
