/* =================================
   EVOQUE SISTEMAS - CUSTOM STYLES
   ================================= */

:root {
    /* Cores Principais */
    --primary-blue: #1e40af;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;
    --secondary-blue: #0ea5e9;
    --accent-gold: #fbbf24;
    --accent-gold-dark: #f59e0b;
    
    /* Cores Neutras */
    --black: #000000;
    --dark-gray: #0f172a;
    --medium-gray: #1e293b;
    --light-gray: #64748b;
    --white: #ffffff;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1e293b 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(30,58,138,0.7) 100%);
    
    /* Fontes */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 20px rgba(59,130,246,0.5);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/* =================================
   RESET E CONFIGURAÇÕES GERAIS
   ================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* =================================
   NAVBAR
   ================================= */

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar-brand {
    padding: 0;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue-light) !important;
}

.navbar-toggler {
    border-color: var(--primary-blue-light);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* =================================
   WHATSAPP FLOATING BUTTON
   ================================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* =================================
   HERO SECTION
   ================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../imagens/automacao-residencial.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue-dark);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    opacity: 1;
    color: var(--primary-blue-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   SECTIONS COMUNS
   ================================= */

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background: var(--gradient-dark);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.rounded-custom {
    border-radius: 15px;
}

/* =================================
   STATS
   ================================= */

.stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin: 0;
}

/* =================================
   SERVIÇOS
   ================================= */

.service-card {
    background: var(--gradient-dark);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue-light);
    box-shadow: var(--shadow-glow);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.7;
    margin: 0;
}

/* =================================
   COMO FUNCIONA
   ================================= */

.explanation-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
}

.explanation-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.explanation-text:last-child {
    margin-bottom: 0;
}

.how-it-works-card {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.how-it-works-card:hover {
    border-color: var(--primary-blue-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.how-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.how-description {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.7;
    margin: 0;
}

/* =================================
   BENEFÍCIOS
   ================================= */

.benefits-section {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
}

.benefits-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-blue-light);
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

/* =================================
   PARCEIROS
   ================================= */

.partnership-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

.partnership-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partnership-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.partnership-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.partnership-list i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.partnership-list strong {
    font-size: 1.25rem;
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
}

.partnership-list p {
    color: var(--light-gray);
    margin: 0;
    line-height: 1.6;
}

/* =================================
   CONTATO
   ================================= */

.contact-info-card {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary-blue-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.contact-info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    color: var(--light-gray);
    margin: 0;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary-blue-light);
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--accent-gold);
}

/* =================================
   FORMULÁRIO
   ================================= */

.contact-form-card {
    background: var(--gradient-dark);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.form-control,
.form-select {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background: rgba(0,0,0,0.7);
    border-color: var(--primary-blue-light);
    color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.form-floating > label {
    color: var(--light-gray);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-blue-light);
}

.form-select option {
    background: var(--dark-gray);
    color: var(--white);
}

/* =================================
   MAPA
   ================================= */

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
}

/* =================================
   FOOTER
   ================================= */

.footer {
    background: var(--black);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-text {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue-light);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-blue-light);
    font-size: 1.125rem;
    margin-top: 0.125rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.875rem;
    margin: 0;
}

/* =================================
   RESPONSIVIDADE
   ================================= */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .navbar-nav {
        background: rgba(0,0,0,0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 500px;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .benefits-section {
        padding: 1.5rem;
    }
}

/* =================================
   ANIMAÇÕES ADICIONAIS
   ================================= */

[data-aos] {
    transition-duration: 0.8s;
}

/* Smooth scroll */
@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utilitários */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow-hover:hover {
    box-shadow: var(--shadow-glow);
}

