/* =========================
   PDX PRO SAAS - STYLE.CSS
   Arquivo CSS separado
   Mobile First
   Base visual alinhada à home pdxpro.com.br
========================= */

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   PALETA PDX PRO
========================= */

:root {
    --primary: #0E5EB7;
    --secondary: #04101F;
    --accent: #1EA7FF;
    --light: #F4F8FD;
    --white: #FFFFFF;
    --text: #1B1B1B;
    --muted: #64748B;
    --border: #DCE7F3;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    padding-top: 90px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* =========================
   HEADER FIXO PREMIUM
========================= */

.topo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: var(--secondary);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    z-index: 9999;
}

.nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.logo img {
    width: 60px;
}

/* MENU */

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

.menu a {
    position: relative;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: .3s;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: .4s;
}

.menu a:hover::after {
    width: 100%;
}

.menu a:hover {
    color: var(--accent);
}

.menu-login {
    padding: 11px 20px;
    border-radius: 50px;
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(14, 94, 183, .28);
}

.menu-login::after {
    display: none;
}

.menu-login:hover {
    background: var(--accent);
    color: var(--white) !important;
}

/* BOTÃO MOBILE */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(
            rgba(5, 15, 30, .76),
            rgba(5, 15, 30, .76)
        ),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(30, 167, 255, .22),
            transparent 35%
        );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(30, 167, 255, .14);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero .tag {
    color: #DCEEFF;
    background: rgba(30, 167, 255, .20);
}

.hero h1 {
    max-width: 980px;
    margin: 24px auto 20px;
    color: var(--white);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.08;
}

.hero p {
    max-width: 820px;
    margin: auto;
    color: #DCE7F5;
    font-size: 18px;
    line-height: 1.8;
}

/* =========================
   BOTÕES
========================= */

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 34px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    transition: .4s;
    box-shadow: 0 15px 35px rgba(14, 94, 183, .35);
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .75);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

/* =========================
   SEÇÕES GERAIS
========================= */

.objetivo,
.tecnicos,
.modulos {
    padding: 100px 0;
    background: var(--light);
}

.tecnicos {
    background: var(--white);
}

.section-title {
    max-width: 860px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-title h2 {
    margin-top: 20px;
    color: var(--secondary);
    font-size: 34px;
    line-height: 1.18;
}

.section-title p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================
   CARDS
========================= */

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    padding: 42px 30px;
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
    transition: .4s;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--accent)
        );
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.card img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 28px;
    transition: .4s;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 50%;
    background: rgba(14, 94, 183, .10);
    color: var(--primary);
    font-weight: 900;
}

.card h3 {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 23px;
    margin-bottom: 18px;
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* =========================
   IMPORTÂNCIA
========================= */

.importancia {
    padding: 100px 0;
    background:
        linear-gradient(
            rgba(4, 16, 31, .94),
            rgba(4, 16, 31, .94)
        ),
        url('https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.importancia-grid {
    display: grid;
    gap: 36px;
}

.importancia h2 {
    margin-top: 22px;
    color: var(--white);
    font-size: 34px;
    line-height: 1.2;
}

.tag-light {
    color: #DCEEFF;
    background: rgba(30, 167, 255, .20);
}

.importancia-texto {
    display: grid;
    gap: 20px;
}

.importancia-texto p {
    color: #DCE7F5;
    font-size: 16px;
    line-height: 1.9;
}

/* =========================
   NEGÓCIO
========================= */

.negocio {
    padding: 100px 0;
    background:
        linear-gradient(
            rgba(14, 94, 183, .92),
            rgba(14, 94, 183, .92)
        ),
        url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.negocio-grid {
    display: grid;
}

.negocio-card {
    max-width: 860px;
    margin: auto;
    padding: 42px 30px;
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow-hover);
}

.negocio-card h2 {
    margin-top: 20px;
    color: var(--secondary);
    font-size: 32px;
    line-height: 1.2;
}

.negocio-card p {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.negocio-card ul {
    margin-top: 22px;
    padding-left: 20px;
    color: #555;
    line-height: 1.9;
}

/* =========================
   MÓDULOS
========================= */

.modulo-card {
    padding: 34px 26px;
}

.modulo-card h3 {
    min-height: auto;
}

/* =========================
   CTA FINAL
   AJUSTE REALIZADO AQUI
========================= */

.cta {
    padding: 90px 20px 60px;
    background:
        linear-gradient(
            rgba(14, 94, 183, .92),
            rgba(14, 94, 183, .92)
        ),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta .container {
    max-width: 920px;
    margin: 0 auto;
}

.cta h2 {
    max-width: 820px;
    margin: auto;
    color: var(--white);
    font-size: 36px;
    line-height: 1.2;
}

.cta p {
    max-width: 820px;
    margin: 20px auto 0;
    color: #DCE7F5;
    line-height: 1.8;
}

.cta .btn {
    margin-top: 38px;
    background: var(--white);
    color: var(--secondary);
}

.cta .btn:hover {
    background: #EAF4FF;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #020B15;
    padding: 35px 20px;
    text-align: center;
}

footer p {
    color: var(--white);
    margin-bottom: 12px;
}

footer a {
    color: #9FB0C2;
}

/* =========================
   BOTÃO VOLTAR AO TOPO
========================= */

#btnTopo {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

#btnTopo.show {
    opacity: 1;
    visibility: visible;
}

/* =========================
   TABLET
========================= */

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

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

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

    .section-title h2,
    .importancia h2,
    .negocio-card h2,
    .cta h2 {
        font-size: 42px;
    }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .objetivo .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .importancia-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

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

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

@media (max-width: 900px) {
    .menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 35px;
        gap: 30px;
        transition: .4s ease;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }
}

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

@media (max-width: 768px) {
    .hero {
        padding: 120px 0;
        min-height: auto;
    }

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

    .hero p {
        font-size: 17px;
    }

    .btn {
        width: 100%;
    }

    .section-title h2,
    .importancia h2,
    .negocio-card h2,
    .cta h2 {
        font-size: 32px;
    }

    .objetivo,
    .tecnicos,
    .modulos,
    .importancia,
    .negocio,
    .cta {
        padding-top: 80px;
    }

    .objetivo,
    .tecnicos,
    .modulos,
    .importancia,
    .negocio {
        padding-bottom: 80px;
    }

    .cta {
        padding: 72px 0 48px;
    }

    .cta .btn {
        margin-top: 30px;
    }

    .card img {
        width: 100px;
        height: 100px;
    }
}
