
/* =========================================
   SERAFIM SOFTWARE
   IDENTIDADE VISUAL PROFISSIONAL
========================================= */

:root {
    --azul: #2878ed;
    --azul-escuro: #1766d1;
    --roxo: #7553df;
    --texto: #17243d;
    --texto-secundario: #71819b;
    --borda: #e5ecf6;
    --fundo: #f7f9fe;
}

/* =========================================
   BASE
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--texto);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -1.3px;
    color: var(--texto);
}

p {
    line-height: 1.85;
    color: var(--texto-secundario);
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/* =========================================
   MENU DE NAVEGAÇÃO
========================================= */

.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(225, 234, 247, 0.85);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--texto) !important;
}

.navbar .nav-link {
    color: #53627b !important;
    font-size: 14px;
    font-weight: 650;
    padding: 12px 15px !important;
    position: relative;
    transition: color 0.25s ease;
}

    .navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 5px;
        height: 2px;
        border-radius: 5px;
        background: linear-gradient(90deg, var(--azul), var(--roxo));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }

    .navbar .nav-link:hover {
        color: var(--azul) !important;
    }

        .navbar .nav-link:hover::after {
            transform: scaleX(1);
        }

/* =========================================
   IDENTIFICAÇÃO DAS SEÇÕES
========================================= */

.section-label,
.section-eyebrow {
    display: inline-block;
    color: var(--azul);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.section-label {
    margin-bottom: 15px;
}

/* =========================================
   TIPOGRAFIA PRINCIPAL
========================================= */

.hero-content h1 {
    font-size: clamp(42px, 5.2vw, 76px);
    line-height: 1.12;
    letter-spacing: -3px;
    font-weight: 850;
}

    .hero-content h1 span,
    .section-heading h2 span,
    .services-content h2 span,
    .contact-content h2 span {
        color: var(--azul);
    }

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -1.8px;
    font-weight: 800;
}

/* =========================================
   BOTÕES
========================================= */

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 7px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: 0.2px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* BOTÃO PRINCIPAL */

.button-primary {
    color: #ffffff !important;
    background: linear-gradient(115deg, #2878ed 0%, #5268e8 50%, #7953df 100%);
    border: 1px solid rgba(255,255,255,0.25);
}

    .button-primary:hover {
        color: #ffffff !important;
        transform: translateY(-2px);
        filter: brightness(1.06);
    }

    .button-primary:active {
        transform: translateY(-1px);
    }

    .button-primary span {
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .button-primary:hover span {
        transform: translateX(5px);
    }

/* BOTÃO SECUNDÁRIO */

.button-secondary {
    color: #263b5c !important;
    background: #ffffff;
    border: 1px solid #dce5f2;
}

    .button-secondary:hover {
        color: var(--azul) !important;
        background: #f8faff;
        border-color: #b8d1fa;
        transform: translateY(-2px);
    }

    /* ACESSIBILIDADE DOS BOTÕES */

    .button-primary:focus-visible,
    .button-secondary:focus-visible {
        outline: 3px solid rgba(40, 120, 237, 0.35);
        outline-offset: 4px;
    }

/* =========================================
   CARTÕES DAS ÁREAS
========================================= */

.areas-section {
    padding-top: 115px;
    padding-bottom: 115px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.area-card {
    padding: 35px;
    border-radius: 17px;
    border: 1px solid var(--borda);
    background: #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .area-card:hover {
        transform: translateY(-8px);
        border-color: #c9dcff;
        box-shadow: 0 20px 42px rgba(30, 60, 110, 0.09);
    }

.area-number {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--azul);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.area-card h3 {
    margin-bottom: 15px;
    font-size: 21px;
}

.area-card p {
    margin-bottom: 0;
}

.area-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1);
    color: var(--azul);
}

.area-card a {
    color: var(--azul);
    font-weight: 700;
    transition: color 0.25s ease;
}

    .area-card a:hover {
        color: var(--roxo);
    }

/* =========================================
   ELEMENTOS VISUAIS ANTIGOS
========================================= */

.visual-center,
.visual-orbit,
.visual-card,
.visual-symbol {
    display: none !important;
}

/* =========================================
   APRESENTAÇÃO PRINCIPAL - HERO
========================================= */

.hero-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 65px;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    color: var(--azul);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.hero-content h1 {
    margin: 28px 0;
    line-height: 1.13;
}

.hero-content p {
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-signature {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 45px;
}

    .hero-signature span {
        color: var(--texto-secundario);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

/* ESPAÇO RESERVADO PARA A IMAGEM PRINCIPAL */

.hero-visual {
    flex: 1;
    min-width: 0;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e2eaf5;
    background: radial-gradient(circle at 75% 25%, rgba(117, 83, 223, .18), transparent 35%), radial-gradient(circle at 25% 75%, rgba(40, 120, 237, .18), transparent 40%), linear-gradient(135deg, #f2f6ff, #e5edff);
}

    .hero-image-frame img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 21, 37, 0.72), transparent 65%);
}

.hero-image-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #ffffff;
}

    .hero-image-caption span {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .hero-image-caption strong {
        font-size: 23px;
    }

/* =========================================
   TÍTULOS DAS SEÇÕES
========================================= */

.section-heading {
    margin-bottom: 65px;
}

    .section-heading p {
        max-width: 650px;
        margin-top: 20px;
    }

/* =========================================
   JOGOS
========================================= */

.games-section {
    padding-top: 115px;
    padding-bottom: 115px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.game-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--borda);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .game-card:hover {
        transform: translateY(-7px);
        border-color: #cbdcff;
        box-shadow: 0 18px 42px rgba(30, 60, 110, .10);
    }

/* ESPAÇO RESERVADO PARA AS CAPAS DOS JOGOS */

.game-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: radial-gradient(circle at 75% 25%, rgba(117, 83, 223, .20), transparent 35%), radial-gradient(circle at 25% 75%, rgba(40, 120, 237, .18), transparent 40%), linear-gradient(135deg, #edf3ff, #dce7ff);
}

    .game-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-number {
    position: absolute;
    top: 18px;
    left: 18px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 35, 60, .65);
    padding: 8px 12px;
    border-radius: 6px;
}

