/* ==========================================================================
   SEÇÃO DE BENEFÍCIOS - CSS OTIMIZADO MOBILE-FIRST
   Performance + UX + Touch Targets
   ========================================================================== */

.benefits {
    padding: 60px 0; /* Mobile first */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Background Pattern Sutil */
.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(242,176,59,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102,124,77,0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ==========================================================================
   BADGES E HEADERS - MOBILE FIRST
   ========================================================================== */

.section-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 12px 24px; /* Touch target 44px+ */
    border-radius: 50px;
    font-size: 14px; /* Mobile optimized */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
    animation: shimmer 3s ease-in-out infinite;
    min-height: 44px; /* Touch target */
}

@keyframes shimmer {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(2px); box-shadow: 0 4px 18px rgba(255,215,0,0.4); } /* Reduzido para mobile */
}

/* ==========================================================================
   GRID DE BENEFÍCIOS - MOBILE FIRST
   ========================================================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 20px;
    margin-bottom: 60px;
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px; /* Otimizado para mobile */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 44px; /* Touch target */
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-5px); /* Reduzido para mobile */
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

/* Header do Card */
.benefit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-icon {
    width: 50px; /* Mobile optimized */
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Mobile optimized */
    position: relative;
    overflow: hidden;
}

.benefit-icon.money { background: linear-gradient(135deg, #FFE5B4 0%, #FFD700 100%); }
.benefit-icon.demand { background: linear-gradient(135deg, #FFE5E5 0%, #FF6B6B 100%); }
.benefit-icon.freedom { background: linear-gradient(135deg, #E5F3FF 0%, #4A90E2 100%); }
.benefit-icon.certification { background: linear-gradient(135deg, #FFF5E5 0%, #FFA500 100%); }
.benefit-icon.tech { background: linear-gradient(135deg, #F0E5FF 0%, #9B59B6 100%); }
.benefit-icon.security { background: linear-gradient(135deg, #E5FFE5 0%, #27AE60 100%); }

/* Badges dos Cards - Touch Target Otimizado */
.benefit-badge {
    padding: 8px 16px; /* Touch target 44px+ */
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
    min-height: 32px; /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-badge.hot {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF3838 100%);
    color: white;
}

.benefit-badge.urgent {
    background: linear-gradient(135deg, #FF9500 0%, #FF6200 100%);
    color: white;
}

.benefit-badge.new {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.benefit-badge.official {
    background: linear-gradient(135deg, #27AE60 0%, #219A52 100%);
    color: white;
}

.benefit-badge.tech {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: white;
}

.benefit-badge.stable {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
}

/* Conteúdo do Card - Mobile Optimized */
.benefit-title {
    font-size: 18px; /* Mobile optimized */
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.benefit-description {
    font-size: 14px; /* Mobile optimized */
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefit-highlight {
    background: linear-gradient(135deg, rgba(42,91,127,0.05) 0%, rgba(102,124,77,0.05) 100%);
    border-left: 3px solid var(--primary);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px; /* Mobile optimized */
}

.benefit-highlight i {
    color: var(--primary);
    font-size: 16px;
}

/* Prova numérica */
.benefit-proof {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #f0f4f8;
}

.proof-number {
    display: block;
    font-size: 28px; /* Mobile optimized */
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
}

.proof-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   BOX DE TRANSFORMAÇÃO - MOBILE FIRST
   ========================================================================== */

.transformation-box {
    background: white;
    border-radius: 30px;
    padding: 30px 20px; /* Mobile first */
    box-shadow: 0 20px 80px rgba(0,0,0,0.1);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.transformation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(42,91,127,0.02) 0%, 
        rgba(217,102,71,0.02) 50%, 
        rgba(242,176,59,0.02) 100%);
    pointer-events: none;
}

.transformation-header {
    text-align: center;
    margin-bottom: 40px; /* Mobile optimized */
    position: relative;
    z-index: 1;
}

.transformation-header h3 {
    font-size: 24px; /* Mobile optimized */
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.transformation-header .highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.transformation-header p {
    font-size: 16px; /* Mobile optimized */
    color: var(--gray);
    line-height: 1.5;
}

/* Grid Antes x Depois - Mobile First */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 20px;
    align-items: stretch;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.before-column,
.after-column {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 25px 20px; /* Mobile optimized */
    position: relative;
}

.before-column {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFEBEB 100%);
    border: 2px solid rgba(255,59,48,0.1);
}

.after-column {
    background: linear-gradient(135deg, #F0FFF4 0%, #E6FFEC 100%);
    border: 2px solid rgba(102,124,77,0.1);
}

.column-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.column-header.negative i {
    color: #ff3b30;
    font-size: 32px; /* Mobile optimized */
    margin-bottom: 10px;
    display: block;
}

.column-header.positive i {
    color: var(--success);
    font-size: 32px; /* Mobile optimized */
    margin-bottom: 10px;
    display: block;
}

.column-header h4 {
    font-size: 20px; /* Mobile optimized */
    font-weight: 800;
    margin: 10px 0 5px;
    line-height: 1.2;
}

.column-header .subtitle {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Listas de Transformação */
.transformation-list {
    list-style: none;
    padding: 0;
}

.transformation-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px; /* Mobile optimized */
    font-size: 14px; /* Mobile optimized */
    line-height: 1.5;
}

.transformation-list.negative li i {
    color: #ff3b30;
    margin-top: 3px;
    font-size: 14px;
}

.transformation-list.positive li i {
    color: var(--success);
    margin-top: 3px;
    font-size: 14px;
}

/* Seta de Transformação - Mobile First */
.transformation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px 0; /* Mobile spacing */
}

.arrow-container {
    display: flex;
    flex-direction: row; /* Mobile: horizontal arrow */
    align-items: center;
    gap: 10px;
    animation: arrowPulse 2s ease-in-out infinite;
    transform: rotate(90deg); /* Mobile: arrow down */
}

.arrow-container i {
    font-size: 32px; /* Mobile optimized */
    color: var(--secondary);
    filter: drop-shadow(0 4px 10px rgba(217,102,71,0.3));
}

.arrow-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes arrowPulse {
    0%, 100% { transform: rotate(90deg) translateY(0); } /* Mobile: down arrow pulse */
    50% { transform: rotate(90deg) translateY(5px); }
}

/* ==========================================================================
   CALCULADORA DE ROI - MOBILE FIRST
   ========================================================================== */

.roi-calculator {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4058 100%);
    border-radius: 20px;
    padding: 30px 20px; /* Mobile first */
    color: white;
    position: relative;
    z-index: 1;
}

.roi-calculator h4 {
    font-size: 20px; /* Mobile optimized */
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.3;
}

.roi-metrics {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 15px;
}

.roi-item {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-height: 44px; /* Touch target */
}

.roi-item.highlight {
    background: linear-gradient(135deg, rgba(242,176,59,0.3) 0%, rgba(255,215,0,0.3) 100%);
    transform: scale(1.02); /* Reduzido para mobile */
    box-shadow: 0 8px 25px rgba(242,176,59,0.3);
    padding:20px;
    border-radius:15px;
}

.roi-item.roi {
    background: rgba(102,124,77,0.3);
}

.roi-label {
    display: block;
    font-size: 13px; /* Mobile optimized */
    margin-bottom: 10px;
    opacity: 0.9;
}

.roi-value {
    display: block;
    font-size: 24px; /* Mobile optimized */
    font-weight: 900;
}

.roi-value.negative {
    color: #FF6B6B;
}

.roi-value.positive {
    color: #27AE60;
}

.roi-value.success {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(242,176,59,0.4); /* Reduzido para mobile */
    animation: glow 2s ease-in-out infinite;
}

/* ==========================================================================
   TESTIMONIAL EM DESTAQUE - MOBILE FIRST
   ========================================================================== */

.featured-testimonial {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid var(--secondary);
    border-radius: 20px;
    padding: 30px 20px; /* Mobile first */
    margin-bottom: 60px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.testimonial-badge {
    position: absolute;
    top: -15px;
    left: 20px; /* Mobile adjusted */
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px; /* Touch target */
}

.featured-testimonial blockquote {
    font-size: 16px; /* Mobile optimized */
    line-height: 1.6;
    color: var(--dark);
    margin: 20px 0 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column; /* Mobile first */
    align-items: center;
    text-align: center;
    gap: 15px;
}

.testimonial-author img {
    width: 70px; /* Mobile optimized */
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.author-info strong {
    display: block;
    font-size: 16px; /* Mobile optimized */
    color: var(--dark);
    margin-bottom: 5px;
}

.author-info span {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 5px;
}

.author-rating {
    font-size: 14px;
}

/* ==========================================================================
   CTA DA SEÇÃO - MOBILE FIRST
   ========================================================================== */

.cta-wrapper {
    background: linear-gradient(135deg, rgba(217,102,71,0.05) 0%, rgba(242,176,59,0.05) 100%);
    border: 2px solid var(--secondary);
    border-radius: 30px;
    padding: 30px 20px; /* Mobile first */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(217,102,71,0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.guarantee-text {
    display: flex;
    flex-direction: column; /* Mobile first */
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px; /* Mobile optimized */
    color: var(--gray);
    text-align: center;
}

.guarantee-text i {
    color: var(--success);
    font-size: 18px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS - DESKTOP ENHANCEMENTS
   ========================================================================== */

/* Tablet Portrait */
@media (min-width: 768px) {
    .benefits {
        padding: 80px 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .benefit-title {
        font-size: 20px;
    }
    
    .benefit-description {
        font-size: 15px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    
    .transformation-box {
        padding: 40px 30px;
    }
    
    .transformation-header h3 {
        font-size: 28px;
    }
    
    .transformation-header p {
        font-size: 18px;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr auto 1fr;
        gap: 30px;
    }
    
    .arrow-container {
        flex-direction: column;
        transform: rotate(0deg); /* Desktop: right arrow */
    }
    
    @keyframes arrowPulse {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(10px); }
    }
    
    .roi-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .roi-calculator {
        padding: 40px 30px;
    }
    
    .roi-calculator h4 {
        font-size: 24px;
    }
    
    .roi-value {
        font-size: 28px;
    }
    
    .featured-testimonial {
        padding: 40px 30px;
    }
    
    .featured-testimonial blockquote {
        font-size: 18px;
    }
    
    .testimonial-author {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .testimonial-author img {
        width: 60px;
        height: 60px;
    }
    
    .author-info strong {
        font-size: 18px;
    }
    
    .cta-wrapper {
        padding: 40px 30px;
    }
    
    .guarantee-text {
        flex-direction: row;
        gap: 10px;
        font-size: 14px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .benefits {
        padding: 100px 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .benefit-card {
        padding: 35px 30px;
    }
    
    .benefit-title {
        font-size: 22px;
    }
    
    .benefit-description {
        font-size: 15px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .proof-number {
        font-size: 32px;
    }
    
    .transformation-box {
        padding: 60px 50px;
    }
    
    .transformation-header {
        margin-bottom: 50px;
    }
    
    .transformation-header h3 {
        font-size: 32px;
    }
    
    .before-after-grid {
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .before-column,
    .after-column {
        padding: 30px;
    }
    
    .column-header.negative i,
    .column-header.positive i {
        font-size: 36px;
    }
    
    .column-header h4 {
        font-size: 24px;
    }
    
    .transformation-list li {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .arrow-container i {
        font-size: 48px;
    }
    
    .roi-calculator {
        padding: 40px;
    }
    
    .roi-metrics {
        gap: 30px;
    }
    
    .roi-item {
        padding: 20px;
    }
    
    .roi-value {
        font-size: 28px;
    }
    
    .featured-testimonial blockquote {
        font-size: 20px;
    }
    
    .cta-wrapper {
        padding: 50px;
    }
}

/* ==========================================================================
   ANIMAÇÕES OTIMIZADAS
   ========================================================================== */

@keyframes glow {
    0%, 100% { text-shadow: 0 0 15px rgba(242,176,59,0.4); }
    50% { text-shadow: 0 0 25px rgba(242,176,59,0.6); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Animação de entrada otimizada */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px); /* Reduzido */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Mais rápido */
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.95); /* Menos agressivo */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Print Optimization */
@media print {
    .benefits {
        page-break-inside: avoid;
    }
    
    .cta-wrapper::before,
    .transformation-box::before {
        display: none;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
