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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.header {
    background: #1f2937;
    color: white;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
    border-radius: 1px;
}

.header-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.header-social-link.whatsapp-header:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Estilo específico para Instagram no header */
.header-social-link[title="Instagram"]:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: #dc2743;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* Estilo específico para LinkedIn no header */
.header-social-link[title="LinkedIn"]:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 70vh;
    /* Fundo com gradiente azul para teal como no ícone */
    background: 
        /* Gradiente principal: azul para teal/verde */
        linear-gradient(180deg, #3b82f6 0%, #06b6d4 50%, #10b981 100%),
        /* Forma elíptica sutil no centro superior */
        radial-gradient(ellipse 400px 200px at 50% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 70%),
        /* Forma circular sutil na direita */
        radial-gradient(circle 250px at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%;
    
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    display: flex;
    align-items: center;
}



.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2; /* Fica sobre a textura de fundo */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 2rem;
    color: #333;
}

.hero-slide.active {
    display: flex !important;
}

.hero-slide-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    background: transparent;
}

.hero-slide-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-slide-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff; /* Texto branco para melhor contraste */
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra mais forte */
}

.hero-slide-subtitle {
    font-size: 1.6rem;
    color: #e0f2fe; /* Azul claro para melhor contraste */
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-slide-description {
    font-size: 1.25rem;
    color: #bae6fd; /* Azul mais claro para melhor contraste */
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-slide-buttons {
    display: flex !important;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.25rem 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 1rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #3b82f6;
    border-color: #3b82f6;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.hero-slide-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.hero-slide-img:hover {
    transform: none;
    box-shadow: none;
}

.hero-slider-nav {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    align-items: center;
    z-index: 10;
}

.hero-slider-prev,
.hero-slider-next {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    color: #3b82f6;
}

.hero-slider-dots {
    display: flex;
    gap: 1rem;
}

.hero-slider-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-slider-dot.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: #3b82f6;
    transform: scale(1.3);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* ===== SEÇÃO PARCEIROS ===== */
.partners-animated {
    padding: 40px 0; /* Remove padding lateral para a faixa ocupar a largura toda */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden; /* Garante que o carrossel não cause overflow */
}

.partners-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    position: relative;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 1px;
}

/* ===== PARTNERS SIMPLE CAROUSEL ===== */
.partners-cloud {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.partners-track {
    position: relative; /* Essencial para o posicionamento absoluto dos logos */
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #e5e7eb;
    padding: 15px 20px; /* Padding horizontal e vertical equilibrado */
    height: 80px; /* Altura um pouco maior para acomodar melhor */
}

.partners-logos-container {
    position: relative;
    height: 100%;
    /* As propriedades de layout como flex, gap, etc., foram removidas.
       O JavaScript agora controla a posição de cada logo individualmente com 'position: absolute'. */
}

.partner-logo {
    height: 45px; /* Altura reduzida para melhor proporção */
    width: auto;
    max-width: 120px; /* Largura máxima reduzida */
    object-fit: contain;
    filter: grayscale(0.2) brightness(0.95);
    transition: filter 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
    /* A propriedade 'position: absolute' é definida via JS */
}

.partner-logo:hover {
    filter: grayscale(0) brightness(1);
    transform: scale(1.06);
}

/* A animação @keyframes partners-marquee foi removida pois não é mais utilizada. */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 2rem 80px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 500px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.quote {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 600;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4b5563;
}

.feature i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-top: 1rem;
}

.features-grid {
    display: grid;
    /* Usa auto-fit para criar um grid responsivo que quebra a linha automaticamente */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #2563eb;
}

.feature-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 220px;
}

/* ===== SEÇÃO PORTFÓLIO INTEGRADA ===== */
.portfolio-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(37, 99, 235, 0.1);
}

.portfolio-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2.5rem;
    position: relative;
}

.portfolio-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 2px;
}

.portfolio-section .stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-section .stat {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio-section .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.portfolio-section .stat-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 2rem;
    background: white;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    color: white;
    font-size: 1.8rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #2563eb;
}

.service-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.saiba-mais-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.saiba-mais-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
}

/* ===== MODAIS DE SERVIÇO ===== */
.service-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 650px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2001;
    margin: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
}

.service-modal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 1px;
}

.service-modal-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.service-modal-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.service-modal-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    flex: 1;
    min-width: 0;
    letter-spacing: -0.025em;
}

