/* ============================================================
   ProGo Consultoria — site institucional modernizado
   HTML + CSS + JS puro
   ============================================================ */

:root {
    --navy-950: #070d1a;
    --navy-900: #0b1426;
    --navy-800: #101d38;
    --navy-700: #1a2b4f;
    --navy-600: #293d65;

    /* Nova paleta de acentos */
    --purple: #9d4edd;
    --yellow: #f5b301;
    --blue: #0077b6;   /* Azul marinho vibrante / alta saturação */
    --red: #ff3366;    /* Vermelho vibrante para o gradiente de texto */

    --text: #eef2fa;
    --text-muted: #9fadc8;
    --text-dark: #1c2740;

    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.09);

    --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 20px;
    --nav-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    font-family: var(--font-body);
    background: var(--navy-950);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }

/* Texto com gradiente da marca (Vermelho -> Amarelo -> Azul) */
.grad-text {
    background: linear-gradient(92deg, var(--red) 0%, var(--yellow) 50%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------------------------------ Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--lg { padding: 15px 28px; font-size: 15.5px; }

/* Botão principal com Azul Cintilante e sem sombra fixa */
.btn--primary {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff;
    box-shadow: none; /* Sombra removida */
}
.btn--primary:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.15); /* Efeito cintilante ao passar o mouse */
    box-shadow: none; 
}

.btn--ghost {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }

/* ------------------------------------------------ Navbar (Fundo Branco Sólido) */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.nav.is-scrolled {
    background: #ffffff;
    border-bottom-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.nav__inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav__logo img { height: 44px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    position: relative;
    padding: 6px 0;
    transition: color .2s;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue));
    border-radius: 2px;
    transition: right .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }

.nav__link--sys { display: inline-flex; align-items: center; gap: 7px; }
.nav__link--sys svg { width: 15px; height: 15px; }
.nav__link--sys::after { display: none; }

.nav__cta { padding: 10px 20px; font-size: 14px; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav__burger span {
    width: 24px; height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------------------------ Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 90px;
    overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: .25;
    animation: glowFloat 12s ease-in-out infinite alternate;
}
.hero__glow--purple { background: var(--purple); top: -140px; right: -80px; }
.hero__glow--yellow { background: var(--yellow); bottom: -200px; left: -120px; animation-delay: -4s; }
.hero__glow--blue { background: var(--blue); top: 30%; left: 42%; opacity: .2; animation-delay: -8s; }

@keyframes glowFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(40px, -30px) scale(1.12); }
}

.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 26px;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 0 rgba(0, 119, 182, .6);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(0, 119, 182, .55); }
    70% { box-shadow: 0 0 0 9px rgba(0, 119, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.hero__sub {
    font-size: clamp(15px, 1.5vw, 17.5px);
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color .2s, border-color .2s, transform .2s;
}
.tag:hover { color: var(--text); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }

/* Composição de fotos do hero */
.hero__visual { position: relative; min-height: 460px; }
.hero__card {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
    background: var(--navy-800);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

.hero__card--main {
    width: 78%; height: 340px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-1.5deg);
    z-index: 2;
    animation: floatMain 7s ease-in-out infinite alternate;
}
.hero__card--float1 {
    width: 46%; height: 170px;
    top: 0; right: 0;
    transform: rotate(3deg);
    z-index: 3;
    animation: floatA 6s ease-in-out infinite alternate;
}
.hero__card--float2 {
    width: 44%; height: 160px;
    bottom: 0; left: 2%;
    transform: rotate(-4deg);
    z-index: 3;
    animation: floatB 8s ease-in-out infinite alternate;
}
@keyframes floatMain { from { transform: translate(-50%, -50%) rotate(-1.5deg); } to { transform: translate(-50%, -53%) rotate(-1deg); } }
@keyframes floatA { from { transform: rotate(3deg) translateY(0); } to { transform: rotate(2deg) translateY(-14px); } }
@keyframes floatB { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(-3deg) translateY(12px); } }

.hero__scroll {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    display: grid;
    place-items: center;
    text-decoration: none;
    animation: bob 2.2s ease-in-out infinite;
    transition: color .2s, border-color .2s;
}
.hero__scroll svg { width: 18px; height: 18px; }
.hero__scroll:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ------------------------------------------------ Seções */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--navy-900); }
.section--full { padding-bottom: 90px; }

.section__head { max-width: 680px; margin-bottom: 60px; }
.section__kicker {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 14px;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
}
.section__sub { margin-top: 14px; color: var(--text-muted); font-size: 16px; }

/* ------------------------------------------------ Cards de soluções */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.card__media { height: 190px; overflow: hidden; }
.card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.07); }

.card__body { padding: 24px 22px 28px; }
.card__body h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}
.card__body p { font-size: 14px; color: var(--text-muted); }

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}
.card__link svg { width: 15px; height: 15px; transition: transform .2s; }
.card__link:hover svg { transform: translateX(4px); }

