:root {
    --premium-ink: #111827;
    --premium-muted: #5f6b7a;
    --premium-line: rgba(17, 24, 39, 0.12);
    --premium-surface: #ffffff;
    --premium-soft: #f5f7f8;
    --premium-accent: #0f766e;
    --premium-accent-2: #365a8c;
    --premium-gold: #b8873b;
    --scroll-progress-start: #0f766e;
    --scroll-progress-end: #b8873b;
    --premium-shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
}

/* Shared internal-page base. The index has critical CSS inline; product pages need it here. */
body.product-page {
    margin: 0;
    font-family: 'Acephimere Regular', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.planiobra-page {
    --premium-accent: #0f766e;
    --premium-accent-2: #365a8c;
    --premium-gold: #b8873b;
}

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

.product-page .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

#main-header nav ul {
    gap: clamp(12px, 2vw, 28px);
}

#main-header nav ul li {
    margin-left: 0;
}

body.product-page #main-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 15px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: background-color 0.3s, padding 0.3s;
}

body.product-page #main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
}

body.product-page #main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

body.product-page .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

body.product-page nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.product-page nav ul li a {
    position: relative;
    display: inline-flex;
    padding: 8px 0;
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

body.product-page nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 0;
    height: 2px;
    background-color: var(--color-dark-gray);
    transition: width 0.3s ease-in-out;
}

body.product-page nav ul li a:hover::after,
body.product-page nav ul li a.active::after {
    width: 100%;
}

body.product-page .menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--text-primary);
    font-size: 1.8em;
    cursor: pointer;
}

body.product-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 30px;
    border: 0;
    border-radius: 5px;
    background-color: var(--button-bg);
    color: var(--button-text);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

body.product-page .btn-secondary {
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}

body.product-page .btn:hover {
    transform: translateY(-3px);
    background-color: var(--button-hover-bg);
    color: var(--button-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.product-page .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--color-dark-gray);
}

body.product-page .footer-back-row {
    margin-top: 14px;
}

body.product-page .site-back-link {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 999px;
    background: #f5f7f8;
    color: #111827;
    font-size: 0.88em;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

body.product-page .site-back-link:hover {
    border-color: rgba(15, 118, 110, 0.32);
    background: rgba(15, 118, 110, 0.09);
    color: #0b514b;
    transform: translateY(-1px);
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 1200;
    background: transparent;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--scroll-progress-start), var(--scroll-progress-end));
    transition: width 0.12s linear;
}

#hero {
    min-height: 640px;
}

main > section {
    background-color: #ffffff;
}

#abordagem,
#etapas-servicos,
#diferenciais,
#ferramentas,
#contato {
    background-color: #ffffff;
}

#processo,
#portfolio,
#atuacao,
#infoprodutos {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(31, 41, 55, 0.96));
    color: #ffffff;
}

#abordagem,
#processo,
#etapas-servicos,
#portfolio,
#diferenciais,
#atuacao,
#ferramentas,
#infoprodutos,
#contato {
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

#processo,
#portfolio,
#atuacao,
#infoprodutos {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

#processo h2,
#portfolio h2,
#atuacao h2,
#infoprodutos h2 {
    color: #ffffff;
}

#processo h2::after,
#portfolio h2::after,
#atuacao h2::after,
#infoprodutos h2::after {
    background-color: #ffffff;
}

#processo .section-subtitle,
#portfolio .section-subtitle,
#atuacao .text-content p,
#infoprodutos .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

#atuacao .text-content strong {
    color: #ffffff;
}

#portfolio .portfolio-filter {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
}

#portfolio .portfolio-filter:hover,
#portfolio .portfolio-filter.active {
    border-color: var(--premium-accent);
    background: var(--premium-accent);
    color: #ffffff;
}

#atuacao .location-pills span {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

#processo .process-timeline::before {
    background: rgba(255, 255, 255, 0.18);
}

#infoprodutos .infoproducts-lead {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

#infoprodutos .infoproducts-lead .signal-label {
    color: rgba(255, 255, 255, 0.84);
}

#infoprodutos .infoproducts-lead strong {
    color: #ffffff;
}

#infoprodutos .infoproducts-lead p {
    color: rgba(255, 255, 255, 0.76);
}

#contato {
    color: var(--premium-ink);
}

#contato h2 {
    color: var(--premium-ink);
}

