/* ============================================
   Homepage Styles - Mudanças24
   ============================================ */

/* --- Hero --- */
.m24-hero {
    background: linear-gradient(135deg, #1B365D 0%, #2a4f82 60%, #1B365D 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.m24-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,107,53,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.m24-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.m24-hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.m24-hero-sub {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 520px;
}
.m24-hero-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.m24-btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.m24-hero-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    opacity: 0.85;
}
.m24-hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- Routes Card --- */
.m24-routes-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 1.5rem;
}
.m24-routes-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.m24-route-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
.m24-route-item:last-of-type { border-bottom: none; }
.m24-route-name { font-weight: 600; color: #fff; }
.m24-route-info { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.m24-route-price { color: #FF6B35; font-weight: 700; }

/* --- Services Grid --- */
.m24-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.m24-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.m24-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.m24-service-highlight {
    border: 2px solid #FF6B35;
}
.m24-service-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: #FF6B35;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.m24-service-icon {
    margin-bottom: 1rem;
}
.m24-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.m24-service-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.m24-service-features {
    margin-bottom: 1.25rem;
}
.m24-service-features li {
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}
.m24-service-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: 700;
}

/* --- Why Grid --- */
.m24-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.m24-why-item {
    text-align: center;
}
.m24-why-icon {
    width: 64px;
    height: 64px;
    background: #FFF3EC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.m24-why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.m24-why-item p {
    color: #666;
    font-size: 0.9rem;
}

/* --- Page Hero (for inner pages) --- */
.m24-page-hero {
    background: linear-gradient(135deg, #1B365D 0%, #2a4f82 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    text-align: center;
}
.m24-page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.m24-page-hero-sub { opacity: 0.85; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Responsive --- */
@media (max-width: 968px) {
    .m24-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .m24-hero-sub { margin: 0 auto 1.5rem; }
    .m24-hero-buttons { justify-content: center; }
    .m24-hero-trust { justify-content: center; }
    .m24-services-grid { grid-template-columns: 1fr; }
    .m24-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .m24-hero { padding: 2.5rem 0 2rem; }
    .m24-hero-buttons { flex-direction: column; }
    .m24-hero-buttons .m24-btn { width: 100%; justify-content: center; }
    .m24-why-grid { grid-template-columns: 1fr; }
}
