/* ==========================================================================
   ISOJOIST — página da solução (reformulação 11/2026)
   Escopo: tudo dentro de .ij / classes "ij-". Não altera o restante do tema.
   Cores oficiais da marca LCS (Design System): azul #32609e, vermelho #932d2d.
   Tamanhos em px/clamp: o tema reduz o font-size do <html> no mobile
   (62,5% → 50%), o que deixaria o texto desta página pequeno demais.
   ========================================================================== */

.ij {
    --ij-blue: #32609e;
    --ij-blue-dark: #244a7a;
    --ij-blue-light: #5580b8;
    --ij-blue-soft: #eaf0f7;
    --ij-red: #932d2d;
    --ij-red-dark: #6e2222;
    --ij-red-light: #c56a6a;
    --ij-ink: #101828;
    --ij-navy: #0f1d33;
    --ij-navy-2: #16294a;
    --ij-text: #344054;
    --ij-muted: #667085;
    --ij-line: #e2e6ec;
    --ij-surface: #ffffff;
    --ij-soft: #f7f8fa;
    --ij-steel: #9fb3cc;
    --ij-radius: 12px;
    --ij-shadow: 0 8px 24px rgba(16, 24, 40, 0.10);
    --ij-ease: cubic-bezier(0.22, 1, 0.36, 1);

    display: block;
    color: var(--ij-text);
    background: var(--ij-surface);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}

.ij *,
.ij *::before,
.ij *::after { box-sizing: border-box; }

.ij p { font-size: inherit; line-height: inherit; color: inherit; }
.ij strong, .ij b { font-weight: 700; }
.ij img { max-width: 100%; display: block; }
.ij a { color: inherit; }

/* O tema zera outline globalmente; devolve o foco visível nesta página. */
.ij a:focus-visible,
.ij button:focus-visible,
.ij summary:focus-visible {
    outline: 3px solid var(--ij-blue-light);
    outline-offset: 3px;
    border-radius: 6px;
}
.ij-section--dark a:focus-visible,
.ij-section--dark button:focus-visible,
.ij-hero a:focus-visible,
.ij-cta a:focus-visible,
.ij-section--brand a:focus-visible { outline-color: #fff; }

.ij-wrap {
    /* mesmas medidas do .container do tema (alinha com o logotipo do cabeçalho) */
    width: 93%;
    max-width: 124.6rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ij-section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.ij-section--soft { background: var(--ij-soft); }
.ij-section--dark { background: var(--ij-navy); color: #c9d4e3; }
.ij-section--brand { background: linear-gradient(135deg, var(--ij-blue-dark), var(--ij-blue)); color: #e6edf6; }

.ij-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ij-red) !important;
}
.ij-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}
.ij-eyebrow--light { color: #f0b4b4 !important; }

.ij-h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ij-ink);
}
.ij-section--dark .ij-h2,
.ij-section--brand .ij-h2,
.ij-cta .ij-h2 { color: #fff; }

.ij-h3 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--ij-ink);
}

.ij h3 { font-weight: 700; }

.ij-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.ij-head p:last-child { margin-bottom: 0; font-size: 18px; }

.ij-note {
    margin: 24px 0 0;
    font-size: 14px !important;
    color: var(--ij-muted) !important;
    max-width: 860px;
}
.ij-section--dark .ij-note { color: #8ea0ba !important; }

/* Botões ----------------------------------------------------------------- */
.ij-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ij-ease);
}
.ij-btn:hover { transform: translateY(-2px); }
.ij-btn--red { background: var(--ij-red); color: #fff !important; border: 2px solid var(--ij-red); }
.ij-btn--red:hover { background: var(--ij-red-dark); border-color: var(--ij-red-dark); }
.ij-btn--ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255, 255, 255, 0.7); }
.ij-btn--ghost:hover { background: #fff; color: var(--ij-blue-dark) !important; border-color: #fff; }

/* Abertura --------------------------------------------------------------- */
.ij-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(560px, 86vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 0 8px;
    color: #fff;
    background: var(--ij-navy);
    overflow: hidden;
}
.ij-hero__photo,
.ij-hero__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.ij-hero__photo img { animation: ij-kenburns 18s var(--ij-ease) both; }
.ij-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 29, 51, 0.94) 0%, rgba(15, 29, 51, 0.78) 45%, rgba(15, 29, 51, 0.35) 100%),
        linear-gradient(0deg, rgba(15, 29, 51, 0.95) 0%, rgba(15, 29, 51, 0) 45%);
}
.ij-hero__inner { position: relative; z-index: 2; }
.ij-hero__title {
    margin: 0 0 20px;
    max-width: 1000px;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}
