/* ==========================================================================
   LAPTOPTEC - CSS Estilos Gerais e Visual Premium
   ========================================================================== */

/* Definições de Reset e Variáveis Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    background-color: #fafafa;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color, #0f172a);
    font-weight: 700;
}

/* Botões Customizados */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color, #0f172a);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color, #3b82f6);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
}

.btn-outline {
    border: 2px solid var(--secondary-color, #3b82f6);
    color: var(--secondary-color, #3b82f6);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--secondary-color, #3b82f6);
    color: #ffffff;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Componentes Comuns de Seção */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color, #3b82f6);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.text-center {
    text-align: center;
}

.section-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color, #0f172a);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--secondary-color, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color, #3b82f6);
}

.nav-btn {
    background-color: var(--primary-color, #0f172a);
    color: #ffffff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
}

.nav-btn:hover {
    background-color: var(--secondary-color, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.menu-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--primary-color, #0f172a);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION / SLIDESHOW
   ========================================================================== */
.hero-section {
    position: relative;
    height: 620px;
    overflow: hidden;
    margin-top: 80px;
}

.slideshow-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.mySlides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.mySlides.active {
    display: block;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
}

.slide-content h2 {
    font-size: 3.5rem;
    color: #ffffff;
    max-width: 750px;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Efeito Transição Fade */
.fade {
    animation-name: fade;
    animation-duration: 1.2s;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

/* Controles de Slides */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.next {
    right: 30px;
}

.prev {
    left: 30px;
}

.prev:hover, .next:hover {
    background-color: var(--secondary-color, #3b82f6);
}

.slide-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 8px;
    width: 30px;
    margin: 0 4px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--secondary-color, #3b82f6);
    width: 45px;
}

/* ==========================================================================
   SOBRE NÓS / APRESENTAÇÃO
   ========================================================================== */
.about-section {
    padding: 7rem 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

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

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color, #3b82f6);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.25rem;
}

.about-image-container {
    display: flex;
    justify-content: flex-end;
}

.about-image-card {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.about-img {
    height: 420px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px -15px rgba(15,23,42,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-color, #0f172a);
    color: #ffffff;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.exp-years {
    font-size: 2rem;
    color: var(--secondary-color, #3b82f6);
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services-section {
    padding: 7rem 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

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

.service-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(15,23,42,0.06), 0 10px 10px -5px rgba(15,23,42,0.04);
    border-color: rgba(59, 130, 246, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--secondary-color, #3b82f6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color, #3b82f6);
    color: #ffffff;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ==========================================================================
   LOCALIZAÇÃO E MAPA
   ========================================================================== */
.location-section {
    padding: 7rem 0;
    background-color: #ffffff;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.location-details h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.location-details > p {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

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

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--secondary-color, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.detail-text p {
    color: #64748b;
    font-size: 0.95rem;
}

.btn-route {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 700;
    color: var(--secondary-color, #3b82f6);
    font-size: 0.95rem;
}

.btn-route:hover {
    color: #2563eb;
}

.btn-route i {
    transition: transform 0.2s ease;
}

.btn-route:hover i {
    transform: translateX(3px);
}

.location-map {
    width: 100%;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15,23,42,0.1);
    border: 1px solid #e2e8f0;
}

.map-container iframe {
    display: block;
}

.map-placeholder {
    height: 450px;
    background-color: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 1rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: #cbd5e1;
}

/* ==========================================================================
   SEÇÃO CONTATO / FORMULÁRIO GLASSMORPHISM
   ========================================================================== */
.contact-section {
    padding: 7rem 0;
    background-color: var(--primary-color, #0f172a);
    position: relative;
}

.contact-container {
    max-width: 850px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.form-row {
    display: flex;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.col-6 {
    width: 50%;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background-color: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background-color: rgba(255,255,255,0.12);
    border-color: var(--secondary-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-submit {
    margin-top: 2rem;
}

/* Alertas de Retorno do Formulário */
.form-alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ==========================================================================
   RODAPÉ / FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 5rem 0 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
    padding-bottom: 4rem;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.company-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.social-networks {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social-link:hover {
    background-color: var(--secondary-color, #3b82f6);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-info ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.95rem;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info ul li i {
    color: var(--secondary-color, #3b82f6);
}

.whatsapp-direct {
    color: #22c55e !important;
    font-weight: 700;
}

.whatsapp-direct:hover {
    color: #4ade80 !important;
}

.business-hours p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 2rem 0;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
}

/* Botão Flutuante do WhatsApp */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .hero-section {
        height: 520px;
    }
    .slide-content h2 {
        font-size: 2.8rem;
    }
    .about-grid, .location-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .about-image-container {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-col.company-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Menu Sanduíche Mobile */
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        padding: 2rem;
        transition: left 0.4s ease;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
    .nav-btn {
        text-align: center;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }
    .slide-content p {
        font-size: 1.05rem;
    }
    .prev, .next {
        display: none;
    }
    
    .contact-card {
        padding: 2.5rem 1.5rem;
    }
    .form-row {
        flex-direction: column;
        margin-bottom: 0;
    }
    .form-group.col-6 {
        width: 100%;
        margin-bottom: 1.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
