/* CONTACT SECTION - COMPACT BENTO GRID */
#contato {
    position: relative;
    width: 100%;
    padding: 6rem 0;
    background-color: #050505;
    overflow: hidden;
    font-family: var(--font-secondary);
}

/* Background Glow Orb */
.contact-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(242, 192, 31, 0.05) 0%, transparent 60%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: breathing-glow 10s infinite alternate;
}

@keyframes breathing-glow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 1000px; /* Reduced width for tighter layout */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.contact-header-minimal {
    margin-bottom: 3rem;
    text-align: left;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-primary);
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    font-weight: 500;
}

.contact-headline {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 0.8rem;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.contact-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.5;
}

/* BENTO GRID LAYOUT (4 Column Compact) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 160px); /* Smaller rows for compactness */
    gap: 1.2rem; /* Tighter gap */
}

/* Card Common Styles */
.bento-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px; /* Slightly reduced radius */
    padding: 1.5rem;
    text-decoration: none;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: perspective(1000px);
    transform-style: preserve-3d;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Main CTA Card (WhatsApp) - Large Square (2x2) */
.main-cta {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(10, 10, 10, 0.95));
    border-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    justify-content: space-between;
}

.main-cta:hover {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.1);
}

.card-content-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #25D366;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #25D366;
    transition: transform 0.5s ease;
}

.main-cta:hover .icon-circle {
    transform: scale(1.1) rotate(15deg);
    background: rgba(37, 211, 102, 0.2);
}

.cta-body h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 90%;
}

.cta-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--color-white);
}

.action-text {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.action-arrow {
    transition: transform 0.3s ease;
}

.main-cta:hover .action-arrow {
    transform: translateX(5px);
    color: #25D366;
}

/* Small Cards (1x1) */
.small-card {
    grid-column: span 1;
    grid-row: span 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

.center-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.icon-box-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.small-card:hover .icon-box-small {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
}

.instagram-icon i { color: #E1306C; } /* Preserve brand color */

.info-group h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
}

.info-group p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.bento-card:hover .card-shine {
    left: 100%;
    transition: 0.7s;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .main-cta {
        grid-column: span 2;
        min-height: 280px; /* Taller for tablet */
    }
    
    .small-card {
        grid-column: span 1;
        min-height: 160px;
    }
}

@media (max-width: 768px) {
    #contato {
        padding: 4rem 0;
    }

    .contact-container {
        padding: 0 1.5rem;
    }

    .contact-header-minimal {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .contact-headline {
        font-size: 2.2rem;
    }

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

    .bento-card {
        width: 100%;
        min-height: auto;
        border-radius: 20px;
    }

    .main-cta {
        padding: 1.8rem;
        aspect-ratio: auto;
        min-height: 240px;
    }
    
    .small-card {
        flex-direction: row; /* Horizontal layout for small cards on mobile */
        justify-content: flex-start;
        padding: 1.2rem;
        text-align: left;
    }
    
    .center-flex {
        flex-direction: row;
        width: auto;
    }

    .info-group {
        text-align: left;
    }
}