/* ========================================
   GeoPixel Services - Estilo Principal
   Baseado no design de referência
   ======================================== */

/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Variáveis CSS - Cores da marca GeoPixel */
:root {
    /* Cores do logotipo */
    --primary-teal: #16a399;
    --primary-teal-dark: #12877f;
    --primary-teal-light: #1cc4b8;
    --cyan-blue: #00b4d8;
    --golden-orange: #f9a825;
    --lime-green: #7cb342;
    --coral-red: #ff6b6b;
    --coral-orange: #ff7043;
    
    /* Cores neutras */
    --dark-bg: #0a0a0a;
    --dark-bg-secondary: #111111;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray-text: #666666;
    --dark-text: #333333;
    
    /* WhatsApp */
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Transições e bordas */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --border-radius: 8px;
    --border-radius-large: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER - Navegação Principal
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition-medium);
}

.header.scrolled {
    box-shadow: var(--shadow-hover);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo GeoPixel - Estilo Pixel Art */
.logo {
    display: flex;
    flex-wrap: wrap;
    width: 48px;
    height: 48px;
    gap: 2px;
}

.logo-pixel {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.logo-pixel.cyan { background: var(--cyan-blue); }
.logo-pixel.teal { background: var(--primary-teal); border: 2px solid var(--primary-teal-dark); }
.logo-pixel.orange { background: var(--golden-orange); }
.logo-pixel.green { background: var(--lime-green); }
.logo-pixel.coral { background: var(--coral-red); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-title .geo {
    color: var(--cyan-blue);
}

.logo-title .pixel {
    color: var(--coral-red);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--golden-orange);
    font-weight: 500;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-teal);
}

.nav-link:hover::after {
    width: 100%;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-title span {
    color: var(--golden-orange);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-teal);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: var(--light-gray);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn i {
    font-size: 1.2rem;
}

/* ========================================
   SEÇÃO DE DIFERENCIAIS
   ======================================== */
.diferenciais {
    padding: 80px 20px;
    background: var(--primary-teal);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.diferencial-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-fast);
}

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

.diferencial-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.diferencial-card:nth-child(1) .diferencial-icon {
    background: var(--cyan-blue);
}

.diferencial-card:nth-child(2) .diferencial-icon {
    background: var(--golden-orange);
}

.diferencial-card:nth-child(3) .diferencial-icon {
    background: var(--lime-green);
}

.diferencial-card:nth-child(4) .diferencial-icon {
    background: var(--coral-red);
}

.diferencial-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.diferencial-text {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ========================================
   SEÇÃO DE SERVIÇOS
   ======================================== */
.servicos {
    padding: 80px 20px;
    background: var(--light-gray);
}

.servicos .section-badge {
    background: rgba(22, 163, 153, 0.1);
    color: var(--primary-teal);
}

.servicos .section-title {
    color: var(--dark-text);
}

.servicos .section-subtitle {
    color: var(--gray-text);
}

.servicos-container {
    display: flex;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Sidebar */
.servicos-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--primary-teal);
    border-radius: var(--border-radius-large);
    padding: 35px 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.sidebar-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.sidebar-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-contact .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    justify-content: center;
}

/* Grid de Serviços */
.servicos-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.servico-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-fast);
}

.servico-card:hover {
    box-shadow: var(--shadow-hover);
}

.servico-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--light-gray);
}

.servico-card:nth-child(1) .servico-header { border-left: 4px solid var(--cyan-blue); }
.servico-card:nth-child(2) .servico-header { border-left: 4px solid var(--golden-orange); }
.servico-card:nth-child(3) .servico-header { border-left: 4px solid var(--lime-green); }
.servico-card:nth-child(4) .servico-header { border-left: 4px solid var(--coral-red); }
.servico-card:nth-child(5) .servico-header { border-left: 4px solid var(--primary-teal); }

.servico-icon {
    font-size: 2rem;
}

.servico-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    flex: 1;
}

.servico-toggle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    transition: var(--transition-fast);
}

.servico-card.active .servico-toggle {
    transform: rotate(180deg);
    background: var(--primary-teal);
    color: var(--white);
}

.servico-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.servico-card.active .servico-body {
    padding: 25px 30px;
    max-height: 2000px;
}

.servico-subsection {
    margin-bottom: 20px;
}

.servico-subsection:last-child {
    margin-bottom: 0;
}

.servico-subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.servico-subsection-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--golden-orange);
    border-radius: 2px;
}

.servico-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}

.servico-item {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-text);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.servico-item::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-size: 1.1rem;
    font-weight: bold;
}

.servico-item:hover {
    color: var(--dark-text);
}

.servico-cta {
    padding: 20px 30px 25px;
    border-top: 1px solid var(--light-gray);
    display: none;
}

.servico-card.active .servico-cta {
    display: block;
}

.btn-servico {
    width: auto;
    padding: 12px 25px;
    font-size: 0.9rem;
}

/* ========================================
   SEÇÃO DO PROFISSIONAL
   ======================================== */
.profissional {
    padding: 80px 20px;
    background: var(--white);
}

.profissional .section-badge {
    background: rgba(22, 163, 153, 0.1);
    color: var(--primary-teal);
}

.profissional .section-title {
    color: var(--dark-text);
}

.profissional .section-subtitle {
    color: var(--gray-text);
}

.profissional-content {
    display: flex;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

.profissional-text {
    flex: 1;
}

.profissional-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.profissional-text p {
    color: var(--gray-text);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.profissional-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
}

.prof-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.prof-card:nth-child(1) { border-left-color: var(--cyan-blue); }
.prof-card:nth-child(2) { border-left-color: var(--golden-orange); }
.prof-card:nth-child(3) { border-left-color: var(--lime-green); }
.prof-card:nth-child(4) { border-left-color: var(--coral-red); }

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

.prof-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.prof-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.prof-card-text {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ========================================
   SEÇÃO DE CONTACTO
   ======================================== */
.contacto {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    text-align: center;
}

.contacto-content {
    max-width: 700px;
    margin: 0 auto;
}

.contacto h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.contacto p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.contacto-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-teal-dark);
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text .geo { color: var(--cyan-blue); }
.footer-logo-text .pixel { color: var(--coral-red); }

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--cyan-blue);
    font-size: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

/* ========================================
   BOTÃO WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 1100px) {
    .servicos-container {
        flex-direction: column;
    }
    
    .servicos-sidebar {
        width: 100%;
        position: static;
    }
    
    .sidebar-contact {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-contact .btn {
        flex: 1;
        min-width: 200px;
    }
    
    .profissional-content {
        flex-direction: column;
    }
    
    .profissional-cards {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: var(--transition-medium);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .servico-list {
        grid-template-columns: 1fr;
    }
    
    .profissional-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 15px 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .servico-header {
        padding: 20px;
    }
    
    .servico-body {
        padding: 0 20px;
    }
    
    .servico-card.active .servico-body {
        padding: 20px;
    }
    
    .servico-cta {
        padding: 15px 20px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}