/* ImpressOne Home Hub V17B — carregado apenas para template_key=hub */
:root{--hub-bg:#07111f;--hub-panel:#0c1b2a;--hub-panel2:#10283b;--hub-line:rgba(255,255,255,.09);--hub-text:#f7fbff;--hub-muted:#a9bcc9;--hub-blue:#009bec;--hub-cyan:#23c7d9;--hub-pink:#ff0983;--hub-green:#24c7b1}
.hub-hero,.hub-section{background:var(--hub-bg);color:var(--hub-text)}
.hub-section{padding:82px 0}.hub-hero{position:relative;overflow:hidden;padding:92px 0 78px;background:radial-gradient(circle at 78% 12%,rgba(0,155,236,.22),transparent 28%),radial-gradient(circle at 18% 80%,rgba(255,9,131,.10),transparent 30%),var(--hub-bg)}
.hub-hero:after{content:"";position:absolute;inset:auto -15% -50% 35%;height:520px;background:radial-gradient(circle,rgba(35,199,217,.10),transparent 63%);pointer-events:none}
.hub-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:56px;align-items:center}.hub-hero-copy{position:relative;z-index:2}.hub-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#69dfff;font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.hub-eyebrow:before{content:"";width:20px;height:2px;background:var(--hub-blue)}
.hub-hero h1,.hub-section h2{letter-spacing:-.045em}.hub-hero h1{font-size:clamp(2.7rem,6vw,5.4rem);line-height:.96;margin:18px 0 24px;max-width:930px}.hub-hero h1 .destaque,.hub-section h2 .destaque{color:#63d9ff}.hub-lead{max-width:760px;color:var(--hub-muted);font-size:clamp(1rem,1.6vw,1.22rem);line-height:1.7}
.hub-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hub-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 19px;border-radius:11px;text-decoration:none;font-weight:800;font-size:.9rem;transition:.18s ease}.hub-btn:hover{transform:translateY(-2px)}.hub-btn-primary{background:linear-gradient(135deg,var(--hub-blue),#26c9ea);color:#03101b}.hub-btn-secondary{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.045);color:#fff}.hub-btn-light{background:#fff;color:#092033}.hub-btn-ghost{border:1px solid rgba(255,255,255,.35);color:#fff;background:transparent}
.hub-proof-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:30px}.hub-proof-row span{padding:7px 10px;border:1px solid var(--hub-line);border-radius:999px;color:#bfd0db;background:rgba(255,255,255,.03);font-size:.75rem}.hub-hero-visual{position:relative;z-index:1}.hub-hero-visual>img{width:100%;height:min(570px,58vw);min-height:420px;object-fit:cover;border-radius:28px;border:1px solid rgba(255,255,255,.13);box-shadow:0 40px 100px rgba(0,0,0,.34)}.hub-hero-card{position:absolute;left:-34px;bottom:28px;width:min(360px,88%);padding:19px 20px;border-radius:17px;border:1px solid rgba(255,255,255,.15);background:rgba(7,17,31,.88);backdrop-filter:blur(14px);box-shadow:0 20px 55px rgba(0,0,0,.28)}.hub-hero-card small,.hub-hero-card strong,.hub-hero-card span{display:block}.hub-hero-card small{color:#68dfff;font-weight:900;font-size:.65rem;letter-spacing:.12em}.hub-hero-card strong{margin-top:6px;font-size:1.14rem}.hub-hero-card span{margin-top:7px;color:#aebfca;font-size:.78rem;line-height:1.55}
.hub-section-head{max-width:800px;margin-bottom:34px}.hub-section-head h2,.hub-ecosystem-intro h2{font-size:clamp(2rem,4vw,3.7rem);line-height:1.03;margin:12px 0 15px}.hub-section-head p,.hub-ecosystem-intro p{color:var(--hub-muted);line-height:1.7;margin:0;max-width:760px}.hub-section-head-split{max-width:none;display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:end}.hub-section-head-split p{justify-self:end;max-width:550px}
.hub-audiences{background:#091522}.hub-audience-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.hub-audience-card{min-height:245px;padding:22px;border:1px solid var(--hub-line);border-radius:18px;background:linear-gradient(155deg,rgba(255,255,255,.055),rgba(255,255,255,.018));color:inherit;text-decoration:none;display:flex;flex-direction:column;transition:.18s ease}.hub-audience-card:hover{transform:translateY(-4px);border-color:rgba(0,155,236,.6);background:#0d2233}.hub-audience-card small{color:#6ddcff;font-size:.65rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.hub-audience-card h3{margin:15px 0 9px;font-size:1.2rem}.hub-audience-card p{margin:0;color:#9fb2bf;font-size:.84rem;line-height:1.58}.hub-audience-card>span{margin-top:auto;padding-top:20px;color:#fff;font-size:.82rem;font-weight:800}.hub-audience-card>span b{color:#59d6ff}
.hub-services{background:#f4f7f9;color:#10283a}.hub-services .hub-eyebrow,.hub-spotlight .hub-eyebrow,.hub-portfolio .hub-eyebrow{color:#007dbc}.hub-services .hub-section-head p,.hub-spotlight .hub-section-head p,.hub-portfolio .hub-section-head p{color:#657b88}.hub-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.hub-service-card{min-height:300px;padding:26px;border-radius:20px;background:#fff;border:1px solid #dfe8ed;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(12,45,64,.04)}.hub-service-card.is-featured{background:linear-gradient(145deg,#071b2b,#0e3d59);color:#fff;border-color:#164d6b}.hub-service-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.hub-service-top>span{font-size:.67rem;text-transform:uppercase;letter-spacing:.11em;font-weight:900;color:#1688bd}.hub-service-card.is-featured .hub-service-top>span{color:#63d9ff}.hub-service-top b{padding:5px 8px;border-radius:999px;background:#eaf8ff;color:#0874a6;font-size:.62rem}.hub-service-card.is-featured .hub-service-top b{background:rgba(99,217,255,.12);color:#7ee2ff}.hub-service-card h3{font-size:1.55rem;margin:20px 0 10px}.hub-service-card p{color:#647b88;line-height:1.65;font-size:.9rem}.hub-service-card.is-featured p{color:#b7cad5}.hub-service-card a{margin-top:auto;color:#087fb8;text-decoration:none;font-weight:900;font-size:.83rem}.hub-service-card.is-featured a{color:#65ddff}
.hub-spotlight{background:#fff;color:#10283a}.hub-spotlight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hub-visual-card{overflow:hidden;border-radius:22px;background:#0a1b29;border:1px solid #dfe8ed;box-shadow:0 14px 38px rgba(15,48,66,.08)}.hub-visual-card img{width:100%;height:290px;object-fit:cover;display:block}.hub-visual-card>div{padding:22px;color:#fff}.hub-visual-card span{font-size:.65rem;color:#60dbff;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.hub-visual-card h3{font-size:1.35rem;margin:9px 0}.hub-visual-card p{margin:0;color:#afc0cb;font-size:.87rem;line-height:1.6}.hub-center-action{text-align:center;margin-top:30px}
.hub-journey{background:#07111f}.hub-journey-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.hub-journey-grid article{position:relative;min-height:255px;padding:23px;border-radius:18px;border:1px solid var(--hub-line);background:#0b1a28}.hub-journey-grid article>span{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#0d91d7;color:#fff;font-size:.73rem;font-weight:900}.hub-journey-grid h3{margin:32px 0 10px;font-size:1.12rem}.hub-journey-grid p{margin:0;color:#9fb2bf;line-height:1.6;font-size:.83rem}
.hub-portfolio{background:#f4f7f9;color:#10283a}.hub-portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hub-portfolio-card{overflow:hidden;border-radius:18px;background:#fff;border:1px solid #dfe8ed}.hub-portfolio-card img{width:100%;height:245px;object-fit:cover;display:block}.hub-portfolio-card>div{padding:18px}.hub-portfolio-card span{color:#0885c2;font-size:.64rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.hub-portfolio-card h3{margin:8px 0 6px;font-size:1.1rem}.hub-portfolio-card p{margin:0;color:#6b7e89;font-size:.82rem;line-height:1.55}
.hub-platform{background:#081522}.hub-platform-shell{padding:48px;border:1px solid var(--hub-line);border-radius:28px;background:linear-gradient(145deg,#0b1b2a,#0c2639)}.hub-platform-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.hub-platform-grid article{padding:20px;border-radius:15px;background:rgba(255,255,255,.04);border:1px solid var(--hub-line)}.hub-platform-grid article>span{color:#63d9ff;font-size:.68rem;font-weight:900}.hub-platform-grid h3{margin:17px 0 8px;font-size:1.06rem}.hub-platform-grid p{margin:0;color:#a6b8c3;font-size:.82rem;line-height:1.58}
.hub-networks{background:#0b1a28}.hub-network-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hub-network-grid article{padding:30px;border-radius:20px;border:1px solid var(--hub-line);background:#0d2233}.hub-network-grid small{color:#67ddff;font-size:.66rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.hub-network-grid h3{font-size:1.55rem;margin:16px 0 11px}.hub-network-grid p{color:#a6bac6;line-height:1.65;font-size:.88rem}.hub-network-grid a{display:inline-block;margin-top:12px;color:#fff;text-decoration:none;font-weight:900;font-size:.82rem}
.hub-ecosystem{background:#07111f}.hub-ecosystem>.container{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start}.hub-ecosystem-intro{position:sticky;top:110px}.hub-ecosystem-grid{display:grid;gap:9px}.hub-ecosystem-grid article{display:grid;grid-template-columns:48px 1fr;gap:15px;padding:18px;border-radius:15px;border:1px solid var(--hub-line);background:#0a1927}.hub-ecosystem-grid b{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#0c91d6;color:#fff;font-size:.7rem}.hub-ecosystem-grid h3{margin:1px 0 6px;font-size:1.05rem}.hub-ecosystem-grid p{margin:0;color:#9fb2bf;font-size:.81rem;line-height:1.55}
.hub-final{background:#091522;padding-top:44px}.hub-final-card{text-align:center;padding:70px 30px;border-radius:28px;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.12),transparent 30%),linear-gradient(135deg,#008ed4,#055a8b 55%,#0f3a58);box-shadow:0 28px 75px rgba(0,0,0,.18)}.hub-final-card .hub-eyebrow{color:#d9f6ff}.hub-final-card .hub-eyebrow:before{background:#d9f6ff}.hub-final-card h2{max-width:900px;margin:15px auto;font-size:clamp(2.2rem,4.5vw,4rem)}.hub-final-card p{max-width:700px;margin:0 auto;color:#d6eaf4;line-height:1.65}.hub-final-card .hub-actions{justify-content:center}
/* Ajustes dos blocos CMS já existentes dentro do template Hub */
.hub-section + section:not(.hub-section),section + .hub-section{scroll-margin-top:86px}.carrossel-depoimentos .depoimento{background:#0d2233}.faq-item p{color:#a9bcc9}
@media(max-width:1100px){.hub-audience-grid{grid-template-columns:repeat(3,1fr)}.hub-service-grid{grid-template-columns:repeat(2,1fr)}.hub-journey-grid{grid-template-columns:repeat(3,1fr)}.hub-platform-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.hub-hero{padding-top:62px}.hub-hero-grid,.hub-section-head-split,.hub-ecosystem>.container{grid-template-columns:1fr}.hub-hero-visual>img{height:460px;min-height:0}.hub-hero-card{left:16px;right:16px;width:auto}.hub-audience-grid{grid-template-columns:repeat(2,1fr)}.hub-spotlight-grid,.hub-portfolio-grid,.hub-network-grid{grid-template-columns:1fr}.hub-ecosystem-intro{position:static}.hub-section-head-split p{justify-self:start}.hub-platform-shell{padding:30px}}
@media(max-width:620px){.hub-section{padding:62px 0}.hub-hero h1{font-size:2.65rem}.hub-audience-grid,.hub-service-grid,.hub-journey-grid,.hub-platform-grid{grid-template-columns:1fr}.hub-audience-card{min-height:205px}.hub-hero-visual>img{height:360px}.hub-proof-row{gap:6px}.hub-platform-shell{padding:22px;border-radius:20px}.hub-final-card{padding:52px 20px}.hub-portfolio-card img,.hub-visual-card img{height:230px}}


/* V17B R4 — curadoria visual separada entre jornada 3D e portfólio */
.hub-visual-card img{background:#eef2f4;object-position:center}
.hub-portfolio-card img{background:#f2f4f5;object-position:center}
@media(min-width:861px){.hub-visual-card img{height:320px}.hub-portfolio-card img{height:270px}}


/* ==========================================================
   V17F3D_R3_HUB_VIDEO
   ========================================================== */

/*
 * Título menor.
 * Original chegava a 5.4rem.
 */
.hub-hero .hub-hero-copy h1{
    font-size:clamp(2.45rem,4.4vw,4.15rem);
    line-height:1;
    max-width:780px;
}

/*
 * Dá equilíbrio um pouco maior para o vídeo.
 */
.hub-hero .hub-hero-grid{
    grid-template-columns:1fr 1fr;
    gap:54px;
}


/* ----------------------------------------------------------
   VIDEO
   ---------------------------------------------------------- */

.hub-hero-video{
    position:relative;
    min-width:0;
}

.hub-video-frame{
    position:relative;
    width:100%;
    height:min(540px,49vw);
    min-height:410px;

    overflow:hidden;

    border-radius:28px;
    border:1px solid rgba(255,255,255,.13);

    background:#02070b;

    box-shadow:
        0 40px 100px rgba(0,0,0,.34);
}


/*
 * O iframe é propositalmente maior que a moldura.
 *
 * Assim cortamos as bordas do player e reduzimos
 * drasticamente a presença visual da interface YouTube.
 */
.hub-youtube-frame{
    position:absolute;

    top:50%;
    left:50%;

    width:122%;
    height:122%;

    transform:translate(-50%,-50%);

    border:0;

    pointer-events:none;
}


/*
 * Barreira física sobre TODO o player.
 *
 * Impede:
 * - clique
 * - pause
 * - fullscreen
 * - links
 * - abrir YouTube
 * - interação com logos
 */
.hub-video-interaction-lock{
    position:absolute;
    inset:0;

    z-index:5;

    background:transparent;

    cursor:default;
}


/*
 * Pequena camada estética.
 * Não escurece excessivamente o vídeo.
 */
.hub-video-overlay{
    position:absolute;
    inset:0;

    z-index:3;

    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(3,14,22,.02) 60%,
            rgba(3,14,22,.20) 100%
        );
}


/*
 * Card institucional fica sobre o vídeo.
 */
.hub-hero-video .hub-hero-card{
    z-index:10;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media(max-width:860px){

    .hub-hero .hub-hero-grid{
        grid-template-columns:1fr;
        gap:38px;
    }

    .hub-hero .hub-hero-copy h1{
        font-size:clamp(2.4rem,7vw,3.7rem);
        max-width:760px;
    }

    .hub-video-frame{
        height:460px;
        min-height:0;
    }

    .hub-youtube-frame{
        width:125%;
        height:125%;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media(max-width:620px){

    .hub-hero .hub-hero-copy h1{
        font-size:2.35rem;
        line-height:1.02;
    }

    .hub-video-frame{
        height:340px;
        min-height:0;

        border-radius:20px;
    }

    .hub-youtube-frame{
        width:150%;
        height:150%;
    }

    .hub-hero-video .hub-hero-card{
        left:14px;
        right:14px;
        bottom:14px;

        width:auto;
    }
}
