/* ===== ESTILO DA BARRA DE ROLAGEM OTIMIZADO ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00a8d6, #6a5cf6);
    border-radius: 4px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0097c2, #5a4fcf);
}

/* ===== VARIÁVEIS E CONFIGURAÇÕES GERAIS OTIMIZADAS ===== */
:root {
    --primary: #0a1a3a;
    --secondary: #00a8d6;
    --accent: #6a5cf6;
    --dark: #050a18;
    --light: #ffffff;
    --gray: #1a202c;
    --gray-light: #4a5568;
    --gray-lighter: #718096;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Cores para parceiros - atualizadas para combinar com nova paleta */
    --laranja-led: #f97316;
    --giga-security: #059669;
    --intelbras: #0d9488;
    --hikvision-red: #dc2626;
    --hikvision-gray: #6b7280;
    --tp-link: #0ea5e9;
    --jl-protec: #b91c1c;
    
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 168, 214, 0.15);
    
    --border-radius: 8px;
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

section {
    padding: 60px 0;
}

.highlight {
    color: var(--secondary) !important;
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 8px;
    font-family: var(--font-primary);
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    outline: none;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--primary);
    color: white !important;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* ===== NAVBAR OTIMIZADA ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background-color: rgba(10, 26, 58, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    position: relative;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    line-height: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

.logo-highlight {
    color: var(--secondary) !important;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3.5px;
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    position: relative;
    left: 0;
    white-space: nowrap;
    padding-left: 5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-right: 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-link:not(.contact-btn):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover:not(.contact-btn):after,
.nav-link:focus:not(.contact-btn):after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.nav-link.contact-btn {
    background-color: var(--secondary);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid transparent;
}

.nav-link.contact-btn:hover,
.nav-link.contact-btn:focus {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
    outline: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.nav-toggle:hover,
.nav-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

/* ===== HERO SECTION OTIMIZADA ===== */
.hero {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(0, 168, 214, 0.4);
    border-radius: 50%;
    animation: particle-float 15s infinite ease-in-out;
}

.particle.small {
    width: 3px;
    height: 3px;
}

.particle.medium {
    width: 5px;
    height: 5px;
}

.particle.large {
    width: 7px;
    height: 7px;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(10px) translateX(-10px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-15px) translateX(15px) scale(1.05);
        opacity: 0.7;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 5px;
    font-weight: 600;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-element {
    position: relative;
    width: 350px;
    height: 350px;
}

.circle-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--secondary), var(--accent), var(--secondary));
    animation: rotate 20s linear infinite;
    filter: blur(15px);
    opacity: 0.25;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.camera-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: var(--secondary);
    background-color: rgba(10, 26, 58, 0.9);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 168, 214, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.3rem;
    animation: bounce 2s infinite;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
    transition: var(--transition);
}

.scroll-indicator:hover,
.scroll-indicator:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    transform: translateX(-50%) scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-8px) translateX(-50%); }
    60% { transform: translateY(-4px) translateX(-50%); }
}

