/* ==========================================================================
   MM Mecânica Automotiva - Principal Styles
   Paleta: Preto/Grafite + Vermelho (#FF0000)
   Mobile-first, responsivo e moderno
   ========================================================================== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir overflow horizontal em todos os elementos */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Aplicar max-width apenas para elementos que podem vazar */
img:not(.partner-logo img):not(.verified-badge), 
.service-card, .review-card, .spec-card, 
.services-grid, .reviews-slider, .cases-grid {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================== */
/* ANIMAÇÕES DE ENTRADA - SISTEMA MODERNO */
/* ========================================== */

/* Keyframes para animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}





/* Classes de animação - APENAS PARA HERO E DIFFERENTIAL */
.fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.4s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.4s ease-out forwards;
}



/* Delays para animações sequenciais */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Estados iniciais para elementos animados - APENAS HERO E DIFFERENTIAL */
.hero-pretitle,
.hero-title,
.hero-subtitle,
.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* REMOVIDO: Animações das outras seções para melhor performance */

/* Reviews sempre visíveis - SEM animação para evitar oscilação */
.review-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: column !important;
    animation: none !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

/* Permitir apenas hover effects nas reviews */
.review-card:hover {
    transform: translateY(-5px) !important;
}

.differential-img,
.differential-text {
    opacity: 0;
    will-change: transform, opacity;
}

.differential-img {
    transform: translateX(-50px);
}

.differential-text {
    transform: translateX(50px);
}

/* Animações específicas para o hero - OTIMIZADAS */
.hero-loaded .hero-pretitle {
    animation: fadeInUp 0.4s ease-out 0.1s forwards;
}

.hero-loaded .hero-title {
    animation: fadeInUp 0.4s ease-out 0.2s forwards;
}

.hero-loaded .hero-subtitle {
    animation: fadeInUp 0.4s ease-out 0.3s forwards;
}

.hero-loaded .hero-cta {
    animation: fadeInUp 0.4s ease-out 0.4s forwards;
}



/* Animações para navegação */
.nav-menu {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease-out 0.1s forwards;
}

.nav-item {
    opacity: 0;
    transform: translateY(-20px);
}

.nav-loaded .nav-item:nth-child(1) { animation: fadeInDown 0.5s ease-out 0.1s forwards; }
.nav-loaded .nav-item:nth-child(2) { animation: fadeInDown 0.5s ease-out 0.2s forwards; }
.nav-loaded .nav-item:nth-child(3) { animation: fadeInDown 0.5s ease-out 0.3s forwards; }
.nav-loaded .nav-item:nth-child(4) { animation: fadeInDown 0.5s ease-out 0.4s forwards; }
.nav-loaded .nav-item:nth-child(5) { animation: fadeInDown 0.5s ease-out 0.5s forwards; }
.nav-loaded .nav-item:nth-child(6) { animation: fadeInDown 0.5s ease-out 0.6s forwards; }

/* Animações para partículas */
@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0);
    }
}

/* Efeitos de hover melhorados */
.service-card,
.spec-card,
.review-card {
    position: relative;
}

.service-card::after,
.spec-card::after,
.review-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.service-card:hover::after,
.spec-card:hover::after,
.review-card:hover::after {
    left: 100%;
}



/* Partner logos sem efeitos */
.partner-logo {
    position: relative;
}

/* Animações responsivas - SIMPLIFICADAS */
@media (max-width: 768px) {
    .service-card::after,
    .spec-card::after,
    .review-card::after {
        display: none;
    }
}

/* Preloader removido */

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.highlight {
    color: #FF0000;
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #f4f4f4;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #cc0000, #FF0000);
}

.btn-primary.btn-square {
    border-radius: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FF0000;
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.logo-img {
    height: 49px;
    width: auto;
    transform: translateY(10%);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF0000;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    background-image: url('images/fundo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 69%);
    z-index: 1;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 0 1rem;
    text-align: center;
}

.hero-content {
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.hero-pretitle {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Differential Section */
.differential {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.differential-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.differential-image {
    position: relative;
}

.differential-img {
    width: 100%;
    height: auto;
}

.differential-text .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.differential-text-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.differential-text-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.differential-text-content p {
    color: #cccccc;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

/* Services Section - Design Personalizado Moderno */
.services {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.116);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: hidden;
    overflow-y: visible;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    backdrop-filter: blur(15px);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    min-height: 180px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #FF0000 0%, rgba(255, 0, 0, 0.3) 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 0, 0, 0.05) 100%);
}



.service-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0.05) 100%);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0.1) 100%);
    border-color: #FF0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.3));
}

