/* ========================================
   Matação Section Styles
   ======================================== */

.matacao-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Showcase: container único com 2 cards */
.matacao-showcase {
    padding: 80px 0 60px;
}

.matacao-showcase .section-header {
    margin-bottom: 50px;
}

.matacao-showcase .matacao-content {
    margin-bottom: 50px;
}

.matacao-showcase .matacao-content:last-child {
    margin-bottom: 0;
}

/* Card reverso: imagem à direita */
.matacao-reverse {
    direction: rtl;
}

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

.matacao-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.matacao-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

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

/* Image Wrapper */
.matacao-image-wrapper {
    position: relative;
}

.matacao-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.matacao-image-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.matacao-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.matacao-image-card:hover .matacao-img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    z-index: 2;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(34, 197, 94, 0.6);
    }
}

.image-badge i {
    font-size: 16px;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

/* Text Content */
.matacao-text {
    padding: 20px 0;
}

.matacao-header {
    margin-bottom: 30px;
}

.matacao-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #1a3a1a;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matacao-showcase .matacao-title {
    font-size: 32px;
}

.matacao-showcase .matacao-header {
    margin-bottom: 16px;
}

.matacao-showcase .matacao-description {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.7;
}

.title-underline {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
    border-radius: 10px;
    margin-bottom: 25px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 15px;
    height: 5px;
    background: #4ade80;
    border-radius: 10px;
}

.matacao-description {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 35px;
}

.highlight-text {
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: #15803d;
}

/* CTA Section */
.matacao-cta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-matacao {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-matacao:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.5);
}

.btn-matacao i {
    transition: transform 0.3s ease;
}

.btn-matacao:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .matacao-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .matacao-reverse {
        direction: ltr;
    }

    .matacao-title {
        font-size: 40px;
    }

    .matacao-showcase .matacao-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .matacao-section {
        padding: 60px 0;
    }

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

    .matacao-description {
        font-size: 16px;
    }

    .matacao-feature-item {
        padding: 16px;
    }

    .feature-icon-circle {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .feature-icon-circle i {
        font-size: 20px;
    }

    .feature-text h4 {
        font-size: 16px;
    }

    .feature-text p {
        font-size: 14px;
    }

    .matacao-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {

    .matacao-section::before,
    .matacao-section::after {
        display: none;
    }

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

    .btn-matacao {
        width: 100%;
        justify-content: center;
    }
}