/* 
 * STYLE.CSS - NISSATECH OFICINA MECÂNICA
 * Oficina Mecânica Especializada em Niterói - Itaipu
 * SEO Otimizado para: oficina niteroi, oficina itaipu, troca oleo cambio
 * Última atualização: 2024-12-15
 */

/* Variáveis de cores - PALETA VERMELHA/PRETA */
:root {
    --primary: #ff3b30;
    --primary-dark: #d70015;
    --primary-light: #ff6b66;
    --secondary: #000000;
    --secondary-light: #1a1a1a;
    --secondary-lighter: #2a2a2a;
    --accent: #ff3b30;
    --text: #ffffff;
    --text-light: #e0e0e0;
    --text-lighter: #b0b0b0;
    --background: #000000;
    --background-light: #0a0a0a;
    --background-lighter: #1a1a1a;
    --border: #333333;
    --border-light: #444444;
    --success: #00d26a;
    --warning: #ff9500;
    --error: #ff3b30;
    --verde-whatsapp: #25D366;
    --branco: #ffffff;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 59, 48, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(255, 59, 48, 0.1);
    --shadow-md: 0 4px 16px rgba(255, 59, 48, 0.15);
    --shadow-lg: 0 8px 32px rgba(255, 59, 48, 0.2);
    --shadow-xl: 0 16px 48px rgba(255, 59, 48, 0.25);
    
    /* Efeitos de vidro */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cta-button.small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-button.fullwidth {
    width: 100%;
    justify-content: center;
}

.cta-button.nav-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Botões WhatsApp maiores - CORREÇÃO DO ALINHAMENTO */
.whatsapp-large {
    padding: 1.25rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: auto !important;
}

.whatsapp-large .fab {
    font-size: 1.3rem !important;
    margin-right: 0.5rem !important;
}

/* WhatsApp Float - CORREÇÃO DO ALINHAMENTO */
.whatsapp-float {
    position: fixed !important;
    bottom: 2.5rem !important;
    right: 2.5rem !important;
    background: var(--verde-whatsapp) !important;
    color: var(--branco) !important;
    padding: 1.3rem 2rem !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
    transition: all 0.4s ease !important;
    z-index: 1000 !important;
    font-size: 1.1rem !important;
    border: 2px solid transparent !important;
    animation: float 3s ease-in-out infinite !important;
    text-decoration: none !important;
    text-align: center !important;
    min-width: auto !important;
}

.whatsapp-float:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7) !important;
}

.whatsapp-float:active {
    transform: translateY(-1px) !important;
}

.float-text {
    font-size: 1rem !important;
    display: inline-block !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px var(--primary));
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--background);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 59, 48, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 59, 48, 0.05) 0%, transparent 50%),
        var(--background);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

/* Hero Stats - CORREÇÃO COMPLETA */
.hero-stats {
    display: flex;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 1.2s forwards;
    align-items: stretch;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.5rem;
}

.stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    min-height: 3rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-lighter);
    line-height: 1.2;
    margin-top: auto;
}

.hero-image {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.6s forwards;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-lighter);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--primary);
    margin: 0 auto 0.5rem;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Serviços Section */
.servicos-section {
    background: var(--background-light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.servico-card {
    background: var(--background-lighter);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.servico-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.6s ease;
}

.servico-card:hover::before {
    left: 0;
}

.servico-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servico-icon i {
    font-size: 2rem;
    color: white;
}

.servico-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.servico-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.servico-features {
    list-style: none;
    margin-bottom: 2rem;
}

.servico-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-lighter);
}

.servico-features i {
    color: var(--primary);
    font-size: 0.9rem;
}

.servico-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.servico-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.servico-price strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.section-cta {
    text-align: center;
    padding: 2rem 0 0;
    border-top: 1px solid var(--border);
}

.section-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Modal de Serviço */
.servico-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.servico-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--background-lighter);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.servico-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon i {
    font-size: 2rem;
    color: white;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.modal-subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.importancia-content {
    margin-bottom: 2rem;
}

.importancia-title {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.importancia-title i {
    color: var(--primary);
}

.importancia-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.beneficios-list {
    list-style: none;
    margin-bottom: 2rem;
}

.beneficios-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.beneficios-list i {
    color: var(--success);
    font-size: 0.9rem;
}

.modal-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.modal-cta .cta-button {
    width: 100%;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

/* Sobre Section */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-30px);
}

.feature-item.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Redes Sociais */
.redes-sociais {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--background-lighter);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.redes-sociais h4 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.social-card.instagram {
    background: linear-gradient(135deg, #E1306C 0%, #833AB4 100%);
    color: white;
}

.social-card.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0D5FD9 100%);
    color: white;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-card i {
    font-size: 1.5rem;
}

.social-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.sobre-cta {
    margin-top: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 500px;
}

.grid-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
}

