/* ===== site.css — NewSoft Consultoria ===== */
/* Layout escuro, fluido nas laterais, logos padronizadas */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #CC1B2E;
    --red-dark: #A31424;
    --red-glow: rgba(204, 27, 46, 0.3);
    --violet: #6A2C8E;
    --violet-dark: #4E1F6B;
    --violet-glow: rgba(106, 44, 142, 0.3);
    --bg-primary: #0D0D1A;
    --bg-secondary: #13132B;
    --bg-card: #1A1A3E;
    --bg-card-hover: #222255;
    --text-primary: #F0F0FF;
    --text-secondary: #A0A0C0;
    --text-muted: #6B6B90;
    --border: rgba(106, 44, 142, 0.15);
    --border-light: rgba(255, 255, 255, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --radius-lg: 20px;
    --max-width: 1400px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 900px;
}

/* ===== HEADER ===== */
header {
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 52px;
    width: auto;
    flex-shrink: 0;
}

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 24px var(--violet-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

    .logo-text strong {
        font-size: 20px;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1.2;
    }

    .logo-text span {
        font-size: 11px;
        font-weight: 500;
        color: var(--text-muted);
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .header-cta a {
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        padding: 10px 22px;
        border-radius: 8px;
        transition: .2s;
    }

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

    .btn-whatsapp:hover {
        background: #1DA851;
        transform: scale(1.02);
    }

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-secondary);
}

    .btn-outline:hover {
        border-color: var(--violet);
        color: var(--violet);
        box-shadow: 0 0 16px var(--violet-glow);
    }

/* ===== HERO ===== */
.hero {
    padding: 100px 40px 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #0A0A1A 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    max-width: 100%;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(106, 44, 142, 0.12) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: -5%;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(204, 27, 46, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero .container {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
        align-items: center;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0;
    }

.hero-content h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
}

    .hero-content h1 span {
        background: linear-gradient(135deg, var(--red), var(--violet));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

    .hero-badge strong {
        color: var(--violet);
    }

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--violet));
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 4px 24px var(--violet-glow);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 36px var(--violet-glow);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: .2s;
}

    .btn-secondary:hover {
        border-color: var(--violet);
        color: var(--violet);
    }

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-logo-card {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 72px;
    color: #fff;
    box-shadow: 0 0 60px rgba(106, 44, 142, 0.3), 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
}

    .hero-logo-card small {
        position: absolute;
        bottom: -32px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-muted);
        background: var(--bg-card);
        padding: 6px 20px;
        border-radius: 100px;
        border: 1px solid var(--border-light);
        white-space: nowrap;
    }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 24px;
}

.hero-stat {
    text-align: center;
}

    .hero-stat .number {
        font-size: 30px;
        font-weight: 900;
        background: linear-gradient(135deg, var(--red), var(--violet));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-stat .label {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 500;
        margin-top: 2px;
    }

/* ===== SEÇÕES ===== */
section {
    padding: 80px 40px;
    max-width: 100%;
}

    section .container {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0;
    }

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--violet);
    background: rgba(106, 44, 142, 0.12);
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
    border: 1px solid rgba(106, 44, 142, 0.2);
}

.section-tag-light {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
    border-color: rgba(255,255,255,0.08);
}

.section-title {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ===== SEÇÃO OOH ===== */
#ooh {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #0F0F25 100%);
    position: relative;
    overflow: hidden;
}

    #ooh::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 20% 50%, rgba(204, 27, 46, 0.06) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(106, 44, 142, 0.06) 0%, transparent 50%);
        pointer-events: none;
    }

.ooh-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ooh-content h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

    .ooh-content h2 span {
        background: linear-gradient(135deg, var(--red), var(--violet));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.ooh-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ooh-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.ooh-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

    .ooh-stat .num {
        font-size: 26px;
        font-weight: 900;
        color: var(--violet);
    }

    .ooh-stat .desc {
        font-size: 12px;
        color: var(--text-muted);
        margin-top: 4px;
    }

.ooh-tech {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

    .ooh-tech h4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--text-primary);
    }

.ooh-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ooh-tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

    .ooh-tech-item .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--violet);
        flex-shrink: 0;
    }

        .ooh-tech-item .dot.red {
            background: var(--red);
        }

/* ===== HISTÓRIA ===== */
#historia {
    background: var(--bg-primary);
}

.historia-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.historia-texto p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

    .historia-texto p strong {
        color: var(--violet);
    }

.historia-destaques {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
}

    .historia-destaques h4 {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 24px;
    }

    .historia-destaques ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .historia-destaques li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.5;
    }

        .historia-destaques li .icon {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            background: linear-gradient(135deg, var(--red), var(--violet));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

/* ===== DIFERENCIAL ===== */
#diferencial {
    background: var(--bg-secondary);
}

