/*
Theme Name: Power Tape
Theme URI: https://pwtape.com.br
Author: Power Tape
Description: Tema institucional da Power Tape com integração ao catálogo de produtos.
Version: 0.3.0
Text Domain: powertape
*/

:root {
    --pt-bg: #f4f5f5;
    --pt-surface: #ffffff;
    --pt-text: #15191b;
    --pt-muted: #667074;
    --pt-border: #dde2e3;
    --pt-green: #062d2a;
    --pt-green-2: #0b4440;
    --pt-red: #b80f17;
    --pt-red-dark: #7d070b;
    --pt-black: #071315;
    --pt-soft: #eef2f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", Arial, Helvetica, sans-serif; background: var(--pt-bg); color: var(--pt-text); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
.pt-container { width: min(1240px, calc(100% - 36px)); margin: 0 auto; }

.pt-topbar { background: linear-gradient(90deg, #061417 0%, #071b1c 72%, #99090f 72%, #b80f17 100%); color: #fff; font-size: .88rem; }
.pt-topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pt-topbar-slogan { font-weight: 600; }
.pt-topbar-contact { display: flex; align-items: center; gap: 14px; }
.pt-topbar-contact a { color: #fff; }
.pt-topbar-separator { opacity: .35; }
.pt-topbar-cta { min-height: 42px; display: inline-flex; align-items: center; padding: 0 22px; margin-left: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }

.pt-header { background: #fff; border-bottom: 1px solid #eceeee; position: sticky; top: 0; z-index: 50; box-shadow: 0 3px 18px rgba(0,0,0,.04); }
.admin-bar .pt-header { top: 32px; }
.pt-header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.pt-brand { display: flex; align-items: center; min-width: 250px; font-size: 1.3rem; font-weight: 800; }
.pt-brand .custom-logo-link { display: flex; align-items: center; }
.pt-brand .custom-logo { max-height: 76px; width: auto; }
.pt-nav { margin-left: auto; }
.pt-nav ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.pt-nav li { position: relative; }
.pt-nav a { display: block; color: #171b1d; font-size: .92rem; font-weight: 800; text-transform: uppercase; padding: 34px 0 29px; border-bottom: 3px solid transparent; }
.pt-nav a:hover, .pt-nav .current-menu-item > a, .pt-nav .current_page_item > a { color: var(--pt-red); border-bottom-color: var(--pt-red); }
.pt-header-search { width: 44px; height: 44px; border-radius: 50%; background: #f1f3f3; display: grid; place-items: center; font-size: 1.65rem; line-height: 1; }

.pt-main { padding: 0 0 72px; overflow: hidden; }
.pt-main > .pt-container { width: min(1240px, calc(100% - 36px)); }
.home .pt-main > .pt-container { width: min(1480px, calc(100% - 28px)); }

.pt-hero { margin-top: 0; }
.pt-hero-industrial { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 500px; overflow: hidden; background: #051c1d; color: #fff; position: relative; }
.pt-hero-industrial::before { content: ""; position: absolute; inset: 0 50% 0 0; opacity: .28; background-image: linear-gradient(30deg, transparent 24%, rgba(255,255,255,.07) 25%, rgba(255,255,255,.07) 26%, transparent 27%), linear-gradient(150deg, transparent 24%, rgba(255,255,255,.05) 25%, rgba(255,255,255,.05) 26%, transparent 27%); background-size: 80px 140px; pointer-events: none; }
.pt-hero-content { padding: clamp(46px, 6vw, 86px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 2; }
.pt-eyebrow { display: inline-block; color: var(--pt-red); font-size: .77rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.pt-eyebrow-light { color: #f0b5b8; }
.pt-hero h1 { margin: 12px 0 22px; font-size: clamp(2.7rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.pt-hero h1 span { color: #e31c24; }
.pt-hero p { max-width: 620px; margin: 0; color: #edf4f3; font-size: 1.15rem; }
.pt-hero-actions { margin-top: 30px; }
.pt-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--pt-red); color: #fff; border-radius: 8px; padding: 13px 20px; font-weight: 800; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; transition: transform .2s ease, background .2s ease; }
.pt-button:hover { color: #fff; background: var(--pt-red-dark); transform: translateY(-1px); }
.pt-button-outline { background: transparent; border: 2px solid #e21b23; border-radius: 999px; padding: 13px 24px; }
.pt-button-outline:hover { background: var(--pt-red); }
.pt-button-light { background: #fff; color: var(--pt-green); }
.pt-button-light:hover { background: #f4f4f4; color: var(--pt-green); }
.pt-button-secondary { background: var(--pt-green); }

.pt-hero-visual { position: relative; min-height: 500px; background: radial-gradient(circle at 56% 55%, #3e4b49 0, #172220 36%, #090f0f 72%); overflow: hidden; border-left: 1px solid rgba(255,255,255,.06); }
.pt-hero-visual::before { content: ""; position: absolute; left: -78px; top: -10%; width: 120px; height: 120%; background: var(--pt-red); transform: skewX(-18deg); z-index: 1; }
.pt-hero-glow { position: absolute; width: 460px; height: 130px; left: 50%; bottom: 7%; transform: translateX(-50%); border-radius: 50%; background: rgba(0,0,0,.5); filter: blur(30px); }
.pt-hero-product { position: absolute; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; padding: 6px; box-shadow: 0 25px 45px rgba(0,0,0,.42); overflow: hidden; transition: transform .25s ease; }
.pt-hero-product:hover { transform: translateY(-7px) rotate(-2deg); }
.pt-hero-product img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pt-hero-product-1 { width: 285px; height: 285px; left: 36%; top: 18%; z-index: 4; }
.pt-hero-product-2 { width: 235px; height: 235px; right: 5%; top: 25%; z-index: 3; }
.pt-hero-product-3 { width: 195px; height: 195px; left: 14%; bottom: 8%; z-index: 5; }
.pt-hero-product-4 { width: 205px; height: 205px; left: 42%; bottom: -6%; z-index: 2; opacity: .9; }

.pt-trust-strip { position: relative; z-index: 7; margin: -28px 20px 0; padding: 20px 28px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid #e6e9e9; border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.10); }
.pt-trust-item { min-height: 74px; padding: 4px 20px; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: 1fr 1fr; align-items: center; border-right: 1px solid #e3e7e7; }
.pt-trust-item:last-child { border-right: 0; }
.pt-trust-icon { grid-row: 1 / 3; font-size: 2rem; color: var(--pt-green); font-weight: 300; }
.pt-trust-item strong { align-self: end; font-size: .92rem; text-transform: uppercase; }
.pt-trust-item small { align-self: start; color: #4e585b; font-size: .86rem; text-transform: uppercase; }

.pt-home-panels { display: grid; grid-template-columns: 1.2fr .64fr 1.08fr; gap: 0; margin: 6px 20px 0; border-radius: 10px; overflow: hidden; }
.pt-industry-panel { min-height: 320px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.pt-panel-dark { background: linear-gradient(135deg, #062d2a, #031d1d); color: #fff; }
.pt-industry-panel > div { padding: 34px; position: relative; z-index: 2; }
.pt-industry-panel h2, .pt-innovation-panel h2, .pt-brazil-panel h2 { margin: 6px 0 18px; font-size: clamp(1.7rem, 2.4vw, 2.35rem); line-height: 1.08; text-transform: uppercase; }
.pt-industry-panel h2 span, .pt-innovation-panel h2 span, .pt-brazil-panel h2 span { color: #e31c24; }
.pt-industry-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pt-check-list { list-style: none; margin: 0; padding: 0; }
.pt-check-list li { margin: 7px 0; }
.pt-check-list li::before { content: "✓"; color: #ef2028; font-weight: 900; margin-right: 10px; }
.pt-innovation-panel { background: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.pt-innovation-panel p { color: #465052; }
.pt-innovation-panel a { color: var(--pt-red); font-weight: 800; margin-top: 8px; }
.pt-brazil-panel { min-height: 320px; position: relative; padding: 34px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; background: radial-gradient(circle at 30% 50%, #9f171a 0, #570609 44%, #2f0204 100%); color: #fff; }
.pt-brazil-panel p { color: #f4dddd; }
.pt-brazil-map { font-size: clamp(5rem, 10vw, 9rem); font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); text-align: center; letter-spacing: -.08em; opacity: .7; }

.pt-home-section { margin: 74px 20px 0; }
.pt-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.pt-section-heading h2, .pt-cta h2 { margin: 5px 0 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.025em; }
.pt-section-heading > a { color: var(--pt-red); font-weight: 800; }

.pt-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pt-card { background: #fff; border: 1px solid var(--pt-border); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 25px rgba(4,23,23,.06); transition: transform .2s ease, box-shadow .2s ease; }
.pt-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(4,23,23,.12); }
.pt-card-image { aspect-ratio: 4 / 3; background: linear-gradient(145deg, #f9fbfb, #ecefef); display: flex; align-items: center; justify-content: center; padding: 22px; border-bottom: 1px solid var(--pt-border); }
.pt-card-image img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pt-card-body { padding: 20px; }
.pt-card-code { color: var(--pt-red); font-size: .82rem; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.pt-card h2 { font-size: 1.22rem; margin: 0 0 9px; line-height: 1.25; }
.pt-card .pt-category { color: var(--pt-muted); font-size: .92rem; }
.pt-card-link { display: inline-block; margin-top: 14px; color: var(--pt-green); font-weight: 800; }

.pt-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pt-category-card { position: relative; min-height: 145px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; background: #fff; border: 1px solid var(--pt-border); border-radius: 14px; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.pt-category-card:hover { transform: translateY(-3px); border-color: #8caaa6; background: #f9fbfa; }
.pt-category-name { font-size: 1.15rem; font-weight: 900; }
.pt-category-count { color: var(--pt-muted); font-size: .9rem; }
.pt-category-arrow { position: absolute; top: 16px; right: 20px; color: var(--pt-red); font-size: 1.5rem; }

.pt-segments { margin-top: 60px; }
.pt-segments-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.pt-segments-title span { height: 2px; background: linear-gradient(90deg, transparent, var(--pt-red)); }
.pt-segments-title span:last-child { background: linear-gradient(90deg, var(--pt-red), transparent); }
.pt-segments-title h2 { margin: 0; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.pt-segments-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-top: 26px; }
.pt-segments-grid > div { min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; background: #fff; border: 1px solid #e6e9e9; border-radius: 10px; text-align: center; }
.pt-segments-grid b { font-size: 1.65rem; color: var(--pt-green); }
.pt-segments-grid span { font-size: .75rem; font-weight: 800; text-transform: uppercase; }

.pt-cta { margin: 72px 20px 0; padding: 44px 48px; display: flex; justify-content: space-between; gap: 32px; align-items: center; background: linear-gradient(120deg, #052e2b 0%, #06201f 56%, #82090e 100%); border-radius: 14px; color: #fff; overflow: hidden; position: relative; }
.pt-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: 15%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.pt-cta > * { position: relative; z-index: 2; }
.pt-cta p { max-width: 720px; margin-bottom: 0; color: #dce8e6; }

.pt-page-title { margin: 36px 0 24px; font-size: clamp(2rem, 5vw, 3rem); }
.pt-product-info > .pt-page-title { margin: 14px 0 18px; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.08; letter-spacing: -.035em; color: var(--pt-green); }
.pt-product { margin-top: 42px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pt-product-main-image { background: #fff; border: 1px solid var(--pt-border); border-radius: 16px; padding: 28px; text-align: center; }
.pt-product-code { color: var(--pt-red); font-weight: 800; }
.pt-product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.pt-section { margin-top: 32px; }
.pt-specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--pt-border); border-radius: 10px; overflow: hidden; }
.pt-specs th, .pt-specs td { padding: 12px 14px; border-bottom: 1px solid var(--pt-border); text-align: left; }
.pt-specs th { width: 36%; background: #f2f4f4; }
.pt-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 16px; }
.pt-gallery img { background: #fff; border: 1px solid var(--pt-border); border-radius: 10px; padding: 8px; aspect-ratio: 1; object-fit: contain; }
.pt-empty { background: #fff; border: 1px solid var(--pt-border); border-radius: 12px; padding: 24px; }

.pt-footer { background: #061415; color: #fff; padding: 44px 0 28px; margin-top: 0; }
.pt-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.pt-footer-logo .custom-logo { max-height: 70px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.pt-footer h3 { margin: 0 0 12px; font-size: .94rem; text-transform: uppercase; letter-spacing: .08em; color: #cdd9d7; }
.pt-footer p, .pt-footer a { color: #c1cecc; }
.pt-footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #899795; font-size: .86rem; }

@media (max-width: 1100px) {
    .pt-topbar-slogan { display: none; }
    .pt-topbar-inner { justify-content: flex-end; }
    .pt-nav ul { gap: 20px; }
    .pt-brand { min-width: 210px; }
    .pt-hero-industrial { grid-template-columns: 1fr 1fr; }
    .pt-trust-strip { grid-template-columns: repeat(3, 1fr); }
    .pt-trust-item:nth-child(3) { border-right: 0; }
    .pt-home-panels { grid-template-columns: 1fr 1fr; }
    .pt-industry-panel { grid-column: 1 / -1; }
    .pt-products-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-segments-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .admin-bar .pt-header { top: 46px; }
    .pt-header-inner { min-height: auto; padding: 16px 0; align-items: flex-start; flex-wrap: wrap; }
    .pt-brand .custom-logo { max-height: 62px; }
    .pt-nav { order: 3; width: 100%; }
    .pt-nav ul { flex-wrap: wrap; gap: 12px 22px; }
    .pt-nav a { padding: 8px 0; }
    .pt-header-search { margin-left: auto; }
    .pt-hero-industrial { grid-template-columns: 1fr; }
    .pt-hero-visual { min-height: 390px; }
    .pt-hero-industrial::before { inset: 0; }
    .pt-hero-product-1 { width: 230px; height: 230px; }
    .pt-hero-product-2 { width: 190px; height: 190px; }
    .pt-home-panels { grid-template-columns: 1fr; }
    .pt-industry-panel { grid-column: auto; }
    .pt-brazil-panel { min-height: 280px; }
    .pt-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 680px) {
    .pt-container, .home .pt-main > .pt-container { width: min(100% - 20px, 100%); }
    .pt-topbar { background: #061415; }
    .pt-topbar-contact { width: 100%; justify-content: center; flex-wrap: wrap; padding: 7px 0; gap: 8px 12px; }
    .pt-topbar-cta { width: 100%; justify-content: center; background: var(--pt-red); margin-left: 0; min-height: 36px; }
    .pt-header-inner { padding: 12px 0; }
    .pt-brand { min-width: 0; }
    .pt-header-search { display: none; }
    .pt-nav ul { gap: 5px 16px; }
    .pt-nav a { font-size: .78rem; }
    .pt-hero-content { padding: 42px 24px; }
    .pt-hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
    .pt-hero-visual { min-height: 330px; }
    .pt-hero-product-1 { width: 190px; height: 190px; left: 34%; top: 18%; }
    .pt-hero-product-2 { width: 150px; height: 150px; right: 0; }
    .pt-hero-product-3 { width: 135px; height: 135px; left: 6%; }
    .pt-hero-product-4 { width: 135px; height: 135px; }
    .pt-trust-strip { grid-template-columns: 1fr; margin: 0; border-radius: 0; padding: 8px 20px; }
    .pt-trust-item, .pt-trust-item:nth-child(3) { border-right: 0; border-bottom: 1px solid #e3e7e7; }
    .pt-trust-item:last-child { border-bottom: 0; }
    .pt-home-panels { margin: 10px 0 0; border-radius: 0; }
    .pt-industry-panel { grid-template-columns: 1fr; }
    .pt-industry-panel img { max-height: 260px; }
    .pt-brazil-panel { grid-template-columns: 1fr; }
    .pt-brazil-map { font-size: 6rem; }
    .pt-home-section { margin: 56px 0 0; }
    .pt-section-heading { align-items: flex-start; flex-direction: column; }
    .pt-products-grid { grid-template-columns: 1fr; }
    .pt-segments-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-segments-title { grid-template-columns: 1fr; text-align: center; }
    .pt-segments-title span { display: none; }
    .pt-cta { margin: 56px 0 0; padding: 34px 24px; align-items: flex-start; flex-direction: column; border-radius: 10px; }
    .pt-product { grid-template-columns: 1fr; gap: 24px; }
    .pt-product-info > .pt-page-title { font-size: clamp(1.85rem, 9vw, 2.35rem); }
}