#contato h2::after {
    background-color: var(--premium-ink);
}

#contato .contact-info p {
    color: var(--premium-muted);
}

#contato .contact-links a {
    border: 1px solid var(--premium-line);
    background-color: #ffffff;
    color: var(--premium-ink);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

#contato .contact-links a:hover {
    background-color: var(--premium-ink);
    color: #ffffff;
}

#hero::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72)),
        rgba(0, 0, 0, 0.32);
}

.hero-content-wrapper {
    max-width: 980px;
}

.hero-kicker,
.signal-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker::before,
.signal-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-actions .btn {
    margin: 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.hero-metric {
    min-height: 96px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    text-align: left;
}

.hero-metric strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.7rem, 4vw, 2.55rem);
    line-height: 1;
}

.hero-metric span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.signal-board {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(260px, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 46px;
    padding: 24px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: var(--premium-surface);
    box-shadow: var(--premium-shadow);
}

.signal-board .signal-label {
    color: var(--premium-accent);
    margin-bottom: 8px;
}

.signal-board strong {
    display: block;
    color: var(--premium-ink);
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.25;
}

.signal-board p {
    margin: 0;
    color: var(--premium-muted);
}

.process-section {
    background: var(--premium-soft);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--premium-line);
}

.process-step {
    position: relative;
    min-height: 250px;
    padding: 18px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.process-step span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    border: 1px solid var(--premium-line);
    background: #ffffff;
    color: var(--premium-accent);
    font-weight: 800;
}

.process-step h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.process-step p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
}

.process-step.is-active,
.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.34);
    box-shadow: var(--premium-shadow);
}

.portfolio-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -16px auto 32px;
}

.portfolio-filter {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--premium-muted);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portfolio-filter:hover,
.portfolio-filter.active {
    border-color: var(--premium-accent);
    background: var(--premium-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-item {
    isolation: isolate;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--premium-accent), var(--premium-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
    z-index: 2;
}

.portfolio-item:hover::after {
    transform: scaleX(1);
}

.portfolio-item.is-hidden {
    display: none;
}

.location-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.location-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--premium-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.location-pills i {
    color: var(--premium-accent);
}

.tool-item-featured {
    position: relative;
    border: 1px solid rgba(15, 118, 110, 0.24);
    box-shadow: 0 6px 18px var(--shadow-color);
}

.tool-item-featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--premium-accent), var(--premium-gold));
}

.tool-badge {
    align-self: center;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: var(--premium-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tool-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 14px;
}

.tool-card-metrics span {
    min-height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: var(--premium-soft);
    color: var(--premium-muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tool-item-featured:hover {
    box-shadow: 0 6px 20px var(--shadow-hover-color);
}

.infoproducts-section {
    background: var(--bg-secondary);
}

.infoproducts-lead {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
    gap: 22px;
    align-items: center;
    margin: 0 0 34px;
    padding: 24px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--premium-shadow);
}

.infoproducts-lead .signal-label {
    color: var(--premium-accent);
    margin-bottom: 8px;
}

.infoproducts-lead strong {
    display: block;
    color: var(--premium-ink);
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    line-height: 1.25;
}

.infoproducts-lead p {
    margin: 0;
    color: var(--premium-muted);
}

.infoproducts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.infoproduct-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--premium-shadow);
    overflow: hidden;
}

.infoproduct-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--premium-accent), var(--premium-gold));
}

.infoproduct-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.infoproduct-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: var(--premium-soft);
    color: var(--premium-accent);
    font-size: 1.3rem;
}

