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

:root {
    /* Cores da marca */
    --primary-blue: #00b4d8;
    --dark-gray: #333333;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #666666;
    --border-gray: #e0e0e0;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    --gradient-hero: linear-gradient(135deg, #00b4d8 0%, #0077b6 50%, #023e8a 100%);
    
    /* Tipografia */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Sombras */
    --shadow-light: 0 2px 10px rgba(0, 180, 216, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 180, 216, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 180, 216, 0.2);
    
    /* Transições */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-medium);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    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;
    transition: all var(--transition-fast);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.nav-brand {
    display: flex;
    align-items: center;
    background: transparent !important;
    background-color: transparent !important;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal;
    transition: all var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
    
    /* Botão CTA no menu mobile */
    .nav-item.nav-cta-mobile {
        display: block;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-gray);
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
        justify-content: center;
        margin-top: 0;
        padding: 10px 16px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .nav-cta-mobile .btn i {
        font-size: 0.9rem;
    }
    
    .nav-cta-mobile .btn span,
    .nav-cta-mobile .btn {
        white-space: normal;
        word-wrap: break-word;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-badge i {
    color: #ffd700;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-heavy);
    animation: float 6s ease-in-out infinite;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-card {
        max-width: 280px;
        padding: 1.5rem;
    }
}

.hero-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.hero-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.hero-card .card-description {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: var(--light-gray);
}

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

.benefit-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.benefit-text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.testimonials h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    .testimonial-slider {
        flex-direction: column;
        overflow-x: visible;
    }
}

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    min-width: 300px;
    flex-shrink: 0;
    max-width: 100%;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
        flex-shrink: 1;
    }
}

.testimonial-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.6;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.testimonial-author strong {
    color: var(--dark-gray);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    font-weight: 600;
    color: var(--dark-gray);
}

.badge i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

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

.step-card {
    text-align: center;
    position: relative;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
}

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

.step-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.step-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Digiassina específico */
.digiassina-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 10px;
    border: 2px solid var(--primary-blue);
}

.digiassina-logo-small {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Compras Section */
.compras-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: visible;
}

.compras-section .container {
    max-width: 100%;
    padding: 0 20px;
    position: relative;
    overflow: visible;
}

@media (min-width: 1200px) {
    .compras-section .container {
        max-width: 1400px;
    }
}

.iframe-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-medium);
    background: var(--white);
    position: static;
    padding: 0;
    will-change: auto;
}

@media (min-width: 769px) {
    .iframe-container {
        max-width: 98%;
    }
}

.compras-iframe {
    width: 100%;
    min-height: 800px;
    height: 100vh;
    max-height: 1200px;
    border: none;
    display: block;
    background: var(--white);
    position: static;
    overflow: hidden;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .compras-section {
        padding: 3rem 0 3rem 0;
        overflow: visible;
        margin-bottom: 0;
    }
    
    .compras-section .container {
        padding: 0 2px 0 2px;
        max-width: 100%;
        overflow: visible;
        margin-bottom: 0;
    }
    
    .compras-section .section-header {
        margin-bottom: 1.5rem;
    }
    
    .compras-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .compras-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .iframe-container {
        border-radius: 12px;
        margin: 0 auto 0 auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow: hidden !important;
        position: relative;
        height: 1850px;
        min-height: 1850px;
        max-height: 1850px;
    }
    
    .compras-iframe {
        width: 117.65%;
        height: 2200px;
        min-height: 2200px;
        max-height: 2200px;
        transform: scale(0.85);
        transform-origin: top center;
        border: none;
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -58.825%;
        overflow: hidden !important;
        pointer-events: auto;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-heavy);
    animation: float 6s ease-in-out infinite;
}

.about-card .card-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background: var(--light-gray);
}

.partners-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.benefit-item .benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.benefit-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.partners-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    max-width: 600px;
    margin: 0 auto;
}

.partners-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark-gray);
}

.contact-details p {
    color: var(--text-gray);
}

