/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores baseadas no gradiente vermelho do logo */
    --primary-red: #E53E3E;
    --secondary-red: #C53030;
    --accent-red: #FC8181;
    --dark-red: #9B2C2C;
    
    /* Cores do WhatsApp */
    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #1DA851;
    --whatsapp-green-light: #DCF8C6;
    
    /* Cores neutras */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #E53E3E 0%, #C53030 50%, #9B2C2C 100%);
    --gradient-whatsapp: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    --gradient-gray: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    
    /* Outras cores */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-light: #E5E7EB;
}

body {
    font-family: 'Urbanist', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 56px; /* Aumentado de 48px para 56px */
    width: auto;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.desktop-menu a:hover {
    color: var(--primary-red);
}

.desktop-menu a.active {
    color: var(--primary-red) !important;
    font-weight: 600;
}

.desktop-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.whatsapp-button {
    background: var(--gradient-whatsapp);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: var(--whatsapp-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.icon-bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary-red);
}

.mobile-menu a.active {
    color: var(--primary-red) !important;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gray-50);
    overflow: hidden;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Urbanist', sans-serif;
}

.btn.small {
    background: var(--gradient-whatsapp);
    color: white !important; /* Garantindo texto branco */
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn.small:hover {
    background: var(--whatsapp-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: white !important; /* Garantindo texto branco no hover */
}

/* Botões específicos do WhatsApp */
.btn.primary.whatsapp {
    background: var(--gradient-whatsapp);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white !important; /* Garantindo texto branco */
}

.btn.primary.whatsapp:hover {
    background: var(--whatsapp-green-dark);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    color: white !important; /* Garantindo texto branco no hover */
}

/* Link de consulta sem fundo para seção de produtos */
.product-link {
    color: var(--whatsapp-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.product-link:hover {
    color: var(--whatsapp-green-dark);
    transform: translateX(5px);
}

.product-link i {
    font-size: 1rem;
}

.btn.secondary {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn.secondary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.btn.small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn.outline {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn.outline:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    /* animation: fadeInUp 0.8s ease-out 0.6s both; */
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Removido transition e hover transform para imagem fixa */
}

/* Sections */
section {
    padding: 80px 0;
}

/* Variação de fundos para dinamismo visual */
.hero {
    background: var(--gray-50);
}

.about {
    background: var(--white);
}

.products {
    background: var(--gray-50);
}

.repairs {
    background: var(--white);
}

.contact {
    background: var(--gray-50);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.about-box .section-title {
    margin-bottom: 1rem;
}

.about-box .section-subtitle {
    margin-bottom: 0;
}
.about {
    background: var(--bg-light);
}

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

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diferenciais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diferencial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

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

.diferencial-card .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.diferencial-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.diferencial-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

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

.product-card .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tags span {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.tags span:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Repairs Section */
.repairs {
    background: var(--bg-light);
}

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

.repairs-list h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    min-width: 24px;
}

.service-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.repairs-cta {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--gray-200);
    margin-top: 0; /* Garante que não há margem superior extra */
    height: 100%; /* Faz o box preencher a altura disponível */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribui o conteúdo verticalmente */
}

.repairs-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.repairs-cta p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
}

.cta-features .feature i {
    font-size: 1.2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info-card, .contact-whatsapp-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.contact-info-card:hover, .contact-whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-whatsapp-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact-info-card h3, .contact-whatsapp-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info-card p, .contact-whatsapp-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.contact-whatsapp-card .btn {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 250px;
    justify-content: center;
}

.schedule {
    margin-bottom: 1rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item span:first-child {
    font-weight: 500;
    color: var(--text-dark);
    margin-right: 1rem;
}

.schedule-item span:last-child {
    color: var(--text-medium);
    font-weight: 400;
}

.whatsapp-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Repairs Section Layout */
.repairs-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: stretch; /* Alinha os itens para preencher a altura */
}

@media (max-width: 1024px) {
    .repairs-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.whatsapp-benefits .benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo img {
    height: 56px; /* Mantendo consistência com o header */
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #CBD5E0;
    line-height: 1.6;
}

.footer-nav h3, .footer-contact h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--accent-red);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #CBD5E0; /* Branco para rodapé */
}

.contact-item i {
    width: 20px;
    color: var(--accent-red);
}

.contact-item a {
    color: #CBD5E0; /* Branco para rodapé */
    text-decoration: none;
}

.contact-item a:hover {
    color: white;
}

/* Estilos específicos para textos de contato na seção principal */
.contact-info-card .contact-item {
    color: var(--gray-700); /* Cinza mais escuro para melhor legibilidade */
}

.contact-info-card .contact-item a {
    color: var(--gray-700); /* Cinza mais escuro para melhor legibilidade */
}

.contact-info-card .contact-item a:hover {
    color: var(--gray-800);
}

.copyright {
    border-top: 1px solid #4A5568;
    padding-top: 2rem;
    text-align: center;
    color: #CBD5E0;
}

/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.whatsapp-floating-btn {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Reorganizando ordem dos elementos no mobile usando flexbox */
    .hero .container {
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
    .hero-content h1 {
        order: 1;
    }
    
    .hero-content p {
        order: 2;
    }
    
    .hero-image {
        order: 3;
        margin: 2rem auto;
    }
    
    .hero-content .hero-buttons {
        order: 4;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .repairs-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .diferenciais {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 48px; /* Menor no mobile */
    }
    
    .footer-logo img {
        height: 48px; /* Menor no mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
        justify-content: center;
    }
    
    .whatsapp-floating-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

