/* ============================================
   Mudanças24 Base CSS
   Colors: Blue #1B365D, Orange #FF6B35
   Fonts: Roboto (headers), Open Sans (body)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1B365D;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
a { color: #FF6B35; text-decoration: none; transition: color .2s; }
a:hover { color: #e55a25; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Container --- */
.m24-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- Top Bar --- */
.m24-topbar {
    background: #1B365D;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.4rem 0;
}
.m24-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.m24-topbar-left { display: flex; align-items: center; gap: 0.75rem; }
.m24-topbar-link { color: #fff; display: flex; align-items: center; gap: 0.35rem; }
.m24-topbar-link:hover { color: #FF6B35; }
.m24-topbar-sep { opacity: 0.4; }
.m24-topbar-hours { opacity: 0.8; }
.m24-topbar-right { display: flex; align-items: center; }
.m24-topbar-wa {
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}
.m24-topbar-wa:hover { color: #20bd5a; }

/* --- Header --- */
.m24-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}
.m24-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.m24-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #1B365D;
}
.m24-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.m24-logo-text strong { font-family: 'Roboto', sans-serif; font-size: 1.35rem; }
.m24-logo-text small { font-size: 0.7rem; color: #666; }
.m24-accent { color: #FF6B35; }

/* --- Navigation --- */
.m24-nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.m24-nav-item > a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: #1B365D;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background .2s, color .2s;
}
.m24-nav-item > a:hover { background: #f0f4f8; color: #FF6B35; }
.m24-nav-highlight {
    background: #FFF3EC !important;
    color: #FF6B35 !important;
    font-weight: 600 !important;
}

/* Dropdowns */
.m24-has-dropdown { position: relative; }
.m24-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s;
    z-index: 1001;
}
.m24-has-dropdown:hover .m24-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.m24-dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    font-size: 0.9rem;
    transition: background .15s;
}
.m24-dropdown li a:hover {
    background: #f0f4f8;
    color: #FF6B35;
}

/* --- Buttons --- */
.m24-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all .2s;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.3;
}
.m24-btn-primary {
    background: #FF6B35;
    color: #fff;
}
.m24-btn-primary:hover {
    background: #e55a25;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.m24-btn-secondary {
    background: #1B365D;
    color: #fff;
}
.m24-btn-secondary:hover {
    background: #152a4a;
    color: #fff;
}
.m24-btn-white {
    background: #fff;
    color: #1B365D;
}
.m24-btn-white:hover {
    background: #f0f4f8;
    color: #1B365D;
    transform: translateY(-1px);
}
.m24-btn-wa {
    background: #25D366;
    color: #fff;
}
.m24-btn-wa:hover {
    background: #20bd5a;
    color: #fff;
}
.m24-btn-outline {
    background: transparent;
    color: #FF6B35;
    border-color: #FF6B35;
}
.m24-btn-outline:hover {
    background: #FF6B35;
    color: #fff;
}
.m24-btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.m24-btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* --- CTA Banner --- */
.m24-cta-banner {
    background: linear-gradient(135deg, #1B365D 0%, #2a4f82 100%);
    padding: 3rem 0;
    color: #fff;
}
.m24-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.m24-cta-text h2 { color: #fff; margin-bottom: 0.5rem; }
.m24-cta-text p { opacity: 0.85; font-size: 1.05rem; }
.m24-cta-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* --- Footer --- */
.m24-footer {
    background: #0f1f35;
    color: #ccc;
    padding: 3rem 0 1.5rem;
}
.m24-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.m24-footer-logo {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}
.m24-footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.m24-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #FF6B35;
}
.m24-footer-col ul li {
    margin-bottom: 0.5rem;
}
.m24-footer-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color .2s;
}
.m24-footer-col ul li a:hover { color: #FF6B35; }
.m24-footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.m24-footer-contacts li svg { flex-shrink: 0; stroke: #FF6B35; }
.m24-footer-contacts li a { color: #aaa; }
.m24-footer-contacts li a:hover { color: #FF6B35; }
.m24-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.m24-footer-links { display: flex; gap: 1.5rem; }
.m24-footer-links a { color: #888; }
.m24-footer-links a:hover { color: #FF6B35; }

/* --- WhatsApp Float --- */
.m24-wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform .2s, box-shadow .2s;
}
.m24-wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* --- Hamburger --- */
.m24-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}
.m24-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1B365D;
    transition: all .3s;
}
.m24-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.m24-hamburger.active span:nth-child(2) { opacity: 0; }
.m24-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Sections --- */
.m24-section {
    padding: 4rem 0;
}
.m24-section-alt {
    background: #F8F9FA;
}
.m24-section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
.m24-section-title h2 { margin-bottom: 0.75rem; }
.m24-section-title p {
    color: #666;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Trust Signals --- */
.m24-trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}
.m24-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}
.m24-trust-item svg { color: #FF6B35; flex-shrink: 0; }

/* --- Responsive --- */
@media (max-width: 968px) {
    .m24-hamburger { display: flex; }
    .m24-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        padding: 4rem 1.5rem 2rem;
        transition: right .3s;
        z-index: 1002;
        overflow-y: auto;
    }
    .m24-nav.active { right: 0; }
    .m24-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .m24-nav-item { width: 100%; }
    .m24-nav-item > a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }
    .m24-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        display: none;
    }
    .m24-has-dropdown.active .m24-dropdown { display: block; }
    .m24-header-cta { display: none; }

    .m24-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .m24-cta-inner { flex-direction: column; text-align: center; }
    .m24-cta-buttons { justify-content: center; }
    .m24-footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 600px) {
    .m24-topbar-hours { display: none; }
    .m24-topbar-sep { display: none; }
    .m24-footer-grid { grid-template-columns: 1fr; }
    .m24-cta-buttons { flex-direction: column; }
    .m24-cta-buttons .m24-btn { width: 100%; justify-content: center; }
    .m24-section { padding: 2.5rem 0; }
}

/* --- Rich Content (inner pages) --- */
.m24-content-rich h2 { margin-top: 2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #FF6B35; }
.m24-content-rich h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; color: #1B365D; }
.m24-content-rich p { margin-bottom: 1rem; color: #444; line-height: 1.7; }
.m24-content-rich ul, .m24-content-rich ol { margin: 1rem 0; padding-left: 1.5rem; }
.m24-content-rich ul { list-style: disc; }
.m24-content-rich ol { list-style: decimal; }
.m24-content-rich li { margin-bottom: 0.5rem; color: #444; }
.m24-content-rich strong { color: #1B365D; }
.m24-content-rich blockquote {
    border-left: 4px solid #FF6B35;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #FFF3EC;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}
.m24-content-rich table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.m24-content-rich th { background: #1B365D; color: #fff; padding: 0.75rem 1rem; text-align: left; }
.m24-content-rich td { padding: 0.75rem 1rem; border-bottom: 1px solid #eee; }
.m24-content-rich tr:hover td { background: #f8f9fa; }

/* Price table */
.m24-price-table { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.m24-price-table th:first-child { border-radius: 12px 0 0 0; }
.m24-price-table th:last-child { border-radius: 0 12px 0 0; }

/* Process steps */
.m24-process-steps { counter-reset: step; list-style: none !important; padding-left: 0 !important; }
.m24-process-steps li {
    counter-increment: step;
    padding: 1rem 1rem 1rem 3.5rem;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}
.m24-process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 28px;
    height: 28px;
    background: #FF6B35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