.contact-form-container {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 0;
    background: var(--gradient-hero);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .footer-logo-image {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .footer-logo-image {
        height: 35px;
        max-width: 120px;
    }
}

.footer-brand p {
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Partners Section */
.footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.partner-logos-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.partner-logos {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    background: transparent;
}

.receita-federal-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.receita-federal-logo {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

@media (max-width: 768px) {
    .footer-partners {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .partner-logos-section {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .receita-federal-logo-section {
        width: 100%;
    }
    
    .partner-logos {
        max-height: 60px;
    }
    
    .receita-federal-logo {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .partner-logos {
        max-height: 50px;
    }
    
    .receita-federal-logo {
        max-height: 35px;
    }
}

/* Footer Partners Logos */
.footer-partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.footer-partner-logo {
    max-height: 50px !important;
    max-width: 120px !important;
    width: auto;
    height: auto;
    object-fit: contain;
    background: transparent;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.footer-partner-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-partners-logos {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .footer-partner-logo {
        max-height: 45px !important;
        max-width: 100px !important;
    }
}

@media (max-width: 480px) {
    .footer-partners-logos {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .footer-partner-logo {
        max-height: 40px !important;
        max-width: 90px !important;
    }
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    /* Hero tablet */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Benefits tablet */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Steps tablet */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-card:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* Services tablet */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* About tablet */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Partners tablet */
    .partners-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Contact tablet */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Trust tablet */
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Footer tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Logo tablet */
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    /* Navbar mobile */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: -100vh; /* Escondido inicialmente */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-medium);
        transition: top 0.3s ease;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-menu.active {
        top: 100%; /* Aparece quando active */
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem;
        width: 100%;
        display: block;
    }
    
    .nav-toggle {
        display: flex !important;
        z-index: 1001;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero mobile */
    .hero {
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Cards tablet */
    .benefit-card,
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-title,
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .partners-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Hero card mobile */
    .hero-card {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .hero-card .card-icon {
        font-size: 2.5rem;
    }
    
    /* Contact section mobile - reduzir tamanho */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    /* Contact form mobile */
    .contact-form-container {
        padding: 1.5rem;
    }
    
    /* Testimonial slider mobile */
    .testimonials h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 0.5rem;
        overflow-x: visible;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 1rem;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        width: 100%;
    }
    
    .testimonial-author strong {
        font-size: 0.9rem;
    }
    
    .testimonial-author span {
        font-size: 0.75rem;
    }
    
    .stars {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Logo mobile */
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    /* Hero mobile */
    .hero {
        padding-top: 80px;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 12px 18px;
        font-size: 0.8rem;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Cards mobile */
    .benefit-card,
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-card {
        padding-top: 2rem;
    }
    
    .benefit-title,
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .benefit-text,
    .service-card p {
        font-size: 0.9rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Hero buttons mobile */
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    /* Card hero */
    .hero-card {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    
    .hero-card .card-icon {
        font-size: 2rem;
    }
    
    .hero-card .card-title {
        font-size: 1rem;
    }
    
    .hero-card .card-description {
        font-size: 0.85rem;
    }
    
    /* Sections padding mobile */
    .why-choose-us,
    .how-it-works,
    .services,
    .partners,
    .contact {
        padding: 3rem 0;
    }
    
    .about {
        padding: 3rem 0;
        margin-top: 0;
    }
    
    /* Compras section mobile pequeno */
    .compras-section {
        padding: 2.5rem 0 3rem 0;
    }
    
    .compras-section .container {
        padding: 0 5px 0 5px;
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .compras-section .section-title {
        font-size: 1.6rem;
    }
    
    .compras-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .iframe-container {
        margin: 0 0 0 0;
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        overflow: hidden !important;
        position: relative;
        height: 1850px;
        min-height: 1850px;
        max-height: 1850px;
    }
    
    .compras-iframe {
        width: 117.65%;
        height: 2200px;
        min-height: 2200px;
        max-height: 2200px;
        transform: scale(0.85);
        transform-origin: top center;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -58.825%;
        overflow: hidden !important;
        pointer-events: auto;
        border: none;
        display: block;
    }
    
    .partners-form {
        padding: 2rem 1rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    
    /* Trust section mobile */
    .trust-section {
        padding: 3rem 0;
    }
    
    .testimonials h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
        gap: 1rem;
        overflow-x: visible;
    }
    
    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 0.9rem;
    }
    
    .testimonial-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        width: 100%;
    }
    
    .testimonial-author strong {
        font-size: 0.85rem;
    }
    
    .testimonial-author span {
        font-size: 0.7rem;
    }
    
    .trust-badges {
        gap: 0.75rem;
    }
    
    .badge {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Animações de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

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

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Estados de foco para acessibilidade */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Melhorias de performance */
@media (min-width: 769px) {
    .hero-background,
    .hero-pattern {
        will-change: transform;
    }

    .benefit-card,
    .service-card,
    .step-card {
        will-change: transform;
    }
}

/* Ajustes críticos para mobile - Evitar overflow horizontal */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Forçar quebra de texto longo */
    .hero-title, .hero-subtitle, 
    .section-title, .section-subtitle,
    .benefit-title, .service-card h3,
    .step-card h3, .benefit-item h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Garantir que imagens não quebrem */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Exceção para logos do footer - manter tamanho fixo */
    .footer-partner-logo {
        max-width: 120px !important;
        max-height: 50px !important;
    }
    
    /* Prevenir links automáticos em números de telefone */
    .contact-details p,
    .footer-contact p {
        pointer-events: none;
        user-select: text;
    }
    
    .contact-details p a,
    .footer-contact p a {
        pointer-events: none;
        text-decoration: none;
        color: inherit;
    }
    
    /* Grid ajustado para mobile */
    .benefits-grid,
    .steps-grid,
    .services-grid,
    .about-stats,
    .partners-benefits {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    /* Container mobile */
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Hero garantido sem overflow */
    .hero {
        overflow: hidden;
        padding-top: 70px;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
    }
    
    /* Botões full width no mobile pequeno */
    .hero-buttons {
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 100%;
    }
    
    /* Nav fixa no mobile */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Evitar que o nav quebre */
    .navbar .container {
        max-width: 100%;
        padding: 0 15px;
        overflow: hidden;
    }
    
    /* Logo não deve quebrar */
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    /* Remover gradient text se quebrar */
    .section-title {
        -webkit-text-fill-color: var(--primary-blue);
        background: transparent;
    }
}

/* FAQ Accordion Styles */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.faq-question-wrapper:hover {
    background-color: rgba(0, 180, 216, 0.05);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--primary-blue);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

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

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium), padding var(--transition-fast);
    padding: 0 24px;
}

.faq-item.active .faq-answer-wrapper {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-question-wrapper {
        padding: 16px 20px;
    }
    
    .faq-answer-wrapper {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer-wrapper {
        padding: 0 20px 16px 20px;
    }
}