.card__num {
    position: absolute;
    top: 14px; right: 16px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,255,255,.85);
    background: rgba(7, 13, 26, .55);
    backdrop-filter: blur(6px);
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
}

/* ------------------------------------------------ Diferenciais */
.feats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform .3s ease, border-color .3s ease;
}
.feat:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); }

.feat__icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}
.feat__icon svg { width: 27px; height: 27px; }
.feat__icon--yellow { background: rgba(245,179,1,.13); color: var(--yellow); }
.feat__icon--purple { background: rgba(157,78,221,.13); color: var(--purple); }
.feat__icon--blue { background: rgba(0,119,182,.13); color: var(--blue); }

.feat h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}
.feat p { font-size: 14.5px; color: var(--text-muted); }

/* ------------------------------------------------ Marquees (fotos e logos) */
.marquee {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee var(--marquee-dur, 38s) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 10px)); }
}

/* Fotos */
.shot {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    background: var(--navy-800);
    cursor: zoom-in;
    flex-shrink: 0;
    transition: transform .3s ease, border-color .3s ease;
}
.shot img {
    height: 240px;
    width: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.shot:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(255,255,255,.3); }

/* Logos de clientes */
.marquee--logos { padding: 14px 0; }
.clogo {
    width: 190px;
    height: 96px;
    background: #fff;
    border-radius: 14px;
    display: grid;
    place-items: center;
    padding: 14px 20px;
    flex-shrink: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}
.clogo img {
    max-height: 62px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .25s ease, opacity .25s ease;
}
.clogo:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.35); }
.clogo:hover img { filter: grayscale(0); opacity: 1; }

/* ------------------------------------------------ CTA */
.cta { padding: 110px 0; }
.cta__box {
    position: relative;
    text-align: center;
    padding: 74px 40px;
    border-radius: 28px;
    background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
}
.cta__glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 20%, rgba(245,179,1,.16), transparent 42%),
        radial-gradient(circle at 80% 30%, rgba(157,78,221,.18), transparent 42%),
        radial-gradient(circle at 50% 90%, rgba(0,119,182,.22), transparent 45%);
    animation: ctaSpin 18s linear infinite;
    pointer-events: none;
}
@keyframes ctaSpin { to { transform: rotate(360deg); } }

.cta__box h2 {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(26px, 3.6vw, 42px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.cta__box p {
    position: relative;
    color: var(--text-muted);
    font-size: 16.5px;
    max-width: 560px;
    margin: 0 auto 34px;
}
.cta__actions {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ------------------------------------------------ Footer */
.footer { background: var(--navy-900); border-top: 1px solid var(--border); }
.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 0 48px;
}
.footer__brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 13.5px; color: var(--text-muted); font-style: italic; max-width: 320px; }

.footer__col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}
.footer__col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color .2s, transform .2s;
}
.footer__col a:hover { color: var(--text); transform: translateX(4px); }

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* ------------------------------------------------ WhatsApp flutuante */
.whats-fab {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 90;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 34px rgba(37, 211, 102, .45);
    transition: transform .2s ease, box-shadow .2s ease;
}
.whats-fab svg { width: 30px; height: 30px; }
.whats-fab:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 44px rgba(37, 211, 102, .6); }

/* ------------------------------------------------ Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(4, 8, 16, .92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: lbIn .22s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox img {
    max-width: min(1100px, 90vw);
    max-height: 84vh;
    border-radius: 14px;
    box-shadow: 0 40px 100px rgba(0,0,0,.7);
}
.lightbox__close, .lightbox__nav {
    position: absolute;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.07);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s, transform .2s;
}
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.16); transform: scale(1.07); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.07); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.07); }

/* ------------------------------------------------ Animações de entrada */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal--delay1 { transition-delay: .12s; }
.reveal--delay2 { transition-delay: .24s; }
.reveal--delay3 { transition-delay: .36s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------ Responsivo */
@media (max-width: 1024px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; gap: 60px; }
    .hero__visual { min-height: 400px; max-width: 560px; margin: 0 auto; width: 100%; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav__links {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        padding: 18px 5vw 26px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
    }
    .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav__link { padding: 12px 4px; font-size: 16px; }
    .nav__cta { justify-content: center; margin-top: 10px; }
    .nav__burger { display: flex; }

    .feats { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .cta { padding: 80px 0; }
}

@media (max-width: 600px) {
    .cards { grid-template-columns: 1fr; }
    .hero { padding-bottom: 70px; }
    .hero__visual { min-height: 330px; }
    .hero__card--main { height: 240px; width: 86%; }
    .hero__card--float1 { height: 120px; }
    .hero__card--float2 { height: 115px; }
    .shot img { height: 180px; }
    .clogo { width: 150px; height: 80px; }
    .footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .lightbox { padding: 16px; }
    .lightbox__nav { display: none; }
}