/* =========================================================
   MF Engenharia - Estilos Customizados
   ========================================================= */

:root {
    --primary: #0066cc;
    --primary-dark: #004080;
    --primary-light: #e6f0ff;
    --accent: #ff9900;
    --accent-dark: #cc7a00;
    --dark: #1a1a2e;
    --darker: #0f0f23;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* ========== TOPBAR ========== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #0d0d1a;
    font-size: 0.78rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-link {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-right: 1.2rem;
    transition: var(--transition);
    white-space: nowrap;
}
.topbar-link i { margin-right: 0.3rem; font-size: 0.7rem; }
.topbar-link:hover { color: var(--accent); }
.topbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}
.topbar-social:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ========== NAVBAR ========== */
#mainNav {
    position: fixed;
    top: 30px; /* abaixo da topbar */
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
#mainNav.scrolled {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
#mainNav .navbar-brand {
    color: var(--white) !important;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}
#mainNav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    border-radius: 6px;
    margin: 0 2px;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.1);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 70vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #0d1f3c 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0,102,204,0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 30%, rgba(255,153,0,0.1) 0%, transparent 50%);
    z-index: 1;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(30deg, var(--white) 1px, transparent 1px),
        linear-gradient(-30deg, var(--white) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.hero h1, .hero-slide h1 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero .lead, .hero-slide .lead {
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero .container, .carousel-item .container {
    position: relative;
    z-index: 3;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #4da6ff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 550px;
}

/* Carousel slides */
.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide .container {
    display: flex;
    align-items: center;
    min-height: 70vh;
    max-height: 600px;
}
.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}
.carousel-fade .carousel-item.active {
    opacity: 1;
}
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 0;
}
/* Ajusta indicadores para ficarem sobre o conteúdo */
.carousel-indicators { z-index: 5; }
.carousel-control-prev, .carousel-control-next { z-index: 5; }
.carousel-indicators button {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.carousel-indicators button.active {
    background: #fff;
    border-color: #fff;
    opacity: 1;
}

/* ========== SECTIONS ========== */
.section-padding {
    padding: 5rem 0;
}
.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.bg-light-section {
    background: var(--light);
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.service-card .icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 16px;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
}
.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ========== PRODUCT CARDS ========== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.product-card .product-img {
    height: 220px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}
.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card .product-body {
    padding: 1.5rem;
}
.product-card .product-body h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
.product-card .product-body .price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========== BLOG CARDS ========== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-card .blog-img {
    height: 200px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    overflow: hidden;
}
.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card .blog-body {
    padding: 1.5rem;
}
.blog-card .blog-body .category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.blog-card .blog-body h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.blog-card .blog-body h5 a {
    color: var(--dark);
    text-decoration: none;
}
.blog-card .blog-body h5 a:hover {
    color: var(--primary);
}
.blog-card .blog-body p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.blog-card .blog-body .meta {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: var(--primary);
    padding: 3rem 0;
}
.stat-item {
    text-align: center;
    color: var(--white);
}
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ========== CONTACT PAGE ========== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}
.contact-info-card .ci-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.75rem;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,102,204,0.35);
}
.btn-warning {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}
.btn-warning:hover {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,153,0,0.35);
}
.btn-outline-light {
    border-radius: 8px;
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    border-top: 3px solid var(--primary);
}
.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}
.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    padding: 0.2rem 0;
}
.footer-link:hover {
    color: var(--accent);
    padding-left: 5px;
}
.social-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}
.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(37,211,102,0.6);
}
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ========== FORM STYLES ========== */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0,102,204,0.15);
}
.form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* ========== BREADCRUMB ========== */
.page-header {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 3rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-header h1 {
    font-weight: 800;
    margin: 0;
}
.page-header .breadcrumb {
    margin: 0.5rem 0 0;
    background: transparent;
}
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.page-header .breadcrumb-item.active {
    color: var(--accent);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ========== TIMELINE (SOBRE) ========== */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.3rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

/* ========== DIFFERENTIALS ========== */
.differential-card {
    text-align: center;
    padding: 2rem 1rem;
}
.differential-card .diff-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.differential-card h6 {
    font-weight: 700;
    font-size: 1rem;
}

/* ========== PAGE 404 / 403 ========== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-page h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    #mainNav .navbar-collapse {
        background: rgba(15,15,35,0.98);
        border-radius: var(--radius);
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
    }
    .hero { min-height: 50vh; text-align: center; }
    .hero .lead { margin: 0 auto; font-size: 1rem; }
    .hero .d-flex.gap-3 { justify-content: center; }
    .hero-slide .container { min-height: 50vh; }
    .section-padding { padding: 3.5rem 0; }
    .cta-section { padding: 3rem 0; }
    .page-header { padding: 2rem 0; }
    .page-header h1 { font-size: 1.6rem; }
    .product-card .product-img { height: 180px; }
    .blog-card .blog-img { height: 160px; }
    .btn-lg { padding: 0.55rem 1.25rem; font-size: 0.95rem; }
}
@media (max-width: 767px) {
    .section-padding { padding: 2.5rem 0; }
    .hero { min-height: 45vh; }
    .hero h1 { font-size: 1.5rem; }
    .hero .lead { font-size: 0.9rem; }
    .hero-slide .container { min-height: 45vh; }
    .hero .btn, .hero-slide .btn { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
    .cta-section { padding: 2.5rem 0; }
    .cta-section h2 { font-size: 1.4rem; }
    .page-header { padding: 1.75rem 0; }
    .page-header h1 { font-size: 1.4rem; }
    .stats-section { padding: 2rem 0; }
    .stat-item .stat-number { font-size: 1.8rem; }
    .stat-item .stat-label { font-size: 0.75rem; }
    .service-card { padding: 1.25rem 1rem; }
    .service-card .icon-box { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 0.75rem; }
    .service-card h4 { font-size: 1rem; }
    .service-card p { font-size: 0.8rem; }
    .product-card .product-img { height: 150px; font-size: 3rem; }
    .product-card .product-body { padding: 1rem; }
    .product-card .product-body h5 { font-size: 0.95rem; }
    .blog-card .blog-img { height: 140px; font-size: 2.5rem; }
    .blog-card .blog-body { padding: 1rem; }
    .blog-card .blog-body h5 { font-size: 0.95rem; }
    .blog-card .blog-body p { font-size: 0.8rem; }
    .contact-form-card { padding: 1.25rem; }
    .contact-info-card { padding: 1rem; }
    .differential-card { padding: 1.25rem 0.75rem; }
    .differential-card .diff-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .differential-card h6 { font-size: 0.9rem; }
    .differential-card p { font-size: 0.75rem; }
    .error-page h1 { font-size: 4rem; }
    .map-container iframe { height: 220px; }
    .footer { padding-top: 2rem !important; padding-bottom: 1rem !important; }
    .footer-title { font-size: 1rem; }
    .footer-link { font-size: 0.8rem; }
    .social-icon { width: 32px; height: 32px; font-size: 0.85rem; }
    .form-label { font-size: 0.8rem; }
    .btn-lg { padding: 0.5rem 1rem; font-size: 0.9rem; }
    .navbar-brand { font-size: 1.1rem; }
    .step-indicator { overflow-x: auto; flex-wrap: nowrap; gap: 0.5rem; padding-bottom: 0.5rem; }
    .step-indicator .step { flex: 0 0 auto; min-width: 60px; }
    .step-indicator .step .circle { width: 32px; height: 32px; font-size: 0.8rem; }
    .step-indicator .step .label { font-size: 0.65rem; }
}
@media (max-width: 575px) {
    .section-padding { padding: 2rem 0; }
    .hero { min-height: 320px; }
    .hero h1 { font-size: 1.15rem; line-height: 1.25; }
    .hero .lead { font-size: 0.78rem; }
    .hero-slide .container { min-height: 320px; padding-top: 1rem; padding-bottom: 1rem; }
    .hero .btn, .hero-slide .btn { width: 100%; text-align: center; padding: 0.55rem 0.75rem; font-size: 0.8rem; }
    .hero .d-flex.gap-3, .hero-slide .d-flex.gap-3 { gap: 0.5rem !important; width: 100%; }
    .whatsapp-float { width: 44px; height: 44px; bottom: 15px; right: 15px; font-size: 1.3rem; }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.8rem; margin-bottom: 1.5rem; }
    .cta-section { padding: 2rem 0; }
    .cta-section h2 { font-size: 1.2rem; }
    .cta-section .btn { width: 100%; }
    .page-header { padding: 1.25rem 0; }
    .page-header h1 { font-size: 1.2rem; }
    .breadcrumb { font-size: 0.7rem; }
    .stats-section { padding: 1.5rem 0; }
    .stat-item .stat-number { font-size: 1.4rem; }
    .stat-item .stat-label { font-size: 0.7rem; margin-top: 0.25rem; }
    .service-card { padding: 1rem 0.75rem; border-radius: 8px; }
    .service-card .icon-box { width: 42px; height: 42px; font-size: 1.1rem; margin-bottom: 0.6rem; border-radius: 10px; }
    .service-card h4 { font-size: 0.9rem; margin-bottom: 0.4rem; }
    .service-card p { font-size: 0.75rem; line-height: 1.4; }
    .product-card .product-img { height: 130px; font-size: 2.5rem; }
    .product-card .product-body { padding: 0.75rem; }
    .product-card .product-body h5 { font-size: 0.85rem; margin-bottom: 0.25rem; }
    .product-card .product-body p { font-size: 0.75rem; }
    .product-card .product-body .price { font-size: 0.85rem; }
    .product-card .product-body .btn { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
    .blog-card .blog-img { height: 120px; font-size: 2rem; }
    .blog-card .blog-body { padding: 0.75rem; }
    .blog-card .blog-body .category { font-size: 0.65rem; }
    .blog-card .blog-body h5 { font-size: 0.85rem; }
    .blog-card .blog-body p { font-size: 0.75rem; line-height: 1.4; }
    .blog-card .blog-body .meta { font-size: 0.65rem; margin-top: 0.5rem; }
    .contact-form-card { padding: 1rem; border-radius: 8px; }
    .contact-info-card { padding: 0.75rem; border-radius: 8px; }
    .contact-info-card .ci-icon { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 0.5rem; }
    .contact-info-card h6 { font-size: 0.85rem; }
    .contact-info-card p { font-size: 0.75rem; }
    .differential-card { padding: 1rem 0.5rem; }
    .differential-card .diff-icon { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 0.5rem; }
    .differential-card h6 { font-size: 0.8rem; }
    .differential-card p { font-size: 0.7rem; }
    .timeline { padding-left: 1.25rem; }
    .timeline-item { padding-bottom: 1.25rem; }
    .timeline-item::before { left: -1.55rem; width: 10px; height: 10px; }
    .timeline-item h5 { font-size: 0.9rem; }
    .timeline-item p { font-size: 0.75rem; }
    .error-page h1 { font-size: 3rem; }
    .error-page h3 { font-size: 1rem; }
    .map-container iframe { height: 180px; }
    .footer { padding-top: 1.5rem !important; padding-bottom: 0.75rem !important; }
    .footer-title { font-size: 0.9rem; margin-bottom: 0.5rem !important; }
    .footer-link { font-size: 0.75rem; }
    .footer p, .footer small { font-size: 0.7rem; }
    .social-icon { width: 28px; height: 28px; font-size: 0.75rem; }
    .footer .row.g-4 { --bs-gutter-y: 0.75rem; }
    .footer hr { margin: 1rem 0; }
    .form-label { font-size: 0.75rem; }
    .form-control, .form-select { font-size: 0.8rem; padding: 0.4rem 0.6rem; }
    textarea.form-control { font-size: 0.8rem; }
    .btn { font-size: 0.8rem; padding: 0.45rem 0.75rem; }
    .btn-lg { font-size: 0.85rem; padding: 0.5rem 0.9rem; }
    .navbar-brand { font-size: 1rem; }
    .navbar-brand img { height: 28px !important; }
    .navbar-toggler { padding: 0.25rem 0.5rem; font-size: 1rem; }
    .topbar { font-size: 0.65rem; padding: 0.2rem 0; }
    .topbar-link { margin-right: 0.6rem; }
    .topbar-social { width: 22px; height: 22px; font-size: 0.65rem; margin-left: 0.25rem; }
    .nav-link { font-size: 0.85rem; padding: 0.4rem 0.75rem !important; }
    .row.g-4 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
    .row.g-5 { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .step-indicator { gap: 0.25rem; }
    .step-indicator .step .circle { width: 28px; height: 28px; font-size: 0.7rem; }
    .step-indicator .step .label { font-size: 0.6rem; }
    .step-indicator::before { top: 14px; }
    .modal-dialog { margin: 0.5rem; }
    .modal-body { padding: 0.75rem; }
    .table { font-size: 0.75rem; }
    .table td, .table th { padding: 0.4rem 0.5rem; }
    .badge { font-size: 0.65rem; }
    .alert { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .carousel-indicators { bottom: 10px; }
    .carousel-indicators button { width: 8px; height: 8px; }
    .carousel-control-prev-icon, .carousel-control-next-icon { width: 1.5rem; height: 1.5rem; }
}

/* ========== ANIMATIONS ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ORÇAMENTO MULTI-STEP ========== */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}
.step-indicator::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #ddd;
    z-index: 1;
}
.step-indicator .step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}
.step-indicator .step .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #888;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition);
}
.step-indicator .step.active .circle {
    background: var(--primary);
    color: var(--white);
}
.step-indicator .step.done .circle {
    background: #28a745;
    color: var(--white);
}
.step-indicator .step .label {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #888;
    font-weight: 600;
}
.step-indicator .step.active .label {
    color: var(--primary);
}
.step-indicator .step.done .label {
    color: #28a745;
}