.product-status {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-ready {
    background: rgba(15, 118, 110, 0.10);
    color: var(--premium-accent);
}

.status-development {
    background: rgba(184, 135, 59, 0.14);
    color: #8a5a14;
}

.infoproduct-card h3 {
    margin: 0 0 10px;
    color: var(--premium-ink);
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
}

.infoproduct-card p {
    color: var(--premium-muted);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 18px;
}

.product-tags span {
    padding: 7px 10px;
    border: 1px solid var(--premium-line);
    border-radius: 999px;
    background: var(--premium-soft);
    color: var(--premium-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-preview {
    display: grid;
    gap: 8px;
    margin: auto 0 20px;
    padding: 14px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(184, 135, 59, 0.05)),
        #ffffff;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--premium-muted);
}

.preview-row:last-child {
    border-bottom: 0;
}

.preview-row b {
    color: var(--premium-ink);
}

.preview-row.strong b {
    color: var(--premium-accent);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.product-text-link {
    color: var(--premium-ink);
    font-weight: 800;
    text-decoration: none;
}

.product-text-link:hover {
    color: var(--premium-accent);
}

.product-text-link.muted {
    color: var(--premium-muted);
    cursor: default;
}

.product-page {
    background: var(--bg-primary);
}

.product-page #hero {
    min-height: clamp(680px, 92svh, 920px);
    display: flex;
    align-items: center;
    padding: 104px 0 64px;
    color: #ffffff;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.93), rgba(34, 46, 60, 0.90)),
        url('static/img/Intro_1.webp') no-repeat center center/cover;
}

.product-page #hero .container {
    width: min(92%, 1440px);
    max-width: 1440px;
}

.product-page #hero::before,
.product-page #hero::after {
    display: none;
}

.planiobra-page #hero {
    min-height: clamp(720px, 94svh, 940px);
    padding: 118px 0 56px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(3, 8, 15, 0.96) 0%, rgba(3, 8, 15, 0.90) 33%, rgba(3, 8, 15, 0.52) 57%, rgba(3, 8, 15, 0.20) 78%, rgba(3, 8, 15, 0.34) 100%),
        linear-gradient(180deg, rgba(3, 8, 15, 0.18) 0%, rgba(3, 8, 15, 0.42) 100%),
        url('static/img/infoprodutos/planiobra-hero-bg.webp') no-repeat center center/cover;
}

.finance-page #hero {
    min-height: clamp(720px, 94svh, 940px);
    padding: 118px 0 56px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(22, 16, 10, 0.95) 0%, rgba(22, 16, 10, 0.88) 34%, rgba(22, 16, 10, 0.54) 58%, rgba(22, 16, 10, 0.20) 80%, rgba(22, 16, 10, 0.30) 100%),
        linear-gradient(180deg, rgba(22, 16, 10, 0.12) 0%, rgba(22, 16, 10, 0.42) 100%),
        url('static/img/infoprodutos/controle-financeiro-hero-bg.webp') no-repeat center center/cover;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(380px, 0.82fr) minmax(0, 1.18fr);
    column-gap: clamp(38px, 4.8vw, 78px);
    row-gap: clamp(24px, 3.4vw, 42px);
    align-items: center;
}

.planiobra-page .product-hero-grid {
    grid-template-columns: minmax(360px, 560px) minmax(0, 1fr);
    min-height: clamp(520px, calc(94svh - 174px), 760px);
    align-content: center;
    align-items: center;
}

.finance-page .product-hero-grid {
    grid-template-columns: minmax(360px, 600px) minmax(0, 1fr);
    min-height: clamp(520px, calc(94svh - 174px), 760px);
    align-content: center;
    align-items: center;
}

.product-hero-copy {
    max-width: 610px;
}

.product-brand-mark {
    display: block;
    width: min(330px, 82vw);
    height: auto;
    margin: 0 0 18px;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

.product-brand-mark-planiobra {
    width: min(340px, 82vw);
    margin-bottom: 24px;
}

.planiobra-page .product-hero-copy {
    grid-column: 1;
    max-width: 560px;
}

.planiobra-page .product-hero-copy h1 {
    max-width: 560px;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
}

.planiobra-page .product-hero-copy .lead {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.84);
}

.planiobra-page .product-hero-copy .hero-actions {
    margin-top: 28px;
}

.finance-page .product-hero-copy {
    grid-column: 1;
    max-width: 600px;
}

.finance-page .product-hero-copy h1 {
    max-width: 600px;
    font-size: clamp(2.55rem, 3.9vw, 4.05rem);
}

.finance-page .product-hero-copy .lead {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.84);
}

.finance-page .product-hero-copy .hero-actions {
    margin-top: 28px;
}

