.video-section { background: var(--branco); }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.video-copy, .video-player { min-width: 0; }
.video-copy h2 { color: var(--verde-escuro); font-size: clamp(28px, 4.2vw, 46px); line-height: 1.05; letter-spacing: -.035em; overflow-wrap: anywhere; }
.video-copy p { max-width: 52ch; margin-top: 16px; color: var(--cinza-suave); line-height: 1.8; overflow-wrap: anywhere; }
.video-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.video-points span { padding: 8px 11px; color: var(--verde-escuro); background: var(--verde-suave); border-radius: var(--radius-full); font-size: 10px; font-weight: 800; }
.video-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--verde-escuro); border-radius: 24px; box-shadow: 0 20px 54px rgba(15,77,31,.18); }
.video-player > button { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-player img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .4s ease, opacity .3s ease; }
.video-player button:hover img { transform: scale(1.035); opacity: .58; }
.video-play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 78px; height: 78px; place-items: center; color: var(--branco); background: var(--vinho-acento); border: 7px solid rgba(255,255,255,.38); border-radius: 50%; transform: translate(-50%,-50%); }
.video-play svg { width: 26px; height: 26px; margin-left: 4px; }
.video-label { position: absolute; left: 20px; bottom: 18px; color: var(--branco); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.video-player iframe { width: 100%; height: 100%; border: 0; }

.technical-section { background: var(--cinza-fundo); }
.technical-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.spec-table { min-width: 0; overflow: hidden; background: var(--branco); border: 1px solid var(--cinza-borda); border-radius: 20px; }
.spec-row { display: grid; grid-template-columns: minmax(120px,.75fr) minmax(0, 1.25fr); gap: 18px; padding: 15px 18px; border-bottom: 1px solid var(--cinza-borda); }
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(even) { background: var(--cinza-fundo); }
.spec-row dt { color: var(--cinza-suave); font-size: 11px; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
.spec-row dd { color: var(--cinza-titulo); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.document-stack { display: grid; min-width: 0; gap: 12px; align-content: start; }
.document-card { display: grid; min-width: 0; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 86px; padding: 16px; background: var(--branco); border: 1px solid var(--cinza-borda); border-radius: 16px; transition: border-color .2s ease, transform .2s ease; }
.document-card:hover { border-color: var(--verde-primario); transform: translateY(-2px); }
.document-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--vinho-acento); background: var(--vinho-claro); border-radius: 12px; font-size: 10px; font-weight: 900; }
.document-card span { min-width: 0; overflow-wrap: anywhere; }
.document-card strong { color: var(--verde-escuro); font-size: 14px; }
.document-card small { display: block; margin-top: 3px; color: var(--cinza-suave); font-size: 10px; }
.document-card > svg { width: 18px; height: 18px; color: var(--verde-primario); }

.related-section { background: var(--branco); }
.related-section .section-heading h2 { font-size: clamp(24px, 3vw, 30px); }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.related-card { min-width: 0; overflow: hidden; background: var(--branco); border: 1px solid var(--cinza-borda); border-radius: 18px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.related-card:hover { border-color: var(--verde-primario); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.related-card__media { display: grid; aspect-ratio: 1; place-items: center; padding: 18px; background: var(--cinza-fundo); }
.related-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.related-card__body { min-width: 0; padding: 15px; overflow-wrap: anywhere; }
.related-card small { color: var(--vinho-acento); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.related-card h3 { margin-top: 6px; color: var(--verde-escuro); font-size: 14px; line-height: 1.35; }
.related-card span { display: inline-flex; margin-top: 14px; color: var(--verde-primario); font-size: 11px; font-weight: 900; }

.specialist-cta { padding-block: 62px; color: var(--branco); background: var(--verde-primario); }
.specialist-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.specialist-cta__inner > div { min-width: 0; }
.specialist-cta h2 { max-width: 720px; color: var(--branco); font-size: clamp(26px, 3.8vw, 38px); line-height: 1.08; overflow-wrap: anywhere; }
.specialist-cta p { max-width: 60ch; margin-top: 12px; color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.specialist-button { display: inline-flex; max-width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding-inline: 22px; color: var(--verde-escuro); background: var(--branco); border-radius: var(--radius-full); font-size: 12px; font-weight: 900; text-transform: uppercase; text-align: center; }
.specialist-button:hover { color: var(--branco); background: var(--vinho-acento); }
.specialist-button svg { width: 20px; height: 20px; }

.gallery-dialog { inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; background: var(--verde-escuro); border: 0; }
.gallery-dialog::backdrop { background: var(--verde-escuro); }
.gallery-dialog__body { position: relative; display: grid; height: 100%; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.gallery-dialog__toolbar { position: relative; z-index: 4; display: grid; min-height: 68px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 10px 18px; background: var(--branco); border-bottom: 1px solid var(--cinza-borda); }
.gallery-dialog__counter { color: var(--cinza-suave); font-family: var(--font-mono); font-size: 12px; font-weight: 800; }
.gallery-dialog__zoom { display: flex; align-items: center; gap: 6px; }
.gallery-dialog__zoom button { min-width: 42px; height: 40px; padding-inline: 12px; color: var(--verde-escuro); background: var(--cinza-fundo); border: 1px solid var(--cinza-borda); border-radius: 10px; font-size: 12px; font-weight: 800; }
.gallery-dialog__zoom button:hover { color: var(--branco); background: var(--verde-primario); border-color: var(--verde-primario); }
.gallery-dialog__viewport { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; background: var(--cinza-fundo); cursor: grab; touch-action: none; scrollbar-color: var(--verde-primario) var(--cinza-borda); }
.gallery-dialog__viewport.is-dragging { cursor: grabbing; }
.gallery-dialog__canvas { display: grid; width: max-content; min-width: 100%; min-height: 100%; place-items: center; padding: 40px 88px; }
.gallery-dialog img { display: block; width: auto; max-width: none; height: auto; max-height: none; object-fit: contain; box-shadow: 0 16px 46px rgba(15,77,31,.18); user-select: none; }
.dialog-close { display: grid; width: 44px; height: 44px; place-self: center end; place-items: center; color: var(--branco); background: var(--verde-escuro); border-radius: 50%; }
.dialog-close svg { width: 18px; height: 18px; }
.gallery-dialog__nav { position: absolute; z-index: 3; top: 50%; display: grid; width: 48px; height: 48px; place-items: center; color: var(--verde-escuro); background: var(--branco); border: 1px solid var(--cinza-borda); border-radius: 50%; box-shadow: var(--shadow-md); transform: translateY(-50%); }
.gallery-dialog__nav:hover { color: var(--branco); background: var(--verde-primario); }
.gallery-dialog__nav svg { width: 22px; height: 22px; }
.gallery-dialog__nav--previous { left: 18px; }
.gallery-dialog__nav--previous svg { transform: rotate(180deg); }
.gallery-dialog__nav--next { right: 18px; }

.cart-overlay { position: fixed; z-index: 480; inset: 0; overflow: hidden; visibility: hidden; background: rgba(15,77,31,.58); opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.cart-overlay.is-open { visibility: visible; opacity: 1; }
.sidecart { position: absolute; top: 0; right: 0; display: grid; grid-template-rows: auto 1fr auto; width: min(440px, 100%); height: 100%; background: var(--branco); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s ease; }
.cart-overlay.is-open .sidecart { transform: translateX(0); }
.sidecart__header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--cinza-borda); }
.sidecart__header h2 { color: var(--verde-escuro); font-size: 20px; }
.sidecart__close { display: grid; width: 40px; height: 40px; place-items: center; color: var(--verde-escuro); background: var(--verde-suave); border-radius: 50%; }
.sidecart__close svg { width: 17px; height: 17px; }
.sidecart__content { overflow-y: auto; padding: 20px; }
.cart-product { display: grid; grid-template-columns: 86px 1fr; gap: 14px; }
.cart-product__image { display: grid; width: 86px; height: 86px; place-items: center; padding: 8px; background: var(--cinza-fundo); border-radius: 14px; }
.cart-product__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-product h3 { color: var(--verde-escuro); font-size: 14px; }
.cart-product p { margin-top: 5px; color: var(--cinza-suave); font-size: 11px; }
.cart-product__controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.cart-product__controls button { display: grid; width: 30px; height: 30px; place-items: center; color: var(--verde-escuro); background: var(--verde-suave); border-radius: 50%; }
.cart-product__controls strong { min-width: 20px; color: var(--cinza-titulo); text-align: center; }
.cart-remove { margin-left: auto; color: var(--vinho-acento); font-size: 10px; font-weight: 800; }
.cart-empty { padding: 50px 20px; color: var(--cinza-suave); text-align: center; }
.sidecart__footer { padding: 20px; background: var(--cinza-fundo); border-top: 1px solid var(--cinza-borda); }
.cart-total { display: flex; justify-content: space-between; gap: 20px; color: var(--cinza-suave); font-size: 12px; }
.cart-total strong { color: var(--verde-escuro); }
.cart-checkout { display: flex; min-height: 52px; align-items: center; justify-content: center; margin-top: 14px; color: var(--branco); background: var(--verde-primario); border-radius: 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.cart-checkout:hover { color: var(--branco); background: var(--verde-escuro); }
.cart-status { position: fixed; z-index: 500; left: 50%; bottom: 20px; padding: 11px 16px; color: var(--branco); background: var(--verde-escuro); border-radius: var(--radius-full); box-shadow: var(--shadow-md); font-size: 11px; font-weight: 800; opacity: 0; transform: translate(-50%,20px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.cart-status.is-visible { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 760px) {
  .video-grid { grid-template-columns: .75fr 1.25fr; gap: 52px; }
  .technical-grid { grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); }
  .related-grid { grid-template-columns: repeat(4, 1fr); }
  .specialist-cta__inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 520px) {
  .spec-row { grid-template-columns: 1fr; gap: 5px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { display: grid; grid-template-columns: 110px 1fr; }
  .gallery-dialog__toolbar { min-height: 60px; grid-template-columns: auto 1fr auto; gap: 8px; padding: 8px 10px; }
  .gallery-dialog__zoom { justify-content: center; }
  .gallery-dialog__zoom button { min-width: 38px; height: 38px; padding-inline: 8px; }
  .gallery-dialog__zoom button:nth-child(2) { display: none; }
  .gallery-dialog__canvas { padding: 28px 58px; }
  .gallery-dialog__nav { width: 42px; height: 42px; }
  .gallery-dialog__nav--previous { left: 8px; }
  .gallery-dialog__nav--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-player img, .document-card, .related-card, .cart-overlay, .sidecart, .cart-status { transition: none; }
}
