/* ============================================ */
/* RESET E BASE - TECHSERVICE                  */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FIX: sr-only para labels de acessibilidade ocultos visualmente */
.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;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #0F172A;
    line-height: 1.5;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

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

/* ============================================ */
/* HEADER                                      */
/* ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 6px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 68px;
    width: 68px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-texto {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #2563EB;
}

.logo-texto b {
    font-weight: 700;
    color: #0F172A;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: #0F172A;
    font-weight: 600;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav a:hover {
    color: #2563EB;
}

/* FIX: botão mobile agora é <button> semântico */
.menu-mobile {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: #F1F5F9;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #0F172A;
    transition: background 0.3s;
}

.menu-mobile:hover {
    background: #E2E8F0;
}

/* ============================================ */
/* WHATSAPP FLUTUANTE                          */
/* ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2BEA72, #00B341);
    color: white;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.6);
    z-index: 999;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ============================================ */
/* SEÇÕES                                      */
/* ============================================ */
section {
    padding: 56px 0;
}

.hero {
    padding-top: 96px;
    background: linear-gradient(135deg, #F1F5F9 0%, #ffffff 100%);
}

.hero-texto {
    max-width: 820px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: #2563EB;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 32px;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================ */
/* BOTÕES                                      */
/* ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: linear-gradient(90deg, #25D366, #128C7E);
    color: white;
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ============================================ */
/* CARDS                                       */
/* ============================================ */
.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 48px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    text-align: center;
}

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

.card-icon {
    font-size: 3rem;
    color: #2563EB;
    margin-bottom: 20px;
}

/* ============================================ */
/* MODELOS DE SITE (portfólio por nicho)        */
/* ============================================ */
.modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 24px;
}

.modelo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    background: white;
    border-radius: 20px;
    padding: 28px 20px 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.modelo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.14);
}

.modelo-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 640 / 315;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid #E2E8F0;
}

.modelo-nome {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1E293B;
}

.modelo-nicho {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 6px;
}

.modelo-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563EB;
}

.modelo-card:hover .modelo-cta {
    text-decoration: underline;
}

/* ============================================ */
/* CTA FINAL + FORMULÁRIO                      */
/* ============================================ */
.cta-final {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: white;
    text-align: center;
    border-radius: 48px;
    padding: 60px 40px;
}

#leadForm {
    max-width: 500px;
    margin: 30px auto 0;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2563EB;
}

.btn-cta {
    width: 100%;
}

/* Animação do feedback do formulário */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* FOOTER                                      */
/* ============================================ */
.footer {
    background-color: #0a0a1a;
    color: #a0a0b0;
    padding: 50px 0 90px;
    font-size: 0.85rem;
    border-top: 1px solid #1a1a2e;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-company-info {
    border-bottom: 1px solid #1a1a2e;
    padding-bottom: 20px;
}

.company-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
}

.company-cnpj {
    font-size: 0.75rem;
    color: #bbb;
}

.footer-linha {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
}

.footer-legal {
    width: 100%;
    border-top: 1px solid #1a1a2e;
    padding-top: 20px;
}

.copyright {
    color: #aaa;
    font-size: 0.75rem;
}

.footer-note {
    color: #999;
    font-size: 0.65rem;
    margin-bottom: 8px;
}

.footer-privacy {
    margin-top: 8px;
}

.privacy-link {
    color: #888;
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #e67e22;
    text-decoration: underline;
}

.footer-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-contact p {
    margin-bottom: 12px;
}

