/* ============================================
   Modupe Soluções - Extras CSS
   ============================================ */

/* ---- Diferencial cards ---- */
.diferencial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(220,7,84,0.15);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.diferencial-card:hover {
    background: rgba(220,7,84,0.08);
    border-color: rgba(220,7,84,0.35);
    transform: translateY(-4px);
}
.diferencial-card i {
    font-size: 2rem;
    color: #DC0754;
    display: block;
    margin-bottom: 12px;
}
.diferencial-card h6 {
    color: white;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}
.diferencial-card p {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* ---- Hero scroll indicator ---- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll-indicator a {
    color: rgba(255,255,255,0.4);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    display: block;
}
.hero-scroll-indicator a:hover { color: #DC0754; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---- Hero icon grid (6 itens) ---- */
.hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.hero-icon-item {
    background: rgba(220,7,84,0.1);
    border: 1px solid rgba(220,7,84,0.2);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.3s ease;
}
.hero-icon-item:hover {
    background: rgba(220,7,84,0.2);
    transform: translateY(-3px);
}
.hero-icon-item i {
    font-size: 1.6rem;
    color: #DC0754;
    display: block;
    margin-bottom: 6px;
}
.hero-icon-item span {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

/* ---- About strip ---- */
.about-strip {
    border-bottom: 1px solid #e9ecef;
}

/* ---- Service card hover icon ---- */
.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-3deg);
    transition: transform 0.3s ease;
}

/* ---- Nav active underline animation ---- */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: #DC0754;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 20px; }
.nav-link.active::after { width: 20px; }

/* ---- Topbar responsive ---- */
@media (max-width: 576px) {
    .topbar-social .whatsapp-btn { display: none; }
    .topbar-social a { font-size: 14px; }
}

/* ---- Section padding responsive ---- */
@media (max-width: 768px) {
    .services-section,
    .portfolio-section,
    .blog-section { padding: 50px 0; }
    .cta-section { padding: 50px 0; }
    .page-hero { padding: 50px 0 40px; }
    .service-single,
    .portfolio-single,
    .blog-single,
    .contact-section { padding: 50px 0; }
    .hero-icon-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Print styles ---- */
@media print {
    .topbar, #mainNav, .whatsapp-float, .back-to-top, .footer { display: none !important; }
    .hero { min-height: auto; padding: 20px 0; background: white !important; }
    .hero-title, .hero-subtitle { color: black !important; }
}

/* ---- Focus visible accessibility ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #DC0754;
    outline-offset: 2px;
}
