/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-yellow: #FFC107;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ===================================
   Header
   =================================== */
.header {
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    align-items: center;
}

.nav-list a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-list a:not(.btn-store)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: var(--transition);
}

.nav-list a:not(.btn-store):hover {
    color: var(--primary-yellow);
}

.nav-list a:not(.btn-store):hover::after {
    width: 100%;
}

.btn-store {
    background-color: var(--primary-yellow);
    color: #000 !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-store:hover {
    background-color: #ffb300 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* ===================================
   Nav Dropdown & Social Icons
   =================================== */
.nav-dropdown {
    position: relative;
}

.social-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.social-dropdown-btn svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-yellow);
}

.social-dropdown-btn:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    list-style: none;
    padding: 8px 0;
    min-width: 220px;
    /* Aumentado para caber os números e handles */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    /* Alinhado à esquerda para leitura mais fácil */
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-yellow);
    color: #000 !important;
    /* Força cor preta no hover */
}

/* Seta do Dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1a1a1a;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #000;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    /* Aumentado para maior nitidez conforme solicitado */
    z-index: 0;
}

/* Ambient Light Effect */
.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Acima do overlay para máxima visibilidade */
    overflow: hidden;
    pointer-events: none;
}

.glow-item {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.5) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0;
    animation: ambient-pulse 10s infinite ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: 4s;
}

.glow-3 {
    top: 30%;
    left: 30%;
    width: 800px;
    height: 800px;
    animation-delay: 2s;
}

@keyframes ambient-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.6) translate(-100px, -100px);
    }

    50% {
        opacity: 0.9;
        /* Muito mais visível */
        transform: scale(1.3) translate(100px, 100px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    /* Abaixo das luzes */
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 90px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
    margin: 20px 0;
    letter-spacing: 3px;
}

.hero-text {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: #000;
    padding: 16px 35px;
    /* Reduzido levemente para caber dois botões */
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    min-width: 220px;
    /* Garante tamanho uniforme */
}

.btn-hero:hover {
    background-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.5);
}

/* ===================================
   Services Info Cards
   =================================== */
.services-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Voltando para 3 colunas conforme solicitado */
    min-height: auto;
    /* Deixando a altura fluir com o conteúdo */
    background-color: var(--primary-yellow);
    width: 100%;
}

.info-card {
    padding: 40px 30px;
    /* Reduzi o padding de 60px para 40px para os cards ficarem menores */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.info-1 {
    background-color: #dfa705;
}

.info-2 {
    background-color: #d39e04;
}

.info-3 {
    background-color: #dfa705;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card .info-content {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    z-index: 1;
}

.info-card.dropdown-active .info-content {
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    filter: blur(10px);
    pointer-events: none;
}

.info-mini-title {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.info-main-title {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.1;
}

.btn-info {
    display: inline-block;
    padding: 10px 35px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 2;
    background: transparent;
}

.btn-info:hover {
    background: #fff;
    color: #000;
}

.info-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    backdrop-filter: blur(0px);
}

.info-card.dropdown-active .info-dropdown {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    backdrop-filter: blur(15px);
}

.dropdown-inner {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.dropdown-inner p {
    margin: 0;
    font-weight: 300;
}

.btn-card-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-card-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .services-info {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: auto;
        padding: 50px 20px;
    }
}

/* ===================================
   Instagram Section
   =================================== */
.instagram-section {
    background-color: #111;
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    color: #999;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 14px;
}

/* ===================================
   Instagram Section
   =================================== */
.instagram-section {
    background-color: #000;
    padding: 100px 0;
    overflow: hidden;
}

.instagram-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.instagram-content {
    flex: 1;
    text-align: left;
}

.instagram-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.instagram-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.section-subtitle {
    color: #999;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-primary-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-yellow);
    color: #000;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary-icon:hover {
    background-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.instagram-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .instagram-btns .btn-primary-icon {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Service Details
   =================================== */
.service-detail {
    padding: 100px 0;
    background-color: #1a1a1a;
    /* Background cinza conforme referência */
}

.detail-alt {
    background-color: #000;
}

.service-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-flex.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1.2;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

#celulares .service-image img {
    max-width: 240px;
    /* Reduzido significativamente a pedido do usuário */
    margin: 0 auto;
}

#games .service-image img,
#sistema .service-image img,
#lqhost-promo .service-image img {
    max-width: 700px;
    /* Padronizado com o notebook (aprox 700x350) */
    margin: 0 auto;
}

.service-info {
    flex: 1;
}

.detail-title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.detail-text {
    font-size: 16px;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 0;
    /* Removida margem pois o botão sumiu */
}

.detail-text b,
.detail-text strong {
    color: #fff;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 100px 0 240px;
    /* Aumentado significativamente para dar mais espaço antes das bandeiras */
    background-color: #222;
    /* Cinza escuro da LQ */
    text-align: center;
}

.about-section .section-title {
    color: #fff;
    margin-bottom: 25px;
}

.about-content {
    max-width: 800px;
    /* Levemente mais estreito como na imagem */
    margin: 0 auto;
    color: #fff;
    font-size: 15px;
    /* Ajustado tamanho da fonte */
    line-height: 1.8;
}

.about-content b,
.about-content strong {
    color: #fff;
    font-weight: 800;
}

/* ===================================
   Locations Section (Precise Split)
   =================================== */
.locations-section {
    background-color: #fff;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
    /* Garante que as bandeiras possam subir para a seção anterior */
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 0;
    /* Removida sobreposição do grid inteiro */
    position: relative;
    z-index: 10;
}

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

.flag-icon {
    width: 100%;
    max-width: 500px;
    /* Bandeiras maiores como na imagem */
    height: auto;
    margin: -160px auto 20px;
    /* Apenas as bandeiras sobem para a parte escura */
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.location-city {
    display: block;
    font-size: 24px;
    /* Ocupa o lugar do endereço removido */
    font-weight: 950;
    /* Super bold como na imagem */
    text-transform: uppercase;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.location-phone {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 100px 0;
    background-color: #000;
    text-align: center;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    /* Garante que os inputs e labels fiquem alinhados à esquerda dentro do formulário */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #999;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #0d0d0d;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-yellow);
    outline: none;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: #000;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 30px 0;
    background-color: #000;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {

    /* Header & Navigation */
    .header-main {
        padding: 10px 0;
    }

    .logo img {
        height: 35px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--darker-bg);
        padding: 80px 20px 40px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
        margin: 15px 0;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        padding: 0 20px;
    }

    .btn-hero {
        width: 100%;
    }

    /* Service Info Cards (Grid to Stack) */
    .services-info {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .info-card {
        min-height: 200px;
        padding: 40px 20px;
    }

    .info-main-title {
        font-size: 22px;
    }

    /* Detailed Sections (Flex to Stack) */
    .service-flex,
    .service-flex.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .service-image {
        order: 1;
        width: 100%;
    }

    .service-info {
        order: 2;
        width: 100%;
    }

    .service-image img,
    #celulares .service-image img {
        max-width: 100%;
        height: auto;
    }

    .detail-title {
        font-size: 28px;
    }

    /* Instagram */
    .instagram-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .instagram-content {
        order: 2;
    }

    .instagram-image {
        order: 1;
    }

    .instagram-btns {
        flex-direction: column;
        align-items: center;
    }

    /* About & Locations */
    .about-section {
        padding: 60px 0 160px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        margin-top: -100px;
        gap: 80px;
    }

    .flag-icon {
        max-width: 90%;
        margin-top: -120px;
    }

    .location-city {
        font-size: 20px;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .detail-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px;
    }
}