/* =====================================================================
   MARCA WORKLINE SYSTEM — v1.0 (nov/2026)
   Carregado por ÚLTIMO no <head> de cada página: sobrepõe as cores e a
   tipografia antigas sem mexer no conteúdo.
   Marinho #0A2A63 · Azul mapa #0A3D91 · Laranja #FF5A1F · Ciano #00A8E8
   ===================================================================== */
:root {
    --primary:      #0A3D91;
    --primary-mid:  #0A3D91;
    --accent:       #00A8E8;
    --dark:         #0A2A63;
    --bg:           #F2F5FA;
    --text:         #1D2B45;
    --text-muted:   #5B6B85;
    --shadow:       0 4px 20px rgba(10, 42, 99, .10);
    --shadow-hover: 0 10px 30px rgba(10, 42, 99, .20);

    /* páginas com variáveis próprias (mapas.html, login_index.html) */
    --primary-dark: #0A2A63;
    --primary-blue: #0A3D91;
    --accent-light: #00A8E8;
    --footer-blue:  #0A2A63;
    --dark-bg:      #0A2A63;
    --btn-primary:  #0A3D91;

    /* novas */
    --ws-navy:   #0A2A63;
    --ws-blue:   #0A3D91;
    --ws-orange: #FF5A1F;
    --ws-orange-dark: #E04612;
    --ws-cyan:   #00A8E8;
    --ws-light:  #CDEEFB;
}

/* ---------- tipografia ---------- */
body { font-family: 'Montserrat', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: -.2px; }
.section-title, .hero-copy h1, .hero-section h1, .h7-title, .tr-title h1 { font-weight: 900; letter-spacing: -.5px; }