.contact-phone i,
.contact-email i {
    margin-right: 10px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.contact-phone i { color: #25d366; }
.contact-email i { color: #888; }

.contact-phone a {
    text-decoration: none;
    color: #a0a0b0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.contact-phone a:hover {
    color: #fff;
    background-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-phone a:hover i { color: #fff; }

.contact-email a {
    text-decoration: none;
    color: #a0a0b0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.contact-email a:hover {
    color: #fff;
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-email a:hover i { color: #fff; }

.footer-social { margin-top: 8px; }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #a0a0b0;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: fit-content;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.social-link.github:hover {
    color: #fff;
    background: #24292f;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.1rem;
    width: 20px;
}

.social-link.instagram:hover {
    color: #fff;
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================ */
/* RESPONSIVO - MOBILE (único bloco unificado) */
/* FIX: dois blocos @media duplicados removidos */
/* ============================================ */
@media (max-width: 768px) {

    /* Hero */
    .hero-texto { text-align: center; }

    .hero-title { font-size: 1.5rem; }

    .btn-group { justify-content: center; }
    .btn-group .btn { width: 100%; }

    .quem-faz { flex-direction: column; text-align: center; gap: 20px; }
    .quem-faz-foto { width: 150px; height: 150px; }

    /* Títulos */
    .section-title { font-size: 1.6rem; }

    /* Logo */
    .logo img { height: 54px; width: 54px; }
    .logo-texto { font-size: 1.1rem; }

    /* Nav: escondida por padrão no mobile */
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        align-items: center;
        gap: 15px;
        z-index: 999;
    }

    /* FIX: classe controlada por JS ao invés de style inline */
    .nav.nav-aberta {
        display: flex;
    }

    /* Botão mobile visível */
    .menu-mobile { display: flex; }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
        text-align: center;
    }

    .footer-col * { text-align: center !important; }

    .social-link { justify-content: center; }

    .contact-phone a,
    .contact-email a { justify-content: center; }

    /* Touch feedback mobile */
    .social-link.instagram:active {
        color: #fff;
        background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    }

    .contact-phone a:active {
        background-color: #128C7E;
        color: #fff;
        transform: scale(0.98);
    }

    .contact-phone a:active i { color: #fff; }
}


/* ============================================ */
/* NOVA PÁGINA (sites, sistemas e hospedagem)  */
/* ============================================ */
.secao-cinza { background: #F1F5F9; }

.link-simples {
    align-self: center;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
}

.link-simples:hover { text-decoration: underline; }

.section-title small {
    display: block;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #5B6B7F;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 24px;
}

.servico-card {
    position: relative;
    background: white;
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.servico-card--destaque {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.servico-etiqueta {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2563EB;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.servico-icone {
    font-size: 2rem;
    color: #2563EB;
    margin-bottom: 16px;
}

.servico-card h3 { margin-bottom: 8px; }
.servico-card p { color: #475569; }

.servico-lista { list-style: none; padding: 0; margin: 0; color: #475569; }
.servico-lista li { padding: 3px 0 3px 22px; position: relative; }
.servico-lista li::before { content: "✓"; position: absolute; left: 0; color: #2563EB; font-weight: 700; }

.faixa-pacotes { margin-top: 56px; }
.faixa-pacotes-titulo { text-align: center; font-size: 1.5rem; margin-bottom: 4px; }

.pacotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pacote {
    background: white;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pacote h4 { font-size: 1.1rem; }
.pacote p { color: #475569; font-size: 0.95rem; flex: 1; }
.pacote-preco { font-weight: 700; color: #2563EB; }
.pacotes-nota { margin-top: 12px; font-size: 0.9rem; color: #5B6B7F; text-align: center; }

.modelo-card { align-items: flex-start; text-align: left; }
.modelo-card--sem-link { cursor: default; }
.modelo-card--sem-link:hover { transform: none; }
.modelo-problema,
.modelo-solucao,
.modelo-resultado { font-size: 0.85rem; color: #475569; }
.modelo-resultado { font-weight: 600; color: #1E293B; }
.modelo-card .modelo-cta { margin-top: auto; padding-top: 6px; }

.quem-faz {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.quem-faz-foto {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
}
.quem-faz p + p { margin-top: 14px; }

.faq { max-width: 760px; }

.faq details {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 10px; color: #475569; }

.form-ou { margin-top: 28px; opacity: 0.8; }
.cta-final > .btn { margin-top: 8px; }