.product-hero-copy h1 {
    color: #ffffff;
    font-size: clamp(2.35rem, 3.45vw, 3.65rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.product-hero-copy .lead {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.06rem, 2vw, 1.22rem);
}

.product-hero-copy .hero-actions {
    justify-content: flex-start;
    margin-bottom: 0;
}

.product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-proof {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 0;
}

.planiobra-page .product-proof {
    grid-column: 1 / 2;
    max-width: 560px;
    margin-top: 4px;
}

.finance-page .product-proof {
    grid-column: 1 / 2;
    max-width: 600px;
    margin-top: 4px;
}

.product-proof span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.planiobra-page .product-proof span {
    justify-content: flex-start;
    min-height: 40px;
    padding: 9px 13px;
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(3, 8, 15, 0.46);
    color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    text-align: left;
}

.finance-page .product-proof span {
    justify-content: flex-start;
    min-height: 40px;
    padding: 9px 13px;
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(22, 16, 10, 0.44);
    color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    text-align: left;
}

.product-hero-media {
    justify-self: end;
    width: 100%;
    max-width: 900px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.product-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1374 / 679;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
}

.product-screen {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.screen-window {
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    color: var(--premium-ink);
}

.screen-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.10);
    background: #f4f6f7;
}

.screen-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b7bec7;
}

.screen-body {
    padding: 16px;
}

.screen-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.screen-kpis div,
.screen-table {
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 8px;
    background: var(--premium-soft);
}

.screen-kpis div {
    padding: 11px;
}

.screen-kpis strong {
    display: block;
    color: var(--premium-accent);
    font-size: 1.02rem;
}

.screen-kpis span {
    color: var(--premium-muted);
    font-size: 0.75rem;
}

.screen-row {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.7fr;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--premium-muted);
    font-size: 0.85rem;
}

.screen-row:last-child {
    border-bottom: 0;
}

.screen-row.header {
    color: var(--premium-ink);
    font-weight: 800;
    background: #ffffff;
}

.product-section-title {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.product-section-title span {
    display: block;
    margin-bottom: 10px;
    color: var(--premium-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-section-title h2 {
    margin-bottom: 12px;
}

.product-feature-grid,
.product-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-feature-card,
.product-panel,
.product-process-card,
.product-faq-card {
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.product-feature-card,
.product-faq-card {
    padding: 22px;
}

.product-feature-card i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: var(--premium-soft);
    color: var(--premium-accent);
}

.product-feature-card h3,
.product-faq-card h3 {
    margin-bottom: 8px;
    color: var(--premium-ink);
}

.product-feature-card p,
.product-faq-card p {
    margin: 0;
    color: var(--premium-muted);
}

.product-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-image-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.product-image-card.is-wide {
    grid-column: 1 / -1;
}

.product-image-frame {
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(184, 135, 59, 0.05)),
        var(--premium-soft);
}

.product-image-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.planiobra-page .product-image-frame {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 59, 0.07)),
        #f3f6f5;
}

.planiobra-page .product-image-frame img {
    background: transparent;
}

.finance-page .product-image-frame {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 59, 0.07)),
        #f3f6f5;
}

.finance-page .product-image-frame img {
    background: transparent;
}

.planiobra-page .product-image-card.is-wide .product-image-frame img,
.planiobra-page .product-image-card:nth-child(2) .product-image-frame img,
.planiobra-page .product-image-card:nth-child(3) .product-image-frame img {
    aspect-ratio: 16 / 8;
}

.product-image-card figcaption {
    flex: 1;
    padding: 18px 20px 20px;
    border-top: 1px solid var(--premium-line);
    color: var(--premium-muted);
    font-size: 0.9rem;
    text-align: left;
}

.product-image-card figcaption span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--premium-accent);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-image-card figcaption strong {
    display: block;
    margin-bottom: 8px;
    color: var(--premium-ink);
    font-size: 1.08rem;
}

.product-image-card figcaption p {
    margin: 0 0 12px;
    color: var(--premium-muted);
}

.product-image-card figcaption ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-image-card figcaption li {
    position: relative;
    padding-left: 18px;
    color: var(--premium-muted);
    font-size: 0.86rem;
}

.product-image-card figcaption li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--premium-accent);
}

.planiobra-journey-section {
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(244, 247, 246, 0.72) 100%);
}

.planiobra-journey {
    display: grid;
    gap: 24px;
}

.planiobra-step {
    display: grid;
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
}

.planiobra-step.is-emphasis {
    border-color: rgba(15, 118, 110, 0.22);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 59, 0.06)),
        #ffffff;
}

.planiobra-step-copy {
    max-width: 520px;
}

