:root {
    --primary: #25D366; /* Verde WhatsApp */
    --primary-hover: #1ebd5b;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --accent: #38BDF8; /* Azul destaque */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

a {
    text-decoration: none;
    color: var(--text-muted);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ajuste da Logo no Header */
.nav img {
    height: auto; /* Mantém a proporção */
    max-height: 50px; /* Ajuste este valor conforme o formato da sua logo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav img:hover {
    transform: scale(1.05); /* Um leve zoom ao passar o mouse fica elegante */
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .nav img {
        max-height: 40px; /* Logo um pouco menor em telas pequenas para sobrar espaço */
    }
}

.logo { font-weight: 800; font-size: 1.5rem; }
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Botões */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-primary:hover { transform: translateY(-3px); background: var(--primary-hover); }
.btn-primary small { font-size: 0.7rem; font-weight: 400; opacity: 0.9; }

.btn-secondary {
    border: 1px solid var(--text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; }
h1 span { color: var(--accent); }

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-trust { margin-top: 40px; border-top: 1px solid #334155; padding-top: 20px; }
.hero-trust p { font-size: 0.9rem; margin-bottom: 0; }

/* Visual Side */
.glass-card {
    background: var(--dark-light);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
}

.browser-dots { display: flex; gap: 6px; padding: 10px; }
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; background: #475569; }

.glass-card img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* Responsividade */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .glass-card { transform: none; margin-top: 40px; }
}



/* Configurações Gerais de Seção */
.services {
    padding: 100px 0;
    background-color: var(--dark);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin: 15px 0;
}

.section-title span { color: var(--accent); }

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-light);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card.featured {
    border: 1px solid rgba(56, 189, 248, 0.3);
    position: relative;
    background: linear-gradient(145deg, var(--dark-light) 0%, #1e293b 100%);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 500;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
}



/* Seção Portfólio */
.portfolio {
    padding: 100px 0;
    background-color: #0b1120; /* Um tom levemente diferente para separar as seções */
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efeito Hover com Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.category {
    background: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
}

.portfolio-overlay h4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.portfolio-footer {
    text-align: center;
    margin-top: 50px;
}

.portfolio-footer p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Responsivo Portfólio */
@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}



/* Seção Diferenciais */
.benefits {
    padding: 100px 0;
    background-color: var(--dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.benefit-icon {
    font-size: 1.5rem;
    background: rgba(56, 189, 248, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Card de Performance (Visual) */
.benefits-visual {
    display: flex;
    justify-content: center;
}

.stats-card {
    background: var(--dark-light);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-main);
    font-weight: 600;
}

.stat-bar {
    height: 8px;
    background: #334155;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.stats-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsivo Diferenciais */
@media (max-width: 968px) {
    .benefits-grid { grid-template-columns: 1fr; gap: 50px; }
    .benefits-visual { order: -1; } /* Mostra o card de performance antes no mobile */
}



/* Seção Processo */
.process {
    padding: 100px 0;
    background-color: #0b1120;
    position: relative;
}

.process-header {
    text-align: center;
    margin-bottom: 70px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    position: relative;
}

/* Linha conectora opcional (apenas desktop) */
@media (min-width: 968px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: rgba(56, 189, 248, 0.1);
        z-index: 0;
    }
}

.step-card {
    background: var(--dark-light);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.step-card.highlight {
    background: linear-gradient(145deg, var(--dark-light) 0%, #1e1b4b 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

.step-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-main);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.process-cta {
    margin-top: 60px;
    text-align: center;
}

/* Responsivo Processo */
@media (max-width: 768px) {
    .process-steps { grid-template-columns: 1fr; }
    .step-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
}



/* Seção FAQ */
.faq {
    padding: 100px 0;
    background-color: var(--dark);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-light);
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--accent);
}

summary {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Ícone de seta customizado via CSS */
summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 400;
    transition: 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 25px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Efeito Hover */
.faq-item:hover {
    background: #26334d;
}



/* Rodapé Geral */
.main-footer {
    padding: 100px 0 40px;
    background-color: #020617; /* Tom ainda mais escuro para o fim */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Card de CTA dentro do Footer */
.footer-cta-card {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 80px;
    transform: translateY(-150px);
    margin-bottom: -100px; /* Efeito de sobreposição */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.footer-cta-card h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.footer-cta-card p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.footer-cta-card .btn-primary {
    background: white;
    color: var(--dark);
}

.footer-cta-card .btn-primary:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

/* Grid do Rodapé */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Logo no Footer */
.footer-logo {
    height: auto;
    max-height: 50px; /* No footer ela pode ser levemente maior que no header */
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* OPCIONAL: Se sua logo for escura, isso a torna branca para o fundo dark */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Alinhamento no Mobile */
@media (max-width: 968px) {
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        max-height: 60px;
    }
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-contact p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }

.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a { color: var(--accent); font-size: 0.85rem; text-decoration: none; border: 1px solid rgba(56, 189, 248, 0.2); padding: 5px 12px; border-radius: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    color: #475569;
    font-size: 0.8rem;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; }

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    pointer-events: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* Responsivo Footer */
@media (max-width: 968px) {
    .footer-cta-card { transform: none; margin-bottom: 60px; padding: 40px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .social-links { justify-content: center; }
    .whatsapp-tooltip { display: none; } /* Esconde tooltip no mobile */
}