.game-information {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
}

.game-category {
    color: var(--azul);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.game-information h3 {
    margin: 16px 0 12px;
    font-size: 21px;
    line-height: 1.35;
}

.game-information p {
    margin-bottom: 22px;
}

.game-status {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #347bce;
    font-size: 12px;
    font-weight: 750;
    background: #eff6ff;
    border: 1px solid #dceaff;
    padding: 8px 13px;
    border-radius: 6px;
}

.game-link {
    display: inline-block;
    margin-top: 23px;
    color: var(--azul);
    font-weight: 750;
}

    .game-link:hover {
        color: var(--roxo);
    }

/* =========================================
   SERVIÇOS
========================================= */

.services-section {
    padding-top: 115px;
    padding-bottom: 115px;
    background: #f7f9fd;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--borda);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-7px);
        border-color: #cbdcff;
        box-shadow: 0 18px 42px rgba(30, 60, 110, .09);
    }

/* ESPAÇO RESERVADO PARA IMAGENS DOS SERVIÇOS */

.service-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: radial-gradient(circle at 75% 25%, rgba(117, 83, 223, .18), transparent 35%), radial-gradient(circle at 25% 75%, rgba(40, 120, 237, .18), transparent 40%), linear-gradient(135deg, #edf3ff, #dce7ff);
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-information {
    padding: 30px;
}

.service-number {
    color: var(--azul);
    font-size: 12px;
    font-weight: 800;
}

.service-information h3 {
    margin: 13px 0;
    font-size: 21px;
}

.service-information p {
    margin-bottom: 22px;
}

.service-information a {
    color: var(--azul);
    font-weight: 750;
}

    .service-information a:hover {
        color: var(--roxo);
    }

/* =========================================
   CONTATO
========================================= */

.contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

    .contact-content h2 {
        margin: 24px 0;
        font-size: clamp(34px, 4vw, 50px);
        line-height: 1.2;
        letter-spacing: -1.8px;
    }

    .contact-content p {
        margin-bottom: 30px;
    }

    .contact-content .button-primary {
        margin-top: 15px;
    }

/* =========================================
   PRÉ-VISUALIZAÇÃO DE SERVIÇOS
========================================= */

.preview-window {
    border: 1px solid #e2e9f5;
    box-shadow: 0 25px 65px rgba(45, 75, 130, 0.10);
}

.preview-button {
    background: linear-gradient(110deg, var(--azul), var(--roxo));
}

/* =========================================
   RODAPÉ
========================================= */

footer a {
    color: #657b9b;
    transition: color 0.25s ease;
}

    footer a:hover {
        color: var(--azul);
    }

/* =========================================
   RESPONSIVIDADE - TABLETS
========================================= */

@media (max-width: 992px) {

    .games-grid,
    .services-grid,
    .areas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-container {
        gap: 35px;
    }
}

/* =========================================
   RESPONSIVIDADE - CELULARES
========================================= */

@media (max-width: 768px) {

    .hero-section,
    .areas-section,
    .games-section,
    .services-section,
    .contact-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .hero-container {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
        line-height: 1.15;
    }

    .section-heading {
        margin-bottom: 40px;
    }

        .section-heading h2 {
            font-size: 34px;
            letter-spacing: -1.2px;
        }

    .games-grid,
    .services-grid,
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-image-frame {
        min-height: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

        .hero-buttons a {
            width: 100%;
        }

    .hero-signature {
        gap: 12px;
    }

    .game-image {
        height: 240px;
    }

    .button-primary,
    .button-secondary {
        min-height: 52px;
        padding: 0 20px;
        font-size: 14px;
    }

    .navbar .nav-link {
        padding: 10px 12px !important;
    }
}

/* =========================================
   REDUÇÃO DE ANIMAÇÕES
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
