/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E50A2 0%, #2563c9 40%, #6BBF41 100%);
    padding: 100px 0 80px;
    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(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 191, 65, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width=\"100\" height=\"100\" xmlns=\"http://www.w3.org/2000/svg\"><defs><pattern id=\"grid\" width=\"100\" height=\"100\" patternUnits=\"userSpaceOnUse\"><path d=\"M 100 0 L 0 0 0 100\" fill=\"none\" stroke=\"rgba(255,255,255,0.03)\" stroke-width=\"1\"/></pattern></defs><rect width=\"100%\" height=\"100%\" fill=\"url(%23grid)\"/></svg>');
    opacity: 1;
}

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

.hero-content {
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    height: 180px;
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.highlight-text {
    color: #FFC107;
    font-weight: 700;
    font-size: 24px;
}

.cta-buttons {
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 2px 10px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
    color: #1E50A2;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(255, 193, 7, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.btn .icon {
    width: 24px;
    height: 24px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-container {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.whatsapp-icon-large {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #FFC107;
}

/* Flip Counter Styles */
.flip-counter {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
}

.flip-digit {
    perspective: 1000px;
}

.flip-card {
    position: relative;
    width: 70px;
    height: 100px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card.flipping {
    animation: flipAnimation 0.6s ease-in-out;
}

.flip-card-top,
.flip-card-bottom {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #333333 0%, #1a1a1a 100%);
    border: 3px solid #FFC107;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 800;
    color: #FFC107;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.5),
        0 4px 15px rgba(255, 193, 7, 0.3);
    line-height: 1;
}

.flip-card-top {
    top: 0;
}

.flip-card-bottom {
    top: 0;
}

@keyframes flipAnimation {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateY(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateY(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateY(2px);
    }
}

.flip-digit.shake {
    animation: shake 0.5s ease-in-out;
}

/* Efeito de brilho no contador */
.flip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 8px 8px 0 0;
    pointer-events: none;
    z-index: 1;
}

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

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* QR Code Card */
.hero-qrcode {
    display: flex;
    justify-content: center;
}

.qrcode-card {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 45px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(30, 80, 162, 0.1);
    max-width: 450px;
    width: 100%;
    transition: all 0.3s ease;
}

.qrcode-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(30, 80, 162, 0.15);
}

.qrcode-container {
    text-align: center;
    margin-bottom: 30px;
}

.qrcode-image {
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qrcode-instruction {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    padding: 0 10px;
}

.qrcode-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 2px solid #f0f0f0;
    padding-top: 30px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-stat-icon {
    width: 40px;
    height: 40px;
    fill: #1E50A2;
    flex-shrink: 0;
}

.mini-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #1E50A2;
    line-height: 1;
}

.mini-stat-label {
    font-size: 13px;
    color: #666;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: #1E50A2;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-top: -40px;
    margin-bottom: 50px;
    color: #666;
}

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

.benefit-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(30, 80, 162, 0.05);
    transition: all 0.4s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(30, 80, 162, 0.15),
        0 0 0 1px rgba(30, 80, 162, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
    fill: #FFFFFF;
}

.benefit-icon-yellow {
    background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
}

.benefit-icon-green {
    background: linear-gradient(135deg, #6BBF41 0%, #8BC34A 100%);
}

.benefit-icon-blue {
    background: linear-gradient(135deg, #1E50A2 0%, #2b6bc7 100%);
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1E50A2;
}

.benefit-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: #FFFFFF;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-item {
    background: linear-gradient(135deg, #1E50A2 0%, #6BBF41 100%);
    color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 80, 162, 0.2);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 80, 162, 0.3);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1E50A2;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: #6BBF41;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* CTA Final Section */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #1E50A2 0%, #6BBF41 100%);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-final-content {
    text-align: center;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.cta-final-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-final-content > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    font-size: 14px;
    opacity: 0.8;
}

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

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

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

    .qrcode-card {
        max-width: 100%;
    }

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

    .cta-final-content h2 {
        font-size: 32px;
    }
}

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

    .hero-logo {
        height: 120px;
        margin-bottom: 20px;
    }

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

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

    .highlight-text {
        font-size: 20px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 18px;
    }

    .qrcode-image {
        width: 240px;
        height: 240px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

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

    .benefit-card {
        padding: 30px 20px;
    }

    .cta-final-content h2 {
        font-size: 26px;
    }

    .cta-final-content > p {
        font-size: 18px;
    }
}