/* Estilo para o bloco de texto local (mantido conforme solicitado) */
.hero-local-seo {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-local-seo p {
    color: white;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.hero-local-seo strong {
    color: var(--secondary);
    font-weight: 700;
}

/* ===== SERVICES SECTION OTIMIZADA - ALTERADO PARA 2x2 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
    min-height: 320px;
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-description {
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    font-weight: 500;
}

.service-features {
    list-style: none;
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--gray);
    font-size: 0.92rem;
    font-weight: 500;
}

.service-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

/* ===== GALLERY SECTION OTIMIZADA ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 220px;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    padding: 18px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

/* LIGHTBOX OTIMIZADO */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-close:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.lightbox-nav:hover,
.lightbox-nav:focus {
    background-color: rgba(255, 255, 255, 0.25);
    outline: none;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
    padding: 0 20px;
}

/* ===== ABOUT SECTION OTIMIZADA ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    align-items: start;
}

.about-description {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 500;
}

.about-features {
    margin-bottom: 35px;
}

.feature {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.feature i {
    color: var(--secondary);
    font-size: 1.6rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary);
}

.feature p {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-cta {
    background-color: rgba(0, 168, 214, 0.08);
    padding: 22px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary);
}

.about-cta p {
    margin-bottom: 18px;
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.visual-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.visual-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.visual-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.visual-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 500;
}

/* ===== DEPOIMENTOS OTIMIZADOS ===== */
.testimonials {
    background-color: #f8f9ff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
    position: relative;
    padding-left: 18px;
    font-weight: 500;
}

.testimonial-content:before {
    content: '"';
    font-size: 3.5rem;
    color: var(--secondary);
    position: absolute;
    left: -10px;
    top: -25px;
    opacity: 0.25;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    flex-shrink: 0;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary);
}

.author-info p {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-top: 4px;
    display: flex;
    gap: 2px;
}

/* ===== PARCEIROS OTIMIZADOS ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 140px;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.partner-item.revealed {
    opacity: 1;
    transform: scale(1);
}

.partner-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.partner-logo {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.partner-name {
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

/* Efeitos de hover específicos para cada parceiro */
.partner-item.laranja-led:hover .partner-logo i,
.partner-item.laranja-led:hover .partner-name {
    color: var(--laranja-led);
}

.partner-item.giga-security:hover .partner-logo i,
.partner-item.giga-security:hover .partner-name {
    color: var(--giga-security);
}

.partner-item.intelbras:hover .partner-logo i,
.partner-item.intelbras:hover .partner-name {
    color: var(--intelbras);
}

.partner-item.hikvision:hover .partner-logo i {
    color: var(--hikvision-red);
}

.partner-item.hikvision:hover .partner-name {
    color: var(--hikvision-red);
}

.partner-item.tp-link:hover .partner-logo i,
.partner-item.tp-link:hover .partner-name {
    color: var(--tp-link);
}

.partner-item.jl-protec:hover .partner-logo i,
.partner-item.jl-protec:hover .partner-name {
    color: var(--jl-protec);
}

/* ===== CONTACT SECTION OTIMIZADA ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.contact-description {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 500;
}

.contact-details {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary);
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    border: 2px solid transparent;
}

.social-link:hover,
.social-link:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    outline: none;
}

.social-link .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-form-container {
    background-color: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    color: var(--gray);
    line-height: 1.4;
}

.form-group select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230a1a3a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

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

.form-group label {
    position: absolute;
    top: 14px;
    left: 14px;
    color: var(--gray-light);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
    background-color: white;
    padding: 0 5px;
    font-weight: 500;
}

/* CORREÇÃO: Remover animação para o select - o label fica sempre no topo */
.form-group select + label {
    top: -10px;
    font-size: 0.82rem;
    background-color: white;
    font-weight: 600;
    color: var(--gray-light);
    transition: none;
}

/* CORREÇÃO: Quando o select está focado, muda apenas a cor */
.form-group select:focus + label {
    color: var(--secondary);
}

/* CORREÇÃO: Para inputs e textarea, manter a animação normal */
.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -10px;
    font-size: 0.82rem;
    color: var(--secondary);
    background-color: white;
    font-weight: 600;
}

/* CORREÇÃO: Para o select, não aplicar a regra de :valid (já está fixo no topo) */
.form-group select:valid + label {
    /* Não alterar - já está no topo por padrão */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 214, 0.1);
}

.submit-btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 16px;
    margin-top: 10px;
    border: 2px solid transparent;
}

.submit-btn:hover,
.submit-btn:focus {
    outline: none;
}

.form-notice {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
}

.form-notice i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.form-notification {
    background: linear-gradient(135deg, var(--success), #0d9c6d);
    color: white;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid white;
}

.form-notification i {
    font-size: 1.2rem;
}

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

/* ===== FOOTER OTIMIZADO ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-logo .logo-text {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    line-height: 1;
    justify-content: flex-start;
    white-space: nowrap;
}

.footer-logo .logo-highlight {
    color: var(--secondary) !important;
}

.footer-logo .logo-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3.5px;
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
    position: relative;
    left: 0;
    white-space: nowrap;
    padding-left: 0;
    margin-left: 0;
}

.footer-about {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
    text-align: left;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-align: left;
}

.footer-links {
    list-style: none;
    text-align: left;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--secondary);
    padding-left: 4px;
    outline: none;
}

.footer-contact {
    list-style: none;
    text-align: left;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== RESPONSIVIDADE OTIMIZADA ===== */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.7rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-element {
        width: 280px;
        height: 280px;
    }
    
    .camera-icon {
        width: 140px;
        height: 140px;
        font-size: 4rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary);
        width: 100%;
        text-align: center;
        padding: 25px 0;
        gap: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .testimonial-card {
        padding: 22px;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .logo-subtitle {
        letter-spacing: 2.5px;
    }
    
    .footer-logo .logo-subtitle {
        letter-spacing: 2.5px;
    }
    
    .footer-col {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo .logo-text {
        justify-content: center;
    }
    
    .footer-logo .logo-subtitle {
        text-align: center;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .hero-local-seo {
        padding: 12px;
        margin: 20px 0;
    }
    
    .hero-local-seo p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .btn {
        padding: 11px 22px;
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 22px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-content {
        font-size: 0.92rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.4rem;
    }
    
    .footer-logo .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
    
    .hero-local-seo {
        padding: 10px;
    }
    
    .hero-local-seo p {
        font-size: 0.9rem;
    }
}