/* =========================================================
       RESET BÁSICO
    ========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #cdcdcd;
    color: #1f2937;
}

/* =========================================================
       VARIÁVEIS VISUAIS WILLGROUP
    ========================================================= */
:root {
    --preto-fosco: #1e293b;
    --preto-suave: #334155;

    --dourado: #c8a646;
    --dourado-claro: #e0c36d;

    --branco: #ffffff;

    --cinza-texto: #475569;
    --cinza-fundo: #f1f5f9;
    --borda: #cbd5e1;
}

/* =========================================================
       CABEÇALHO / MENU
    ========================================================= */
header {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: var(--branco);

    padding: 18px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 3px solid var(--dourado);

    position: relative;
    top: 0;
    z-index: 999;
}

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

.logo img {
    height: 58px;
    display: block;

    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

.logo span {
    margin-top: 12px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 4px;
}

nav a {
    color: var(--branco);

    text-decoration: none;

    margin-left: 22px;

    font-weight: 600;
    font-size: 14px;

    transition: 0.25s ease;
}

nav a:hover {
    color: var(--dourado-claro);
}

/* =========================================================
       HERO / APRESENTAÇÃO PRINCIPAL
    ========================================================= */
.hero {
    padding: 90px 8%;

    background: linear-gradient(135deg, #ffffff, #f1f5f9);

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 40px;

    align-items: center;
}

.hero h1 {
    font-size: 48px;

    margin: 0 0 20px;

    color: var(--preto-fosco);

    line-height: 1.15;
}

.hero h1 span {
    color: var(--dourado);
}

.hero p {
    font-size: 18px;
    line-height: 1.8;

    color: var(--cinza-texto);
}

.hero-card {
    background: linear-gradient(135deg, #334155, #1e293b);

    color: var(--branco);

    padding: 36px;

    border-radius: 20px;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);

    border: 1px solid rgba(212, 175, 55, 0.35);
}

.hero-card h2 {
    color: var(--dourado);

    margin-top: 0;

    font-size: 30px;
}

.hero-card p {
    color: #e2e8f0;
}

/* =========================================================
   HERO IMAGEM INSTITUCIONAL
========================================================= */

.hero-imagem {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-imagem img {
    width: 100%;
    max-width: 520px;

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.18);

    object-fit: cover;

    transition: 0.4s ease;
}

.hero-imagem img:hover {
    transform: scale(1.02);
}

/* =========================================================
       AVISO DE FASE INICIAL
    ========================================================= */
.aviso {
    margin-top: 24px;

    background: #fff8e1;

    border-left: 5px solid var(--dourado);

    padding: 18px;

    border-radius: 12px;

    color: #5c4300;

    font-weight: 600;

    line-height: 1.7;
}

/* =========================================================
       SEÇÕES GERAIS
    ========================================================= */
section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;

    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;

    color: var(--preto-fosco);

    margin-bottom: 10px;
}

.section-title p {
    color: var(--cinza-texto);

    font-size: 17px;
}

/* =========================================================
       GRID DE PRODUTOS
    ========================================================= */
.grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.card {
    background: var(--branco);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);

    border: 1px solid var(--borda);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    display: flex;

    flex-direction: column;
}

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

    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.card-img {
    height: 180px;

    background: linear-gradient(135deg,
            #f8fafc,
            #eef2f7);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 25px;

    border-bottom: 1px solid #e2e8f0;
}

.card-img img {
    max-width: 100%;

    max-height: 110px;

    object-fit: contain;

    transition: all 0.35s ease;

    filter:
        drop-shadow(0 0 6px #CDCDCD) drop-shadow(0 8px 18px rgba(205, 205, 205, 0.75));
}

.card:hover .card-img img {
    transform: scale(1.06);

    filter:
        drop-shadow(0 0 10px #CDCDCD) drop-shadow(0 12px 24px rgba(205, 205, 205, 0.95));
}

.card-content {
    padding: 26px;

    display: flex;

    flex-direction: column;

    flex: 1;
}

.card-content h3 {
    margin-top: 0;

    color: var(--preto-fosco);

    font-size: 24px;
}

.card-content p {
    color: var(--cinza-texto);

    line-height: 1.7;

    font-size: 15px;

    flex: 1;
}

.card-footer {
    display: flex;

    justify-content: flex-end;

    margin-top: 25px;
}

.card-img-demo {
    padding: 0;

    overflow: hidden;
}

.card-img-demo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    max-height: none;

    border-radius: 0;

    filter: none;
}

.card:hover .card-img-demo img {
    transform: scale(1.03);
}

.btn-sistema {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 11px 18px;

    border-radius: 10px;

    background: linear-gradient(135deg,
            #0f172a,
            #1e293b);

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-sistema:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg,
            #1e293b,
            #334155);

    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

/* =========================================================
       ETIQUETAS DE STATUS
    ========================================================= */
.status {
    display: inline-block;

    margin-top: 14px;

    padding: 8px 14px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    background: #fef3c7;

    color: #7c5800;

    border: 1px solid #f3d675;
}

.status.regularizada {
    background: #ecfdf5;

    color: #166534;

    border-color: #bbf7d0;
}

.status.inicial {
    background: #fff8e1;

    color: #7c5800;

    border-color: var(--dourado);
}

/* =========================================================
       CONTATO INSTITUCIONAL
    ========================================================= */
.contato {
    background: linear-gradient(135deg, #334155, #0f172a);

    color: var(--branco);

    text-align: center;

    border-top: 3px solid var(--dourado);
}

.contato h2 {
    color: var(--dourado);

    font-size: 36px;
}

.contato p {
    color: #e2e8f0;

    font-size: 17px;

    line-height: 1.8;

    max-width: 820px;

    margin: 0 auto;
}

.categoria-titulo {

    text-align: center;

    font-size: 30px;

    color: #ffffff;

    margin-bottom: 35px;

    padding: 18px 0;

    border-top: 1px solid rgba(200, 166, 70, 0.35);

    border-bottom: 1px solid rgba(200, 166, 70, 0.35);

    letter-spacing: 0.5px;

    font-weight: 700;

    border-radius: 20px;

    background: linear-gradient(135deg,
            #334155,
            #1e293b);

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.12);
}

/* =========================================================
       RODAPÉ
    ========================================================= */
footer {
    background: #0f172a;

    color: #d1d5db;

    text-align: center;

    padding: 26px;

    font-size: 14px;
}

footer strong {
    color: var(--dourado);
}

/* =========================================================
   SELETOR DE IDIOMAS
========================================================= */
.idiomas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}

.idiomas a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 8px;
    border: 1px solid rgba(200, 166, 70, 0.45);
    border-radius: 999px;
    transition: 0.25s ease;
}

.idiomas a:hover {
    color: #1e293b;
    background: #c8a646;
}

.menu-area {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.site-header {
    position: relative;

    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 8%;

    background: linear-gradient(135deg,
            #334155,
            #1e293b);

    border-bottom: 3px solid var(--dourado);

    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 10px;

    background: #0f172a;
    color: #ffffff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .site-header {
        padding: 14px 20px;
        align-items: center;
    }

    .logo img {
        max-height: 42px;
    }

    .logo span {
        font-size: 15px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-area {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: linear-gradient(135deg, #334155, #1e293b);

        padding: 18px 20px;

        border-bottom: 1px solid #e2e8f0;

        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    }

    body.menu-aberto .menu-area {
        display: block;
    }

    .menu-area nav,
    .menu-area ul {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
}

/* =========================================================
   SELECT DE IDIOMAS
========================================================= */

.idiomas-select {
    display: flex;
    align-items: center;
}

.idiomas-select select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.idiomas-select select:hover {
    border-color: #00c6ff;
}

.idiomas-select select option {
    color: #000;
}


/* =========================================================
       RESPONSIVIDADE
    ========================================================= */
@media (max-width: 1100px) {

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .hero,
    .grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: row;

        gap: 0;

        text-align: left;

        position: relative;
    }

    nav a {
        display: inline-block;

        margin: 6px 8px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .menu-area {
        flex-direction: column;
        gap: 12px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-area {
        display: none;

        position: absolute;

        top: 100%;

        left: 0;
        right: 0;

        background: linear-gradient(135deg,
                #334155,
                #1e293b);

        padding: 20px;

        z-index: 999;
    }

    body.menu-aberto .menu-area {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 16px;
    }

    .idiomas {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .idiomas a {
        margin-bottom: 4px;
    }
}

@media (max-width: 600px) {

    .hero {
        padding: 70px 8%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title h2,
    .contato h2 {
        font-size: 30px;
    }

    .card-content h3 {
        font-size: 22px;
    }
}

/* =========================================================
   WILLCONNECT CRM — CARD DESTAQUE
========================================================= */

.card-destaque {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(32, 178, 170, 0.18);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1),
            rgba(248, 250, 252, 1));
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08),
        0 2px 10px rgba(32, 178, 170, 0.08);
    transition: all 0.35s ease;
}

.card-destaque::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            #20B2AA,
            #17857f);
}

.card-destaque:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.12),
        0 4px 18px rgba(32, 178, 170, 0.12);
}

/* Responsividade — WillConnect CRM */
@media (max-width: 600px) {
    .card-destaque {
        border-radius: 18px;
    }
}

/* =========================================================
   WILLCONNECT CRM — LANDING PAGE
========================================================= */

.willconnect-hero {
    background:
        radial-gradient(circle at top right, rgba(200, 166, 70, 0.16), transparent 35%),
        linear-gradient(135deg, #ffffff, #f1f5f9);
}

.willconnect-hero .hero-texto {
    max-width: 760px;
}

.willconnect-hero h1 span {
    display: block;
    margin-top: 12px;
}

.willconnect-acoes {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.willconnect-status {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff8e1;
    color: #7c5800;
    border: 1px solid rgba(200, 166, 70, 0.55);
    font-size: 13px;
    font-weight: 700;
}

/* Responsividade — WillConnect CRM Landing */
@media (max-width: 768px) {
    .willconnect-hero {
        padding-top: 58px;
    }

    .willconnect-acoes {
        align-items: stretch;
    }

    .willconnect-acoes .btn-sistema,
    .willconnect-status {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Ajuste visual forte — WillConnect CRM */
.willconnect-hero {
    border-top: 4px solid var(--dourado);
    border-bottom: 4px solid var(--dourado);
}

.willconnect-hero .hero-texto {
    background: rgba(255, 255, 255, 0.72);
    padding: 34px;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}