.dif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dif-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: .3s;
}

    .dif-card:hover {
        transform: translateY(-4px);
        border-color: var(--violet);
        box-shadow: 0 8px 32px rgba(106, 44, 142, 0.15);
    }

    .dif-card .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(204, 27, 46, 0.15), rgba(106, 44, 142, 0.15));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-bottom: 18px;
    }

    .dif-card h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .dif-card p {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.6;
    }

/* ===== SERVIÇOS ===== */
#servicos {
    background: var(--bg-primary);
}

.serv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.serv-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
    transition: .3s;
}

    .serv-card:hover {
        border-color: var(--violet);
        background: var(--bg-card-hover);
    }

    .serv-card .emoji {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .serv-card h4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 6px;
        color: var(--text-primary);
    }

    .serv-card p {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.6;
    }

/* ===== CASES ===== */
#cases {
    background: var(--bg-secondary);
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 20px;
    transition: .3s;
}

    .case-card:hover {
        border-color: var(--violet);
        box-shadow: 0 8px 32px rgba(106, 44, 142, 0.1);
    }

.case-highlight {
    font-size: 12px;
    font-weight: 700;
    color: #FF6B6B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.case-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CLIENTES (com logos dinâmicas) ===== */
#clientes {
    background: var(--bg-primary);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

/* Card padrão (texto) */
.cliente-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

    .cliente-item:hover {
        border-color: var(--violet);
        color: var(--violet);
        background: var(--bg-card-hover);
    }

/* Card com logo (imagem) — tamanho padronizado */
.cliente-item-logo {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

    .cliente-item-logo:hover {
        border-color: var(--violet);
        background: var(--bg-card-hover);
    }

    .cliente-item-logo img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: brightness(0.9);
        transition: .2s;
    }

    .cliente-item-logo:hover img {
        filter: brightness(1.1);
    }

.clientes-cta {
    text-align: center;
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-muted);
}

    .clientes-cta a {
        color: var(--violet);
        font-weight: 600;
        text-decoration: none;
    }

        .clientes-cta a:hover {
            text-decoration: underline;
        }

/* ===== CONTATO ===== */
#contato {
    background: var(--bg-secondary);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

    .contact-info a {
        color: var(--violet);
        text-decoration: none;
        font-weight: 600;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: .2s;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

    .form-control:focus {
        outline: none;
        border-color: var(--violet);
        box-shadow: 0 0 0 3px rgba(106, 44, 142, 0.15);
    }

    .form-control::placeholder {
        color: var(--text-muted);
    }

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.text-danger {
    font-size: 12px;
    color: var(--red);
    margin-top: 4px;
    display: block;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--red), var(--violet));
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 4px 24px var(--violet-glow);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 36px var(--violet-glow);
    }

.contact-whatsapp-cta {
    text-align: center;
    margin-top: 36px;
    padding: 28px;
    border-top: 1px solid var(--border-light);
}

    .contact-whatsapp-cta p {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 14px;
    }

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.2);
}

    .btn-whatsapp-large:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
    }

/* ===== FOOTER ===== */
footer {
    background: #08081A;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
    font-size: 13px;
    border-top: 1px solid var(--border-light);
}

    footer strong {
        color: var(--text-secondary);
    }

/* ===== TOAST ===== */
.toast {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 200;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transition: opacity .5s;
    max-width: 400px;
}

.toast-success {
    background: #1a3a2a;
    color: #6fcf97;
    border: 1px solid rgba(111, 207, 151, 0.2);
}

.toast-error {
    background: #3a1a1a;
    color: #cf6f6f;
    border: 1px solid rgba(207, 111, 111, 0.2);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
    .dif-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .serv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ooh-wrapper {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 28px;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .historia-grid {
        grid-template-columns: 1fr;
    }

    .historia-destaques {
        order: -1;
    }

    .ooh-wrapper {
        grid-template-columns: 1fr;
    }

    .ooh-tech {
        order: -1;
    }

    .container {
        padding: 0 24px;
    }

    header {
        padding: 16px 24px;
    }

    .hero {
        padding: 80px 24px 60px;
    }

    section {
        padding: 60px 24px;
    }
}

@media (max-width: 768px) {
    .dif-grid {
        grid-template-columns: 1fr;
    }

    .serv-grid {
        grid-template-columns: 1fr;
    }

    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-form {
        padding: 24px;
    }

    .hero-logo-card {
        width: 160px;
        height: 160px;
        font-size: 56px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .number {
        font-size: 24px;
    }

    .ooh-stats {
        grid-template-columns: 1fr;
    }

    .ooh-tech-grid {
        grid-template-columns: 1fr;
    }

    .ooh-tech {
        padding: 24px;
    }

    header {
        padding: 12px 16px;
    }

    .hero {
        padding: 60px 16px 40px;
    }

    section {
        padding: 40px 16px;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .clientes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .header-cta .btn-outline {
        display: none;
    }
}
