/* Shared portfolio and institutional product pages. */
:root { --portfolio-muted: #b9b9c2; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: #f5f1e8; color: #08080b; padding: 14px 20px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #e6bd73; outline-offset: 5px; }
:where(#produtos, #briefing, #conteudo, #funcionalidades, #servicos, #sobre, #processo) { scroll-margin-top: 110px; }
.products-menu { position: relative; color: #c9c9cf; font-size: 14px; }
.products-menu summary { cursor: pointer; padding: 12px 0; list-style: none; }
.products-menu summary::-webkit-details-marker { display: none; }
.products-menu summary::after { content: '⌄'; margin-left: 8px; }
.products-menu[open] summary { color: #e6bd73; }
.products-menu-panel { position: absolute; top: 100%; left: -20px; width: 240px; padding: 10px; border: 1px solid #45454d; border-radius: 14px; background: #101014; box-shadow: 0 20px 50px #0008; display: grid; z-index: 110; }
.products-menu-panel a { padding: 12px; border-radius: 8px; display: block; }
.products-menu-panel a:hover { background: #252529; }
.portfolio { padding: 100px 0; border-top: 1px solid #31313a; background: radial-gradient(ellipse at 50% 0, #c99a4a08, transparent 60%); }
.portfolio-heading { max-width: 760px; margin-bottom: 44px; }
.portfolio-heading h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.15; margin: 20px 0; }
.portfolio-heading p, .product-card p, .product-intro p, .product-section p { color: var(--portfolio-muted); line-height: 1.8; }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.product-card { --accent: #b0edce; min-width: 0; border: 1px solid #38383f; border-radius: 24px; overflow: hidden; background: #101014; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-card.stock { --accent: #8bc8ff; }
.product-media { height: 280px; flex: 0 0 280px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #1a654f, #0c2d24); border-bottom: 1px solid #38383f; padding: 24px; display: flex; align-items: center; justify-content: center; }
.product-media.template { background: linear-gradient(145deg, #123d32, #0b221c); }
.preview-browser { width: 100%; height: 100%; overflow: hidden; border: 1px solid #ffffff24; border-radius: 12px; background: #fafaf5; box-shadow: 0 16px 30px #0003; display: flex; flex-direction: column; }
.preview-browser-bar { display: flex; gap: 5px; padding: 10px 12px; background: #e8eee9; border-bottom: 1px solid #ccd7cf; }
.preview-browser-bar span { width: 5px; height: 5px; border-radius: 50%; background: #92a99b; }
.preview-browser iframe { display: block; width: 100%; flex: 1; min-height: 0; border: 0; pointer-events: none; }
.product-media.stock { background: radial-gradient(ellipse at 50% 30%, #214978, #102947); }
.preview-phone { height: 100%; aspect-ratio: 294 / 640; display: block; border-radius: 13px; overflow: hidden; box-shadow: 0 16px 30px #0005; outline: 1px solid #ffffff30; }
.preview-phone img { width: 100%; height: 100%; object-fit: contain; }
.product-media .preview-app-icon { width: 116px; height: auto; object-fit: contain; filter: drop-shadow(0 16px 24px #0003); }
.product-card-copy { padding: 28px; display: flex; flex-direction: column; flex: 1; gap: 16px; }
.product-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.product-card-heading .product-status { align-self: center; white-space: nowrap; padding: 6px 9px; font-size: 11px; }
.product-card-copy > p { font-size: 14px; line-height: 1.65; min-height: 70px; }
.product-card-copy > ul { font-size: 13px; line-height: 1.65; margin: 0; }
.product-card h3 { font-size: 25px; line-height: 1.2; }
.product-card .product-brand { width: 112px; height: 36px; object-fit: contain; object-position: left; }
.product-card .stock-card-logo { width: 36px; height: 36px; border-radius: 9px; }
.product-status { align-self: flex-start; display: inline-flex; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: #cdf6df; background: #173d2e; }
.product-status.development { color: #f1d599; background: #3d301b; }
.product-card ul, .feature-list { color: var(--portfolio-muted); padding-left: 20px; line-height: 1.8; }
.product-card li + li, .feature-list li + li { margin-top: 8px; }
.product-card .product-actions { margin-top: auto; padding-top: 24px; display: grid; grid-template-rows: 52px 40px; gap: 8px; align-items: stretch; }
.product-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.portfolio .button { font-size: 13px; padding: 14px 18px; width: 100%; text-align: center; justify-content: center; }
.portfolio .button { min-height: 52px; gap: 8px; border-radius: 12px; }
.portfolio .product-text-link { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; }
.portfolio .product-card h3 { margin: 0; }
.portfolio .product-card.stock .button-primary { background: #b9dfcf; color: #102947; }
.product-text-link { color: var(--accent, #e6bd73); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; line-height: 1.5; }
.portfolio-note { margin-top: 28px; font-size: 13px; color: var(--portfolio-muted); line-height: 1.8; }
.product-page { margin: 0; color: #f5f1e8; background: radial-gradient(circle at top right, #c99a4a12, transparent 35%), #08080b; font-family: Inter, system-ui, sans-serif; }
.product-page * { box-sizing: border-box; }
.product-page a { color: inherit; text-decoration: none; }
.product-page img { display: block; max-width: 100%; }
.product-page .container { width: min(100% - 40px, 1200px); margin-inline: auto; }
.product-page header { border-bottom: 1px solid #31313a; background: #08080be8; }
.product-page .navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.product-page .brand-logo { height: 52px; width: auto; }
.product-page nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.product-page .eyebrow { color: #e6bd73; text-transform: uppercase; font-size: 12px; letter-spacing: .15em; font-weight: 600; }
.product-page .button { display: inline-flex; justify-content: center; padding: 15px 22px; border: 1px solid #c99a4a; border-radius: 999px; font-size: 14px; font-weight: 600; background: #c99a4a; color: #08080b; }
.product-page .button-secondary { color: #f5f1e8; background: transparent; border-color: #62626b; }
.product-intro { padding: 64px 0; }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; font-size: 13px; color: var(--portfolio-muted); }
.product-intro h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.12; max-width: 950px; margin: 22px 0; }
.product-intro .lead { max-width: 780px; font-size: 18px; margin: 0 0 28px; }
.product-intro .product-brand { height: 58px; width: 160px; object-fit: contain; object-position: left; margin: 22px 0; }
.product-intro .product-actions { flex-direction: row; flex-wrap: wrap; }
.product-section { padding: 54px 0; border-top: 1px solid #31313a; }
.product-section h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 22px; }
.product-section h3 { font-size: 20px; margin: 0 0 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feature-panel { padding: 28px; border: 1px solid #38383f; border-radius: 22px; background: #101014; }
.feature-panel.planned { border-color: #77613c; }
.feature-panel ul { margin-bottom: 0; }
.product-demo { margin: 0; }
.product-demo iframe { width: 100%; height: 480px; border: 1px solid #38383f; border-radius: 18px; background: #fafaf5; }
.product-demo figcaption { font-size: 13px; line-height: 1.8; color: var(--portfolio-muted); margin-top: 14px; }
.product-demo a { text-decoration: underline; text-underline-offset: 4px; }
.screenshot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.screenshot-grid figure { margin: 0; }
.screenshot-grid img { width: 100%; height: auto; border-radius: 18px; border: 1px solid #38383f; }
.screenshot-grid figcaption { margin-top: 12px; color: var(--portfolio-muted); font-size: 14px; }
.screenshot-link { display: block; max-width: 340px; margin-inline: auto; border-radius: 18px; }
.screenshot-grid figcaption { max-width: 340px; margin-inline: auto; line-height: 1.6; }
.screenshot-grid figcaption > span { display: block; color: #e6bd73; font-size: 12px; margin-top: 5px; }
.stock-product .product-intro .stock-logo { width: 72px; height: 72px; border-radius: 16px; }
.product-page footer { padding: 36px 0; border-top: 1px solid #31313a; }
.product-page .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: var(--portfolio-muted); font-size: 13px; }
.product-page .footer-inner nav { flex-wrap: wrap; }
.stock-product .product-intro { background: linear-gradient(135deg, #10294799, transparent 70%); }
.stock-product .feature-panel { border-top: 3px solid #619bd4; }
.stock-product .product-intro h1 { color: #eff7ff; }
.stock-product .product-actions .button:not(.button-secondary) { background: #b9dfcf; border-color: #b9dfcf; color: #102947; }
@media (min-width: 700px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature-grid, .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .screenshot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .navbar { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .navbar nav, .product-page .navbar nav { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; }
  .navbar nav > a { padding-block: 10px; }
  .navbar .nav-button { padding: 10px 12px; }
  .navbar .brand-logo { height: 38px; }
  .hero { padding-top: 220px; }
  :where(#produtos, #briefing, #conteudo, #funcionalidades, #servicos, #sobre, #processo) { scroll-margin-top: 210px; }
  .product-page .navbar { flex-wrap: wrap; padding-block: 16px; }
  .product-page .navbar nav { gap: 16px; }
  .product-page .footer-inner nav { display: flex; }
}
@media (max-width: 600px) { .portfolio { padding: 64px 0; } .product-card-copy { padding: 24px; } .product-media { height: 260px; flex-basis: 260px; } .product-card-copy > p { min-height: 0; } .product-card.app .product-actions { grid-template-rows: 52px; } .product-page .container { width: calc(100% - 28px); } .product-intro { padding: 36px 0; } .product-intro .product-actions .button { width: 100%; } .products-menu-panel { left: -65px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }
