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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
    overflow-x: hidden; /* Prevenção final contra overflow horizontal */
}

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

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--secondary {
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn--secondary:hover {
    background: #25D366;
    color: white;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #25D366;
}

.nav__logo i {
    font-size: 2rem;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: #2D3748;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #25D366;
}

.nav__toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.hero__title {
    font-size: 3rem/*3.5rem;*/
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, #25D366, #128C7E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #4A5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Como Funciona */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.step--reverse {
    direction: rtl;
}

.step--reverse > * {
    direction: ltr;
}

.step__image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step__content {
    position: relative;
}

.step__number {
    position: absolute;
    top: -50px;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step__content h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.step__content p {
    font-size: 1.1rem;
    color: #4A5568;
}

/* Vídeo Demo */
.video-demo {
    padding: 80px 0;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.video-demo__content {
    text-align: center;
}

.video-placeholder {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 20px;
    padding: 4rem 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder__play {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.video-placeholder__text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Comparativo */
.comparison {
    padding: 80px 0;
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table__header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #F7FAFC;
    font-weight: 600;
}

.comparison-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #E2E8F0;
}

.comparison-table__row:last-child {
    border-bottom: none;
}

.comparison-table__cell {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    min-height: 60px;
}

.comparison-table__cell--highlight {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 600;
}

.comparison-table__cell i.fa-check {
    color: #25D366;
    flex-shrink: 0;
}

.comparison-table__cell--highlight i.fa-check {
    color: white;
    flex-shrink: 0;
}

.comparison-table__cell i.fa-times {
    color: #E53E3E;
    flex-shrink: 0;
}

/* Depoimentos */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial__stars {
    color: #F6AD55;
    margin-bottom: 1rem;
}

.testimonial__content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial__author h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial__author span {
    font-size: 0.9rem;
    color: #4A5568;
}

/* Segurança */
.security {
    padding: 80px 0;
}

.security__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security__features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.security__feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.security__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.security__feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.security__badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security__badge {
    background: white;
    border: 2px solid #25D366;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    color: #25D366;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.1);
}

.security__badge i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Desafio */
.challenge {
    padding: 80px 0;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.challenge__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.challenge__timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.challenge__day {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.challenge__day-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.challenge__day-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.challenge__day-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.challenge__reward {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.challenge__reward-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.challenge__reward-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.challenge__reward-text p {
    margin: 0;
    opacity: 0.9;
}

.challenge__cta {
    text-align: center;
}

.challenge__disclaimer {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Preços */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.pricing-card__header {
    margin-bottom: 2rem;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.pricing-card__currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-card__amount {
    font-size: 4rem;
    font-weight: 800;
    color: #25D366;
}

.pricing-card__period {
    font-size: 1.2rem;
    color: #4A5568;
}

.pricing-card__savings {
    color: #E53E3E;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-card__feature i {
    color: #25D366;
    font-size: 1.2rem;
}

.pricing-card__guarantee {
    margin-top: 1.5rem;
    color: #4A5568;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: #2D3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #25D366;
    margin-bottom: 1rem;
}

.footer__logo i {
    font-size: 2rem;
}

.footer__brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__column h4 {
    margin-bottom: 1rem;
    color: #25D366;
}

.footer__column ul {
    list-style: none;
}

.footer__column li {
    margin-bottom: 0.5rem;
}

.footer__column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__column a:hover {
    color: #25D366;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.6;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

.video-modal__content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow: hidden;
}

.video-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.video-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4A5568;
}

.video-modal__body {
    padding: 2rem;
}

.video-placeholder-modal {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.video-placeholder-modal i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__visual {
        display: none;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta .btn {
        justify-content: center;
    }

    .step,
    .security__content,
    .challenge__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step--reverse {
        direction: ltr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
    
    .footer__links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav__cta {
        display: none;
    }
    
    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero__title { font-size: 2.5rem; }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    /* Comparison Table */
    .comparison-table__header { display: none; }
    .comparison-table__row {
        display: block;
        margin-bottom: 1.5rem;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border: none;
    }
    .comparison-table__cell {
        padding: 1rem;
        border-bottom: 1px solid #E2E8F0;
        display: block;
        text-align: left;
        min-height: auto;
    }
    .comparison-table__cell:last-child { border-bottom: none; }
    .comparison-table__cell:first-child {
        background: #F7FAFC;
        font-weight: 600;
        color: #2D3748;
    }
    .comparison-table__cell:nth-child(2) {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: white;
        font-weight: 600;
    }
    .comparison-table__cell:nth-child(2)::before {
        content: "ContabZap: ";
        font-weight: 700;
    }
    .comparison-table__cell:nth-child(3) {
        background: #FFF5F5;
        color: #2D3748;
    }
    .comparison-table__cell:nth-child(3)::before {
        content: "Apps Convencionais: ";
        font-weight: 600;
        color: #E53E3E;
    }
    
    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    
    /* Pricing */
    .pricing-card {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    /* Footer */
    .footer__links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Container */
    .container { padding: 0 15px; }
    
    /* Steps */
    .step__image {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Challenge Timeline */
    .challenge__timeline { gap: 1rem; }
    .challenge__day {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .challenge__day-number { margin: 0 auto 0.5rem; }
}

@media (max-width: 480px) {
    /* Hero */
    .hero { padding: 80px 0 40px; }
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero__subtitle { font-size: 1rem; }
    
    /* Buttons */
    .btn--large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Steps */
    .step__content h3 { font-size: 1.5rem; }
    .step__content p { font-size: 1rem; }
    
    /* Pricing */
    .pricing-card__amount { font-size: 3rem; }
    .pricing-card { padding: 1.5rem; }
    
    /* Comparison Table */
    .comparison-table__cell {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Testimonials */
    .testimonial { padding: 1.5rem; }
    .testimonial__author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .testimonial__author img {
        margin: 0 auto;
    }
    
    /* Security Features */
    .security__feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .security__badges { gap: 0.8rem; }
    .security__badge {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Challenge */
    .challenge { padding: 60px 0; }
    .challenge__reward {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Video Demo */
    .video-placeholder { padding: 3rem 1rem; }
    .video-placeholder__play {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .video-placeholder__text h3 { font-size: 1.5rem; }
    
    /* Modal */
    .video-modal__content { width: 95%; }
    .video-modal__header { padding: 1rem; }
    .video-modal__body { padding: 1rem; }
    .video-placeholder-modal { padding: 2rem 1rem; }
}
