/* ============================================================
   SESMT Digital — Enterprise proposal
   Direção: industrial executive / governança operacional.
   Esta camada é carregada por último e harmoniza home, módulos,
   planos, diagnóstico e campanhas sem duplicar estruturas.
   ============================================================ */

:root {
    --enterprise-ink: #071116;
    --enterprise-deep: #0a1820;
    --enterprise-panel: #10242d;
    --enterprise-panel-2: #152c36;
    --enterprise-line: rgba(180, 207, 216, 0.18);
    --enterprise-paper: #f1eee8;
    --enterprise-paper-2: #e6e8e5;
    --enterprise-copper: #c89b63;
    --enterprise-copper-light: #e2bc86;
    --enterprise-data: #66c8c8;
    --enterprise-white: #f7f8f6;
    --enterprise-muted: #9eb1b8;

    --surface-sunken: var(--enterprise-ink);
    --surface-base: var(--enterprise-deep);
    --surface-raised: var(--enterprise-panel);
    --surface-overlay: var(--enterprise-panel-2);
    --surface-line: var(--enterprise-line);
    --text-primary: var(--enterprise-white);
    --text-secondary: #c1ced2;
    --text-muted: var(--enterprise-muted);
    --accent: var(--enterprise-copper);
    --accent-strong: var(--enterprise-copper-light);
    --accent-ink: #171008;
    --accent-color: var(--enterprise-copper);
    --accent-hover: var(--enterprise-copper-light);
    --font-main: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --max-width: 1320px;
    --media-photo-ratio: 4 / 3;
    --media-product-ratio: 14 / 8.5;
    --media-frame: rgba(16, 36, 45, .72);
}

html { scroll-padding-top: 92px; }

