/* ============================================================
   JP WEB — CUSTOMER SITE (jpweb.com.br) · BLOCO HERO
   kicker + título + copy + CTAs + prova social + visual (mockup).
   ============================================================ */

.hero { box-sizing: border-box; min-height: calc(100vh - 110px); display: flex; align-items: center; position: relative; padding: 96px 0 88px; overflow: hidden; font-family:'DM Sans',sans-serif; }
.hero::before { content:''; position: absolute; width: 720px; height: 720px; top: -250px; right: -140px; background: radial-gradient(circle, var(--hero-glow), transparent 68%); pointer-events: none; }
.hero::after { content:''; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(to bottom, black, transparent 78%); -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 64px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; color: var(--muted); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero-kicker b { padding: 3px 8px; color: var(--accent-text); background: var(--accent-2); border-radius: 999px; font-size: 10px; }
.hero h1 { margin-top: 25px; font-family: var(--display); font-size: clamp(50px,6.5vw,88px); line-height: .97; letter-spacing: -.06em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 650px; margin-top: 27px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.btn { box-sizing: border-box; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; border: 1px solid transparent; border-radius: var(--button-radius); font-family:'DM Sans',sans-serif; font-weight: 800; transition: .23s ease; }
.btn-primary { color: var(--accent-text); background: var(--accent); }
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 16px 36px var(--hero-glow); }
.btn-secondary { color: var(--text); background: transparent; border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface); transform: translateY(-3px); }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 38px; color: var(--muted); font-size: 13px; }
.avatars { display: flex; }
.avatars span { width: 31px; height: 31px; display: grid; place-items: center; margin-left: -7px; color: #fff; background: var(--surface-3); border: 2px solid var(--body); border-radius: 50%; font-size: 10px; font-weight: 800; }
.avatars span:first-child { margin-left: 0; background: #0a69e7; }
.avatars span:nth-child(2) { background: #00a781; }
.avatars span:nth-child(3) { background: #9b51e0; }

/* Visual / mockup de portal */
.hero-visual { position: relative; min-height: 530px; }
.portal-card { position: absolute; inset: 24px 18px 12px 14px; padding: 17px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); transform: rotate(1.4deg); overflow: hidden; }
.portal-top { height: 45px; display: flex; align-items: center; gap: 6px; padding: 0 4px 13px; border-bottom: 1px solid var(--line); }
.portal-top i { width: 8px; height: 8px; background: var(--line-strong); border-radius: 50%; }
.portal-top strong { margin-left: 8px; font: 700 11px 'Manrope',sans-serif; letter-spacing: .05em; }
.portal-image { position: relative; height: 218px; margin-top: 15px; background: linear-gradient(135deg, var(--accent), #1f3158); border-radius: calc(var(--radius) - 5px); overflow: hidden; }
.portal-image img { height: 100%; object-fit: cover; opacity: .72; filter: saturate(.8); }
.portal-image::after { content:''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,38,.84), transparent 72%); }
.portal-image-copy { position: absolute; z-index: 2; left: 22px; bottom: 23px; width: 62%; color: #fff; }
.portal-image-copy small { font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.portal-image-copy h3 { margin-top: 7px; font: 800 24px/1.08 'Manrope',sans-serif; letter-spacing: -.03em; }
.portal-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.portal-metric { padding: 16px 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: calc(var(--radius) - 8px); }
.portal-metric small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.portal-metric b { display: block; margin-top: 5px; font: 800 20px 'Manrope',sans-serif; }
.portal-list { display: grid; gap: 8px; margin-top: 12px; }
.portal-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface-2); border-radius: 9px; color: var(--muted); font-size: 10px; }
.portal-row i { width: 7px; height: 7px; flex: none; background: var(--accent-2); border-radius: 50%; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 15px; box-shadow: 0 20px 45px rgba(0,0,0,.22); }
.floating-card svg { width: 22px; color: var(--accent); }
.floating-card b { display: block; font-size: 12px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.float-one { top: 2px; right: -8px; animation: float 4.6s ease-in-out infinite; }
.float-two { left: -25px; bottom: 18px; animation: float 5s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Variação tema claro (light) */
html[data-theme="light"] .hero-grid { grid-template-columns: .94fr 1.06fr; }
html[data-theme="light"] .hero::after { opacity: .5; background-size: 38px 38px; }
html[data-theme="light"] .portal-card { transform: none; border-top: 5px solid var(--accent); }
html[data-theme="light"] .hero h1 { font-size: clamp(48px,5.8vw,78px); }

/* ============ RESPONSIVO HERO ============ */
@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    html[data-theme="light"] .hero-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 70px; }
    .hero-copy { max-width: 720px; }
    .hero-visual { width: min(590px, 100%); margin: auto; }
}
@media (max-width: 760px) {
    .hero { min-height: auto; padding: 65px 0 64px; }
    .hero h1 { font-size: clamp(45px,15vw,67px); }
    .hero-copy { font-size: 17px; }
    .hero-actions .btn { width: 100%; }
    .hero-proof { align-items: flex-start; }
    .hero-visual { min-height: 440px; margin-top: 12px; }
    .portal-card { inset: 15px 0 5px; padding: 12px; }
    .portal-image { height: 175px; }
    .portal-metric { padding: 12px 8px; }
    .portal-metric b { font-size: 16px; }
    .float-one { right: -8px; }
    .float-two { left: -8px; bottom: 0; }
}
@media (max-width: 420px) {
    .hero-visual { min-height: 400px; }
    .portal-image-copy h3 { font-size: 19px; }
    .portal-list { display: none; }
}