.ij-hero__title span {
    display: block;
    margin-top: 14px;
    font-size: clamp(22px, 2.8vw, 36px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
    color: #dbe5f2;
}
.ij-hero__lead { max-width: 640px; margin: 0 0 32px; font-size: clamp(17px, 1.5vw, 20px); color: #c9d4e3; }
.ij-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.ij-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #c9d4e3;
}
.ij-hero__facts li { display: flex; align-items: center; gap: 8px; }
.ij-hero__facts li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--ij-red-light);
    transform: rotate(45deg);
}
.ij-hero__joist {
    position: relative;
    z-index: 1;
    margin: 28px auto 0;
    width: min(1240px, 100%);
    padding: 0 24px;
}
.ij-joist { display: block; width: 100%; height: auto; overflow: visible; }
.ij-joist--hero { max-height: 220px; }

@keyframes ij-kenburns {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

/* Desenho da viga (comum) ------------------------------------------------ */
.ij-joist line,
.ij-joist path,
.ij-joist polyline { stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ij-joist .m-chord { stroke-width: 9; }
.ij-joist .m-web { stroke-width: 4.5; }
.ij-joist .m-seat { stroke-width: 7; }
.ij-joist .m-node { stroke: none; }

/* Hero: montagem animada */
.ij-joist--hero .m { stroke: #dbe5f2; }
.ij-joist--hero .m-web { stroke: var(--ij-steel); }
.ij-joist--hero .m-seat { stroke: #f0b4b4; }
.ij-joist--hero .m-node { fill: #fff; }
.ij-joist--hero .m-support { fill: rgba(255, 255, 255, 0.12); }
/* is-armed: barras ocultas aguardando; is-ready: montagem em sequência */
.ij-joist--hero.is-armed .m:not(.m-node):not(.m-support) {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.ij-joist--hero.is-armed .m-node {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}
.ij-joist--hero.is-ready .m:not(.m-node):not(.m-support) {
    animation: ij-draw 0.7s var(--ij-ease) forwards;
    animation-delay: calc(var(--d, 0) * 1ms);
}
.ij-joist--hero.is-ready .m-node {
    animation: ij-pop 0.4s var(--ij-ease) forwards;
    animation-delay: calc(var(--d, 0) * 1ms);
}
.ij-joist--hero .m-dim { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 6 6; }
.ij-joist--hero .m-dim-label { fill: rgba(255, 255, 255, 0.6); font-size: 18px; font-weight: 600; letter-spacing: 0.1em; }
@keyframes ij-draw { to { stroke-dashoffset: 0; } }
@keyframes ij-pop {
    from { opacity: 0; transform: scale(0.2); }
    to { opacity: 1; transform: scale(1); }
}

/* Subnavegação ----------------------------------------------------------- */
.ij-subnav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--ij-line);
}
.ij-subnav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ij-subnav ul::-webkit-scrollbar { display: none; }
.ij-subnav li { flex: none; }
.ij-subnav a {
    display: block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ij-text);
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}
.ij-subnav a:hover { background: var(--ij-blue-soft); color: var(--ij-blue-dark); }
.ij-subnav a.is-current { background: var(--ij-blue); color: #fff; }
.ij-subnav li:last-child { margin-left: auto; }
.ij-subnav .ij-subnav__cta { background: var(--ij-red); color: #fff; }
.ij-subnav .ij-subnav__cta:hover { background: var(--ij-red-dark); color: #fff; }

/* O que é ---------------------------------------------------------------- */
.ij-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.ij-split__text p { margin: 0 0 16px; font-size: 17px; }
.ij-keys {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
}
.ij-keys li {
    padding: 24px;
    border: 1px solid var(--ij-line);
    border-radius: var(--ij-radius);
    background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ij-ease);
}
.ij-keys li:hover { border-color: var(--ij-blue-light); box-shadow: var(--ij-shadow); transform: translateY(-3px); }
.ij-keys__n { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--ij-red); letter-spacing: 0.1em; }
.ij-keys h3 { margin: 0 0 8px; font-size: 18px; color: var(--ij-ink); }
.ij-keys p { margin: 0; font-size: 15px; color: var(--ij-muted); }

/* Anatomia --------------------------------------------------------------- */
.ij-section--dark .ij-head p { color: #c9d4e3; }
.ij-anatomy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.ij-anatomy__panel {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: start;
}
.ij-anatomy__stage {
    padding: clamp(16px, 3vw, 32px);
    border-radius: 16px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
        var(--ij-navy-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ij-anatomy__hint { margin: 10px 0 0; font-size: 12px !important; color: #8ea0ba !important; text-align: right; }

.ij-joist--anatomy .m,
.ij-joist--forces .m { transition: stroke 0.3s, fill 0.3s, opacity 0.3s, stroke-width 0.3s; }
.ij-joist--anatomy .m { stroke: #6f86a6; cursor: pointer; }
.ij-joist--anatomy .m-node { fill: #9fb3cc; }
.ij-joist--anatomy .m-support { fill: rgba(255, 255, 255, 0.08); cursor: default; }
.ij-joist--anatomy .hit { stroke: transparent; stroke-width: 26; cursor: pointer; }
.ij-joist--anatomy.has-focus .m:not(.m-support) { opacity: 0.4; }
.ij-joist--anatomy.has-focus .m.is-on { opacity: 1; }
.ij-joist--anatomy .m.is-on.m-chord[data-part="top"] { stroke: #7fb0ec; }
.ij-joist--anatomy .m.is-on.m-chord[data-part="bottom"] { stroke: #e08b8b; }
.ij-joist--anatomy .m.is-on[data-part="diag"] { stroke: #f2c46d; stroke-width: 6.5; }
.ij-joist--anatomy .m.is-on[data-part="vert"] { stroke: #7fd3b8; stroke-width: 6.5; }
.ij-joist--anatomy .m-node.is-on { fill: #fff; }
.ij-joist--anatomy .m-seat.is-on { stroke: #c9a7f0; }
.ij-joist--anatomy .ij-callout { fill: #fff; font-size: 22px; font-weight: 700; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.ij-joist--anatomy .ij-callout.is-on { opacity: 1; }

.ij-anatomy__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ij-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: transparent;
    color: #dbe5f2;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.ij-chip:hover { border-color: rgba(255, 255, 255, 0.45) !important; }
.ij-chip[aria-pressed="true"] { background: #fff; color: var(--ij-navy); border-color: #fff !important; }
.ij-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ij-dot--top { background: #7fb0ec; }
.ij-dot--bottom { background: #e08b8b; }
.ij-dot--diag { background: #f2c46d; }
.ij-dot--vert { background: #7fd3b8; }
.ij-dot--node { background: #fff; box-shadow: inset 0 0 0 2px #6f86a6; }
.ij-dot--seat { background: #c9a7f0; }

.ij-anatomy__info {
    min-height: 210px;
    padding: 24px;
    border-radius: var(--ij-radius);
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--ij-red-light) !important;
}
.ij-anatomy__info article { animation: ij-fade 0.35s var(--ij-ease); }
.ij-anatomy__info h3 { margin: 0 0 10px; font-size: 22px; color: #fff; }
.ij-anatomy__info p { margin: 0; color: #c9d4e3; }
@keyframes ij-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Esforços --------------------------------------------------------------- */
.ij-forces__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.ij-forces .ij-seg--modes { margin-bottom: 0; }

.ij-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; font-size: 14px; color: var(--ij-muted); }
.ij-legend li { display: flex; align-items: center; gap: 8px; }
.ij-legend i { width: 22px; height: 6px; border-radius: 3px; }
.ij-legend__c { background: var(--ij-blue); }
.ij-legend__t { background: var(--ij-red); }
.ij-legend__n { background: #cbd2dc; }

.ij-forces__stage {
    padding: clamp(12px, 3vw, 32px);
    border-radius: 16px;
    border: 1px solid var(--ij-line);
    background:
        linear-gradient(#eef1f5 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, #eef1f5 1px, transparent 1px) 0 0 / 40px 40px,
        #fff;
}
.ij-joist--forces .m { stroke: #98a2b3; }
.ij-joist--forces .m-node { fill: #667085; }
.ij-joist--forces .m-seat { stroke: #667085; }
.ij-joist--forces .m-support { fill: #e2e6ec; }
.ij-joist--forces .m.f-c { stroke: var(--ij-blue); }
.ij-joist--forces .m.f-t { stroke: var(--ij-red); }
.ij-joist--forces .m.f-n { stroke: #cbd2dc; }
.ij-joist--forces .ij-load line { stroke: var(--ij-red); stroke-width: 3; }
.ij-joist--forces .ij-load path { fill: var(--ij-red); stroke: none; }
.ij-joist--forces .ij-load { opacity: 0; transition: opacity 0.4s, transform 0.6s var(--ij-ease); transform: translateY(-14px); }
.ij-joist--forces.is-loaded .ij-load { opacity: 1; transform: none; }
.ij-joist--forces .ij-react { opacity: 0; transition: opacity 0.4s 0.3s; }
.ij-joist--forces.is-loaded .ij-react { opacity: 1; }
.ij-joist--forces .ij-react path { fill: var(--ij-blue); }
.ij-joist--forces .ij-react line { stroke: var(--ij-blue); stroke-width: 3; }
.ij-forces__status { margin: 14px 0 28px; font-size: 15px !important; font-weight: 600; color: var(--ij-ink) !important; }

.ij-forces__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    counter-reset: ij-step;
}
.ij-forces__steps li {
    counter-increment: ij-step;
    position: relative;
    padding: 52px 20px 20px;
    border-radius: var(--ij-radius);
    background: var(--ij-soft);
    font-size: 15px;
    color: var(--ij-muted);
}
.ij-forces__steps li::before {
    content: counter(ij-step, decimal-leading-zero);
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ij-red);
}
.ij-forces__steps strong { display: block; margin-bottom: 6px; color: var(--ij-ink); font-size: 16px; }

/* Aplicações ------------------------------------------------------------- */
.ij-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ij-app {
    overflow: hidden;
    border-radius: var(--ij-radius);
    background: #fff;
    border: 1px solid var(--ij-line);
    transition: box-shadow 0.3s, transform 0.3s var(--ij-ease);
}
.ij-app:hover { box-shadow: var(--ij-shadow); transform: translateY(-4px); }
.ij-app img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ij-ease); }
.ij-app:hover img { transform: scale(1.04); }
.ij-app__body { padding: 24px; }
.ij-app h3 { margin: 0 0 8px; font-size: 20px; color: var(--ij-ink); }
.ij-app p { margin: 0; font-size: 15px; color: var(--ij-muted); }

.ij-span {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    margin-top: clamp(40px, 6vw, 72px);
    padding: clamp(24px, 4vw, 48px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ij-line);
}
.ij-span__text p { margin: 0 0 14px; }
.ij-span__text p:last-child { margin-bottom: 0; }
.ij-checks { margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.ij-checks li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border-radius: 10px;
    background: var(--ij-blue-soft);
    font-weight: 600;
    color: var(--ij-blue-dark);
}
.ij-checks li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--ij-red);
    border-bottom: 3px solid var(--ij-red);
    transform: translateY(-70%) rotate(-45deg);
}

/* Fábrica ---------------------------------------------------------------- */
.ij-factory { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ij-factory__text p { margin: 0 0 16px; }
.ij-factory__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ij-factory__links a {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
}
.ij-factory__links a:hover { background: #fff; color: var(--ij-blue-dark); }
.ij-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.ij-stats > div {
    padding: 24px;
    border-radius: var(--ij-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.ij-stats dt { margin-bottom: 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #bcd0ea; }
.ij-stats dd { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; color: #fff; }
.ij-stats small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: #dbe5f2; }

/* Comparativo ------------------------------------------------------------ */
.ij-seg {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: var(--ij-soft);
    border: 1px solid var(--ij-line) !important;
}
.ij-seg button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 9px;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: var(--ij-muted);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.ij-seg button[aria-selected="true"],
.ij-seg button[aria-pressed="true"] { background: #fff; color: var(--ij-blue-dark); box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12); }

.ij-compare__table { border-radius: 16px; overflow: hidden; border: 1px solid var(--ij-line) !important; }
.ij-compare__row {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    border-top: 1px solid var(--ij-line) !important;
}
.ij-compare__row:first-child { border-top: 0 !important; }
.ij-compare__row > * { margin: 0; padding: 18px 22px; }
.ij-compare__row h3 { font-size: 16px; color: var(--ij-ink); background: var(--ij-soft); }
.ij-compare__row p { font-size: 15px; }
.ij-compare__row b { display: none; }
.ij-compare__row .ij-compare__joist { background: var(--ij-blue-soft); color: var(--ij-blue-dark); font-weight: 500; }
.ij-compare__row--head span { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ij-muted); background: #fff; }
.ij-compare__row--head .ij-compare__joist { background: var(--ij-blue); color: #fff; }
.ij-compare__row p span { transition: opacity 0.25s; }
.ij-compare.is-swapping .ij-compare__row p span { opacity: 0; }

/* Processo / linha do tempo ---------------------------------------------- */
.ij-timeline {
    --ij-progress: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
}
.ij-timeline::before,
.ij-timeline::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--ij-line);
}
.ij-timeline::after {
    background: linear-gradient(90deg, var(--ij-blue), var(--ij-red));
    transform-origin: left;
    transform: scaleX(var(--ij-progress));
    transition: transform 0.2s linear;
}
.ij-step { position: relative; z-index: 1; }
.ij-step__n {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--ij-line) !important;
    font-size: 17px;
    font-weight: 700;
    color: var(--ij-muted);
    transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.4s var(--ij-ease);
}
.ij-step.is-active .ij-step__n { background: var(--ij-blue); border-color: var(--ij-blue) !important; color: #fff; transform: scale(1.06); }
.ij-step:last-child.is-active .ij-step__n { background: var(--ij-red); border-color: var(--ij-red) !important; }
.ij-step__body { opacity: 0.82; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--ij-ease); }
.ij-step.is-active .ij-step__body { opacity: 1; transform: none; }
.ij-step h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; color: var(--ij-ink); }
.ij-step p { margin: 0; font-size: 14px; color: var(--ij-text); }

/* Galeria ---------------------------------------------------------------- */
.ij-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.ij-gallery__item { position: relative; overflow: hidden; border-radius: var(--ij-radius); }
.ij-gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.ij-gallery__item button { display: block; width: 100%; height: 100%; padding: 0; background: none; cursor: zoom-in; }
.ij-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ij-ease); }
.ij-gallery__item:hover img { transform: scale(1.05); }
.ij-gallery__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(0deg, rgba(15, 29, 51, 0.9), rgba(15, 29, 51, 0));
    pointer-events: none;
}
.ij-gallery__more { margin: 24px 0 0; }
.ij-gallery__more a { font-weight: 700; color: #fff; border-bottom: 2px solid var(--ij-red-light) !important; padding-bottom: 2px; }

.ij-lightbox {
    /* o tema zera margin em *; sem isto o <dialog> não fica centralizado */
    margin: auto;
    width: min(1100px, 94vw);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #0b1526;
    color: #fff;
    overflow: visible;
}
.ij-lightbox::backdrop { background: rgba(8, 14, 26, 0.88); }
.ij-lightbox figure { margin: 0; }
.ij-lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px 12px 0 0; }
.ij-lightbox figcaption { padding: 14px 18px; font-size: 15px; color: #c9d4e3; }
.ij-lightbox__close,
.ij-lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--ij-navy);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--ij-shadow);
    z-index: 2;
}
.ij-lightbox__close { top: -18px; right: -18px; }
.ij-lightbox__nav { top: 50%; transform: translateY(-50%); }
.ij-lightbox__nav--prev { left: -24px; }
.ij-lightbox__nav--next { right: -24px; }

/* Públicos --------------------------------------------------------------- */
.ij-audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ij-audience article {
    padding: 28px;
    border-radius: var(--ij-radius);
    border-top: 4px solid var(--ij-blue) !important;
    background: var(--ij-soft);
}
.ij-audience article:nth-child(2) { border-top-color: var(--ij-red) !important; }
.ij-audience article:nth-child(3) { border-top-color: var(--ij-blue-dark) !important; }
.ij-audience h3 { margin: 0 0 10px; font-size: 20px; color: var(--ij-ink); }
.ij-audience p { margin: 0; color: var(--ij-muted); }

/* FAQ -------------------------------------------------------------------- */
.ij-faq { max-width: 900px; }
.ij-faq__list details {
    margin-bottom: 12px;
    border-radius: var(--ij-radius);
    background: #fff;
    border: 1px solid var(--ij-line) !important;
}
.ij-faq__list summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ij-ink);
    cursor: pointer;
    list-style: none;
}
.ij-faq__list summary::-webkit-details-marker { display: none; }
.ij-faq__list summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    color: var(--ij-red);
    transition: transform 0.25s;
}
.ij-faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ij-faq__list details p { margin: 0; padding: 0 22px 22px; color: var(--ij-muted); }

/* Chamada comercial ------------------------------------------------------ */
.ij-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(64px, 9vw, 112px) 0;
    background: linear-gradient(120deg, var(--ij-navy) 0%, var(--ij-blue-dark) 60%, var(--ij-blue) 100%);
    color: #dbe5f2;
}
.ij-cta__bg { position: absolute; inset: auto -5% -6% -5%; width: 110%; height: 55%; z-index: -1; opacity: 0.07; }
.ij-cta__bg .m { stroke: #fff; }
.ij-cta__bg .m-node { fill: #fff; }
.ij-cta__bg .m-support { fill: none; }
.ij-cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ij-cta__inner p { margin: 0 0 18px; font-size: 18px; }
.ij-cta__list { margin: 0; padding: 0; display: grid; gap: 10px; }
.ij-cta__list li { display: flex; gap: 10px; align-items: baseline; }
.ij-cta__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--ij-red-light); transform: rotate(45deg) translateY(-2px); }
.ij-cta__actions {
    display: grid;
    gap: 14px;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.ij-cta__contacts { display: grid; gap: 6px; margin: 6px 0 0 !important; font-size: 15px !important; text-align: center; }
.ij-cta__contacts a { color: #fff; font-weight: 600; }

/* Outras soluções -------------------------------------------------------- */
.ij-related { padding: 48px 0 64px; background: #fff; border-top: 1px solid var(--ij-line); }
.ij-related ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.ij-related a {
    display: block;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--ij-line) !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--ij-blue-dark);
    transition: border-color 0.2s, background-color 0.2s;
}
.ij-related a:hover { border-color: var(--ij-blue) !important; background: var(--ij-blue-soft); }

/* Revelação ao rolar (só com JS ativo) ----------------------------------- */
.ij-js .ij-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ij-ease), transform 0.8s var(--ij-ease); }
.ij-js .ij-reveal.is-in { opacity: 1; transform: none; }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 1080px) {
    .ij-timeline { grid-template-columns: 1fr; gap: 0; }
    .ij-timeline::before,
    .ij-timeline::after { top: 24px; bottom: 24px; left: 22px; right: auto; width: 3px; height: auto; }
    .ij-timeline::after { transform-origin: top; transform: scaleY(var(--ij-progress)); }
    .ij-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 28px; }
    .ij-step__n { margin: 0; }
    .ij-step__body { padding-top: 10px; }
    .ij-step p { font-size: 15px; }
    .ij-forces__steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .ij-split,
    .ij-anatomy,
    .ij-span,
    .ij-factory,
    .ij-cta__inner { grid-template-columns: 1fr; }
    .ij-apps,
    .ij-audience { grid-template-columns: 1fr; }
    .ij-app { display: grid; grid-template-columns: 0.9fr 1.1fr; }
    .ij-app img { height: 100%; aspect-ratio: auto; }
    .ij-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .ij-anatomy__info { min-height: 0; }
    .ij-anatomy__panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ij { font-size: 16px; }
    .ij-wrap { width: 100%; padding: 0 16px; }
    .ij-hero { min-height: 0; padding: 56px 0 0; }
    .ij-hero__shade { background: linear-gradient(180deg, rgba(15, 29, 51, 0.82) 0%, rgba(15, 29, 51, 0.92) 100%); }
    .ij-hero__cta .ij-btn { flex: 1 1 100%; }
    .ij-hero__joist { margin-top: 28px; padding: 0 8px; }
    .ij-keys { grid-template-columns: 1fr; }
    .ij-app { grid-template-columns: 1fr; }
    .ij-app img { aspect-ratio: 16 / 9; height: auto; }
    .ij-forces__steps { grid-template-columns: 1fr; }
    .ij-seg { display: flex; }
    .ij-seg button { flex: 1 1 0; padding: 10px 8px; font-size: 14px; }
    .ij-compare__row,
    .ij-compare__row--head { grid-template-columns: 1fr; }
    .ij-compare__row--head { display: none; }
    .ij-compare__row > * { padding: 12px 16px; }
    .ij-compare__row h3 { padding-top: 16px; }
    .ij-compare__row b { display: inline; }
    .ij-gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
    .ij-gallery__item--wide { grid-column: auto; grid-row: auto; }
    .ij-lightbox__close { top: 8px; right: 8px; }
    .ij-lightbox__nav { top: auto; bottom: 56px; transform: none; }
    .ij-lightbox__nav--prev { left: 8px; }
    .ij-lightbox__nav--next { right: 8px; }
    .ij-cta__actions { padding: 20px; }
    .ij-subnav li:last-child { margin-left: 0; }
    .ij-joist--anatomy .ij-callout { font-size: 32px; }
    .ij-joist--hero .m-dim-label { font-size: 26px; }
    .ij-joist .m-chord { stroke-width: 11; }
    .ij-joist .m-web { stroke-width: 6; }
}

@media (prefers-reduced-motion: reduce) {
    .ij *,
    .ij *::before,
    .ij *::after { animation: none !important; transition: none !important; }
    .ij-js .ij-reveal { opacity: 1; transform: none; }
    .ij-step__body { opacity: 1; transform: none; }
    .ij-joist--hero .m-node { opacity: 1 !important; }
}

@media print {
    .ij-subnav, .ij-hero__joist, .ij-cta__bg, .ij-lightbox { display: none !important; }
    .ij-js .ij-reveal { opacity: 1; transform: none; }
}
.ij [id] { scroll-margin-top: 72px; }