body {
    background:
        radial-gradient(circle at 82% 8%, rgba(102, 200, 200, 0.08), transparent 28rem),
        linear-gradient(180deg, var(--enterprise-ink), var(--enterprise-deep));
    color: var(--text-primary);
    font-family: var(--font-body);
    letter-spacing: -0.008em;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 65%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

p, li, label, input, select, textarea, button { font-family: var(--font-body); }

a, button, .btn, .tag, .badge, summary {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.container { max-width: var(--max-width); padding-inline: clamp(1.25rem, 4vw, 3rem); }
.section { padding-block: clamp(5.5rem, 9vw, 8.5rem); }

/* Header */
.header,
.page-home .header {
    padding: .9rem 0;
    background: rgba(7, 17, 22, .88);
    border-bottom: 1px solid var(--enterprise-line);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    box-shadow: none;
}

.header.scrolled,
.page-home .header.scrolled {
    padding: .7rem 0;
    background: rgba(7, 17, 22, .96);
    border-bottom-color: rgba(200, 155, 99, .24);
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.enterprise-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .8rem;
    text-transform: none;
    letter-spacing: 0;
}

.shared-header .nav-container {
    gap: clamp(1rem, 2vw, 2rem);
}

.shared-header nav {
    min-width: 0;
    margin-left: auto;
}

.enterprise-brand img,
.page-home .header .logo img {
    width: auto;
    height: 52px !important;
    margin: 0 !important;
}

.enterprise-brand-copy { display: grid; line-height: 1.05; }
.enterprise-brand-copy strong {
    color: var(--enterprise-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: -.02em;
}
.enterprise-brand-copy small {
    margin-top: .25rem;
    color: var(--enterprise-muted);
    font-size: .62rem;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nav-menu { gap: clamp(1rem, 2vw, 2rem); }
.nav-menu > li { flex: 0 0 auto; }
.nav-link,
.header.scrolled .nav-link,
.page-home .nav-link,
.page-home .header.scrolled .nav-link {
    color: #c6d1d4;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .055em;
    text-shadow: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-link:hover,
.header.scrolled .nav-link:hover { color: var(--enterprise-copper-light); }

.dropdown-menu,
.page-home .dropdown-menu {
    top: calc(100% + 1rem);
    padding: .65rem;
    border: 1px solid var(--enterprise-line);
    border-radius: 4px;
    background: rgba(10, 24, 32, .98);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.dropdown-item,
.page-home .dropdown-item {
    padding: .75rem 1rem;
    color: #c6d1d4;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .035em;
}
.dropdown-item:hover,
.page-home .dropdown-item:hover {
    color: var(--enterprise-white);
    background: rgba(200,155,99,.12);
}

/* Controls */
.btn, .btn-cta {
    min-height: 48px;
    padding: .78rem 1.25rem;
    border-radius: 3px;
    font-size: .78rem;
    font-weight: 720;
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: none;
}
.btn-primary, .btn-cta {
    color: #171008;
    border-color: var(--enterprise-copper);
    background: var(--enterprise-copper);
}
.btn-primary:hover, .btn-cta:hover {
    color: #171008;
    border-color: var(--enterprise-copper-light);
    background: var(--enterprise-copper-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200,155,99,.18);
}
.btn-outline, .page-home .btn-outline {
    color: var(--enterprise-white);
    border-color: rgba(247,248,246,.25);
    background: transparent;
}
.btn-outline:hover, .page-home .btn-outline:hover {
    color: var(--enterprise-white);
    border-color: rgba(247,248,246,.58);
    background: rgba(247,248,246,.06);
}
.btn-pulse { animation: none; }

/* Hero system */
.hero,
.page-home .hero {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    padding: clamp(9rem, 12vw, 11rem) 0 clamp(5rem, 8vw, 7rem);
    background:
        linear-gradient(90deg, rgba(7,17,22,.98) 0%, rgba(7,17,22,.9) 52%, rgba(7,17,22,.72) 100%),
        url('/assets/img/home-rastreabilidade-v2.webp') center/cover no-repeat;
    border-bottom: 1px solid var(--enterprise-line);
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 63%, rgba(102,200,200,.22) 63% calc(63% + 1px), transparent calc(63% + 1px)),
        linear-gradient(0deg, transparent 0 22%, rgba(200,155,99,.22) 22% calc(22% + 1px), transparent calc(22% + 1px));
}
.hero-overlay { background: transparent; }
.hero-content,
.page-home .hero .hero-content { gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.hero-text { max-width: 700px; }
.hero .badge,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.35rem;
    color: var(--enterprise-copper-light);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.hero-eyebrow::before,
.hero .badge::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.hero h1,
.page-home .hero h1 {
    max-width: 800px;
    margin-bottom: 1.5rem;
    color: var(--enterprise-white);
    font-size: clamp(3.2rem, 5.8vw, 5.8rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.page-home .hero h1 span { color: var(--enterprise-white); }
.hero .subheadline,
.hero-lead {
    max-width: 650px;
    color: #b9c8cc;
    font-size: clamp(1.05rem, 1.35vw, 1.24rem);
    font-weight: 420;
    line-height: 1.65;
}
.hero-actions { gap: .75rem; margin-top: 2rem; }
.hero-proofline {
    color: #82969d;
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.enterprise-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 760px;
    margin-top: 2.2rem;
    border: 1px solid var(--enterprise-line);
    background: var(--enterprise-line);
}
.enterprise-proof-grid > div {
    display: grid;
    align-content: center;
    min-height: 90px;
    padding: 1rem 1.15rem;
    background: rgba(7,17,22,.86);
}
.enterprise-proof-grid strong {
    color: var(--enterprise-white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}
.enterprise-proof-grid span {
    margin-top: .3rem;
    color: #82969d;
    font-size: .68rem;
    font-weight: 620;
    letter-spacing: .035em;
}
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.2rem;
    margin-top: 1.7rem;
}
.trust-indicators span { color: #a9bbc0; font-size: .78rem; }
.trust-indicators i { color: var(--enterprise-data); }
.combo-modulo {
    max-width: 560px;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--enterprise-line);
    color: #a9bbc0;
    font-size: .82rem;
    line-height: 1.55;
}
.combo-modulo i { margin-right: .45rem; color: var(--enterprise-copper); }
.combo-modulo strong { color: var(--enterprise-white); font-weight: 600; }
.combo-modulo a {
    color: var(--enterprise-copper-light);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.combo-modulo a:hover { color: var(--enterprise-white); }
/* Abaixo de 991px o hero centraliza (landing.css); a linha acompanha. */
@media (max-width: 991px) {
    .combo-modulo { margin-inline: auto; }
}

/* Forms */
.hero-form,
.contact-form,
.planos-form-wrap .hero-form {
    position: relative;
    max-width: 500px;
    padding: clamp(1.7rem, 3vw, 2.5rem);
    border: 1px solid rgba(200,155,99,.24);
    border-radius: 4px;
    background: rgba(241,238,232,.98);
    box-shadow: 0 32px 80px rgba(0,0,0,.34);
}
.hero-form::before {
    content: 'CONSULTORIA DE IMPLANTAÇÃO';
    display: block;
    margin-bottom: 1.1rem;
    color: #84633e;
    font-size: .63rem;
    font-weight: 750;
    letter-spacing: .16em;
}
.hero-form h3,
.page-home .hero-form h3 {
    color: #13242a !important;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 650;
}
.hero-form p, .hero-form-lead { color: #526267 !important; }
.hero-form label { color: #283c43; font-size: .72rem; font-weight: 700; letter-spacing: .035em; }
.hero-form input,
.hero-form select,
.hero-form textarea {
    min-height: 47px;
    border: 1px solid #c7cecc;
    border-radius: 2px;
    background: #faf9f6;
    color: #17292f;
}
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    border-color: #9a7347;
    box-shadow: 0 0 0 3px rgba(200,155,99,.13);
}
.lead-submit {
    border-color: var(--enterprise-copper);
    border-radius: 3px;
    background: var(--enterprise-copper);
    color: #171008;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: none;
}
.lead-submit:hover:not(:disabled) {
    border-color: var(--enterprise-copper-light);
    background: var(--enterprise-copper-light);
    box-shadow: 0 12px 30px rgba(200,155,99,.18);
}

/* Section rhythm */
.section-header { max-width: 850px; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-header h2,
.page-home .section-header h2 {
    color: var(--enterprise-white);
    font-size: clamp(2.35rem, 4vw, 4.25rem) !important;
    font-weight: 600;
    line-height: 1.03;
}
.section-header h3 { color: var(--enterprise-copper-light) !important; font-family: var(--font-body); font-size: .95rem !important; font-weight: 650 !important; letter-spacing: .09em; text-transform: uppercase; }
.section-header p { color: #9eb1b8; font-size: 1.05rem; line-height: 1.75; }
.page-home section.section:nth-of-type(even) { background: rgba(255,255,255,.018); }
.bg-light { background: rgba(255,255,255,.025); }
.bg-dark, .section-dark { background: #050d11; }

/* Cards */
.card,
.benefit-box,
.step,
.module-card,
.fs-card,
.plano-card,
.feature-item,
.stat-card {
    border: 1px solid var(--enterprise-line);
    border-radius: 4px;
    background: rgba(16,36,45,.72);
    box-shadow: none;
}
.card:hover,
.benefit-box:hover,
.module-card:hover,
.fs-card:hover,
.plano-card:hover {
    border-color: rgba(200,155,99,.46);
    background: rgba(21,44,54,.88);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
.card h3, .benefit-box h3, .feature-item h3, .module-card h3 { color: var(--enterprise-white); }
.card p, .benefit-box p, .feature-item p, .module-card p { color: #9eb1b8; }
.icon-box, .benefit-box i, .feature-item i { color: var(--enterprise-data); }
.icon-box { border-radius: 2px; background: rgba(102,200,200,.09); }

/* Shared breathing room for bordered components on every product page. */
.page-modulo .feature-item {
    margin-bottom: 1rem;
    padding: clamp(1.5rem, 2.5vw, 2.15rem);
}
.page-modulo .feature-item:last-child { margin-bottom: 0; }
.page-modulo .feature-item i { margin-bottom: 1.25rem; }
.page-modulo .feature-item h3 { margin-bottom: .7rem; }
.page-modulo .feature-item p { margin: 0; line-height: 1.7; }

.page-modulo .steps-container { gap: 1rem; }
.page-modulo .step {
    padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.15rem, 2vw, 1.6rem);
}
.page-modulo .step-line { display: none; }
.page-modulo .step p { margin-bottom: 0; line-height: 1.65; }

@media (max-width: 767px) {
    .page-modulo .steps-container { gap: .8rem; }
    .page-modulo .feature-item,
    .page-modulo .step { padding: 1.35rem; }
}

/* EPI + EPC product narrative */
.epc-feature-section {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--enterprise-line);
    background:
        radial-gradient(circle at 86% 18%, rgba(102,200,200,.11), transparent 28rem),
        #071116;
}
.epc-feature-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.04) 50%, transparent 50.2%);
    background-size: 25% 100%;
}
.epc-feature-section .container { position: relative; }
.epc-feature-header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.epc-kicker {
    display: block;
    margin-bottom: 1rem;
    color: var(--enterprise-copper-light);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.epc-feature-header h2 {
    max-width: 760px;
    margin: 0;
    color: var(--enterprise-white);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 600;
    line-height: .98;
}
.epc-feature-header > p {
    margin: 0;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(200,155,99,.5);
    color: #aebfc5;
    font-size: 1.05rem;
    line-height: 1.75;
}
.epc-feature-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 1px;
    border: 1px solid var(--enterprise-line);
    background: var(--enterprise-line);
}
.epc-feature-card {
    position: relative;
    min-height: 300px;
    padding: clamp(1.7rem, 3vw, 2.6rem);
    background: rgba(10,24,32,.96);
}
.epc-feature-card-primary {
    grid-row: span 2;
    min-height: 600px;
    background:
        linear-gradient(180deg, rgba(21,44,54,.98), rgba(10,24,32,.98));
}
.epc-feature-card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 2rem;
}
.epc-feature-number {
    display: block;
    margin-bottom: clamp(3rem, 7vw, 7rem);
    color: var(--enterprise-copper-light);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .15em;
}
.epc-feature-card:not(.epc-feature-card-primary) .epc-feature-number { margin-bottom: 2.5rem; }
.epc-feature-card i {
    display: block;
    margin-bottom: 1.4rem;
    color: var(--enterprise-data);
    font-size: 1.7rem;
}
.epc-feature-card-wide i { align-self: center; margin: 0; font-size: 2.3rem; }
.epc-feature-card h3 {
    margin: 0 0 .8rem;
    color: var(--enterprise-white);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}
.epc-feature-card p { margin: 0; color: #9eb1b8; line-height: 1.75; }
.epc-feature-cta { margin-top: 3rem; }

@media (max-width: 900px) {
    .epc-feature-header { grid-template-columns: 1fr; align-items: start; }
    .epc-feature-header > p { max-width: 680px; }
    .epc-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .epc-feature-card-primary { grid-row: auto; min-height: 300px; }
    .epc-feature-card-wide { grid-column: span 2; }
    .epc-feature-number,
    .epc-feature-card:not(.epc-feature-card-primary) .epc-feature-number { margin-bottom: 2.5rem; }
}

@media (max-width: 600px) {
    .epc-feature-grid { grid-template-columns: 1fr; }
    .epc-feature-card,
    .epc-feature-card-primary { min-height: 0; }
    .epc-feature-card-wide { grid-column: auto; grid-template-columns: 1fr; align-items: start; }
    .epc-feature-card-wide i { margin-bottom: 1.4rem; }
}

.page-home .fs-grid,
.page-home .modules-grid,
.features-grid { gap: 1rem; }
.page-home .fs-card { padding: 2rem; }
.page-home .fs-icon { color: var(--enterprise-copper); }
.page-home .module-card {
    min-height: 240px;
    padding: 2rem;
    border-top: 1px solid var(--enterprise-line);
}
.page-home .module-icon {
    width: auto;
    height: auto;
    margin-bottom: 2.4rem;
    border-radius: 0;
    background: transparent;
    color: var(--enterprise-copper-light);
    font-size: .68rem;
    letter-spacing: .14em;
}
.page-home .module-icon::before { content: 'MÓDULO '; }
.page-home .module-card:hover .module-icon { transform: none; }

/* Media and split content */
.feature-img,
.page-home section img:not(.client-logo img):not(.sipat-img img) {
    border-radius: 4px !important;
}
.feature-img {
    border-color: var(--enterprise-line);
    box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

/*
   Sistema de mídia: fotografias recebem recorte editorial;
   interfaces permanecem inteiras dentro de uma moldura de produto.
*/
.page-modulo #solucao .row {
    align-items: stretch;
}
.page-modulo #solucao .row > .col-half:first-child {
    display: flex;
    flex: 1.08 1 0;
    min-height: clamp(470px, 43vw, 600px);
    align-items: center;
    padding: clamp(.9rem, 2vw, 1.6rem);
    overflow: hidden;
    border: 1px solid var(--enterprise-line);
    background:
        radial-gradient(circle at 78% 18%, rgba(102, 200, 200, .1), transparent 42%),
        var(--media-frame);
}
.page-modulo #solucao .row > .col-half:nth-child(2) {
    flex: .92 1 0;
}
.page-modulo #solucao .feature-img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: var(--media-product-ratio);
    object-fit: contain;
    object-position: center;
    border-radius: 2px !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}
.pillar-box {
    margin-bottom: .75rem !important;
    padding: 1.5rem 1.7rem !important;
    border: 1px solid var(--enterprise-line) !important;
    border-left: 2px solid var(--enterprise-copper) !important;
    border-radius: 3px !important;
    background: rgba(16,36,45,.6) !important;
}
.pillar-box h4 { color: var(--enterprise-white) !important; }

/* Home-specific high-value sections */
#sobre { border-top: 1px solid var(--enterprise-line); }
#areas-de-atuacao img { filter: saturate(.82) contrast(1.04); }
.home-pas {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: 860px;
    padding-block: clamp(5rem, 8vw, 8rem);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7,17,22,.08) 0%, rgba(7,17,22,.42) 42%, rgba(7,17,22,.97) 72%),
        url('/assets/img/home-apr-digital-v2.webp') 34% center/cover no-repeat;
}
.home-pas::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7,17,22,.24), transparent 35%, rgba(7,17,22,.54)),
        linear-gradient(90deg, transparent 0 61%, rgba(200,155,99,.2) 61% calc(61% + 1px), transparent calc(61% + 1px));
}
.home-pas-layout { display: flex; justify-content: flex-end; }
.home-pas-panel {
    width: min(720px, 58vw);
    padding: clamp(2rem, 4vw, 4rem);
    border: 1px solid var(--enterprise-line);
    border-top: 2px solid var(--enterprise-copper);
    background: rgba(7,17,22,.88);
    box-shadow: 0 32px 90px rgba(0,0,0,.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.home-pas-eyebrow {
    margin-bottom: 1.25rem;
    color: var(--enterprise-copper-light);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.home-pas-panel > h2 {
    max-width: 650px;
    color: var(--enterprise-white);
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.02;
}
.home-pas-flow { margin: 2.5rem 0; border-top: 1px solid var(--enterprise-line); }
.home-pas-flow article {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: .35rem 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--enterprise-line);
}
.home-pas-flow article > span {
    grid-row: span 2;
    color: var(--enterprise-copper-light);
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.home-pas-flow h3 {
    color: var(--enterprise-white);
    font-size: 1.05rem;
    line-height: 1.3;
}
.home-pas-flow p { color: #9eb1b8; font-size: .88rem; line-height: 1.65; }

.home-section-kicker {
    margin: 0 0 1rem;
    color: var(--enterprise-copper-light) !important;
    font-size: .7rem !important;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.home-inline-cta { margin-top: 3rem; text-align: center; }

.home-client-proof {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
    border-block: 1px solid var(--enterprise-line);
    background:
        radial-gradient(circle at 82% 48%, rgba(66, 165, 170, .11), transparent 34%),
        linear-gradient(120deg, #071116 0%, #091820 58%, #071116 100%);
}
.home-client-proof::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
}
.home-client-proof .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}
.home-client-proof-copy {
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
    border-left: 2px solid var(--enterprise-copper);
}
.home-client-proof-copy > span {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--enterprise-copper-light);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.home-client-proof-copy h2 {
    max-width: 620px;
    margin: 0;
    color: var(--enterprise-white);
    font-size: clamp(2.15rem, 3.6vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.home-client-proof-copy p {
    max-width: 590px;
    margin: 1.5rem 0 0;
    color: #9eb1b8;
    font-size: clamp(.96rem, 1.25vw, 1.08rem);
    line-height: 1.72;
}
.home-client-proof-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .85rem;
}
.home-client-proof-grid img {
    grid-column: span 2;
    display: block;
    width: 100%;
    height: 128px;
    padding: 1.45rem;
    border: 1px solid rgba(151, 180, 188, .18);
    border-radius: 0 !important;
    background: var(--enterprise-paper);
    object-fit: contain;
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.home-client-proof-grid img.home-client-logo-wide { padding-inline: .85rem; }
.home-client-proof-grid img:nth-last-child(2) { grid-column: 2 / span 2; }
.home-client-proof-grid img:last-child { grid-column: 4 / span 2; }
.home-client-proof-grid img:nth-child(n+5) { background: rgba(16, 36, 45, .94); }
.home-client-proof-grid img:hover {
    z-index: 1;
    transform: translateY(-4px);
    border-color: rgba(208, 161, 100, .62);
}

.home-operating-flow { background: rgba(255,255,255,.018); }
.home-operating-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: stretch; }
.home-operating-visual,
.home-action-engine-visual,
.home-authority figure { margin: 0; }
.home-operating-visual img,
.home-action-engine-visual img,
.home-authority img { display: block; width: 100%; height: auto; border: 1px solid var(--enterprise-line); }
.home-operating-visual {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: clamp(500px, 48vw, 640px);
}
.home-operating-visual img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}
.home-operating-visual figcaption,
.home-action-engine-visual figcaption { padding: .8rem 0 0; color: #71878f; font-size: .72rem; }
.home-operating-steps { border-top: 1px solid var(--enterprise-line); }
.home-operating-steps article { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--enterprise-line); }
.home-operating-steps article > span,
.home-module-group-heading > span,
.home-implementation-grid article > span { color: var(--enterprise-copper-light); font-size: .68rem; font-weight: 750; letter-spacing: .14em; }
.home-operating-steps h3,
.home-module-group-heading h3,
.home-implementation-grid h3 { margin: 0 0 .55rem; color: var(--enterprise-white); }
.home-operating-steps p,
.home-module-group-heading p,
.home-implementation-grid p { margin: 0; color: #9eb1b8; line-height: 1.7; }

.home-modules { background: #071116; }
.home-module-group + .home-module-group { margin-top: clamp(4rem, 7vw, 6.5rem); }
.home-module-group-heading { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 1.2rem; max-width: 720px; margin-bottom: 2rem; }
.home-module-group-heading h3 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.home-module-group-heading p { font-size: .95rem; }
.home-module-group .modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-module-group .module-card { min-height: 220px; }

.home-action-engine {
    border-block: 1px solid var(--enterprise-line);
    background:
        radial-gradient(circle at 86% 20%, rgba(102,200,200,.11), transparent 30rem),
        #050d11;
}
.home-action-engine-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(3rem, 7vw, 7rem); align-items: stretch; }
.home-action-engine-visual {
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    padding: clamp(1rem, 2.4vw, 2rem);
    border: 1px solid var(--enterprise-line);
    background:
        radial-gradient(circle at 82% 20%, rgba(102, 200, 200, .1), transparent 40%),
        var(--media-frame);
}
.home-action-engine-visual img {
    aspect-ratio: var(--media-product-ratio);
    object-fit: contain;
    border: 0;
}
.home-action-engine-copy h2,
.home-authority h2,
.home-final-cta h2 { color: var(--enterprise-white); font-size: clamp(2.4rem, 4.8vw, 4.8rem); font-weight: 600; line-height: 1.02; }
.home-action-engine-copy > p:not(.home-section-kicker),
.home-authority-layout > div > p:not(.home-section-kicker),
.home-final-cta .container > p:not(.home-section-kicker) { color: #a8bbc1; font-size: 1.05rem; line-height: 1.8; }
.home-action-engine-points { display: grid; gap: 1px; margin: 2.4rem 0 2.8rem; border: 1px solid var(--enterprise-line); background: var(--enterprise-line); }
.home-action-engine-points > div { display: grid; grid-template-columns: 135px 1fr; gap: 1rem; padding: 1.1rem 1.25rem; background: rgba(10,24,32,.96); }
.home-action-engine-points strong { color: var(--enterprise-white); }
.home-action-engine-points span { color: #83989f; }

.home-implementation { background: rgba(255,255,255,.022); }
.home-implementation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--enterprise-line); background: var(--enterprise-line); }
.home-implementation-grid article { min-height: 280px; padding: clamp(1.8rem, 3vw, 2.7rem); background: rgba(16,36,45,.8); }
.home-implementation-grid article > span { display: block; margin-bottom: 4rem; }

.home-authority { background: #071116; }
.home-authority-layout { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: stretch; }
.home-authority figure {
    position: relative;
    min-height: clamp(520px, 48vw, 680px);
    overflow: hidden;
    border: 1px solid var(--enterprise-line);
    background: var(--media-frame);
}
.home-authority figure::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, rgba(7, 17, 22, .34));
}
.home-authority img {
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center;
}
.home-authority-layout > div { align-self: center; }
.home-authority-signals { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.home-authority-signals span { padding: .65rem .8rem; border: 1px solid var(--enterprise-line); color: #a8bbc1; font-size: .72rem; font-weight: 650; letter-spacing: .04em; }

.home-final-cta { overflow: hidden; text-align: center; background: #050d11; }
.home-final-cta::before { content: ''; position: absolute; inset: -30%; pointer-events: none; background: radial-gradient(circle at center, rgba(102,200,200,.12), transparent 42%); }
.home-final-cta .container { position: relative; max-width: 960px; }
.home-final-cta h2 { max-width: 850px; margin-inline: auto; }
.home-final-cta .container > p:not(.home-section-kicker) { max-width: 720px; margin: 1.4rem auto 0; }
.home-final-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.home-final-cta-contact { display: block; margin-top: 1.5rem; color: #71878f; font-size: .72rem; letter-spacing: .06em; }

@media (max-width: 990px) {
    .home-client-proof .container,
    .home-operating-layout,
    .home-action-engine-layout,
    .home-authority-layout { grid-template-columns: 1fr; }
    .home-client-proof .container { gap: 3rem; }
    .home-client-proof-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-module-group .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-action-engine-layout { gap: 3rem; }
    .home-authority figure { min-height: 0; aspect-ratio: var(--media-photo-ratio); }
}

@media (max-width: 640px) {
    .home-module-group .modules-grid,
    .home-implementation-grid { grid-template-columns: 1fr; }
    .home-client-proof { padding-block: 4rem; }
    .home-client-proof-copy { padding-left: 1.25rem; }
    .home-client-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .home-client-proof-grid img,
    .home-client-proof-grid img:nth-last-child(2),
    .home-client-proof-grid img:last-child { grid-column: auto; height: 98px; padding: 1.15rem; }
    .home-client-proof-grid img.home-client-logo-wide { padding-inline: .8rem; }
    .home-operating-steps article,
    .home-module-group-heading { grid-template-columns: 1fr; }
    .home-module-group .module-card { min-height: 0; }
    .home-action-engine-points > div { grid-template-columns: 1fr; }
    .home-implementation-grid article { min-height: 0; }
    .home-implementation-grid article > span { margin-bottom: 2rem; }
    .home-operating-visual { min-height: 0; }
    .home-operating-visual img { aspect-ratio: var(--media-photo-ratio); }
    .home-action-engine-visual { padding: .75rem; }
}

/* Roadmap: separate future bets from the product available today. */
.page-roadmap .roadmap-hero {
    background:
        linear-gradient(90deg, rgba(7,17,22,.98) 0%, rgba(7,17,22,.88) 52%, rgba(7,17,22,.64)),
        url('/assets/img/home-conecta-v2.webp') center/cover no-repeat;
}
.roadmap-principles { border-block: 1px solid var(--enterprise-line); background: #071116; }
.roadmap-principles .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-inline: 1px solid var(--enterprise-line); background: var(--enterprise-line); }
.roadmap-principles .container > div { min-height: 150px; padding: 1.7rem; background: rgba(10,24,32,.98); }
.roadmap-principles strong { display: block; margin-bottom: .7rem; color: var(--enterprise-white); }
.roadmap-principles span { color: #8fa3aa; font-size: .85rem; line-height: 1.65; }
.roadmap-kicker { margin: 0 0 1rem; color: var(--enterprise-copper-light) !important; font-size: .7rem !important; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.roadmap-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--enterprise-line); background: var(--enterprise-line); }
.roadmap-stage-card { display: flex; flex-direction: column; min-height: 430px; padding: clamp(2rem, 4vw, 3rem); background: rgba(10,24,32,.98); color: inherit; text-decoration: none; }
.roadmap-stage-card > span { color: var(--enterprise-copper-light); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.roadmap-stage-card i { margin: auto 0 1.5rem; color: var(--enterprise-data); font-size: 2rem; }
.roadmap-stage-card h3 { color: var(--enterprise-white); font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.1; }
.roadmap-stage-card p { margin: .9rem 0 1.5rem; color: #9eb1b8; line-height: 1.7; }
.roadmap-stage-card small { color: #71878f; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.roadmap-stage-card:hover { background: rgba(21,44,54,.94); }
.roadmap-product { border-top: 1px solid var(--enterprise-line); }
.roadmap-product-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: clamp(3rem, 7vw, 7rem); align-items: stretch; }
.roadmap-product figure {
    position: relative;
    min-height: clamp(470px, 42vw, 610px);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--enterprise-line);
    background: var(--media-frame);
}
.roadmap-product figure::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 58%, rgba(7, 17, 22, .36));
}
.roadmap-product figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78); }
.roadmap-product-layout > div { align-self: center; padding-block: 1.5rem; }
.roadmap-product h2,
.roadmap-final-cta h2 { color: var(--enterprise-white); font-size: clamp(2.4rem, 4.6vw, 4.6rem); font-weight: 600; line-height: 1.02; }
.roadmap-product p { color: #a8bbc1; font-size: 1.02rem; line-height: 1.8; }
.roadmap-product ul { display: grid; gap: .65rem; margin-top: 1.7rem; padding: 0; }
.roadmap-product li { position: relative; padding-left: 1.3rem; color: #9eb1b8; line-height: 1.6; }
.roadmap-product li::before { content: ''; position: absolute; top: .7em; left: 0; width: 6px; height: 6px; background: var(--enterprise-copper); }
.roadmap-product-reverse figure { order: 2; }
.roadmap-final-cta { text-align: center; background: #050d11; }
.roadmap-final-cta .container { max-width: 900px; }
.roadmap-final-cta p:not(.roadmap-kicker) { max-width: 720px; margin: 1.3rem auto 2.3rem; color: #a8bbc1; font-size: 1.05rem; line-height: 1.8; }

@media (max-width: 900px) {
    .roadmap-principles .container,
    .roadmap-stage-grid,
    .roadmap-product-layout { grid-template-columns: 1fr; }
    .roadmap-principles .container > div { min-height: 0; }
    .roadmap-stage-card { min-height: 330px; }
    .roadmap-product-reverse figure { order: 0; }
    .roadmap-product figure { min-height: 0; aspect-ratio: var(--media-photo-ratio); }
}

#resultados > .container > .row > div {
    border: 1px solid var(--enterprise-line) !important;
    border-radius: 4px !important;
    background: rgba(16,36,45,.65) !important;
    box-shadow: none !important;
}
.home-results-grid { align-items: stretch; }
.home-result-card > div:first-child { min-height: 118px; }
.home-result-media {
    aspect-ratio: 3 / 2;
    margin-top: auto;
}
.home-result-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}
.home-result-graphic {
    min-height: 210px;
    margin-top: auto;
}
#solucoes { background: #050d11; }
#solucoes > .container > .row > a {
    border-color: var(--enterprise-line) !important;
    border-radius: 4px !important;
    background: rgba(16,36,45,.55) !important;
}
#integra img, #ensina img, #conecta img { filter: saturate(.78); }
.badge-roadmap { border-radius: 2px; color: var(--enterprise-copper-light); background: rgba(200,155,99,.1); border: 1px solid rgba(200,155,99,.28); }
.imd-faixa { border-block: 1px solid rgba(102,200,200,.2); background: rgba(102,200,200,.055); }
.imd-faixa-conteudo { gap: 3rem; }
.imd-faixa h2 { color: var(--enterprise-white); }

.clientes-grid { gap: 1rem; }
.client-logo {
    border: 1px solid var(--enterprise-line) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

#contato .container > div[style*="display: flex"] > a,
#contato #btn-contact-modal {
    border: 1px solid var(--enterprise-line) !important;
    border-radius: 3px !important;
    background: rgba(16,36,45,.62) !important;
    box-shadow: none !important;
}
#contato .container > div[style*="display: flex"] > a:hover,
#contato #btn-contact-modal:hover {
    border-color: rgba(200,155,99,.46) !important;
    background: rgba(21,44,54,.88) !important;
}
#contato .container > div[style*="display: flex"] i {
    color: var(--enterprise-copper-light) !important;
}
#contato .container > div:last-child {
    border-color: var(--enterprise-line) !important;
    border-radius: 4px !important;
}

details.faq-item {
    border-color: var(--enterprise-line);
    border-radius: 3px;
    background: rgba(16,36,45,.55);
}
details.faq-item[open] { border-color: rgba(200,155,99,.4); background: rgba(21,44,54,.82); }
summary.faq-question { color: var(--enterprise-white); }
summary.faq-question::after { color: var(--enterprise-copper); }
#faq { border-top: 1px solid var(--enterprise-line); }
.faq-section-header { max-width: 850px; margin-inline: auto; }
.faq-eyebrow {
    margin: 0 0 1rem;
    color: var(--enterprise-copper-light);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.faq-section-header h2 { max-width: 780px; margin-inline: auto; }
.faq-intro {
    max-width: 720px;
    margin: 1.4rem auto 3.5rem;
    color: #aebfc5;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.75;
    text-align: center;
}
.faq-content { max-width: 960px; margin: 0 auto; }
.faq-content summary.faq-question { padding: 1.6rem 1.75rem; }
.faq-content .faq-answer {
    max-width: none;
    padding: 1.25rem 4.5rem 1.75rem 1.75rem;
    color: #adbec4;
    line-height: 1.8;
}

@media (max-width: 640px) {
    .faq-intro { margin-bottom: 2.5rem; }
    .faq-content summary.faq-question { padding: 1.3rem 1.25rem; }
    .faq-content .faq-answer { padding: 1.15rem 1.25rem 1.45rem; }
}

/* Plans */
.planos-hero-content {
    display: grid;
    justify-items: center;
    width: min(calc(100% - 2rem), 900px);
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}
.planos-hero-content .badge { justify-self: center; }
.planos-hero-content h1 {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}
.planos-hero-content .subheadline {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.plano-kicker {
    display: block;
    margin-bottom: .65rem;
    color: var(--enterprise-copper-light);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.planos-grid { gap: 1rem; }
.plano-card { padding: 2rem; }
.plano-destaque { border-color: rgba(200,155,99,.65); box-shadow: inset 0 3px 0 var(--enterprise-copper); }
.plano-tag { border-radius: 2px; background: var(--enterprise-copper); color: #171008; letter-spacing: .1em; }
.plano-valor { font-family: var(--font-heading); }
.modulo-avulso-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
    margin-top: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    border: 1px solid var(--enterprise-line);
    border-radius: 4px;
    background:
        linear-gradient(100deg, rgba(102,200,200,.08), transparent 48%),
        rgba(16,36,45,.62);
}
.modulo-avulso-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, var(--enterprise-data), transparent 58%);
}
.modulo-avulso-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(102,200,200,.34);
    color: var(--enterprise-data);
    font-size: 1.35rem;
    background: rgba(102,200,200,.08);
}
.modulo-avulso-copy .plano-kicker { margin-bottom: .4rem; }
.modulo-avulso-copy h2 {
    margin-bottom: .45rem;
    color: var(--enterprise-white);
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}
.modulo-avulso-copy p {
    max-width: 760px;
    margin: 0;
    color: #aebfc5;
    line-height: 1.65;
}
.modulo-avulso-card .btn { white-space: nowrap; }
@media (max-width: 800px) {
    .modulo-avulso-card { grid-template-columns: 1fr; justify-items: start; }
    .modulo-avulso-card .btn { width: 100%; }
}
.tabela-wrap { border: 1px solid var(--enterprise-line); border-radius: 4px; background: rgba(16,36,45,.65); }
.tabela-planos th, .tabela-planos td { border-color: var(--enterprise-line); }

/* SIPAT 360 — experiência independente, orientada a eventos enterprise. */
.page-sipat .hero {
    min-height: 760px;
    background:
        linear-gradient(90deg, rgba(7,17,22,.98) 0%, rgba(7,17,22,.91) 48%, rgba(7,17,22,.78) 100%),
        url('/assets/img/module-sipat360-v3.webp') 72% center/cover no-repeat;
}
.page-sipat .hero::after {
    background:
        radial-gradient(circle at 77% 24%, rgba(102,200,200,.15), transparent 24rem),
        linear-gradient(90deg, transparent 0 61%, rgba(102,200,200,.2) 61% calc(61% + 1px), transparent calc(61% + 1px));
}
.page-sipat .hero h1 { max-width: 760px; font-size: clamp(3rem, 5vw, 5rem); }
.page-sipat .hero-form::before { content: 'PLANEJAMENTO DO EVENTO'; }

.sipat-command-strip {
    border-block: 1px solid var(--enterprise-line);
    background: #050d11;
}
.sipat-command-strip .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 0;
}
.sipat-command-strip .container > div {
    display: grid;
    min-height: 132px;
    align-content: center;
    padding: 1.75rem 2rem;
    border-right: 1px solid var(--enterprise-line);
}
.sipat-command-strip .container > div:first-child { border-left: 1px solid var(--enterprise-line); }
.sipat-command-strip strong { color: var(--enterprise-white); font-size: 1rem; }
.sipat-command-strip span { margin-top: .4rem; color: var(--enterprise-muted); font-size: .78rem; line-height: 1.55; }

.page-sipat .sipat-about-card,
.page-sipat .sipat-about-features li,
.page-sipat .sipat-problem-list li,
.page-sipat .sipat-problem-callout,
.page-sipat .sipat-manager-feature,
.page-sipat .authority-box {
    border-radius: 4px;
}
.page-sipat .sipat-about-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: rgba(200,155,99,.35);
    background:
        linear-gradient(145deg, rgba(200,155,99,.11), transparent 48%),
        rgba(16,36,45,.8);
}
.page-sipat .sipat-about-title span { color: var(--enterprise-copper-light); }
.page-sipat .sipat-about-icon { border-radius: 2px; background: rgba(102,200,200,.1); color: var(--enterprise-data); }
.page-sipat .sipat-problem-callout { border-left: 2px solid var(--enterprise-copper); }
.page-sipat .sipat-problem-equation span { color: var(--enterprise-copper-light); }
.page-sipat .sipat-manager { align-items: stretch; }
.page-sipat .sipat-manager-text { align-self: center; }
.page-sipat .sipat-manager-media {
    display: flex;
    min-height: clamp(430px, 42vw, 580px);
    align-items: center;
    padding: clamp(.9rem, 2vw, 1.5rem);
    overflow: hidden;
    border: 1px solid var(--enterprise-line);
    background: var(--media-frame);
}
.page-sipat .sipat-manager-media img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--media-product-ratio);
    object-fit: contain;
    border-radius: 2px;
}

@media (max-width: 991px) {
    .page-sipat .sipat-manager-media { min-height: 0; }
}

@media (max-width: 768px) {
    .page-modulo #solucao .reverse-mobile {
        flex-direction: column;
    }
    .page-modulo #solucao .row > .col-half {
        flex: 0 0 auto;
    }
    .page-modulo #solucao .row > .col-half:first-child {
        display: block;
        height: clamp(200px, 56vw, 235px);
        min-height: clamp(200px, 56vw, 235px);
        margin-bottom: 2rem;
        padding: .7rem;
        aspect-ratio: auto;
    }
    .page-modulo #solucao .feature-img { height: 100%; }
    .home-result-card > div:first-child { min-height: 0; }
}

