/* Officeplan — página inicial (destaque, departamentos, soluções, passos). Usa as variáveis de main.css. */

.opl-head--center { margin-inline: auto; text-align: center; }
.opl-head--center .opl-eyebrow { justify-content: center; }

/* Destaque */
.opl-h-hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 84px); background: #fff; }
.opl-h-hero::before { content: ""; position: absolute; right: -18%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(239, 132, 7, .12), transparent 70%); pointer-events: none; }
.opl-h-hero__in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.opl-h-hero__title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: var(--navy); margin: 0 0 .35em; }
.opl-h-hero__lead { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--grey); max-width: 36em; margin: 0 0 24px; }
.opl-h-hero__search { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 560px; color: var(--grey); }
.opl-h-hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; outline: none; color: var(--navy); font-size: 15px; }
.opl-h-hero__search .opl-btn { border-radius: 999px; }
.opl-h-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 30px; }
.opl-h-hero .opl-btn--blue:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff !important; }
.opl-h-hero__stats { display: flex; gap: clamp(20px, 3vw, 40px); margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.opl-h-hero__stats div { margin: 0; }
.opl-h-hero__stats dt { font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.opl-h-hero__stats dd { margin: 4px 0 0; font-size: 13.5px; color: var(--grey); }
.opl-h-hero__media { position: relative; }
.opl-h-hero__media img { width: 100%; aspect-ratio: 5 / 4.2; object-fit: cover; border-radius: 26px; box-shadow: 0 24px 60px rgba(23, 32, 42, .16); }
.opl-h-hero__media::after { content: ""; position: absolute; right: -16px; top: -16px; width: 110px; height: 110px; border-radius: 26px; background: var(--blue); z-index: -1; }
.opl-h-hero__badge { position: absolute; left: -24px; bottom: 30px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(23, 32, 42, .16); color: var(--navy); }
.opl-h-hero__badge .opl-ico { color: var(--blue); }
.opl-h-hero__badge strong { display: block; font-size: 15px; }
.opl-h-hero__badge span { font-size: 13px; color: var(--grey); }

/* Departamentos (bento) */
.opl-h-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.opl-h-tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 20px; border-radius: var(--radius); background: var(--soft); color: #fff; isolation: isolate; }
.opl-h-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.opl-h-tile.opl-h-tile--contain { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.opl-h-tile--contain img { object-fit: contain; padding: 18px 18px 74px; background: #fff; }
.opl-h-tile.opl-h-tile--contain::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .96) 80%); }
.opl-h-tile.opl-h-tile--contain:hover { color: var(--navy); border-color: var(--blue); }
.opl-h-tile--contain .opl-h-tile__txt small { color: var(--grey); opacity: 1; }
.opl-h-tile--contain .opl-h-tile__go { background: var(--soft); }
.opl-h-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 32, 42, 0) 35%, rgba(23, 32, 42, .82)); }
.opl-h-tile:hover { color: #fff; }
.opl-h-tile:hover img { transform: scale(1.05); }
.opl-h-tile__txt strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.opl-h-tile__txt small { font-size: 13px; opacity: .85; }
.opl-h-tile__go { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; transform: rotate(-45deg); transition: transform .3s, background .2s, color .2s; }
.opl-h-tile:hover .opl-h-tile__go { background: var(--blue); color: #fff; transform: none; }
.opl-h-tile--0 { grid-column: span 2; grid-row: span 2; }
.opl-h-tile--0 .opl-h-tile__txt strong { font-size: 28px; }
.opl-h-tile--1 { grid-row: span 2; }
.opl-h-tile--6 { grid-column: span 2; }

/* Soluções à medida */
.opl-h-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.opl-h-split__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 24px; }
.opl-h-split__copy p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.opl-h-checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.opl-h-checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); }
.opl-h-checks .opl-ico { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* Como trabalhamos */
.opl-h-steps { background: var(--navy); color: rgba(255, 255, 255, .75); padding: clamp(60px, 7vw, 100px) 0; }
.opl-h-steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.opl-h-steps__list li { padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.opl-h-steps__list span { display: block; font-size: 40px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; }
.opl-h-steps__list h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.opl-h-steps__list p { margin: 0; font-size: 14.5px; }

@media (prefers-reduced-motion: reduce) { .opl-h-tile img, .opl-h-tile__go { transition: none; } }

@media (max-width: 1024px) {
	.opl-h-hero__in { grid-template-columns: 1fr; }
	.opl-h-hero__media { order: -1; }
	.opl-h-hero__media img { aspect-ratio: 16 / 10; }
	.opl-h-hero__media::after { display: none; }
	.opl-h-hero__badge { left: 14px; bottom: 14px; }
	.opl-h-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
	.opl-h-tile--0 { grid-column: span 2; grid-row: span 1; }
	.opl-h-tile--1 { grid-row: span 1; }
	.opl-h-split { grid-template-columns: 1fr; }
	.opl-h-steps__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.opl-h-hero__badge { display: none; }
	.opl-h-hero__stats { gap: 18px; }
	.opl-h-hero__ctas .opl-btn { flex: 1 1 auto; }
	.opl-h-hero__search .opl-btn { display: none; }
	.opl-h-bento { grid-template-columns: 1fr; grid-auto-rows: 170px; }
	.opl-h-tile--0, .opl-h-tile--6 { grid-column: span 1; }
	.opl-h-steps__list { grid-template-columns: 1fr; }
}

/* Produtos em destaque: 4 por linha, cartões maiores (o mobiliário pede fotografias grandes) */
.opl-h-products ul.products, .woocommerce .opl-h-products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px; }
.opl-h-products ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
@media (max-width: 1024px) { .opl-h-products ul.products, .woocommerce .opl-h-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .opl-h-products ul.products, .woocommerce .opl-h-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; } }