.planiobra-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    margin-bottom: 14px;
    border: 1px solid rgba(15, 118, 110, 0.20);
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--premium-accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.planiobra-step-copy h3 {
    margin-bottom: 10px;
    color: var(--premium-ink);
    font-size: clamp(1.32rem, 2vw, 1.78rem);
    line-height: 1.18;
}

.planiobra-step-copy p {
    margin: 0;
    color: var(--premium-muted);
}

.planiobra-step-copy ul {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.planiobra-step-copy li {
    position: relative;
    padding-left: 19px;
    color: var(--premium-muted);
    font-size: 0.92rem;
}

.planiobra-step-copy li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--premium-accent);
}

.planiobra-step-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.planiobra-screen {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 59, 0.06)),
        #f3f6f5;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.planiobra-screen.is-primary {
    grid-column: 1 / -1;
}

.planiobra-screen img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: transparent;
}

.product-page img.is-lightbox-enabled {
    cursor: zoom-in;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.product-page img.is-lightbox-enabled:hover,
.product-page img.is-lightbox-enabled:focus {
    filter: saturate(1.04) contrast(1.02);
}

.product-page img.is-lightbox-enabled:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.45);
    outline-offset: 3px;
}

.planiobra-screen:hover img.is-lightbox-enabled,
.finance-screen:hover img.is-lightbox-enabled,
.product-image-card:hover img.is-lightbox-enabled,
.purchase-showcase-media:hover img.is-lightbox-enabled {
    transform: scale(1.012);
}

.product-lightbox-open {
    overflow: hidden;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 34px);
    background: rgba(3, 8, 15, 0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.product-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-lightbox-figure {
    display: grid;
    gap: 12px;
    width: min(96vw, 1680px);
    margin: 0;
}

.product-lightbox-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 84vh;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    background: #f3f6f5;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.product-lightbox-figure figcaption {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

.product-lightbox-close {
    position: fixed;
    top: clamp(14px, 2.4vw, 28px);
    right: clamp(14px, 2.4vw, 28px);
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
    background: #ffffff;
    color: var(--premium-ink);
}

.planiobra-screen figcaption {
    min-height: 42px;
    padding: 10px 12px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.70);
    color: var(--premium-ink);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.planiobra-index-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 2px;
}

.planiobra-index-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--premium-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.finance-journey-section {
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(244, 247, 246, 0.72) 100%);
}

.finance-journey {
    display: grid;
    gap: 24px;
}

.finance-step {
    display: grid;
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--premium-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
}

.finance-step.is-emphasis {
    border-color: rgba(15, 118, 110, 0.22);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 59, 0.06)),
        #ffffff;
}

.finance-step-copy {
    max-width: 520px;
}

.finance-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    margin-bottom: 14px;
    border: 1px solid rgba(15, 118, 110, 0.20);
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--premium-accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.finance-step-copy h3 {
    margin-bottom: 10px;
    color: var(--premium-ink);
    font-size: clamp(1.32rem, 2vw, 1.78rem);
    line-height: 1.18;
}

.finance-step-copy p {
    margin: 0;
    color: var(--premium-muted);
}

.finance-step-copy ul {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.finance-step-copy li {
    position: relative;
    padding-left: 19px;
    color: var(--premium-muted);
    font-size: 0.92rem;
}

.finance-step-copy li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--premium-accent);
}

.finance-step-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.finance-screen {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 59, 0.06)),
        #f3f6f5;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.finance-screen.is-primary {
    grid-column: 1 / -1;
}

.finance-screen img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: transparent;
}

.finance-screen figcaption {
    min-height: 42px;
    padding: 10px 12px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.70);
    color: var(--premium-ink);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.finance-index-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 2px;
}

.finance-index-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--premium-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-panel {
    padding: 26px;
}

.product-panel h2 {
    text-align: left;
    padding-bottom: 0;
    margin-bottom: 14px;
}

.product-panel h2::after {
    display: none;
}

.product-check-list {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.product-check-list li {
    display: flex;
    gap: 10px;
    color: var(--premium-muted);
}

.product-check-list i {
    color: var(--premium-accent);
    margin-top: 5px;
}

.product-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.product-process-card {
    padding: 20px;
}

.product-process-card .number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--premium-ink);
    color: #ffffff;
    font-weight: 900;
}

