* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    min-width: 280px;
}

/* ===== CUSTOM VARIABLES ===== */
:root {
    --primary-color: #0d6efd;
    --danger-color: #dc3545;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #495057;
    --gray-900: #212529;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--danger-color));
    border-radius: 2px;
}

/* About section title override */
.about-title {
    text-align: left;
}

.about-title::after {
    left: 0;
    transform: translateX(0);
}

/* ===== HEADER STYLES ===== */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--box-shadow);
}

.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--danger-color)) !important;
    font-size: 0.875rem;
}

.social-links-header a {
    font-size: 1rem;
    transition: var(--transition);
}

.social-links-header a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.header-main.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-main.scrolled .navbar {
    padding: 0.5rem 0;
}

.header-main.scrolled .navbar-brand img {
    height: 45px;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    background-color: var(--gray-100);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 50%, #f0f9ff 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 991px) {
    #home {
        margin-top: 3rem;
    }
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e3f2fd" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.4;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23007bff" opacity="0.1" class="particle"/><circle cx="80" cy="30" r="1.5" fill="%23dc3545" opacity="0.15" class="particle"/><circle cx="60" cy="70" r="0.8" fill="%23ffc107" opacity="0.1" class="particle"/><circle cx="30" cy="80" r="1.2" fill="%2320c997" opacity="0.12" class="particle"/></svg>') repeat;
    animation: floatParticles 25s linear infinite;
}

@keyframes floatParticles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
}

.badge-text {
    background: linear-gradient(45deg, var(--primary-color), var(--danger-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(45deg, var(--danger-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-700);
    max-width: 90%;
}

.hero-highlights {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-item {
    display: flex;
    align-items: center;
    text-align: left;
    transition: var(--transition);
    padding: 1rem;
    border-radius: 12px;
}

.highlight-item:hover {
    background: rgba(13, 110, 253, 0.05);
    transform: translateY(-2px);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.highlight-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.highlight-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
    font-weight: 500;
}

.hero-cta-section {
    margin-top: 3rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-btn-primary,
.hero-btn-secondary {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before,
.hero-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-btn-primary:hover::before,
.hero-btn-secondary:hover::before {
    left: 100%;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.3);
}

.hero-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.2);
}

.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.trust-item i {
    font-size: 1rem;
}

/* Hero Visual Section */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 70%;
    z-index: 2;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    z-index: 1;
}

.hero-secondary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.hero-floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.floating-card {
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 40%;
    left: -15%;
    animation-delay: 1s;
}

.floating-card-3 {
    bottom: 10%;
    right: 20%;
    animation-delay: 2s;
}

.floating-card .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    min-width: 120px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--danger-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-features li:last-child {
    border-bottom: none;
}

/* ===== ABOUT SECTION ===== */
/* About Images Grid */
.about-images-grid {
    position: relative;
    height: 500px;
    width: 100%;
}

.about-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    z-index: 2;
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-secondary-images {
    position: absolute;
    top: 30%;
    right: 0;
    width: 45%;
    height: 65%;
    z-index: 1;
}

.about-image-small {
    height: 48%;
    overflow: hidden;
    border-radius: 15px;
}

.about-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-small:hover img {
    transform: scale(1.05);
}

.about-floating-stats {
    position: absolute;
    bottom: 10%;
    left: 60%;
    z-index: 3;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
    font-weight: 500;
}

.experience-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    background: linear-gradient(135deg, var(--primary-color), var(--danger-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    animation: pulse 2s infinite;
    z-index: 3;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.badge-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.badge-text {
    font-size: 0.75rem;
    line-height: 1.2;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 1.25rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--danger-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin: 0.5rem;
    transition: var(--transition);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    padding: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--danger-color));
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--danger-color) 100%);
    color: var(--white) !important;
    border-radius: 50%;
    font-size: 1.75rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
    position: relative;
}

.contact-icon i {
    color: var(--white) !important;
    font-size: 1.75rem;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--danger-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.contact-content h6 {
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(45deg, var(--primary-color), var(--danger-color));
    border-radius: 20px 20px 0 0;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-50);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    background: var(--white);
    transform: translateY(-2px);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--danger-color) 100%) !important;
    border: none !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    color: var(--white) !important;
    transition: var(--transition) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3) !important;
}

.contact-btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.contact-btn-submit:hover::before {
    left: 100%;
}

.contact-btn-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.4) !important;
    background: linear-gradient(135deg, #0b5ed7 0%, #bb2d3b 100%) !important;
}

