/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.section-description {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    padding: 16px 32px;
    border: 2px solid #667eea;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f8f9fa;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #1a1a1a;
}

.logo span {
    color: #667eea;
}

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

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    background: radial-gradient(1200px 600px at 10% -20%, rgba(118, 75, 162, 0.20) 0%, rgba(118, 75, 162, 0) 60%),
        radial-gradient(1200px 600px at 90% 120%, rgba(102, 126, 234, 0.18) 0%, rgba(102, 126, 234, 0) 60%),
        #0f1222;
    /* fallback */
    color: #e7e9ee;
    padding: 72px 0 24px;
    overflow: hidden;
}

.footer::before {
    /* linha sutil no topo do footer */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(118, 75, 162, 0) 0%, rgba(118, 75, 162, 0.6) 35%, rgba(102, 126, 234, 0.6) 65%, rgba(102, 126, 234, 0) 100%);
    top: 0;
    opacity: 0.7;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* Footer Content agora centralizado */
.footer-content {
    display: flex;
    /* muda de grid para flex */
    justify-content: center;
    /* centraliza no eixo horizontal */
    gap: 4rem;
    /* espaço entre as colunas */
    text-align: left;
    /* mantém o texto alinhado */
}

.footer-links {
    display: flex;
    gap: 4rem;
    /* espaço entre os grupos Produto, Suporte, Legal */
}

/* Cada coluna fica empilhada */
.footer-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

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

/* bloco principal
.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: start;
} */

/* @media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
} */

/* marca */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand p {
    color: #b7bcc9;
    font-size: 0.98rem;
}

/* colunas de links
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 2rem;
} */

/* @media (max-width: 680px) {
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 2rem;
    }
}
@media (max-width: 440px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
} */

.footer-column h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.9rem;
}

.footer-column a {
    display: block;
    /* força cada link ficar em linha separada */
    text-decoration: none;
    color: #c8ccda;
    font-weight: 500;
    font-size: 0.98rem;
    margin: 0.35rem 0;
    transition: color .25s ease, transform .25s ease;
    outline: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #aeb7ff;
    transform: translateX(2px);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* logotipos no footer já existem; só ajustamos na cor de fundo escura */
.footer-logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

/* barra inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    color: #a6acc5;
    font-size: 0.92rem;
}

/* link de email destacado sem quebrar a identidade */
.footer a[href^="mailto:"] {
    color: #cfd5ff;
}

.footer a[href^="mailto:"]:hover {
    color: #ffffff;
}

/* acessibilidade: foco visível nos links */
.footer a:focus-visible {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.45);
    border-radius: 6px;
}

/* melhora contraste dos textos dentro de itens escuros herdados */
.footer .footer-column,
.footer .footer-brand {
    color: #e7e9ee;
}

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

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    /* remove a imagem no mobile */
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Problem/Solution Section */
.problem-solution {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.benefit-text p {
    color: #666;
}

/* How it Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Target Audience Section */
.target-audience {
    padding: 80px 0;
    background: white;
}

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

.audience-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.audience-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-10px);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.audience-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.audience-item p {
    color: #666;
    transition: color 0.3s ease;
}

.audience-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

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

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: #666;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1.2rem;
    color: #666;
}

.pricing-features {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature:last-child {
    border-bottom: none;
}

.feature-icon {
    color: #667eea;
    font-weight: 600;
}

.pricing-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Hambúrguer: escondido no desktop, visível no mobile */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow .2s ease;
}

.hamburger:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
}

/* Estado ativo vira “X” */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 768px) {

    .hamburger {
        display: inline-flex;
    }

    .nav {
        display: flex;
        align-items: center;
        /* centra vertical */
        justify-content: space-between;
        padding: 10px 0;
        /* reduz um pouco a área */
        min-height: 56px;
        /* garante altura estável */
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo-img {
        height: 64px;
        /* ajuste a gosto (32–36px funciona bem) */
        width: auto;
        display: block;
        /* evita gap de linha/base */
    }

    /* esconde links na barra superior */
    .nav-links {
        display: none;
    }

    /* menu vertical “dropdown” */
    .nav-links.open {
        display: flex;
        position: fixed;
        left: 16px;
        right: 16px;
        top: 70px;
        /* abaixo do header */
        flex-direction: column;
        gap: 12px;
        background: #0f1222;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        padding: 16px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
        z-index: 1200;
    }

    .nav-links.open a {
        color: #cfd5ff;
        font-weight: 600;
        padding: 10px 12px;
        border-radius: 10px;
        text-decoration: none;
    }

    .nav-links.open a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .nav-links.open .btn-secondary {
        background: #fff;
        color: #667eea;
        text-align: center;
        border: none;
        padding: 12px;
        font-weight: 700;
    }

    /* evita scroll no body quando o menu está aberto */
    body.no-scroll {
        overflow: hidden;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.9);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: translateY(0) scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.popup-header h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f0f0f0;
    color: #667eea;
}

.popup-content {
    padding: 1rem 2rem 2rem;
}

.popup-content p {
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.form-group input {
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Container class for consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Responsividade do popup */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        margin: 1rem;
    }

    .popup-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .popup-content {
        padding: 1rem 1.5rem 1.5rem;
    }

    .popup-header h3 {
        font-size: 1.3rem;
    }
}