/* ---------- rótulo de seção: linha laranja (a "rota") + azul ---------- */
.section-label, .fs-label, .lesson-kicker {
    color: var(--ws-blue) !important;
    font-weight: 800;
}
.section-label::before, .fs-label::before {
    content: ''; display: inline-block; width: 22px; height: 3px; border-radius: 2px;
    background: var(--ws-orange); margin-right: 10px; vertical-align: middle; position: relative; top: -2px;
}
/* rótulo sobre fundo escuro */
.cta-section .section-label, .cta-ferramentas .section-label { color: #CDEEFB !important; }

/* ---------- destaques em laranja ---------- */
.hero-section h1 span, .hero-copy h1 span, .tr-title h1 span,
.projeto-destaque h2 span, .hero-destaque { color: var(--ws-orange) !important; text-shadow: none; }
.credential-year { color: var(--ws-orange) !important; }
.credential-text strong { color: #FFFFFF; }

/* ---------- faixas escuras com filete laranja (igual às barras da marca) ---------- */
.hero-section, .tr-hero, .cta-section, .catalog-section, .cta-ferramentas, .hero-2027 {
    border-bottom: 6px solid var(--ws-orange) !important;
}

/* ---------- botões principais ---------- */
.hero-cta { background: var(--ws-orange); box-shadow: 0 4px 20px rgba(255, 90, 31, .35); }
.hero-cta:hover { background: #FFFFFF; color: var(--ws-navy); }
.catalog-btn i, .cta-btn i { color: var(--ws-orange); }
.catalog-btn:hover, .cta-btn:hover { background: var(--ws-orange); color: #fff; }
.catalog-btn:hover i, .cta-btn:hover i { color: #fff; }
.btn-done { background: var(--ws-navy); }
.btn-done:hover { background: var(--ws-blue); }

/* ---------- cards ---------- */
.product-card-title, .fs-card-title { background: var(--ws-blue); }
.product-card:hover .product-card-title, .fs-card:hover .fs-card-title { background: var(--ws-navy); }
.product-card-title i, .fs-card-title i { color: var(--ws-orange); }
.func-card::before { background: linear-gradient(90deg, var(--ws-navy), var(--ws-cyan) 70%, var(--ws-orange)); }
.func-num, .ci-num { color: #FFFFFF; }
.course-item.active { border-left-color: var(--ws-orange); }

/* ---------- HOME: bloco "Em 2027, as melhores ferramentas" ---------- */
.hero-2027 {
    --h7-bg:   #0A2A63;
    --h7-card: #0F3577;
    --h7-line: #23508F;
    --h7-gold: #FF5A1F;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 90, 31, .12) 0%, transparent 42%),
        radial-gradient(circle at 5% 95%, rgba(0, 168, 232, .10) 0%, transparent 40%),
        #0A2A63 !important;
}
.h7-tag, .h7-cta { color: #0A2A63; }
.h7-cta-txt a { color: #0A2A63; }
.h7-btn-wpp { background: #0A2A63; }

/* ---------- login / área do cliente ---------- */
.product-card h2 { background-color: var(--ws-blue) !important; }
.tools-gallery h3 { background-color: var(--ws-light); color: var(--ws-navy); }

/* card do Raio-X mantém o dourado do produto (não confundir com o card laranja de Mapas) */
.h7-card:not(.c-blue):not(.c-green):not(.c-orange) { --c: #F2B81F; }
.h7-card:not(.c-blue):not(.c-green):not(.c-orange) .h7-chamada { color: #F2B81F; }
/* Montserrat é mais larga que a Oswald: botões dos cards cabem em uma linha */
.h7-card-btn { font-size: .86rem; padding: 10px 10px; white-space: nowrap; }

/* =====================================================================
   HERO 2028 — home (foto do Wagner + chamada)
   ===================================================================== */
.ws-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 78% 30%, rgba(255,90,31,.18) 0%, transparent 38%),
        radial-gradient(circle at 10% 90%, rgba(0,168,232,.14) 0%, transparent 40%),
        radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px) 0 0 / 22px 22px,
        #0A2A63;
    border-bottom: 6px solid #FF5A1F;
    padding: 56px 0 60px;
}
.ws-hero .wsh-in { max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 48px; align-items: center; }
.wsh-tag { display: inline-flex; align-items: center; gap: 10px; background: #FF5A1F; color: #0A2A63;
    font-weight: 900; font-size: .9rem; letter-spacing: 2px; text-transform: uppercase; padding: 8px 16px; border-radius: 6px; }
.wsh-title { margin: 18px 0 0; line-height: .9; font-family: Montserrat, sans-serif; }
.wsh-title .ano { display: block; font-size: clamp(5rem, 13vw, 10rem); font-weight: 900; letter-spacing: -4px; color: #FF5A1F; }
.wsh-title .chega { display: block; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -1px; color: #fff; text-transform: uppercase; }
.wsh-sub { margin: 18px 0 0; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 800; color: #fff; line-height: 1.25; }
.wsh-sub mark { background: #FF5A1F; color: #fff; padding: 0 10px; border-radius: 6px; }
.wsh-sub em { font-style: normal; color: #00A8E8; }

/* linha do tempo em forma de rota */
.wsh-rota { position: relative; margin: 30px 0 26px; max-width: 560px; height: 74px; }
.wsh-rota::before { content: ''; position: absolute; left: 8px; right: 30px; top: 30px; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, #00A8E8 0%, #00A8E8 62%, #FF5A1F 100%); }
.wsh-pt { position: absolute; top: 0; transform: translateX(-50%); text-align: center; width: 120px; }
.wsh-pt i { display: block; width: 16px; height: 16px; border-radius: 50%; background: #00A8E8; border: 3px solid #0A2A63;
    box-shadow: 0 0 0 2px #00A8E8; margin: 24px auto 8px; }
.wsh-pt b { display: block; font-size: 1rem; font-weight: 900; color: #fff; line-height: 1; }
.wsh-pt small { font-size: .72rem; color: #B9CCEA; letter-spacing: .5px; }
.wsh-pt.p1 { left: 8px; transform: none; text-align: left; } .wsh-pt.p1 i { margin-left: 0; }
.wsh-pt.p2 { left: 45%; }
.wsh-pt.p3 { right: -14px; left: auto; transform: none; width: 90px; }
.wsh-pt.p3 svg { display: block; margin: -6px auto 2px; filter: drop-shadow(0 6px 14px rgba(255,90,31,.45)); }
.wsh-pt.p3 b { color: #FF5A1F; font-size: 1.15rem; }

.wsh-txt { font-size: 1.05rem; line-height: 1.65; color: #D6E2F5; max-width: 560px; margin: 0 0 26px; }
.wsh-txt strong { color: #fff; }
.wsh-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.wsh-btn { display: inline-flex; align-items: center; gap: 10px; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.05rem;
    padding: 15px 28px; border-radius: 50px; text-decoration: none !important; transition: all .2s; }
.wsh-btn.zap { background: #FF5A1F; color: #fff !important; box-shadow: 0 8px 26px rgba(255,90,31,.4); }
.wsh-btn.zap:hover { background: #fff; color: #0A2A63 !important; transform: translateY(-2px); }
.wsh-btn.out { border: 2px solid rgba(255,255,255,.45); color: #fff !important; }
.wsh-btn.out:hover { border-color: #00A8E8; background: rgba(0,168,232,.15); }
.wsh-sigilo { margin: 22px 0 0; font-size: .82rem; letter-spacing: 1.5px; color: #9FB3D6; text-transform: uppercase; font-weight: 700; }
.wsh-sigilo i { color: #FF5A1F; margin-right: 6px; }

/* foto */
.wsh-foto { position: relative; justify-self: center; width: 100%; max-width: 400px; margin-bottom: 24px; }
.wsh-moldura { position: relative; border-radius: 28px; padding: 10px; border: 2.5px solid #5BC2EE; background: rgba(255,255,255,.04); }
.wsh-moldura img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
.wsh-chip { position: absolute; top: 26px; left: -34px; background: #fff; color: #0A2A63; border-radius: 14px; padding: 10px 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: .78rem; font-weight: 700; line-height: 1.25; }
.wsh-chip b { display: block; font-size: 1rem; font-weight: 900; }
.wsh-chip b span { color: #FF5A1F; }
.wsh-nome { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); white-space: nowrap;
    display: flex; align-items: center; gap: 12px; background: #fff; color: #0A2A63; border-radius: 16px; padding: 10px 18px 10px 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35); border-bottom: 4px solid #FF5A1F; }
.wsh-nome strong { display: block; font-size: 1.05rem; font-weight: 900; line-height: 1.1; }
.wsh-nome small { font-size: .76rem; font-weight: 700; color: #0A3D91; }

@media (max-width: 992px) {
    .ws-hero .wsh-in { grid-template-columns: 1fr; gap: 56px; }
    .wsh-foto { max-width: 320px; }
    .wsh-chip { left: -12px; }
}
@media (max-width: 576px) {
    .ws-hero { padding: 36px 0 52px; }
    .wsh-pt small { display: none; }
    .wsh-btn { width: 100%; justify-content: center; }
}

/* ferramentas dentro da hero 2028 */
.ws-hero .hero-2027.wsh-tools { background: none !important; border: 0 !important; padding: 0; color: #E8EDF5;
    max-width: 1200px; margin: 48px auto 0; padding: 0 24px; }
.wsh-tools-head { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; }
.wsh-tools-head h2 { margin: 0; color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 800; white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.wsh-tools-head h2 b { color: #FF5A1F; font-weight: 900; }
.wsh-tools-line { flex: 1; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, #00A8E8); }
.wsh-tools-line:last-child { background: linear-gradient(90deg, #00A8E8, transparent); }
@media (max-width: 768px) { .wsh-tools-head h2 { white-space: normal; text-align: center; } .wsh-tools-line { display: none; } }
@media (max-width: 576px) { .h7-cta-btns { width: 100%; } .h7-cta-txt a { font-size: .95rem; letter-spacing: 0; } }

/* ---------- faixa da reunião ---------- */
.h7-cta-txt span { display: block; margin-top: 6px; font-size: 1.05rem; font-weight: 600; color: #0A2A63; }
.h7-cta-txt span strong { font-weight: 900; background: #fff; padding: 0 8px; border-radius: 6px; }

/* ---------- um tom para cada ferramenta ---------- */
.ws-hero .h7-card { border-top-width: 6px; }
.ws-hero .h7-card:not(.c-blue):not(.c-green):not(.c-orange) {          /* Raio-X: dourado */
    background: linear-gradient(165deg, rgba(242,184,31,.20) 0%, #0F3577 55%); border-color: rgba(242,184,31,.45); }
.ws-hero .h7-card.c-blue {                                              /* Navegador: azul */
    --c: #3B9EFF; background: linear-gradient(165deg, rgba(59,158,255,.24) 0%, #0F3577 55%); border-color: rgba(59,158,255,.5); }
.ws-hero .h7-card.c-green {                                             /* MAP.NORTE: verde */
    --c: #22C55E; background: linear-gradient(165deg, rgba(34,197,94,.20) 0%, #0F3577 55%); border-color: rgba(34,197,94,.45); }
.ws-hero .h7-card.c-orange {                                            /* Mapas: laranja */
    --c: #FF7A3D; background: linear-gradient(165deg, rgba(255,90,31,.24) 0%, #0F3577 55%); border-color: rgba(255,90,31,.5); }
.ws-hero .h7-card.c-orange .h7-chamada { color: #FF8A52; }
.ws-hero .h7-card-btn { background: var(--c); border-color: var(--c); color: #0A2A63; font-weight: 800; }
.ws-hero .h7-card-btn:hover { background: #fff; border-color: #fff; color: #0A2A63; }
.ws-hero .h7-card .h7-list i { color: var(--c); }
.ws-hero .h7-nums { gap: 12px; } .ws-hero .h7-nums b { white-space: nowrap; font-size: 1.3rem; }

/* ---------- Portfólio dentro da hero ---------- */
.wsh-port { text-align: center; margin: 0 0 18px; scroll-margin-top: 90px; }
.wsh-port .section-label { color: #CDEEFB !important; }
.wsh-port h2 { margin: 6px 0 6px; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -.5px; }
.wsh-port p { margin: 0; color: #B9CCEA; font-size: 1rem; }
.wsh-sub-head { margin-top: 40px; }

/* ---------- 3 cards de Gestão & Serviços ---------- */
.h7-grid.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h7-topo { display: flex; align-items: center; gap: 14px; text-decoration: none !important; padding: 4px 0 6px; }
.h7-ico { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--c); color: #0A2A63; font-size: 1.45rem; flex-shrink: 0; }
.h7-nome { color: #fff; font-weight: 900; font-size: 1.3rem; line-height: 1.15; }
.ws-hero .h7-card.c-roxo  { --c: #A78BFA; background: linear-gradient(165deg, rgba(167,139,250,.24) 0%, #0F3577 55%); border-color: rgba(167,139,250,.5); }
.ws-hero .h7-card.c-teal  { --c: #2DD4BF; background: linear-gradient(165deg, rgba(45,212,191,.20) 0%, #0F3577 55%); border-color: rgba(45,212,191,.45); }
.ws-hero .h7-card.c-ciano { --c: #38BDF8; background: linear-gradient(165deg, rgba(56,189,248,.22) 0%, #0F3577 55%); border-color: rgba(56,189,248,.5); }
.ws-hero .h7-card.c-roxo .h7-chamada  { color: #C4B5FD; }
.ws-hero .h7-card.c-teal .h7-chamada  { color: #5EEAD4; }
.ws-hero .h7-card.c-ciano .h7-chamada { color: #7DD3FC; }
@media (max-width: 992px) { .h7-grid.tres { grid-template-columns: 1fr; } }
/* cores dos 3 cards de serviços (mais específico que a regra do Raio-X) */
.ws-hero .h7-grid.tres .h7-card.c-roxo  { --c: #A78BFA; background: linear-gradient(165deg, rgba(167,139,250,.24) 0%, #0F3577 55%); border-color: rgba(167,139,250,.5); }
.ws-hero .h7-grid.tres .h7-card.c-teal  { --c: #2DD4BF; background: linear-gradient(165deg, rgba(45,212,191,.20) 0%, #0F3577 55%); border-color: rgba(45,212,191,.45); }
.ws-hero .h7-grid.tres .h7-card.c-ciano { --c: #38BDF8; background: linear-gradient(165deg, rgba(56,189,248,.22) 0%, #0F3577 55%); border-color: rgba(56,189,248,.5); }
.ws-hero .h7-grid.tres .h7-card.c-roxo .h7-chamada  { color: #C4B5FD; }
.ws-hero .h7-grid.tres .h7-card.c-teal .h7-chamada  { color: #5EEAD4; }
.ws-hero .h7-grid.tres .h7-card.c-ciano .h7-chamada { color: #7DD3FC; }