.contact-btn-submit:active {
    transform: translateY(-1px) !important;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800)) !important;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info-footer p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info-footer i {
    width: 20px;
    color: var(--primary-color);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.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: 1.75rem;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: pulse-whatsapp 2s infinite;
    transition: var(--transition);
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-highlights {
        margin: 2rem 0;
        padding: 2rem;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 3rem;
    }
    
    .hero-image-main {
        width: 80%;
        height: 60%;
        position: relative;
    }
    
    .hero-image-secondary {
        width: 70%;
        height: 45%;
        position: relative;
        margin-top: 1rem;
    }
    
    .floating-card {
        position: static;
        display: inline-block;
        margin: 0.5rem;
        animation: none;
    }
    
    .hero-floating-cards {
        position: static;
        margin-top: 2rem;
        text-align: center;
    }
    
    .about-images-grid {
        height: auto;
        margin-top: 3rem;
    }
    
    .about-main-image,
    .about-secondary-images,
    .about-floating-stats {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .about-image-small {
        display: inline-block;
        width: 48%;
        margin: 1%;
        height: 200px;
    }
    
    .experience-badge {
        position: static;
        display: inline-flex;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    .hero-highlights {
        padding: 1.5rem;
    }
    
    .highlight-item {
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .hero-trust-indicators {
        justify-content: center;
        gap: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }
    
    .top-bar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Centralizar conteúdo em mobile */
    .top-bar .container > .d-flex {
        justify-content: center !important;
    }
    
    /* Garantir que telefone fique em uma linha */
    .top-bar .d-flex.flex-nowrap {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        flex-wrap: nowrap !important;
        overflow: hidden;
    }
    
    /* Garantir que spans não quebrem */
    .top-bar .d-flex.flex-nowrap span {
        white-space: nowrap !important;
        flex-shrink: 0;
    }
    
    /* CSS específico para contatos do top-bar */
    .top-bar-contact {
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        min-width: fit-content;
    }
    
    .top-bar-contact * {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    /* Ocultar email em telas muito pequenas (menos de 576px) */
    .email-header {
        display: none !important;
    }
}

/* Small devices - mostrar email mas ocultar redes sociais */
@media (min-width: 576px) and (max-width: 767.98px) {
    .top-bar {
        font-size: 0.85rem;
    }
    
    /* Centralizar conteúdo em small screens */
    .top-bar .container > .d-flex {
        justify-content: center;
    }
    
    /* Garantir que telefone e email fiquem em uma linha */
    .top-bar .d-flex.flex-nowrap {
        white-space: nowrap;
    }
    
    /* Mostrar email em small screens */
    .email-header {
        display: inline !important;
    }
}

/* Medium devices e acima - layout normal */
@media (min-width: 768px) {
    .top-bar .container > .d-flex {
        justify-content: between;
    }
    
    .top-bar .d-flex.flex-nowrap {
        justify-content: flex-start;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-highlights .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .highlight-number {
        font-size: 1.75rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
}

/* ===== BLOG STYLES ===== */
.blog-card {
    transition: var(--transition);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.blog-category {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.blog-meta {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card .card-title a {
    transition: var(--transition);
    line-height: 1.4;
}

.blog-card .card-title a:hover {
    color: var(--primary-color) !important;
}

.blog-card .card-text {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Newsletter */
.newsletter-form input {
    border: 2px solid var(--gray-300);
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-image {
        height: 180px;
    }
    
    .blog-category {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .blog-card .card-title {
        font-size: 1.1rem;
    }
}

/* ===== MOBILE FIRST IMPROVEMENTS ===== */
/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* ===== HERO SECTION MOBILE FIXES ===== */
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-highlights {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
    }

    .highlight-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1.75rem 1rem;
        margin-bottom: 1.25rem;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        position: relative;
    }

    .highlight-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -0.625rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    }

    .highlight-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .highlight-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin: 0 auto 1rem;
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(220, 53, 69, 0.15));
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .highlight-number {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        background: linear-gradient(45deg, var(--primary-color), var(--danger-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .highlight-text {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--gray-700);
        line-height: 1.3;
    }
    
    /* Hero buttons mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero trust indicators mobile */
    .hero-trust-indicators {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .trust-item {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    /* Hero visual mobile */
    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }
    
    .hero-image-main {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .hero-main-img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .hero-image-secondary {
        position: relative;
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .hero-secondary-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px;
    }
    
    /* Floating cards mobile */
    .hero-floating-cards {
        position: relative;
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .floating-card {
        position: relative !important;
        animation: none !important;
        display: inline-block;
        margin: 0;
    }
    
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        animation-delay: 0s !important;
    }
    
    .floating-card .card {
        min-width: 100px;
        margin: 0;
    }
    
    .floating-card .card-body {
        padding: 1rem 0.75rem;
    }
    
    .floating-card .fs-3 {
        font-size: 1.25rem !important;
    }
    
    .floating-card h6 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .floating-card small {
        font-size: 0.7rem;
    }
    
    /* ===== ABOUT SECTION MOBILE FIXES ===== */
    .about-images-grid {
        height: auto !important;
        position: relative !important;
        margin-top: 2rem;
    }
    
    .about-main-image {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 2rem;
    }
    
    .about-main-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .about-images-grid {
        display: none !important;
    }
    
    /* Cards mobile optimization */
    .card-body {
        padding: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    /* Product cards mobile */
    .product-card .card {
        margin-bottom: 1.5rem;
    }
    
    /* Contact form mobile */
    .contact-card .card-body {
        padding: 1.5rem;
    }
    
    /* Blog cards mobile */
    .blog-card .card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .blog-card .card-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .blog-image {
        height: 160px;
    }
    
    /* Newsletter mobile */
    .newsletter-form .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input {
        max-width: 100% !important;
        margin-bottom: 0.5rem;
    }
    
    /* Stats mobile */
    .stat-card {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* FAQ accordion mobile */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .accordion-body {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    
    /* Map responsive */
    .map-container iframe {
        height: 250px !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero section adjustments for small tablets */
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-highlights {
        padding: 2rem 1.5rem;
    }
    
    .highlight-item {
        flex-direction: row;
        text-align: left;
    }
    
    .highlight-icon {
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: auto;
        flex: 1;
        max-width: 250px;
    }
    
    .hero-trust-indicators {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-floating-cards {
        justify-content: space-around;
    }
    
    .floating-card .card {
        min-width: 110px;
    }
    
    .blog-image {
        height: 170px;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card h4 {
        font-size: 1.2rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .blog-image {
        height: 190px;
    }
    
    .product-features {
        font-size: 0.9rem;
    }
}