.modal-close-btn {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 1px solid rgba(229, 231, 235, 0.5);
    font-size: 1.3rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.modal-close-btn:hover::before {
    opacity: 1;
}

.modal-close-btn:hover {
    color: white;
    border-color: #ef4444;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal-close-btn i {
    position: relative;
    z-index: 1;
}

.service-modal-body {
    margin-bottom: 2.5rem;
    word-wrap: normal;
    overflow-wrap: normal;
}

.service-modal-description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    word-wrap: normal;
    overflow-wrap: normal;
    white-space: normal;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border-left: 4px solid #3b82f6;
    position: relative;
}

.service-modal-description::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0 8px;
    font-size: 1.2rem;
}

.service-modal-features {
    margin-bottom: 2.5rem;
}

.service-modal-features h4 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-modal-features h4::before {
    content: '✨';
    font-size: 1.2rem;
}

.service-modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.service-modal-features li {
    padding: 1rem 1.25rem;
    color: #374151;
    position: relative;
    padding-left: 2.5rem;
    word-wrap: normal;
    overflow-wrap: normal;
    white-space: normal;
    font-size: 1rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.service-modal-features li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.service-modal-features li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.service-modal-price {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 2.5rem;
    word-wrap: normal;
    border: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.service-modal-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.service-modal-price h4 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-modal-price p {
    color: #1d4ed8;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(29, 78, 216, 0.1);
}

.service-modal-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.service-modal-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.service-modal-footer .btn {
    margin: 0.75rem;
    white-space: nowrap;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-modal-footer .btn:hover::before {
    left: 100%;
}

/* ===== RESPONSIVIDADE DOS MODAIS ===== */
@media (max-width: 768px) {
    .service-modal {
        max-width: 90vw;
        padding: 2rem;
        margin: 0.5rem;
        max-height: 90vh;
    }
    
    .modal-overlay {
        padding: 0.5rem;
    }
    
    .service-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .service-modal-header h3 {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .service-modal-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .service-modal-description {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .service-modal-features h4 {
        font-size: 1.2rem;
    }
    
    .service-modal-footer .btn {
        display: block;
        width: 100%;
        margin: 0.75rem 0;
        text-align: center;
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-modal {
        max-width: 95vw;
        padding: 1.75rem;
        margin: 0.25rem;
        max-height: 95vh;
    }
    
    .service-modal-header h3 {
        font-size: 1.4rem;
    }
    
    .service-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .service-modal-description {
        font-size: 0.95rem;
        padding: 1.25rem;
    }
    
    .service-modal-features h4 {
        font-size: 1.1rem;
    }
    
    .service-modal-features li {
        font-size: 0.95rem;
        padding: 0.9rem 1.25rem;
    }
    
    .service-modal-price {
        padding: 1.75rem;
    }
    
    .service-modal-price h4 {
        font-size: 1.1rem;
    }
    
    .service-modal-price p {
        font-size: 1.5rem;
    }
    
    .service-modal-footer .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-header {
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-title i {
    color: #2563eb;
    font-size: 1.5rem;
}

.modal-description {
    color: #6b7280;
    line-height: 1.6;
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-body h4 {
    color: #1f2937;
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.modal-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 0.5rem;
    border: 2px solid transparent;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #3b82f6;
    border-color: #3b82f6;
    backdrop-filter: blur(10px);
}

.modal-btn-secondary:hover {
    background: #3b82f6;
    color: white;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

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

.contact-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Regra específica para garantir o gradiente */
.contact .section-title {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #e5e7eb;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
    transition: none;
}

.contact-item:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
}

.contact-item i {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.contact-item i:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.contact-text h4 {
    color: #60a5fa;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: none;
}

.contact-text p,
.contact-text a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    text-shadow: none;
}

.contact-text a:hover {
    color: #60a5fa;
    text-shadow: 0 1px 3px rgba(96, 165, 250, 0.3);
}

/* ===== CORES ESPECÍFICAS PARA CONTATOS ===== */
.phone-number {
    color: #3b82f6 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(59, 130, 246, 0.3) !important;
}

.whatsapp-link {
    color: #25d366 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(37, 211, 102, 0.3) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #22c55e !important;
    text-shadow: 0 2px 6px rgba(37, 211, 102, 0.5) !important;
    transform: translateX(2px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #e5e7eb;
    font-weight: 400;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

.form-submit .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.form-submit .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* ===== RESPONSIVIDADE DA SEÇÃO DE CONTATO ===== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Força uma única coluna em telas móveis */
    }

    .contact {
        padding: 60px 1.5rem;
    }
    
    .contact-header .section-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
    }
    
    .contact-text p,
    .contact-text a {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-submit .btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 50px 1rem;
    }
    
    .contact-header .section-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 2.5fr;
    gap: 2.5rem;
    align-items: start;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #2563eb;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-whatsapp:hover {
    color: #25d366 !important;
    transform: translateX(3px);
}

.footer-whatsapp i {
    font-size: 1rem;
}

/* ===== ÍCONES SOCIAIS DO FOOTER ===== */
.footer-social {
    margin-bottom: 2rem;
}

.footer-social-title {
    display: block;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-social-link i {
    font-size: 1.3rem;
}

/* Estilo específico para WhatsApp no footer */
.footer-social-link.whatsapp-footer:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Estilo específico para Instagram no footer */
.footer-social-link[title="Instagram"]:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: #dc2743;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* Estilo específico para LinkedIn no footer */
.footer-social-link[title="LinkedIn"]:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}


.addresses-horizontal {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
    max-width: 100%;
    min-height: 170px;
}

.address-card-with-map {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 170px;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.address-card-with-map:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.address-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-map {
    align-self: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 0.4rem;
    margin-top: 0.5rem;
}

.address-map iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 200px;
    height: 110px;
}

.address-map iframe:hover {
    transform: scale(1.05);
}

.address-separator {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #6b7280, transparent);
    justify-self: center;
    margin-top: 0.5rem;
    opacity: 0.6;
    border-radius: 1px;
}

.address-header-inline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.address-header-inline i {
    color: #3b82f6;
    font-size: 1rem;
    background: rgba(59, 130, 246, 0.15);
    padding: 0.6rem;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-header-inline h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.address-info-inline {
    color: #9ca3af;
    line-height: 1.6;
}

.address-item-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.address-item-inline i {
    color: #2563eb;
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.address-link-inline {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.4;
}

.address-link-inline:hover {
    color: #2563eb;
    text-decoration: underline;
}

.address-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.address-item-inline a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.address-item-inline a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 1rem 60px;
    }
    
    .hero-slide-title {
        font-size: 2rem;
    }
    
    .hero-slide-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-slide-buttons {
        justify-content: center;
    }
    
    .partners-title {
        font-size: 1.5rem;
    }
    
    .partners-cloud {
        padding: 2rem 1rem;
    }
    
    .partners-logos-container {
        gap: 2rem;
    }
    
    .partner-logo {
        height: 35px;
        max-width: 80px;
    }
    
    /* Responsividade para endereços no footer */
    .addresses-horizontal {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .address-separator {
        display: none;
    }
    
    .address-card-with-map {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-slide-title {
        font-size: 1.75rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-slide-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .partners-title {
        font-size: 1.4rem;
    }
    
    .partners-cloud {
        padding: 1rem;
    }
    
    .partners-logos-container {
        gap: 1.5rem;
    }
    
    .partner-logo {
        height: 30px;
        max-width: 70px;
    }
}

/* ===== MEDIA QUERIES ADICIONAIS PARA MELHOR RESPONSIVIDADE ===== */

/* Telas de tablet (e telas de desktop menores) */
@media (max-width: 1024px) {
    /* Adiciona overflow hidden para seções principais para evitar scroll horizontal */
    .about, .why-choose-us, .services, .portfolio-section, .contact {
        overflow-x: hidden;
    }

    .header {
        padding: 1rem;
    }

    .nav-menu {
        display: none; /* Esconde o menu por padrão */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1f2937;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex; /* Mostra o menu quando ativo */
    }

    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    .nav-toggle {
        display: block; /* Mostra o botão do menu */
    }

    .header-social {
        display: none; /* Esconde ícones sociais para economizar espaço */
    }

    .hero-slide-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem; /* Reduz padding lateral */
    }

    .hero-slide-text {
        max-width: 100%;
        order: 2;
    }

    .hero-slide-image {
        order: 1;
        max-width: 80%; /* Ajusta a imagem para não ser tão grande */
        margin: 0 auto;
    }

    .hero-slider-nav {
        bottom: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-image {
        order: 1; /* Move a imagem para baixo do texto */
        margin-bottom: 0;
        max-width: 80%; /* Garante que a imagem não seja muito grande */
        justify-self: center;
    }

    .about-text {
        order: 2; /* Texto vem primeiro */
    }

    .features-grid {
        grid-template-columns: 1fr; /* Uma coluna para os cards */
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-brand {
        margin: 0 auto;
    }
}

/* Refinamentos para celulares */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-section .stats-cards,
    .addresses-horizontal {
        grid-template-columns: 1fr;
    }

    .portfolio-section .portfolio-item {
        /* Garante que os itens do portfólio não causem overflow */
        overflow: hidden;
        text-align: center;
    }

    .portfolio-item img {
        max-width: 100%;
        height: auto;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .address-card-with-map {
        /* Garante que os cards do footer fiquem centralizados */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