.service-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-description {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    color: #e0e0e0;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #FF0000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card:hover .feature-tag {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.2);
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.services-cta-text {
    margin-bottom: 2rem;
}

.services-cta-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.services-cta-text p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* Performance Section */
.performance {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.performance-partnership {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(227, 18, 28, 0.2);
}

.partnership-text {
    color: #cccccc;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.partnership-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

.partnership-logo:hover {
    filter: brightness(1.1);
}

.performance::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(227, 18, 28, 0.05) 0%, transparent 70%);
    animation: pulse 20s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(0) scale(1); opacity: 0.5; }
    50% { transform: translateX(25%) scale(1.1); opacity: 0.8; }
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.performance-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(227, 18, 28, 0.2);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.performance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e3121c, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.performance-card:hover::before {
    transform: translateX(100%);
}

.performance-card:hover {
    transform: translateY(-5px);
    border-color: #e3121c;
    box-shadow: 0 10px 30px rgba(227, 18, 28, 0.3);
}

.performance-card.featured {
    background: linear-gradient(135deg, #1a1a1a 0%, #e3121c 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.performance-card.featured::after {
    content: 'DESTAQUE';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e3121c;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.performance-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e3121c 0%, #ff4444 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.performance-icon svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.performance-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.performance-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.performance-features {
    list-style: none;
    padding: 0;
}

.performance-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    position: relative;
    padding-left: 2rem;
}

.performance-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e3121c;
    font-weight: bold;
}

.performance-list {
    list-style: none;
    padding: 0;
}

.performance-list li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.performance-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e3121c;
}

.performance-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(227, 18, 28, 0.1) 0%, rgba(227, 18, 28, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(227, 18, 28, 0.2);
    position: relative;
    overflow: hidden;
}

.performance-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 18, 28, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.performance-cta-content {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.performance-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.performance-cta-content p {
    color: #cccccc;
    font-size: 1.1rem;
}

.performance-cta .btn-secondary,
.performance-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0 0.5rem;
    position: relative;
    z-index: 1;
}