.sipat-operating-model {
    border-block: 1px solid var(--enterprise-line);
    background:
        linear-gradient(90deg, transparent, rgba(102,200,200,.04), transparent),
        #08151b;
}
.sipat-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--enterprise-line);
    background: var(--enterprise-line);
}
.sipat-stage-card {
    min-height: 300px;
    padding: clamp(2rem, 4vw, 3.25rem);
    background: rgba(10,24,32,.96);
}
.sipat-stage-card > span {
    display: block;
    margin-bottom: 4rem;
    color: var(--enterprise-copper-light);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .14em;
}
.sipat-stage-card h3 { color: var(--enterprise-white); font-size: 1.7rem; }
.sipat-stage-card p { margin-top: .8rem; color: var(--enterprise-muted); line-height: 1.7; }
.page-sipat #funcionalidades .grid-3 { gap: 1px; border: 1px solid var(--enterprise-line); background: var(--enterprise-line); }
.page-sipat #funcionalidades .benefit-box { min-height: 250px; border: 0; border-radius: 0; background: rgba(16,36,45,.94); }
.page-sipat .authority-box {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: clamp(2.5rem, 6vw, 5rem);
    border: 1px solid rgba(200,155,99,.35);
    border-left: 1px solid rgba(200,155,99,.35);
    background:
        linear-gradient(110deg, rgba(7,17,22,.94), rgba(7,17,22,.72)),
        url('/assets/robozinrs.webp') center/cover no-repeat;
    text-align: center;
}
.page-sipat .authority-content { max-width: 760px; }
.page-sipat .authority-content h3 { color: var(--enterprise-white); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; }
.page-sipat .authority-content p { color: #b8c6ca; font-size: 1.05rem; line-height: 1.75; }

/* Diagnostic aligns with the same system while keeping its flow UX. */
.page-diagnostico {
    --imd-azul: var(--enterprise-copper);
    --imd-ciano: var(--enterprise-data);
    background: var(--enterprise-paper);
}
.imd-topo { background: rgba(7,17,22,.96); border-bottom: 1px solid var(--enterprise-line); }
.imd-topo-titulo { font-family: var(--font-heading); letter-spacing: -.02em; }
.imd-alternativa, .imd-porque, .imd-captura-interno { border-radius: 4px !important; }

/* Footer */
.enterprise-footer {
    padding: 5.5rem 0 2rem;
    border-top: 1px solid var(--enterprise-line);
    background: #050d11;
    text-align: left;
}
.enterprise-footer .footer-grid { align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.footer-brand-lockup { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-brand-lockup img { width: 58px; height: auto; }
.footer-brand-lockup div { display: grid; }
.footer-brand-lockup strong { color: var(--enterprise-white); font-family: var(--font-heading); font-size: 1.25rem; }
.footer-brand-lockup span { color: var(--enterprise-copper-light); font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.enterprise-footer h5 { margin-bottom: 1.25rem; color: var(--enterprise-white); font-family: var(--font-body); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.enterprise-footer p, .enterprise-footer li, .enterprise-footer a { color: #8fa3aa; font-size: .84rem; line-height: 1.7; }
.enterprise-footer a:hover { color: var(--enterprise-copper-light); }
.enterprise-footer ul { display: grid; gap: .55rem; padding: 0; }
.footer-contact p { margin-bottom: .8rem; }
.footer-contact p span { display: block; color: #647b83; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--enterprise-line); color: #c1ced2; }
.footer-social-links a:hover { border-color: var(--enterprise-copper); color: var(--enterprise-copper-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--enterprise-line); }
.footer-bottom p, .footer-bottom a { font-size: .72rem; }

@media (min-width: 992px) and (max-width: 1400px) {
    .container.nav-container { padding-inline: 1.25rem; }
    .enterprise-brand { gap: .55rem; }
    .enterprise-brand img,
    .page-home .header .logo img { height: 46px !important; }
    .enterprise-brand-copy small { display: none; }
    .nav-menu { gap: clamp(.7rem, 1.15vw, 1rem); }
    .nav-link,
    .header.scrolled .nav-link,
    .page-home .nav-link,
    .page-home .header.scrolled .nav-link { font-size: .7rem; letter-spacing: .04em; }
    .nav-menu .btn { padding-inline: 1rem; }
}

@media (max-width: 1280px) {
    .enterprise-brand-copy { display: none; }
    .nav-menu { gap: 1rem; }
    .nav-link { font-size: .7rem; }
}

/* O menu contextual das páginas internas pode chegar a nove itens. Ele passa
   ao modo compacto antes de disputar espaço com a marca em notebooks e em
   janelas lado a lado. A Home mantém seu breakpoint próprio. */
@media (max-width: 1199px) {
    .shared-header .mobile-toggle {
        position: relative;
        z-index: 10002;
        display: block;
        flex: 0 0 auto;
        margin-left: auto;
        color: var(--enterprise-white);
    }

    .shared-header nav {
        margin: 0;
    }

    .shared-header .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        z-index: 9998;
        display: flex;
        width: 0;
        height: 100vh;
        height: 100dvh;
        padding: 8rem 0 2rem;
        overflow: hidden;
        visibility: hidden;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        justify-content: flex-start;
        border-top: 1px solid var(--enterprise-line);
        background: rgba(7, 17, 22, .99);
        backdrop-filter: blur(18px);
        transition: width .3s ease, visibility .3s;
    }

    .shared-header .nav-menu.active {
        width: 100%;
        padding-right: clamp(1.5rem, 5vw, 3rem);
        padding-left: clamp(1.5rem, 5vw, 3rem);
        overflow-y: auto;
        visibility: visible;
    }

    .shared-header .nav-menu li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .shared-header .nav-link,
    .shared-header.scrolled .nav-link {
        display: block;
        padding: .85rem 0;
        color: #d7e1e4 !important;
        font-size: .9rem;
        white-space: normal;
    }

    .shared-header .nav-menu .btn {
        width: 100%;
        margin-top: .7rem;
        padding: .9rem 1rem;
        color: var(--accent-ink) !important;
        text-align: center;
    }

    .shared-header .mobile-toggle .bi-x {
        color: var(--enterprise-white) !important;
    }
}

@media (max-width: 991px) {
    .header nav { background: rgba(7,17,22,.99); border-top: 1px solid var(--enterprise-line); }
    .nav-menu { gap: 0; }
    .nav-link,
    .header.scrolled .nav-link { color: #c6d1d4; white-space: normal; }
    .mobile-toggle { color: var(--enterprise-white); }
    .hero, .page-home .hero { min-height: auto; background-position: 68% center; }
    .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(7,17,22,.42); }
    .hero h1, .page-home .hero h1 { font-size: clamp(2.8rem, 9vw, 4.5rem); }
    .hero-form { max-width: 620px; }
    .home-pas {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(7,17,22,.36), rgba(7,17,22,.95) 44%),
            url('/assets/img/home-apr-digital-v2.webp') 38% top/cover no-repeat;
    }
    .home-pas-layout { justify-content: center; padding-top: 18rem; }
    .home-pas-panel { width: 100%; }
}

@media (max-width: 768px) {
    .section { padding-block: 4.5rem; }
    .hero, .page-home .hero { padding-top: 8.5rem; }
    .hero h1, .page-home .hero h1 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
    .section-header h2, .page-home .section-header h2 { font-size: clamp(2.2rem, 10vw, 3.2rem) !important; }
    .page-home .module-card { min-height: 0; }
    .home-pas-layout { padding-top: 13rem; }
    .home-pas-panel { padding: 1.7rem 1.25rem; }
    .home-pas-panel > h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
    .home-pas-flow article { grid-template-columns: 1fr; }
    .home-pas-flow article > span { grid-row: auto; margin-bottom: .35rem; }
    .enterprise-proof-grid { grid-template-columns: 1fr; }
    .enterprise-proof-grid > div { min-height: 72px; }
    .sipat-command-strip .container,
    .sipat-stage-grid { grid-template-columns: 1fr; }
    .sipat-command-strip .container > div,
    .sipat-command-strip .container > div:first-child { min-height: 104px; border-left: 1px solid var(--enterprise-line); border-bottom: 1px solid var(--enterprise-line); }
    .sipat-stage-card { min-height: 0; }
    .sipat-stage-card > span { margin-bottom: 2rem; }
    .footer-bottom { flex-direction: column; }
}

/* Product evidence and visual platform book */
.product-kicker { margin: 0 0 .9rem; color: var(--enterprise-copper-light) !important; font-size: .7rem !important; font-weight: 750; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; }
.product-proof { overflow: hidden; border-block: 1px solid var(--enterprise-line); background: radial-gradient(circle at 88% 18%, rgba(102,200,200,.09), transparent 31rem), #09171e; }
.product-proof-heading { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: clamp(2rem,8vw,8rem); align-items: end; margin-bottom: clamp(2.5rem,5vw,4.5rem); }
.product-proof-heading h2, .product-book-section-heading h2, .product-book-cta h2 { max-width: 820px; color: var(--enterprise-white); font-size: clamp(2.35rem,4.6vw,4.8rem); font-weight: 570; line-height: 1.02; text-wrap: balance; }
.product-proof-heading > div:last-child > p, .product-book-section-heading > p:last-child, .product-book-cta-layout > div:first-child > p:last-child { color: #aabcc1; font-size: 1.02rem; line-height: 1.75; }
.caderno-leituras { padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--enterprise-line); background: #09171e; }
.caderno-leituras-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.caderno-leituras h2 { color: var(--enterprise-white); font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 570; line-height: 1.05; }
.caderno-leituras-lista { display: grid; border-top: 1px solid var(--enterprise-line); }
.caderno-leituras-lista a { display: grid; gap: .45rem; padding: 1.4rem 0; border-bottom: 1px solid var(--enterprise-line); }
.caderno-leituras-meta { color: var(--enterprise-copper-light); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.caderno-leituras-lista strong { color: var(--enterprise-white); font-size: 1.2rem; font-weight: 600; line-height: 1.3; transition: color .2s ease; }
.caderno-leituras-lista a > span:last-child { color: #aabcc1; font-size: .95rem; line-height: 1.6; }
.caderno-leituras-lista a:hover strong { color: var(--enterprise-copper-light); }
@media (max-width: 760px) { .caderno-leituras-layout { grid-template-columns: 1fr; } }
.product-text-link { display: inline-flex; gap: .65rem; align-items: center; margin-top: 1.2rem; color: var(--enterprise-copper-light); font-size: .76rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.product-text-link i { transition: transform .25s ease; }
.product-text-link:hover i { transform: translateX(5px); }
.product-proof-grid, .product-book-grid { display: grid; gap: clamp(1rem,1.8vw,1.5rem); }
.product-proof-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-proof-grid-1,
.product-proof-grid-2,
.product-proof-grid-3 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-book-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-shot, .product-book-card, .product-book-feature { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(180,207,216,.2); border-radius: 5px; background: #10242d; color: inherit; font: inherit; text-align: left; cursor: zoom-in; box-shadow: 0 28px 70px rgba(0,0,0,.22); transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease; }
.product-shot:hover, .product-book-card:hover, .product-book-feature:hover { transform: translateY(-6px); border-color: rgba(226,188,134,.6); box-shadow: 0 36px 90px rgba(0,0,0,.34); }
.product-shot:focus-visible, .product-book-card:focus-visible, .product-book-feature:focus-visible { outline: 2px solid var(--enterprise-copper-light); outline-offset: 4px; }
.product-shot-window { display: flex; height: 34px; gap: 6px; align-items: center; padding-inline: 14px; border-bottom: 1px solid rgba(180,207,216,.15); background: #132832; }
.product-shot-window i { width: 7px; height: 7px; border-radius: 50%; background: rgba(193,206,210,.36); }
.product-shot-window i:first-child { background: var(--enterprise-copper); }
.product-shot-window em { margin-left: auto; color: #8fa4aa; font-size: .62rem; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-shot img, .product-book-card img, .product-book-feature img { display: block; width: 100%; height: auto; aspect-ratio: 1102/874; object-fit: cover; object-position: top; background: #edf0f1; }
.product-shot-caption, .product-book-card-copy { display: flex; min-height: 74px; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-top: 1px solid rgba(180,207,216,.12); }
.product-proof-grid .product-shot-caption { min-height: 86px; padding: .9rem 1rem; }
.product-proof-grid .product-shot-caption strong { font-size: .82rem; line-height: 1.35; }
.product-proof-grid .product-shot-caption > span { display: none; }
.product-book-grid .product-book-card-copy { min-height: 86px; padding: .9rem 1rem; }
.product-book-grid .product-book-card-copy strong { font-size: .82rem; line-height: 1.35; }
.product-shot-caption strong, .product-book-card-copy strong { color: var(--enterprise-white); font-size: .92rem; font-weight: 620; letter-spacing: -.015em; }
.product-shot-caption > span { flex: 0 0 auto; color: #879ca2; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-shot-caption > span i { margin-left: .4rem; color: var(--enterprise-copper); }

.product-book-hero { position: relative; overflow: hidden; padding: clamp(9rem,13vw,12rem) 0 clamp(5rem,9vw,8rem); border-bottom: 1px solid var(--enterprise-line); background: radial-gradient(circle at 76% 35%, rgba(102,200,200,.13), transparent 31rem), linear-gradient(135deg,#071116,#0c2028); }
.product-book-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(90deg,transparent,#000 65%,transparent); }
.product-book-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.86fr) minmax(520px,1.14fr); gap: clamp(3rem,7vw,7rem); align-items: center; }
.product-book-hero h1 { max-width: 760px; margin: 0; color: var(--enterprise-white); font-size: clamp(3.3rem,6.3vw,6.7rem); font-weight: 560; line-height: .94; letter-spacing: -.062em; text-wrap: balance; }
.product-book-lead { max-width: 660px; margin-top: 1.8rem; color: #b1c2c7; font-size: clamp(1.05rem,1.4vw,1.25rem); line-height: 1.7; }
.product-book-feature { transform: rotate(1.25deg); }
.product-book-feature:hover { transform: rotate(0) translateY(-6px); }
.product-book-feature > span:last-child { display: block; padding: 1rem 1.25rem; color: var(--enterprise-copper-light); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.product-book-feature-stage { position: relative; padding: 0 3.5rem 3.5rem 0; }
.product-book-feature-stage .product-book-feature { width: 100%; }
.product-book-phone-feature {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(120px, 14vw, 180px);
    padding: 0;
    overflow: hidden;
    border: 5px solid #10242d;
    border-radius: 18px;
    background: #10242d;
    color: var(--enterprise-white);
    cursor: zoom-in;
    box-shadow: 0 28px 80px rgba(0,0,0,.58);
    transform: rotate(-2deg);
    transition: transform .3s ease,border-color .3s ease;
}
.product-book-phone-feature:hover { border-color: var(--enterprise-copper); transform: rotate(0) translateY(-5px); }
.product-book-phone-feature img { display: block; width: 100%; height: auto; aspect-ratio: 390/874; object-fit: cover; object-position: top; }
.product-book-phone-feature span { display: block; padding: .65rem .5rem; color: var(--enterprise-copper-light); font-size: .58rem; font-weight: 750; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.product-book-metrics { display: grid; grid-template-columns: repeat(3,1fr); max-width: 620px; margin-top: 3rem; border-block: 1px solid var(--enterprise-line); }
.product-book-metrics > div { padding: 1.15rem 1rem 1.15rem 0; }
.product-book-metrics strong { display: block; color: var(--enterprise-white); font-size: 1.65rem; font-weight: 580; }
.product-book-metrics span { display: block; margin-top: .18rem; color: #8ea4aa; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.product-book-index { position: sticky; top: 78px; z-index: 8; border-bottom: 1px solid var(--enterprise-line); background: rgba(7,17,22,.94); backdrop-filter: blur(18px); }
.product-book-index .container { display: grid; grid-template-columns: repeat(8,1fr); padding-block: .7rem; }
.product-book-index a { display: grid; padding: .65rem 1rem; border-left: 1px solid var(--enterprise-line); }
.product-book-index a:last-child { border-right: 1px solid var(--enterprise-line); }
.product-book-index span { color: #d7dfe1; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.product-book-index small { margin-top: .15rem; color: #738b92; font-size: .63rem; }
.product-book-index a:hover span { color: var(--enterprise-copper-light); }
.product-book-section { border-bottom: 1px solid var(--enterprise-line); }
.product-book-section:nth-child(even) { background: rgba(16,36,45,.38); }
.product-book-section-heading { max-width: 950px; margin-bottom: clamp(3rem,6vw,5rem); }
.product-book-section-heading h2 { margin-bottom: 1.2rem; }
.product-book-section-heading > p:last-child { max-width: 720px; }
.product-book-card-copy i { color: var(--enterprise-copper); }
.product-book-section-mobile { background: radial-gradient(circle at 85% 15%,rgba(102,200,200,.08),transparent 28rem),#07141a !important; }
.product-book-mobile-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-book-mobile-grid .product-book-card { border-radius: 14px; }
.product-book-mobile-grid .product-book-card img { aspect-ratio: 390/874; object-fit: cover; object-position: top; }
.product-book-mobile-grid .product-book-card-copy { min-height: 88px; padding: .9rem 1rem; }
.product-book-mobile-grid .product-book-card-copy strong { font-size: .78rem; line-height: 1.35; }
.product-book-cta { background: radial-gradient(circle at 18% 20%,rgba(200,155,99,.1),transparent 28rem),#08151b; }
.product-book-cta-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(430px,.72fr); gap: clamp(3rem,8vw,8rem); align-items: center; }
.product-book-cta h2 { margin-bottom: 1.5rem; }

.product-lightbox { position: fixed; inset: 0; width: min(94vw,96dvh,1240px); max-width: none; max-height: 94dvh; margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(226,188,134,.42); border-radius: 5px; background: #071116; color: var(--enterprise-white); box-shadow: 0 48px 140px rgba(0,0,0,.75); }
.product-lightbox::backdrop { background: rgba(1,7,10,.86); backdrop-filter: blur(8px); }
.product-lightbox-shell { display: grid; grid-template-rows: auto auto auto; }
.product-lightbox-bar, .product-lightbox-controls { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; background: #0d2028; }
.product-lightbox-bar { border-bottom: 1px solid var(--enterprise-line); }
.product-lightbox-bar p { margin: 0; color: #dbe3e5; font-size: .82rem; font-weight: 650; }
.product-lightbox-bar button, .product-lightbox-controls button { display: inline-flex; min-width: 42px; min-height: 42px; gap: .6rem; align-items: center; justify-content: center; padding: .55rem .8rem; border: 1px solid var(--enterprise-line); border-radius: 3px; background: transparent; color: #dbe3e5; cursor: pointer; }
.product-lightbox-bar button:hover, .product-lightbox-controls button:hover { border-color: var(--enterprise-copper); color: var(--enterprise-copper-light); }
.product-lightbox > .product-lightbox-shell > img { display: block; width: 100%; height: auto; margin: 0 auto; object-fit: initial; background: transparent; }
.product-lightbox.product-lightbox-mobile { width: min(92vw,36dvh,460px); }
.product-lightbox.product-lightbox-mobile > .product-lightbox-shell > img { width: 100%; aspect-ratio: 390/874; object-fit: cover; object-position: top; }
.product-lightbox.product-lightbox-document { width: min(92vw,54dvh,760px); }
.product-lightbox.product-lightbox-document > .product-lightbox-shell > img { background: #fff; }
.product-lightbox-controls { border-top: 1px solid var(--enterprise-line); }
.product-lightbox-controls > span { color: #7f969d; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }

/* Connected collaborator portal */
.collaborator-portal {
    overflow: hidden;
    border-block: 1px solid var(--enterprise-line);
    background:
        radial-gradient(circle at 82% 28%,rgba(102,200,200,.12),transparent 31rem),
        linear-gradient(145deg,#071116,#0a1c24 66%,#071116);
}
.collaborator-portal-heading { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: clamp(2.5rem,8vw,8rem); align-items: end; margin-bottom: clamp(3rem,6vw,5rem); }
.collaborator-portal-heading h2 { max-width: 780px; color: var(--enterprise-white); font-size: clamp(2.7rem,5.3vw,5.6rem); font-weight: 560; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.collaborator-portal-heading > div:last-child > p { color: #afc0c5; font-size: 1.03rem; line-height: 1.75; }
.collaborator-environment-map { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; margin-bottom: clamp(3rem,6vw,5rem); border: 1px solid var(--enterprise-line); background: rgba(5,13,17,.72); }
.collaborator-environment-map article { min-height: 170px; padding: clamp(1.5rem,3vw,2.3rem); }
.collaborator-environment-map article > span { color: var(--enterprise-copper-light); font-size: .65rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.collaborator-environment-map article strong { display: block; margin-top: 1.2rem; color: var(--enterprise-white); font-size: 1.55rem; font-weight: 580; }
.collaborator-environment-map article p { max-width: 500px; margin-top: .55rem; color: #8fa5ac; font-size: .9rem; line-height: 1.65; }
.collaborator-environment-map > div { display: grid; min-width: 155px; place-content: center; gap: .55rem; border-inline: 1px solid var(--enterprise-line); color: var(--enterprise-data); text-align: center; }
.collaborator-environment-map > div i { font-size: 1.3rem; }
.collaborator-environment-map > div span { color: #7f969d; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.collaborator-showcase { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(430px,.92fr); gap: clamp(1.5rem,3vw,2.5rem); align-items: stretch; }
.collaborator-desktop-feature,
.collaborator-highlight-card,
.collaborator-phone { padding: 0; overflow: hidden; border: 1px solid rgba(180,207,216,.22); background: #10242d; color: inherit; cursor: zoom-in; box-shadow: 0 28px 70px rgba(0,0,0,.24); transition: transform .3s ease,border-color .3s ease,box-shadow .3s ease; }
.collaborator-desktop-feature:hover,
.collaborator-highlight-card:hover,
.collaborator-phone:hover { border-color: rgba(226,188,134,.68); transform: translateY(-5px); box-shadow: 0 34px 86px rgba(0,0,0,.36); }
.collaborator-desktop-feature { width: 100%; border-radius: 5px; text-align: left; }
.collaborator-desktop-feature > img { display: block; width: 100%; height: auto; aspect-ratio: 1102/874; object-fit: cover; object-position: top; }
.collaborator-feature-caption { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--enterprise-line); }
.collaborator-feature-caption strong { color: var(--enterprise-white); font-size: .92rem; }
.collaborator-feature-caption small { color: var(--enterprise-copper-light); font-size: .62rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.collaborator-mobile-stage { position: relative; min-height: 100%; overflow: hidden; border: 1px solid var(--enterprise-line); background: linear-gradient(155deg,rgba(21,57,70,.82),rgba(7,17,22,.97)); }
.collaborator-mobile-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(#000,transparent 88%); }
.collaborator-mobile-copy { position: relative; z-index: 2; max-width: 390px; padding: clamp(1.5rem,3vw,2.3rem); }
.collaborator-mobile-copy span { color: var(--enterprise-copper-light); font-size: .64rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.collaborator-mobile-copy strong { display: block; margin-top: .7rem; color: var(--enterprise-white); font-size: clamp(1.4rem,2.4vw,2.2rem); font-weight: 560; line-height: 1.08; }
.collaborator-phone { position: absolute; bottom: -16%; width: clamp(135px,13vw,185px); border: 5px solid #10242d; border-radius: 18px; }
.collaborator-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390/874; object-fit: cover; object-position: top; }
.collaborator-phone:nth-of-type(1) { left: 4%; transform: rotate(-6deg); }
.collaborator-phone:nth-of-type(2) { left: 34%; z-index: 2; bottom: -10%; }
.collaborator-phone:nth-of-type(3) { right: 2%; transform: rotate(6deg); }
.collaborator-phone:nth-of-type(1):hover { transform: rotate(-3deg) translateY(-7px); }
.collaborator-phone:nth-of-type(2):hover { transform: translateY(-7px); }
.collaborator-phone:nth-of-type(3):hover { transform: rotate(3deg) translateY(-7px); }
.collaborator-highlight-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-top: clamp(1.5rem,3vw,2.5rem); }
.collaborator-highlight-card { width: 100%; border-radius: 4px; text-align: left; }
.collaborator-highlight-card img { display: block; width: 100%; height: auto; aspect-ratio: 1102/874; object-fit: cover; object-position: top; }
.collaborator-highlight-card > span { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1rem; border-top: 1px solid var(--enterprise-line); }
.collaborator-highlight-card strong { color: var(--enterprise-white); font-size: .8rem; line-height: 1.35; }
.collaborator-highlight-card i { color: var(--enterprise-copper); font-size: .75rem; }

@media (max-width: 1000px) {
    .product-proof-heading, .product-book-hero-layout, .product-book-cta-layout, .collaborator-portal-heading, .collaborator-showcase { grid-template-columns: 1fr; }
    .product-book-hero-layout { gap: 4rem; }
    .product-book-feature-stage { max-width: 820px; }
    .product-book-index { position: relative; top: auto; }
    .product-book-index .container { grid-template-columns: repeat(4,1fr); }
    .product-book-cta-layout .hero-form { max-width: 680px; }
    .collaborator-mobile-stage { min-height: 610px; }
    .collaborator-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1120px) {
    .product-proof-grid,
    .product-proof-grid-3,
    .product-proof-grid-4,
    .product-book-grid:not(.product-book-mobile-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
    .product-proof-grid, .product-book-grid { grid-template-columns: 1fr; }
    .product-book-mobile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
    .product-book-mobile-grid .product-shot-window { display: none; }
    .product-book-mobile-grid .product-book-card-copy { min-height: 76px; padding: .75rem; }
    .product-book-mobile-grid .product-book-card-copy i { display: none; }
    .product-proof-heading { grid-template-columns: 1fr; }
    .product-book-hero { padding-top: 8rem; }
    .product-book-hero h1 { font-size: clamp(2.8rem,14vw,4.2rem); }
    .product-book-index { overflow-x: auto; }
    .product-book-index .container { width: max-content; grid-template-columns: repeat(8,minmax(145px,1fr)); }
    .product-book-metrics { grid-template-columns: 1fr; }
    .product-book-metrics > div { border-bottom: 1px solid var(--enterprise-line); }
    .product-book-metrics > div:last-child { border-bottom: 0; }
    .product-shot-caption > span { display: none; }
    .product-lightbox { width: min(96vw,92dvh); max-height: 92dvh; }
    .product-lightbox.product-lightbox-mobile { width: min(92vw,36dvh,390px); }
    .product-lightbox-controls button span { display: none; }
    .product-book-feature-stage { padding: 0 1.5rem 2.5rem 0; }
    .product-book-phone-feature { width: 105px; border-width: 4px; border-radius: 13px; }
    .collaborator-environment-map { grid-template-columns: 1fr; }
    .collaborator-environment-map > div { min-height: 84px; border: 0; border-block: 1px solid var(--enterprise-line); }
    .collaborator-mobile-stage { min-height: 500px; }
    .collaborator-phone { bottom: -10%; width: clamp(112px,34vw,150px); border-width: 4px; border-radius: 14px; }
    .collaborator-phone:nth-of-type(1) { left: -4%; }
    .collaborator-phone:nth-of-type(2) { left: 31%; }
    .collaborator-phone:nth-of-type(3) { right: -4%; }
    .collaborator-highlight-grid { grid-template-columns: 1fr; }
}

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