.product-purchase-showcase {
    background: linear-gradient(180deg, #ffffff 0%, var(--premium-soft) 100%);
    color: var(--premium-ink);
    border-top: 1px solid rgba(11, 31, 51, 0.08);
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.purchase-showcase-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.product-section-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--premium-gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.purchase-showcase-copy h2 {
    color: var(--premium-ink);
    margin-bottom: 14px;
    text-align: left;
}

.purchase-showcase-copy h2::after {
    display: none;
}

.purchase-showcase-copy p {
    color: var(--text-color);
}

.purchase-showcase-copy .product-check-list {
    margin-bottom: 26px;
}

.purchase-showcase-copy .product-check-list li {
    color: var(--text-color);
}

.purchase-showcase-copy .hero-actions {
    justify-content: flex-start;
    margin-bottom: 0;
}

.product-page .purchase-showcase-copy .btn-secondary {
    border-color: rgba(11, 31, 51, 0.28);
    background-color: #ffffff;
    color: var(--premium-ink);
    box-shadow: 0 2px 8px rgba(11, 31, 51, 0.12);
}

.product-page .purchase-showcase-copy .btn-secondary:hover {
    border-color: var(--premium-ink);
    background-color: var(--premium-ink);
    color: #ffffff;
}

.purchase-showcase-media {
    margin: 0;
}

.purchase-showcase-media img {
    display: block;
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.planiobra-offer-media img {
    max-height: 820px;
}

.product-cta {
    background: var(--premium-ink);
    color: #ffffff;
    text-align: center;
}

.product-cta h2 {
    color: #ffffff;
}

.product-cta h2::after {
    background: #ffffff;
}

.product-cta p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.76);
}

.product-cta.product-cta-light {
    background: var(--premium-soft);
    color: var(--premium-ink);
}

.product-cta.product-cta-light h2 {
    color: var(--premium-ink);
}

.product-cta.product-cta-light h2::after {
    background: var(--premium-ink);
}

.product-cta.product-cta-light p {
    color: var(--premium-muted);
}

@supports (animation-timeline: view()) {
    .process-step {
        animation: process-rise both ease-out;
        animation-timeline: view();
        animation-range: entry 12% cover 36%;
    }

    @keyframes process-rise {
        from {
            opacity: 0.55;
            transform: translateY(22px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 980px) {
    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-timeline::before {
        display: none;
    }

    .product-hero-grid,
    .product-split,
    .purchase-showcase-grid {
        grid-template-columns: 1fr;
    }

    .planiobra-page #hero {
        min-height: auto;
        padding: 116px 0 58px;
        background:
            linear-gradient(90deg, rgba(3, 8, 15, 0.96) 0%, rgba(3, 8, 15, 0.86) 45%, rgba(3, 8, 15, 0.52) 100%),
            linear-gradient(180deg, rgba(3, 8, 15, 0.12) 0%, rgba(3, 8, 15, 0.46) 100%),
            url('static/img/infoprodutos/planiobra-hero-bg.webp') no-repeat 66% center/cover;
    }

    .planiobra-page .product-hero-grid {
        min-height: auto;
        grid-template-columns: minmax(0, 640px);
        align-content: start;
    }

    .finance-page #hero {
        min-height: auto;
        padding: 116px 0 58px;
        background:
            linear-gradient(90deg, rgba(22, 16, 10, 0.95) 0%, rgba(22, 16, 10, 0.84) 45%, rgba(22, 16, 10, 0.52) 100%),
            linear-gradient(180deg, rgba(22, 16, 10, 0.10) 0%, rgba(22, 16, 10, 0.46) 100%),
            url('static/img/infoprodutos/controle-financeiro-hero-bg.webp') no-repeat 68% center/cover;
    }

    .finance-page .product-hero-grid {
        min-height: auto;
        grid-template-columns: minmax(0, 660px);
        align-content: start;
    }

    .planiobra-page .product-proof {
        grid-column: 1;
        max-width: 640px;
    }

    .finance-page .product-proof {
        grid-column: 1;
        max-width: 660px;
    }

    .product-hero-copy {
        max-width: 720px;
    }

    .product-hero-media {
        justify-self: center;
        max-width: 860px;
    }

    .planiobra-step {
        grid-template-columns: 1fr;
    }

    .finance-step {
        grid-template-columns: 1fr;
    }

    .planiobra-step-copy {
        max-width: 760px;
    }

    .finance-step-copy {
        max-width: 760px;
    }

    .product-feature-grid,
    .product-faq-grid,
    .product-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-image-grid {
        grid-template-columns: 1fr;
    }

    .purchase-showcase-media {
        order: -1;
    }

    .purchase-showcase-media img {
        max-height: 620px;
    }
}

@media (max-width: 760px) {
    body.product-page .menu-toggle {
        display: block;
    }

    body.product-page nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 8px 0 14px;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.07);
    }

    body.product-page nav ul.active {
        display: flex;
    }

    body.product-page nav ul li {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    body.product-page nav ul li a {
        width: auto;
        padding: 12px 8px;
        align-items: center;
        justify-content: center;
    }

    .hero-metrics,
    .signal-board,
    .infoproducts-lead {
        grid-template-columns: 1fr;
    }

    .hero-metric {
        text-align: center;
    }

    .infoproducts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    #hero {
        height: auto;
        min-height: 100svh;
        padding: 104px 0 44px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .portfolio-filter {
        flex: 1 1 calc(50% - 10px);
        padding: 0 10px;
    }

    .product-actions .btn {
        width: 100%;
        text-align: center;
    }

    .purchase-showcase-copy .hero-actions,
    .purchase-showcase-copy .hero-actions .btn {
        width: 100%;
    }

    .purchase-showcase-media img {
        max-height: none;
    }

    .planiobra-page #hero {
        padding: 112px 0 48px;
        background:
            linear-gradient(180deg, rgba(3, 8, 15, 0.94) 0%, rgba(3, 8, 15, 0.88) 42%, rgba(3, 8, 15, 0.78) 100%),
            url('static/img/infoprodutos/planiobra-hero-bg.webp') no-repeat 68% center/cover;
    }

    .planiobra-page .product-brand-mark-planiobra {
        width: min(292px, 86vw);
        margin-bottom: 20px;
    }

    .planiobra-page .product-hero-copy h1 {
        font-size: clamp(2.15rem, 12vw, 2.65rem);
    }

    .planiobra-page .product-hero-copy .lead {
        font-size: 1rem;
    }

    .planiobra-page .product-proof {
        gap: 8px;
    }

    .planiobra-page .product-proof span {
        min-height: 44px;
        justify-content: flex-start;
    }

    .finance-page #hero {
        padding: 112px 0 48px;
        background:
            linear-gradient(180deg, rgba(22, 16, 10, 0.94) 0%, rgba(22, 16, 10, 0.88) 42%, rgba(22, 16, 10, 0.76) 100%),
            url('static/img/infoprodutos/controle-financeiro-hero-bg.webp') no-repeat 70% center/cover;
    }

    .finance-page .product-hero-copy h1 {
        font-size: clamp(2.05rem, 11vw, 2.55rem);
    }

    .finance-page .product-hero-copy .lead {
        font-size: 1rem;
    }

    .finance-page .product-proof {
        gap: 8px;
    }

    .finance-page .product-proof span {
        min-height: 44px;
        justify-content: flex-start;
    }

    .planiobra-page .product-proof span,
    .finance-page .product-proof span {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
    }

    .product-hero-grid,
    .product-split,
    .product-image-grid,
    .product-feature-grid,
    .product-faq-grid,
    .product-process-grid,
    .screen-kpis {
        grid-template-columns: 1fr;
    }

    .planiobra-step {
        padding: 18px;
    }

    .finance-step {
        padding: 18px;
    }

    .planiobra-step-gallery {
        grid-template-columns: 1fr;
    }

    .finance-step-gallery {
        grid-template-columns: 1fr;
    }

    .planiobra-screen.is-primary {
        grid-column: auto;
    }

    .finance-screen.is-primary {
        grid-column: auto;
    }

    .planiobra-screen img {
        aspect-ratio: 16 / 10;
    }

    .finance-screen img {
        aspect-ratio: 16 / 10;
    }

    .product-page #hero {
        padding-top: 106px;
        min-height: auto;
    }

    .planiobra-page #hero {
        padding: 112px 0 48px;
        min-height: auto;
    }

    .finance-page #hero {
        padding: 112px 0 48px;
        min-height: auto;
    }

    .screen-row {
        grid-template-columns: 1fr;
    }
}

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