.performance-cta .btn-secondary {
    background: transparent;
    border: 2px solid #e3121c;
    color: #e3121c;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.performance-cta .btn-secondary:hover {
    background: #e3121c;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile adjustments for Performance */
@media (max-width: 768px) {
    
    .performance-cta-content h3 {
        font-size: 1.5rem;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-cta .btn-secondary {
        display: block;
        margin: 0.5rem auto;
        width: 90%;
    }
    
    .performance-partnership {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .partnership-text {
        font-size: 0.9rem;
    }
    
    .partnership-logo {
        height: 40px;
    }
}

/* Reviews Section - Inspirado no 21st Testimonials */
.reviews {
    padding: 5rem 0;
    overflow: visible;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Mobile - Reviews em coluna - TODAS VISÍVEIS */
@media (max-width: 768px) {
    .reviews-slider {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .review-card {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: left;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-family: serif;
    color: rgba(255, 0, 0, 0.15);
    z-index: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.google-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-number {
    color: #FF0000;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(255, 0, 0, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.review-text {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.read-more-btn {
    background: none;
    border: none;
    color: #FF0000;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    padding: 0;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #cc0000;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.author-info strong {
    color: #ffffff;
    display: block;
    font-weight: 600;
}

.reviews-verified {
    text-align: center;
    margin-top: 2rem;
}

.verified-badge {
    max-width: 320px !important;
    width: 320px !important;
    height: auto !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.verified-badge:hover {
    opacity: 1;
}


/* OPÇÃO 2: Design Minimalista com Badge de Especialidade */
.specializations {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop layout - 3 em cima, 2 centralizados embaixo mais largos */
@media (min-width: 1025px) {
    .specializations-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .spec-row-1 {
        display: flex;
        gap: 2rem;
        justify-content: space-between;
    }
    
    .spec-row-2 {
        display: flex;
        gap: 2rem;
        justify-content: center;
        width: 80%;
        margin: 0 auto;
    }
    
    .spec-card-large {
        width: calc(50% + 7.5%);
    }
}

.spec-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    overflow-x: hidden;
    overflow-y: visible;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.spec-card.featured {
    border-color: rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.05);
}

.spec-card.featured:hover {
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.08);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.1);
}

.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.spec-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.spec-card:hover .spec-icon {
    transform: scale(1.1);
}

.spec-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: left;
}

.spec-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.spec-badge.primary {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.spec-badge.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spec-card:hover .spec-badge.primary {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.spec-card:hover .spec-badge.secondary {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.spec-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: left;
}

/* Partners Section */
.partners {
    padding: 1rem 0;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.partners-carousel {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: scroll-partners 20s linear infinite;
    width: max-content;
    will-change: transform;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    text-align: center;
    padding: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    min-width: 160px;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    width: 138px;
    height: 69px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Cases Section - Inspirado no 21st Cards com melhor layout */
.cases {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 2.5rem;
    overflow-x: hidden;
    overflow-y: visible;
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.02) 0%, rgba(255, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.case-card:hover::before {
    opacity: 1;
}

.case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.3);
}

.case-images {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    z-index: 2;
}

.case-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

.case-description {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.case-testimonial {
    font-style: italic;
    color: #e0e0e0;
    border-left: 4px solid #FF0000;
    padding-left: 1.5rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    background: rgba(255, 0, 0, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #FF0000;
}

.case-testimonial::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 2rem;
    color: #FF0000;
    font-family: serif;
}

/* Contact Location Section */
.contact-location {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.contact-cta-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.contact-cta-center .btn-primary {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.contact-cta-center .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #cc0000, #FF0000);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Final CTA Section */
.final-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.cta-button {
    font-size: 1.0rem;
    padding: 1.1rem 3rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #cccccc;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #FF0000;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FF0000;
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
        position: relative;
    }
    
    .nav-logo {
        order: 0;
    }
    
    .nav-toggle {
        position: absolute;
        left: 1rem;
        order: -1;
    }
    
    .hero {
        background-image: url('images/fundo-mobile.webp');
        background-size: cover;
        background-position: center top;
        padding-top: 80px;
        min-height: 100vh;
        height: auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Differential responsivo */
    .differential-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .differential-text .section-header {
        text-align: center;
    }
    
    .differential-text-content h3 {
        font-size: 1.2rem;
    }
    
    .differential-text-content p {
        font-size: 0.95rem;
    }
    
    .differential-img {
        width: 85%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    /* Serviços responsivos */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
        min-height: 200px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .service-content {
        text-align: center;
    }

    .service-features {
        justify-content: center;
    }

    /* Reviews responsivos - FORÇAR TODAS VISÍVEIS */
    .reviews-slider {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .review-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .review-card {
        padding: 2rem;
    }

    .review-author::before {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Especializações responsivas */
    .specializations-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .spec-row-1,
    .spec-row-2 {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .spec-card-large {
        width: 100%;
    }

    .spec-card {
        padding: 2rem;
    }

    .spec-card.featured {
        transform: none;
    }

    .spec-card.featured:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .spec-icon {
        width: 70px;
        height: 70px;
    }

    /* Cases responsivos */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-images {
        height: 200px;
    }

    .case-content {
        padding: 2rem;
    }

    .case-testimonial {
        padding: 1.2rem;
    }

    /* Ajustes para animações em mobile */
    .service-card:hover,
    .review-card:hover,
    .spec-card:hover,
    .case-card:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .partners-carousel {
        display: flex;
        gap: 2rem;
        flex-wrap: nowrap;
        animation: scroll-partners 15s linear infinite;
        width: max-content;
    }
    
    .partners-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .partner-logo {
        flex-shrink: 0;
        min-width: 140px;
        padding: 0.5rem;
    }
    
    .partner-logo img {
        width: 120px;
        height: 60px;
        object-fit: contain;
    }
    
    /* Contact Location responsivo */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-cta-center {
        order: 2;
        padding: 1rem 0;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float-btn svg {
        width: 25px;
        height: 25px;
    }
}

/* Desktop - Centralizar hero content */
@media (min-width: 769px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        min-height: 70vh;
    }
    
    .hero-pretitle,
    .hero-title,
    .hero-subtitle {
        text-align: center;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .differential-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.8rem;
        gap: 1.2rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
    }

    .reviews-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .specializations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.0rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card,
    .spec-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 1.0rem 2rem;
        font-size: 1.0rem;
    }
}

/* Regras finais para prevenir overflow horizontal - mais específicas */
body {
    overflow-x: hidden;
}

.hero, .differential, .services, .reviews, .specializations, .contact-location, .final-cta {
    overflow-x: hidden;
    overflow-y: visible;
}

/* Seção de parceiros com overflow controlado */
.partners {
    overflow-x: hidden;
    overflow-y: visible;
}