.grid-item.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Contato Section */
.contato-section {
    background: var(--background-light);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--background-lighter);
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.info-card.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: white;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.info-note {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.contato-map {
    background: var(--background-lighter);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateX(30px);
    display: flex;
    flex-direction: column;
    height: 500px;
}

.contato-map.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

.map-container {
    flex: 1;
    background: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.map-actions {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.map-button {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.map-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 59, 48, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--secondary-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--background-lighter);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px) scale(1.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.footer-dev {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-dev i {
    color: var(--primary);
}

/* ========== CORREÇÕES PARA ANIMAÇÕES E MAPA ========== */

/* Aumentar significativamente o placeholder do mapa */
.map-placeholder {
    min-height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(135deg, var(--background-lighter) 0%, var(--secondary-light) 100%) !important;
    border-radius: 15px !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-xl) !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 2rem !important;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 59, 48, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 59, 48, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.map-placeholder i {
    font-size: 3rem !important;
    color: var(--primary) !important;
    margin-bottom: 1rem !important;
    z-index: 2;
    position: relative;
}

.map-placeholder p {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    z-index: 2;
    position: relative;
    text-align: center;
}

.map-placeholder p:first-of-type {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
}

/* Melhorar detecção de animação para serviços */
.servicos-section {
    position: relative;
}

.servico-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.servico-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Aumentar área de detecção para animações */
.animation-trigger-area {
    min-height: 200px;
    position: relative;
}

/* Otimizações específicas para mobile */
@media (max-width: 768px) {
    .map-placeholder {
        min-height: 250px !important;
        margin: 0 !important;
        padding: 1.5rem !important;
    }
    
    .map-placeholder i {
        font-size: 2.5rem !important;
    }
    
    .map-placeholder p {
        font-size: 1rem !important;
    }
    
    .map-placeholder p:first-of-type {
        font-size: 1.2rem !important;
    }
    
    /* Melhorar visibilidade dos elementos em mobile */
    .servico-card {
        margin-bottom: 1rem;
        padding: 1.5rem !important;
    }
    
    .servico-title {
        font-size: 1.3rem !important;
    }
    
    .servico-description {
        font-size: 1rem !important;
    }
}

/* Melhorar performance das animações */
@media (prefers-reduced-motion: reduce) {
    .servico-card {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ========== ANIMAÇÕES OTIMIZADAS ========== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Aplicar animações melhoradas */
.servico-card.animate-in {
    animation: slideInUp 0.4s ease-out forwards;
}

.feature-item.animate-in,
.info-card.animate-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Garantir que as seções tenham altura suficiente */
.servicos-section {
    min-height: auto;
    position: relative;
}

/* Feedback visual durante o loading */
body:not(.loaded) .animate-element {
    opacity: 0;
}

body.loaded .animate-element {
    transition: all 0.4s ease-out;
}

/* Animações Modernas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animações Flutuantes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-lg);
    }
}

/* Elementos animáveis */
.animate-element {
    opacity: 0;
}

/* Hover effects modernos */
.servico-card, .info-card {
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(255, 59, 48, 0.15),
        0 0 0 1px rgba(255, 59, 48, 0.1);
}

.cta-button {
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
}

/* WhatsApp Float Media Queries */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 2rem !important;
        right: 2rem !important;
        padding: 1.2rem 1.8rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1rem !important;
        right: 1rem !important;
        padding: 1.3rem 1.6rem !important;
        font-size: 1.2rem !important;
        min-width: auto !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .whatsapp-float .float-text {
        display: none;
    }
    
    .whatsapp-float {
        padding: 1rem;
        border-radius: 50%;
    }

    .map-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .whatsapp-large {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .servico-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .map-button {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        height: 35px;
    }

    .hero-img {
        height: 400px;
    }

    .image-grid {
        height: 400px;
    }

    .servico-card {
        padding: 1.5rem;
    }

    .whatsapp-large {
        width: 100%;
        justify-content: center;
    }

    .redes-sociais {
        padding: 1.5rem;
    }

    .social-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
}

/* Melhorias específicas para mobile */
@media (max-width: 768px) {
    /* Melhorar legibilidade geral */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Headers mais responsivos */
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    /* Botões mais touch-friendly */
    .cta-button {
        min-height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }

    /* Cards com melhor espaçamento */
    .servico-card {
        margin-bottom: 1rem;
    }

    /* Melhor hierarquia visual */
    .section-header {
        margin-bottom: 2rem;
    }

    /* Contraste melhorado */
    .text-light {
        color: var(--text-light) !important;
        font-weight: 500;
    }

    /* Feedback visual para interações */
    .cta-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Loading states */
    .loading {
        opacity: 0.7;
        pointer-events: none;
    }
}

/* Melhorias de performance para mobile */
@media (max-width: 768px) {
    /* Otimizar animações para mobile */
    .servico-card,
    .cta-button {
        transition: all 0.2s ease;
    }

    /* Reduzir efeitos pesados em mobile */
    .servico-card::before,
    .cta-button::before {
        display: none;
    }
}

/* ========== CARROSSEL ========== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 59, 48, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ========== BACKGROUND DOS SERVIÇOS ========== */
.servico-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    z-index: 1;
    opacity: 0.7;
}

.servico-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servico-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servico-icon i {
    font-size: 2rem;
    color: white;
}

/* Estilo para a imagem do mapa */
.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== CORREÇÕES PARA ANIMAÇÕES E MAPA ========== */

/* Aumentar significativamente o placeholder do mapa */
.map-placeholder {
    min-height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(135deg, var(--background-lighter) 0%, var(--secondary-light) 100%) !important;
    border-radius: 15px !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-xl) !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 2rem !important;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 59, 48, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 59, 48, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.map-placeholder i {
    font-size: 3rem !important;
    color: var(--primary) !important;
    margin-bottom: 1rem !important;
    z-index: 2;
    position: relative;
}

.map-placeholder p {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    z-index: 2;
    position: relative;
    text-align: center;
}

.map-placeholder p:first-of-type {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
}

/* Melhorar detecção de animação para serviços */
.servicos-section {
    position: relative;
}

.servico-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.servico-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Aumentar área de detecção para animações */
.animation-trigger-area {
    min-height: 200px;
    position: relative;
}

/* Otimizações específicas para mobile */
@media (max-width: 768px) {
    .map-placeholder {
        min-height: 250px !important;
        margin: 0 !important;
        padding: 1.5rem !important;
    }
    
    .map-placeholder i {
        font-size: 2.5rem !important;
    }
    
    .map-placeholder p {
        font-size: 1rem !important;
    }
    
    .map-placeholder p:first-of-type {
        font-size: 1.2rem !important;
    }
    
    /* Melhorar visibilidade dos elementos em mobile */
    .servico-card {
        margin-bottom: 1rem;
        padding: 1.5rem !important;
    }
    
    .servico-title {
        font-size: 1.3rem !important;
    }
    
    .servico-description {
        font-size: 1rem !important;
    }
}

/* Melhorar performance das animações */
@media (prefers-reduced-motion: reduce) {
    .servico-card {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ========== ANIMAÇÕES OTIMIZADAS ========== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Aplicar animações melhoradas */
.servico-card.animate-in {
    animation: slideInUp 0.4s ease-out forwards;
}

.feature-item.animate-in,
.info-card.animate-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Garantir que as seções tenham altura suficiente */
.servicos-section {
    min-height: auto;
    position: relative;
}

/* Feedback visual durante o loading */
body:not(.loaded) .animate-element {
    opacity: 0;
}

body.loaded .animate-element {
    transition: all 0.4s ease-out;
}

/* Animações Modernas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animações Flutuantes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-lg);
    }
}

/* Elementos animáveis */
.animate-element {
    opacity: 0;
}

/* Hover effects modernos */
.servico-card, .info-card {
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(255, 59, 48, 0.15),
        0 0 0 1px rgba(255, 59, 48, 0.1);
}

.cta-button {
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
}

/* WhatsApp Float Media Queries */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 2rem !important;
        right: 2rem !important;
        padding: 1.2rem 1.8rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1rem !important;
        right: 1rem !important;
        padding: 1.3rem 1.6rem !important;
        font-size: 1.2rem !important;
        min-width: auto !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .whatsapp-float .float-text {
        display: none;
    }
    
    .whatsapp-float {
        padding: 1rem;
        border-radius: 50%;
    }

    .map-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .whatsapp-large {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .servico-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .map-button {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        height: 35px;
    }

    .hero-img {
        height: 400px;
    }

    .image-grid {
        height: 400px;
    }

    .servico-card {
        padding: 1.5rem;
    }

    .whatsapp-large {
        width: 100%;
        justify-content: center;
    }

    .redes-sociais {
        padding: 1.5rem;
    }

    .social-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
}

/* Melhorias específicas para mobile */
@media (max-width: 768px) {
    /* Melhorar legibilidade geral */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Headers mais responsivos */
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    /* Botões mais touch-friendly */
    .cta-button {
        min-height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }

    /* Cards com melhor espaçamento */
    .servico-card {
        margin-bottom: 1rem;
    }

    /* Melhor hierarquia visual */
    .section-header {
        margin-bottom: 2rem;
    }

    /* Contraste melhorado */
    .text-light {
        color: var(--text-light) !important;
        font-weight: 500;
    }

    /* Feedback visual para interações */
    .cta-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Loading states */
    .loading {
        opacity: 0.7;
        pointer-events: none;
    }
}

/* Melhorias de performance para mobile */
@media (max-width: 768px) {
    /* Otimizar animações para mobile */
    .servico-card,
    .cta-button {
        transition: all 0.2s ease;
    }

    /* Reduzir efeitos pesados em mobile */
    .servico-card::before,
    .cta-button::before {
        display: none;
    }
}

.hero-text {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}