/* =========================================================
   PORTAL GIULLI — estilos
   Linguagem visual alinhada ao site oficial bombasgiulli.com.br:
   base escura (azul-noite), botões em pílula amarelos, títulos
   largos em caixa alta e fotos/produtos em destaque.
   ========================================================= */
:root {
  /* escuros (site oficial) */
  --night-0: #010308;
  --night: #020914;
  --night-2: #0B1324;
  --night-3: #0E1A30;
  --night-glow: #122D59;
  /* marca */
  --navy: #0C2654;
  --blue: #008AD1;
  --indigo: #4058E3;
  --yellow: #FBBF52;
  --yellow-2: #F5AE2E;
  /* textos */
  --ink: #223042;
  --text: #4B5A70;
  --muted: #8691A3;
  --on-dark: #F9FBFF;
  --on-dark-2: #ABBAD1;
  --on-dark-3: #536B91;
  /* claros */
  --light: #F9FBFF;
  --light-2: #EEF2F9;
  --line: #E1E7F0;
  --line-dark: rgba(171, 186, 209, .12);
  --card-img: linear-gradient(160deg, #F4F7FC 0%, #E6ECF5 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(2, 9, 20, .05), 0 10px 30px rgba(2, 9, 20, .07);
  --shadow-lg: 0 20px 50px rgba(2, 9, 20, .16);
  --font: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Archivo', 'Inter Tight', system-ui, sans-serif;
  --wrap: 1200px;
  --hdr: 76px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--light); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-h); font-stretch: 112%; color: var(--ink); line-height: 1.12; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.center { text-align: center; }
.kicker { display: inline-block; font-family: var(--font-h); font-stretch: 112%; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow-2); margin-bottom: 10px; }

/* ---------- botões (pílulas do site oficial) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--yellow); color: var(--night); border: 0; border-radius: 999px; padding: 13px 28px; font-family: var(--font-h); font-stretch: 105%; font-weight: 600; font-size: 15px; transition: background .2s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--yellow-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(251, 191, 82, .3); }
.btn:active { transform: translateY(0); }
.btn-blue { background: var(--indigo); color: #fff; }
.btn-blue:hover { background: #3448C9; box-shadow: 0 10px 24px rgba(64, 88, 227, .35); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px #fff; }
.btn-outline { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--night); }
.btn-outline:hover { background: var(--night); color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--night); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-copy { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: var(--night); border: 0; border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.btn-copy .ic { width: 14px; height: 14px; }
.btn-copy:hover { background: var(--night); color: #fff; }

/* ---------- cabeçalho ---------- */
/* barra simples: sem fundo e sem acompanhar a rolagem; os elementos ficam sobre a faixa escura do topo */
.site-header { position: relative; z-index: 50; background: transparent; color: #fff; }
/* a primeira seção de cada página sobe por trás da barra (a borda transparente reserva o espaço) */
main > :first-child { margin-top: calc(-1 * var(--hdr)); border-top: var(--hdr) solid transparent; background-origin: border-box; }
.hdr { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 34px; width: auto; order: 1; }
.brand-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .3); order: 2; }
.brand-tag { font-family: var(--font-h); font-stretch: 115%; font-weight: 600; font-size: 12px; letter-spacing: .16em; color: var(--yellow); order: 3; }
.main-nav { display: flex; align-items: center; gap: 16px; flex: 1; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; flex: 1; justify-content: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 0 12px; height: var(--hdr); font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; position: relative; }
.main-nav > ul > li > a .ic { width: 14px; height: 14px; opacity: .7; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 24px; height: 1.5px; background: var(--yellow); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav > ul > li > a:hover { color: var(--yellow); }
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.drop { display: none; position: absolute; top: calc(100% - 10px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 10px; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { display: block; }
.drop a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--on-dark-2); font-size: 14px; }
.drop a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega-drop { display: none; min-width: 780px; padding: 22px; grid-template-columns: repeat(3, 1fr); gap: 10px 22px; }
.mega:hover > .mega-drop, .mega:focus-within > .mega-drop { display: grid; }
.mega-drop > li > a { font-family: var(--font-h); font-stretch: 110%; font-weight: 600; color: #fff; }
.drop-all { display: none !important; }
.mega-drop ul { list-style: none; padding: 0 0 6px; margin: 0; }
.mega-drop ul a { font-size: 13px; padding: 4px 14px; }
.search { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 0 14px; height: 38px; width: 200px; color: var(--on-dark-2); transition: border-color .2s, background .2s; }
.search:focus-within { border-color: var(--yellow); background: rgba(255, 255, 255, .12); }
.search input { border: 0; outline: 0; box-shadow: none; font: inherit; font-size: 13px; width: 100%; color: #fff; background: transparent; padding: 0; }
.search input::placeholder { color: var(--on-dark-2); }
.btn-login { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 22px; background: var(--indigo); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.btn-login:hover { background: #3448C9; }
.btn-login .ic { width: 15px; height: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; }
.menu-btn .ic { width: 26px; height: 26px; }

/* ---------- breadcrumbs / cabeçalho de página ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--on-dark-3); padding: 20px 0 0; }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { color: #fff; }
.crumbs .ic { width: 12px; height: 12px; opacity: .6; }
.page-head { background: radial-gradient(60% 120% at 80% 100%, var(--night-glow) 0%, var(--night) 70%); color: #fff; padding: 0 0 56px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 360px; height: 360px; background: url('../img/site/splash-3.webp') center / contain no-repeat; opacity: .18; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); margin-top: 18px; text-transform: uppercase; }
.page-head p { color: var(--on-dark-2); margin: 14px 0 0; max-width: 720px; font-size: 16px; }

/* ---------- blocos ---------- */
.block { padding: 88px 0; }
.block.light { background: var(--light); }
.block.alt, .psec.alt { background: var(--light-2); }
.sec-title { margin: 0 0 28px; }
.sec-title h2 { font-size: clamp(26px, 3.4vw, 40px); }
.lead { font-size: 16px; color: var(--text); margin: -8px 0 32px; max-width: 760px; }
.count { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.empty { color: var(--muted); }

/* ---------- HOME: catálogo na primeira tela (estrutura WAP) ---------- */
.hero-cat { position: relative; background: var(--light); padding: 52px 0 96px; }
.hc-bg { position: absolute; left: 0; right: 0; top: calc(-1 * var(--hdr)); height: calc(300px + var(--hdr)); overflow: hidden; background: var(--night) url("../img/site/hero-poster.jpg") center / cover; }
.hc-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 9, 20, .9) 0%, rgba(2, 9, 20, .65) 50%, rgba(2, 9, 20, .45) 100%), linear-gradient(180deg, rgba(2, 9, 20, .35) 0%, rgba(2, 9, 20, 0) 40%); }
.hero-cat .wrap { position: relative; z-index: 1; }
.hero-cat h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); text-transform: uppercase; margin-bottom: 40px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }

/* ---------- cards de categoria ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ccard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ccard-img { aspect-ratio: 4 / 3; background: var(--card-img); display: flex; align-items: center; justify-content: center; }
.ccard-img img { object-fit: contain; transition: transform .45s; }
.ccard-img img:not([src$=".png"]) { mix-blend-mode: multiply; }
.ccard:hover .ccard-img img { transform: scale(1.05); }
.ccard-name { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-h); font-stretch: 110%; font-weight: 600; color: var(--ink); padding: 18px 20px 14px; font-size: 18px; }
.ccard-name::after { content: '→'; color: var(--yellow-2); transition: transform .2s; }
.ccard:hover .ccard-name::after { transform: translateX(4px); }
.ccard-sub { border-top: 1px solid var(--line); }
.ccard-sub summary { list-style: none; display: flex; align-items: center; gap: 4px; padding: 10px 20px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; text-transform: uppercase; letter-spacing: .06em; }
.ccard-sub summary::-webkit-details-marker { display: none; }
.ccard-sub summary .ic { width: 13px; height: 13px; transition: transform .2s; }
.ccard-sub[open] summary .ic { transform: rotate(180deg); }
.ccard-sub ul { list-style: none; margin: 0; padding: 0 12px 12px; }
.ccard-sub li a { display: block; padding: 7px 10px; font-size: 14px; border-radius: 8px; color: var(--ink); }
.ccard-sub li a:hover { background: var(--light-2); }

/* ---------- cards de produto ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard-img { aspect-ratio: 4 / 3; background: var(--card-img); display: flex; align-items: center; justify-content: center; }
.pcard-img img { object-fit: contain; mix-blend-mode: multiply; }
.pcard-img .badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.pcard-body small { font-size: 12px; color: var(--text); line-height: 1.4; }
.pcard-body small.muted { color: var(--muted); }
.pcard-body strong { font-family: var(--font-h); font-stretch: 108%; font-size: 16px; margin-top: 6px; color: var(--ink); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-h); font-stretch: 110%; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; line-height: 1; }
.badge i { display: none; }
.badge-yellow { background: var(--yellow); color: var(--night); }
.badge-blue { background: var(--indigo); color: #fff; }
.badge-gray { background: #7C8799; color: #fff; }
.badge-orange { background: #F08A24; color: #fff; }
.badge-red { background: #D64545; color: #fff; }

/* ---------- carrossel ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 14px; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 16px; scrollbar-width: none; flex: 1; align-items: start; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.car-btn:hover:not(:disabled) { background: var(--night); color: #fff; border-color: var(--night); }
.car-btn:disabled { opacity: .3; cursor: default; }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.car-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #C8CFDA; transition: width .2s; }
.car-dots button.on { background: var(--yellow-2); width: 24px; border-radius: 4px; }

/* ---------- HOME: institucional ---------- */

.feature-banner { display: flex; align-items: center; min-height: 340px; border-radius: 24px; overflow: hidden; background-size: cover; background-position: center; position: relative; color: #fff; }
.feature-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 9, 20, .95) 0%, rgba(2, 9, 20, .7) 50%, rgba(2, 9, 20, 0) 85%); }
.feature-banner > div { position: relative; padding: 48px; max-width: 560px; }
.feature-banner h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.feature-banner p { color: rgba(255, 255, 255, .85); }

/* ---------- categoria ---------- */
.cat-banner { background-size: cover; background-position: center right; color: #fff; padding: 0 0 80px; }
.cat-banner h1 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); margin: 30px 0 14px; text-transform: uppercase; }
.cat-banner p { max-width: 560px; color: rgba(255, 255, 255, .88); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: .2s; }
.chip:hover { border-color: var(--night); }
.chip.on { background: var(--night); border-color: var(--night); color: #fff; }

/* ---------- produto ---------- */
.prod-hero { background: radial-gradient(60% 90% at 85% 0%, var(--night-glow) 0%, var(--night) 70%) top / 100% 340px no-repeat, var(--light); padding-bottom: 64px; }
.prod-top { display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 24px; }
.gallery { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 16px; width: 100%; max-width: 440px; box-sizing: border-box; }
.g-main { aspect-ratio: 1 / 1; max-height: 400px; width: 100%; background: var(--card-img); border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-sizing: border-box; }
.g-main img { object-fit: contain; mix-blend-mode: multiply; max-width: 100%; max-height: 100%; }
.g-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.g-thumbs button { width: 62px; height: 62px; flex: none; border: 2px solid transparent; border-radius: 10px; background: var(--light-2); padding: 3px; transition: border-color .2s; cursor: pointer; }
.g-thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.g-thumbs button.on { border-color: var(--yellow-2); }
.prod-id { min-height: 252px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 30px; color: #fff; }
.prod-id .badge { align-self: flex-start; margin-bottom: 14px; }
.prod-id h1 { color: #fff; font-size: clamp(30px, 3.8vw, 50px); text-transform: uppercase; font-stretch: 115%; }
.prod-cat { margin: 12px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--yellow); }
.prod-cod { margin: 4px 0 0; font-size: 13px; color: var(--on-dark-2); word-break: break-word; }
.prod-sum { padding-top: 32px; }
.prod-sum h2 { font-size: 24px; margin-bottom: 10px; }
.prod-sum > p { font-size: 16px; }
.prod-sum h3 { font-size: 13px; margin: 26px 0 8px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.arrows { list-style: none; margin: 0; padding: 0; }
.arrows li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.arrows .ic { color: var(--yellow-2); width: 16px; margin-top: 4px; }
.warranty { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 8px 16px; border-radius: 999px; background: var(--night); color: #fff; font-size: 13px; font-weight: 600; }
.warranty .ic { color: var(--yellow); width: 15px; }

.tabs-nav { position: sticky; top: 0; z-index: 30; background: rgba(249, 251, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.tabs-pill { display: flex; gap: 4px; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; scrollbar-width: none; }
.tabs-pill::-webkit-scrollbar { display: none; }
.tabs-pill a { flex: 1; text-align: center; white-space: nowrap; padding: 9px 16px; font-size: 13px; font-weight: 500; color: var(--text); border-radius: 999px; transition: .2s; }
.tabs-pill a:hover { background: var(--night); color: #fff; }

.psec { padding: 72px 0; background: #fff; }
.psec-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.psec-head h2 { font-size: clamp(24px, 3vw, 34px); }
.rich p { font-size: 15.5px; max-width: 920px; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.feat-list li span { flex: 1; }
.feat-list .ic { color: var(--yellow-2); width: 16px; margin-top: 3px; }
.mini-copy { border: 0; background: none; color: var(--muted); padding: 2px; }
.mini-copy:hover { color: var(--indigo); }
.mini-copy .ic { color: inherit; margin: 0; }

.tit-group { margin-bottom: 32px; background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px 8px; }
.tit-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tit-head strong { font-family: var(--font-h); font-stretch: 110%; letter-spacing: .04em; }
.tit-head em { color: var(--muted); }
.tit-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.tit-row:last-child { border-bottom: 0; }
.tit-row span { flex: 1; color: var(--ink); }
.tit-row small { color: var(--muted); font-size: 11px; }

.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.dcard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 24px; }
.dcard.wide { margin-bottom: 20px; }
.dcard h4 { font-size: 12px; letter-spacing: .1em; margin-bottom: 14px; color: var(--night); }
.dcard dl { margin: 0; }
.dcard dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.dcard dt { color: var(--muted); }
.dcard dd { margin: 0; color: var(--ink); font-weight: 500; }
.tbl-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }
.tbl th { background: var(--night); color: #fff; font-weight: 600; text-align: left; padding: 12px 14px; font-size: 12px; letter-spacing: .02em; }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) td { background: var(--light); }
.tbl tbody tr:hover td { background: #FFF6E3; }

.tab-imgs { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
.tab-imgs figure { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.tab-imgs figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; font-weight: 600; color: var(--ink); font-size: 14px; border-bottom: 1px solid var(--line); }
.tab-imgs figcaption a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--indigo); }
.tab-imgs figcaption .ic { width: 14px; }
.tab-imgs img { width: 100%; }

.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.dl { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-align: left; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.dl span { flex: 1; display: flex; flex-direction: column; }
.dl small { color: var(--muted); font-size: 12px; }
.dl .ic:first-child { color: var(--yellow-2); width: 28px; height: 28px; }
.dl .ic:last-child { color: var(--muted); }
.dl:hover { border-color: var(--night); box-shadow: var(--shadow); }

.sub-h { display: flex; align-items: center; justify-content: space-between; font-size: 17px; margin: 8px 0 16px; }
.sub-h a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--indigo); }
.sub-h a .ic { width: 15px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 36px; }
.ph { aspect-ratio: 1 / 1; background: var(--card-img); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ph img { object-fit: contain; mix-blend-mode: multiply; }
.ph span { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--night); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.ph:hover span { opacity: 1; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.vid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

/* ---------- material de apoio ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hub-grid.small { grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.hub { display: flex; flex-direction: column; gap: 6px; padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.hub:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.hub .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--night); color: var(--yellow); margin-bottom: 12px; }
.hub strong { font-family: var(--font-h); font-stretch: 108%; font-size: 17px; }
.hub span { font-size: 14px; }

.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.logo-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.logo-prev { height: 190px; display: grid; place-items: center; padding: 36px; background: var(--light); }
.logo-prev.dark { background: var(--night); }
.logo-prev img { max-height: 100%; }
.logo-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 14px; }
.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.color { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.color .sw { width: 100%; height: 120px; border-radius: 10px; border: 1px solid var(--line); }
.color small { color: var(--muted); font-size: 12px; }

.cat-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.cat-dl img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.cat-dl h2 { font-size: 32px; margin-bottom: 14px; }
.cat-dl .btn { margin: 8px 8px 0 0; }
.pdf-view { width: 100%; height: 80vh; border: 1px solid var(--line); border-radius: 16px; }

.banner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.bn { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.bn img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bn figcaption { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; }
.bn a { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--indigo); font-weight: 600; }
.bn a .ic { width: 15px; }

.empty-box { text-align: center; padding: 64px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.empty-box > .ic { width: 44px; height: 44px; color: var(--yellow-2); margin: 0 auto 14px; }
.empty-box h1, .empty-box h3 { margin-bottom: 10px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid !important; place-items: center; padding: 0 !important; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); transition: .2s; }
.social a:hover { background: var(--yellow); color: var(--night) !important; }
.social.big { justify-content: center; }
.social.big a { width: auto; height: auto; border-radius: 999px; padding: 10px 20px !important; background: var(--night); color: #fff; display: inline-flex !important; gap: 8px; text-transform: capitalize; font-weight: 600; font-size: 14px; }

/* ---------- news / academy ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nimg { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.nimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .nimg img { transform: scale(1.05); }
.ntag { position: absolute; left: 14px; top: 14px; background: var(--yellow); color: var(--night); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.nbody { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.nbody time { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.nbody h3 { font-size: 18px; margin-bottom: 10px; }
.nbody p { font-size: 14px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--indigo); font-weight: 600; font-size: 14px; }
.more .ic { width: 15px; }
.article img { border-radius: 20px; margin-bottom: 32px; }
.article p { font-size: 17px; }
.article a:not(.btn) { color: var(--indigo); font-weight: 600; }

/* ---------- informações técnicas ---------- */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; }
.calc-form .btn { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
input, select, textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1px solid #CFD7E3; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(64, 88, 227, .15); }
.calc-res { background: radial-gradient(80% 90% at 90% 100%, var(--night-glow) 0%, var(--night) 70%); color: #fff; border-radius: var(--radius); padding: 28px; }
.res-big { display: flex; flex-direction: column; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); margin-bottom: 8px; }
.res-big small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); font-weight: 600; }
.res-big strong { color: #fff; font-family: var(--font-h); font-stretch: 115%; font-size: 46px; line-height: 1.1; margin: 8px 0; }
.res-big span { color: var(--on-dark-2); font-size: 14px; }
.calc-res dl { margin: 0 0 18px; }
.calc-res dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.calc-res dt { color: var(--on-dark-2); }
.calc-res dd { margin: 0; font-weight: 600; text-align: right; }
.calc-res .warn { color: var(--yellow); font-style: normal; font-weight: 400; display: block; font-size: 12px; }
.calc-res .btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.calc-res .btn-outline:hover { background: #fff; color: var(--night); }
.block > .wrap > .sec-title[id] { margin-top: 72px; }
.block > .wrap > .sec-title[id]:first-child { margin-top: 0; }

/* ---------- login / formulários ---------- */
.auth { min-height: calc(100vh - var(--hdr)); display: grid; place-items: center; padding: 56px 20px; background: linear-gradient(180deg, rgba(2, 9, 20, .75), rgba(2, 9, 20, .92)), url('../img/site/hero-poster.jpg') center / cover; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 44px 38px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.block .auth-card { max-width: none; box-shadow: none; border: 1px solid var(--line); }
.auth-logo { height: 46px; margin: 0 auto 26px; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 8px; }
.auth-card > p { text-align: center; font-size: 14px; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.auth-foot { margin: 22px 0 0; font-size: 14px; }
.auth-foot a { color: var(--indigo); font-weight: 600; }
.form-card { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.chk { flex-direction: row; align-items: center; font-weight: 400; gap: 10px; }
label.chk input { width: 18px; height: 18px; accent-color: var(--indigo); }
.form-card .btn { align-self: flex-start; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--night-0); color: var(--on-dark-3); padding: 72px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: var(--on-dark-3); font-family: var(--font); font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.foot-grid a, .foot-grid span { display: block; padding: 4px 0; color: var(--on-dark); }
.foot-grid a:hover { color: var(--yellow); }
.foot-logo { height: 46px; width: auto; margin-bottom: 22px; }
.foot-cta { display: flex !important; align-items: center; gap: 8px; font-weight: 600; }
.foot-cta .ic { color: var(--yellow); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); margin-top: 48px; padding: 22px 24px; font-size: 13px; color: var(--on-dark-3); }
.foot-bottom a:hover { color: var(--yellow); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-float .ic { width: 28px; height: 28px; }

#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--night); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; border: 1px solid var(--line-dark); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- imagens dentro das caixas com aspect-ratio ---------- */
.ccard-img, .pcard-img, .g-main, .ph { position: relative; overflow: hidden; min-height: 0; }
.ccard-img > img, .pcard-img > img, .g-main > img, .ph > img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.g-main > img { inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.ph > img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.fill > img, .g-thumbs .fill img { inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; mix-blend-mode: normal; }
.g-thumbs button.fill { padding: 0; overflow: hidden; }

/* ---------- HOME: central de marketing ---------- */
.mkt-home { background: radial-gradient(50% 80% at 85% 60%, var(--night-glow) 0%, var(--night) 75%); color: var(--on-dark-2); padding: 100px 0; }
.mkt-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.mkt-home h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; max-width: 620px; }
.mkt-lead { font-size: 16px; margin: 18px 0 28px; max-width: 560px; }
.mkt-month { background: rgba(251, 191, 82, .08); border: 1px solid rgba(251, 191, 82, .35); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px; }
.mkt-month small { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.mkt-month small .ic { width: 15px; }
.mkt-month strong { display: block; color: #fff; font-family: var(--font-h); font-stretch: 110%; font-size: 22px; margin: 8px 0 6px; }
.mkt-month p { font-size: 14.5px; margin-bottom: 16px; }
.mkt-month-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.mkt-month-ctas .btn { padding: 11px 20px; font-size: 14px; }
.mkt-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mkt-links a { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.mkt-links a:hover { border-color: var(--yellow); background: rgba(255, 255, 255, .06); }
.mkt-links .ic { color: var(--yellow); margin-top: 2px; }
.mkt-links strong { display: block; color: #fff; font-size: 14px; }
.mkt-links small { display: block; font-size: 12px; color: var(--on-dark-3); line-height: 1.4; margin-top: 2px; }
.mkt-preview { display: block; position: relative; }
.mkt-preview canvas { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: rotate(1.5deg); transition: transform .3s; }
.mkt-preview:hover canvas { transform: rotate(0); }
.mkt-preview span { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--on-dark-3); text-align: center; }
.mkt-preview span .ic { width: 15px; }

/* ---------- página: central de marketing ---------- */
.gen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gen-form { display: flex; flex-direction: column; gap: 18px; }
.gen-form fieldset { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; margin: 0; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.gen-form legend { font-family: var(--font-h); font-stretch: 110%; font-weight: 600; color: var(--ink); padding: 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.gen-form textarea { resize: vertical; }
.seg { display: flex; gap: 6px; background: var(--light-2); padding: 4px; border-radius: 999px; }
.seg label { flex: 1; font-weight: 500; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 12px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--text); transition: .2s; }
.seg input:checked + span { background: var(--night); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--indigo); }
.hint { color: var(--muted); font-size: 12px; }
.gen-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gen-preview { position: sticky; top: 90px; background: var(--light-2); border-radius: 20px; padding: 20px; display: flex; justify-content: center; }
.gen-preview canvas { width: auto; max-width: 100%; height: auto; max-height: 78vh; border-radius: 12px; box-shadow: var(--shadow-lg); }

.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.cal.on { border-color: var(--yellow-2); box-shadow: 0 0 0 3px rgba(251, 191, 82, .25); }
.cal header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal header span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow-2); }
.cal header em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--yellow); color: var(--night); padding: 3px 10px; border-radius: 999px; }
.cal h3 { font-size: 17px; margin-bottom: 8px; }
.cal p { font-size: 14px; }
.cal ul { margin: 0 0 16px; padding-left: 18px; font-size: 13.5px; color: var(--ink); flex: 1; }
.cal li { margin-bottom: 6px; }
.cal .btn { align-self: flex-start; }


.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promo > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--night); color: var(--yellow); margin-bottom: 14px; }
.promo h3 { font-size: 16px; margin-bottom: 8px; }
.promo p { font-size: 14px; }
.promo .promo-tip { font-size: 13px; color: var(--muted); margin: 0; border-top: 1px solid var(--line); padding-top: 12px; }


@media (max-width: 1024px) {
  .mkt-grid, .gen, .calc { grid-template-columns: minmax(0, 1fr); }
  .gen-preview { position: static; }
  .promo-grid, .cal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mkt-links, .promo-grid, .cal-grid { grid-template-columns: 1fr; }
  .mkt-home { padding: 64px 0; }
}

/* ---------- gerador: controles ---------- */
.lbl { font-size: 13px; font-weight: 600; color: var(--ink); }
.lbl small { font-weight: 400; color: var(--muted); }
.fundos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fundo { position: relative; gap: 6px; font-weight: 500; font-size: 12px; text-align: center; cursor: pointer; }
.fundo input { position: absolute; opacity: 0; pointer-events: none; }
.fundo canvas { width: 100%; aspect-ratio: 1; border-radius: 10px; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); transition: border-color .2s, transform .2s; }
.fundo:hover canvas { transform: translateY(-2px); }
.fundo input:checked + canvas { border-color: var(--yellow-2); box-shadow: 0 0 0 3px rgba(251, 191, 82, .35); }
.fundo input:focus-visible + canvas { outline: 2px solid var(--indigo); }

.tl { display: flex; flex-direction: column; gap: 8px; }
#tlRows { display: flex; flex-direction: column; gap: 8px; }
.tl-row { display: flex; gap: 8px; align-items: center; }
.tl-row input[name=tl] { flex: 1; min-width: 0; }
input[type=color] { width: 46px; height: 46px; padding: 4px; border-radius: 10px; cursor: pointer; flex: none; }
.tl-rm { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; }
.tl-rm:hover { background: var(--light-2); color: #D64545; }
.tl-rm .ic { width: 16px; }
.tl-row:only-child .tl-rm { visibility: hidden; }
.tl-add, .link-btn { align-self: flex-start; border: 0; background: none; padding: 4px 0; color: var(--indigo); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.tl-add:hover, .link-btn:hover { text-decoration: underline; }
.link-btn .ic { width: 16px; }
.cor-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--ink); }
.sws { display: flex; gap: 6px; flex-wrap: wrap; }
.sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background: var(--c); padding: 0; }
.sw:hover { transform: scale(1.12); }

.logo-up { display: flex; gap: 16px; align-items: center; }
.logo-up > div:last-child { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.logo-slot { width: 96px; height: 96px; flex: none; border-radius: 14px; border: 1.5px dashed #C3CCDA; background: repeating-conic-gradient(#EEF2F9 0% 25%, #fff 0% 50%) 50% / 16px 16px; display: grid; place-items: center; overflow: hidden; color: var(--muted); text-align: center; }
.logo-slot img { max-width: 86%; max-height: 86%; object-fit: contain; }
.logo-slot small { display: block; font-size: 11px; }
.up-btn { cursor: pointer; flex-direction: row; font-weight: 600; }

/* seletor de produtos */
.pp { display: flex; flex-direction: column; gap: 8px; }
.pp-top { display: flex; align-items: center; gap: 8px; border: 1px solid #CFD7E3; border-radius: 10px; padding: 0 12px; color: var(--muted); background: #fff; }
.pp-top:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(64, 88, 227, .15); }
.pp-top input { border: 0; box-shadow: none !important; padding: 11px 0; flex: 1; min-width: 0; }
.pp-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.pp-cats button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pp-cats button.on { background: var(--night); border-color: var(--night); color: #fff; }
.pp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; }
.pp-item { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; text-align: left; transition: border-color .2s; }
.pp-item[hidden] { display: none; }
.pp-item:hover { border-color: #AEB9CC; }
.pp-item.on { border-color: var(--yellow-2); background: #FFF8EA; }
.pp-item img { width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: 6px; background: var(--card-img); mix-blend-mode: multiply; }
.pp-item span { min-width: 0; }
.pp-item strong { display: block; font-size: 12.5px; line-height: 1.25; color: var(--ink); word-break: break-word; }
.pp-item small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.pp-vazio { font-size: 13px; color: var(--muted); margin: 0; }

.gen-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.gen-side .gen-preview { position: static; }
.leg-offer { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.leg-offer[hidden] { display: none; }
.leg-offer-head { display: flex; gap: 12px; align-items: flex-start; }
.leg-offer-head > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #E3F6EA; color: #1F9D55; flex: none; }
.leg-offer-head strong { display: block; color: var(--ink); }
.leg-offer-head span { font-size: 14px; }
.leg-offer > .btn { align-self: flex-start; }
.leg-offer > .btn[hidden] { display: none; }
#legOut { display: flex; flex-direction: column; gap: 12px; }
.leg { background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.leg header strong { font-family: var(--font-h); font-stretch: 108%; font-size: 14px; }
.leg pre { margin: 0; white-space: pre-wrap; font-family: var(--font); font-size: 14px; color: var(--ink); line-height: 1.55; max-height: 280px; overflow-y: auto; }
.leg .btn-copy { align-self: flex-start; }

@media (max-width: 1024px) {
  .gen-side { position: static; order: -1; }
  .gen-side .gen-preview canvas { max-height: 60vh; }
}
@media (max-width: 640px) {
  .fundos { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .fundo span { font-size: 10px; }
  .logo-up { align-items: flex-start; }
}

/* ---------- gerador: selo, tamanho do logo, imagens do produto ---------- */
.f2-end { align-items: end; }
.switch { flex-direction: row; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; min-height: 46px; }
.switch small { font-weight: 400; color: var(--muted); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .sl { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: #C8CFDA; transition: background .2s; }
.switch .sl::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + .sl { background: var(--yellow-2); }
.switch input:checked + .sl::after { transform: translateX(18px); }
.switch input:focus-visible + .sl { outline: 2px solid var(--indigo); outline-offset: 2px; }

.range > span { display: flex; align-items: center; gap: 12px; }
.range input[type=range] { flex: 1; padding: 0; border: 0; accent-color: var(--yellow-2); height: 24px; }
.range input[type=range]:disabled { opacity: .4; }
.range output { min-width: 48px; text-align: right; font-weight: 600; color: var(--ink); font-size: 14px; }

.pp-imgs { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #FFF8EA; border: 1px solid rgba(245, 174, 46, .35); }
.pp-imgs:empty { display: none; }
.pp-imgs .lbl strong { font-weight: 700; }
.pp-imgs-list { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-img { width: 76px; height: 76px; padding: 4px; border-radius: 10px; border: 2px solid transparent; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: border-color .2s, transform .2s; }
.pp-img:hover { transform: translateY(-2px); }
.pp-img.on { border-color: var(--yellow-2); box-shadow: 0 0 0 3px rgba(251, 191, 82, .3); }
.pp-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
  .search { width: 150px; }
  .main-nav > ul > li > a { padding: 0 8px; font-size: 13px; }
}
@media (max-width: 1024px) {
  .menu-btn { display: block; }
  .main-nav { display: none; position: fixed; inset: var(--hdr) 0 0 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 32px; overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; flex: none; }
  .main-nav > ul > li > a { height: 52px; font-size: 16px; border-bottom: 1px solid var(--line-dark); }
  .main-nav > ul > li > a::after { display: none; }
  .drop, .mega-drop { position: static; display: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 12px; }
  /* menu do celular: submenus fechados; abrem ao tocar no item */
  .has-drop:hover > .drop, .has-drop:focus-within > .drop, .mega:hover > .mega-drop, .mega:focus-within > .mega-drop { display: none; }
  .has-drop.open > .drop { display: block; }
  .has-drop > a .ic { transition: transform .2s; }
  .has-drop.open > a .ic { transform: rotate(180deg); }
  .has-drop.open > a { color: var(--yellow); }
  .drop-all { display: block !important; }
  .mega-drop ul { display: none; }
  .search { width: 100%; height: 44px; }
  .btn-login { justify-content: center; height: 46px; }
  .cat-grid, .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .car-track { grid-auto-columns: calc((100% - 40px) / 3); }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .prod-top { grid-template-columns: 1fr; gap: 0; justify-items: center; }
  .prod-hero { background-size: 100% 230px, auto; }
  .prod-info { display: contents; }
  .prod-id { order: -1; min-height: 0; padding: 4px 0 24px; width: 100%; }
  .gallery { max-width: 400px; margin: 0 auto 24px; }
  .g-main { max-height: 360px; }
  .model3d-box { max-height: 360px; }
  .prod-sum { width: 100%; }
  .dgrid, .cat-dl, .news-grid, .logo-grid, .feat-list { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --hdr: 64px; }
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .gallery { max-width: 100%; padding: 12px; }
  .g-main { max-height: 320px; }
  .model3d-box { max-height: 320px; }
  .brand img { height: 28px; }
  .brand-tag, .brand-sep { display: none; }
  .hub-grid.small { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ccard-name { font-size: 14px; padding: 12px 12px 10px; }
  .ccard-name::after { display: none; }
  .ccard-sub summary { padding: 8px 12px; font-size: 10px; }
  .prod-grid, .hub-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard-body strong { font-size: 14px; }
  .car-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .car-btn { display: none; }
  .block { padding: 64px 0; }
  .psec { padding: 48px 0; }

  .calc-form, .f2 { grid-template-columns: 1fr; }
  .tit-row { flex-wrap: wrap; }
  .tit-row span { flex-basis: 100%; }
  .dcard dl > div { grid-template-columns: 1fr; gap: 2px; }
  .feature-banner > div { padding: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .auth-card { padding: 34px 24px; }
}


/* mensagem de erro em formulários (login) */
.form-erro { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FDECEC; color: #B42318; font-size: 14px; }
.form-erro[hidden] { display: none; }

/* seletor de fundos: uma linha com setas para deslizar */
.fundos-car { display: flex; align-items: center; gap: 8px; }
.fundos-car .fundos { display: flex; flex: 1; min-width: 0; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.fundos-car .fundos::-webkit-scrollbar { display: none; }
.fundos-car .fundo { flex: 0 0 92px; }
.fundos-car .fundo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-seta { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s; }
.fc-seta .ic { width: 16px; height: 16px; }
.fc-seta:hover:not(:disabled) { background: var(--night); color: #fff; border-color: var(--night); }
.fc-seta:disabled { opacity: .3; cursor: default; }
@media (max-width: 640px) { .fundos-car .fundo { flex-basis: 76px; } }

/* =========================================================
   ASSISTENTE DE ARTES — tela a tela, mobile first
   ========================================================= */
.wz-cta { display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin-bottom: 12px; border-radius: 20px; color: var(--on-dark-2); background: radial-gradient(80% 140% at 100% 0%, var(--night-glow) 0%, var(--night) 70%); box-shadow: var(--shadow-lg); transition: transform .2s; }
.wz-cta:hover { transform: translateY(-2px); }
.wz-cta-av { width: 56px; height: 56px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(0, 138, 209, .25); }
.wz-cta-av img { width: 34px; }
.wz-cta-tx { flex: 1; min-width: 0; }
.wz-cta-tx strong { display: block; color: #fff; font-family: var(--font-h); font-stretch: 110%; font-size: 20px; }
.wz-cta-tx small { display: block; font-size: 14px; line-height: 1.45; margin-top: 4px; }
.wz-cta .btn { flex: none; }
.gen-manual { font-size: 18px; margin-bottom: 14px; }
.cal-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .wz-cta { flex-wrap: wrap; padding: 20px; gap: 14px; }
  .wz-cta-tx { flex-basis: calc(100% - 74px); }
  .wz-cta .btn { width: 100%; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- assistente de marketing minimalista ---------- */
body.wz-on { background: #F7F9FC; color: #0F172A; }
.mc { width: min(100%, 740px); min-height: 100dvh; margin: auto; padding: 0 20px 24px; color: #0F172A; display: flex; flex-direction: column; }
.mc-top { position: sticky; top: 0; z-index: 8; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; background: rgba(247, 249, 252, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15, 23, 42, .06); }
.mc-top a { color: #475569; text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color .15s; }
.mc-top a:hover { color: #0C2654; }
.mc button, .mc-options a { font: inherit; cursor: pointer; }
.mc-top button { background: #fff; border: 1px solid #E2E8F0; color: #334155; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; transition: border-color .15s, color .15s, background .15s; }
.mc-top button:hover { border-color: #0C2654; color: #0C2654; }
.mc-heading { display: flex; align-items: center; gap: 14px; padding: 26px 0 18px; }
.mc-heading img { width: 28px; height: 28px; object-fit: contain; }
.mc-avatar { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #E2E8F0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .05); animation: mc-welcome 500ms cubic-bezier(.2,.8,.2,1) both; }
.mc-avatar i { position: absolute; width: 9px; height: 9px; right: 0; bottom: 0; border: 2px solid #F7F9FC; border-radius: 50%; background: #10B981; box-sizing: content-box; }
.mc-heading .mc-status { display: none; }
.mc-thinking .mc-avatar { animation: mc-breathe 1.6s ease-in-out infinite; }
.mc-thinking .mc-avatar i { background: #F59E0B; }
.mc-heading h1 { font-size: 20px; font-weight: 600; line-height: 1.25; margin: 0 0 2px; color: #0F172A; font-family: var(--font-h); }
.mc-heading p { color: #64748B; font-size: 13.5px; margin: 0; }

.mc-log { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 8px 0 36px; }
.mc-log article { padding: 0; border: 0; background: transparent; max-width: 100%; line-height: 1.6; overflow-wrap: anywhere; }
.mc-log article > small { display: inline-block; color: #64748B; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.mc-log article h2 { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: #0F172A; font-family: var(--font-h); }
.mc-log article p { margin: 0 0 10px; color: #334155; font-size: 15px; }
.mc-log article p:last-child { margin-bottom: 0; }
.mc-log article ol, .mc-log article ul { padding-left: 18px; margin: 8px 0 14px; color: #334155; font-size: 14.5px; }
.mc-log article li { padding: 3px 0; }
.mc-log article code { background: #EEF2F7; padding: 1px 6px; border-radius: 5px; font-size: 13px; color: #0C2654; }
.mc-log article.mc-user { align-self: flex-end; background: #0C2654; color: #fff; border-radius: 18px 18px 4px 18px; padding: 10px 16px; max-width: 78%; font-size: 14.5px; box-shadow: 0 2px 10px rgba(12, 38, 84, .14); white-space: pre-wrap; }
.mc-log article.mc-user p { color: #fff; }

.mc-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mc-options button, .mc-options a { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #E2E8F0; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: #1E293B; background: #fff; text-decoration: none; text-align: left; line-height: 1.35; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.mc-options button:hover, .mc-options a:hover { border-color: #94A3B8; background: #F8FAFC; }
.mc-options .mc-primary { background: #0C2654; border-color: #0C2654; color: #fff; font-weight: 600; }
.mc-options .mc-primary:hover { background: #143673; border-color: #143673; }
.mc-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mc-menu .mc-card { justify-content: flex-start; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; font-weight: 600; min-height: 52px; }
.mc-menu .mc-card.mc-primary { box-shadow: 0 6px 18px rgba(12, 38, 84, .16); }
.mc-menu .mc-pills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.mc-menu .mc-pills button { padding: 6px 13px; font-size: 13px; color: #475569; background: transparent; border-color: #CBD5E1; box-shadow: none; }
.mc-menu .mc-pills button:hover { background: #fff; color: #0C2654; border-color: #94A3B8; }
.mc-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mc-months button { justify-content: center; border-radius: 10px; padding: 9px 10px; }
.mc-months button.mc-now { border-color: #0C2654; color: #0C2654; font-weight: 600; background: #EFF6FF; }

.mc-options button, .mc-options a, .mc-compose button { transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.mc-options button:active, .mc-options a:active, .mc-compose button:active { transform: scale(.97); }
.mc-compose button:disabled { opacity: .45; cursor: wait; }
.mc-arrive { animation: mc-message-in 260ms cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom left; }
.mc-user.mc-arrive { transform-origin: bottom right; }
.mc-reveal { animation: mc-content-in 340ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: var(--mc-delay, 0ms); }
.mc-typing { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; align-self: flex-start; color: #64748B; font-size: 12.5px; background: #fff; border: 1px solid #E2E8F0; border-radius: 999px; animation: mc-message-in 240ms 160ms ease both; box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
.mc-typing-dots { display: inline-flex; gap: 4px; align-items: center; height: 16px; }
.mc-typing-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #0C2654; animation: mc-dot 1s ease-in-out infinite; }
.mc-typing-dots i:nth-child(2) { animation-delay: 140ms; }
.mc-typing-dots i:nth-child(3) { animation-delay: 280ms; }
.mc-typing button { border: 0; color: #0C2654; background: transparent; padding: 0 2px; font-size: 12px; font-weight: 600; }
@media (hover: hover) { .mc-menu .mc-card:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 23, 42, .07); } }
@keyframes mc-welcome { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes mc-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(12, 38, 84, .12); } 50% { box-shadow: 0 0 0 6px rgba(12, 38, 84, .06); } }
@keyframes mc-message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mc-content-in { from { opacity: 0; transform: translateY(6px); visibility: hidden; } to { opacity: 1; transform: none; visibility: visible; } }
@keyframes mc-dot { 0%, 65%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mc *, .mc *::before, .mc *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.mc-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.mc-photos figure { margin: 0; background: #fff; padding: 10px; border-radius: 14px; border: 1px solid #E2E8F0; }
.mc-photos img { width: 100%; height: 130px; object-fit: contain; }
.mc-photos a { display: block; color: #0C2654; font-size: 12.5px; font-weight: 600; text-align: center; margin-top: 8px; }
.mc :focus-visible { outline: 2px solid #008AD1; outline-offset: 2px; }

.mc-compose { position: sticky; bottom: 0; z-index: 6; background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0%, #F7F9FC 28%); padding: 14px 0 max(18px, env(safe-area-inset-bottom)); margin-top: auto; }
.mc-compose-pill { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; background: #fff; border: 1px solid #CBD5E1; border-radius: 999px; box-shadow: 0 8px 28px rgba(15, 23, 42, .07); transition: border-color .18s, box-shadow .18s; }
.mc-compose-pill:focus-within { border-color: #0C2654; box-shadow: 0 8px 28px rgba(12, 38, 84, .11), 0 0 0 3px rgba(12, 38, 84, .08); }
.mc-compose input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; color: #0F172A; font: inherit; font-size: 14.5px; outline: none; }
.mc-compose input::placeholder { color: #94A3B8; }
.mc-compose button { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; color: #fff; background: #0C2654; font-weight: 700; font-size: 16px; }
.mc-compose button:not(:disabled):hover { background: #143673; }

.mc-flow { width: 100%; min-width: 0; scroll-margin-top: 18px; background: #fff; border: 1px solid #E2E8F0; border-radius: 20px; padding: 20px 22px 22px; box-shadow: 0 4px 20px rgba(15, 23, 42, .04); }
.mc-flow-progress { display: flex; align-items: center; gap: 12px; padding: 0 0 16px; margin-bottom: 14px; border-bottom: 1px solid #F1F5F9; }
.mc-flow-progress .wz-prog { margin: 0; max-width: none; }
.mc-flow-progress > button:last-child { flex-shrink: 0; background: transparent; border: 0; color: #64748B; padding: 6px 8px; font-size: 13px; font-weight: 500; }
.mc-flow-progress > button:last-child:hover { color: #0F172A; }
.mc-flow .mc-bot { max-width: 100%; }
.mc-flow .mc-bot > small { display: none; }
.mc-flow .wz-op { margin-top: 14px; }
.mc-flow #wzAcoes > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding-top: 16px; margin-top: 16px; border-top: 1px solid #F1F5F9; }
.mc-flow #wzAcoes[hidden] { display: none; }
.mc-flow .btn { background: #0C2654; color: #fff; padding: 11px 22px; font-size: 14px; box-shadow: none; }
.mc-flow .btn:hover { background: #143673; }
.mc-flow .btn-ghost { background: #F1F5F9; color: #334155; box-shadow: none; }
.mc-flow .btn-ghost:hover { background: #E2E8F0; color: #0F172A; }
.mc-flow .leg { max-width: 100%; margin-top: 12px; }
.mc-flow .wz-prods { max-height: 420px; overflow-y: auto; }
.mc-flow .wz-arts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mc-flow .wz-eu img, .mc-user img { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 6px; vertical-align: middle; }
.mc-flow .pap-res { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 600px) {
  .mc { padding-inline: 14px; }
  .mc-heading { gap: 12px; padding: 18px 0 12px; }
  .mc-menu { grid-template-columns: 1fr; }
  .mc-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mc-flow { padding: 16px; border-radius: 16px; }
}

.wz { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #0F172A; background: #F7F9FC; }
.wz-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(247, 249, 252, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #E2E8F0; }
.wz-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid #E2E8F0; background: #fff; color: #334155; display: grid; place-items: center; transition: background .15s, border-color .15s; font-size: 14px; }
.wz-ic:hover { background: #F1F5F9; border-color: #CBD5E1; }
.wz-ic:disabled { visibility: hidden; }
.wz-prog { flex: 1; max-width: 520px; margin: 0 auto; }
.wz-prog small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #64748B; margin-bottom: 5px; }
.wz-barra { height: 4px; border-radius: 99px; background: #E2E8F0; overflow: hidden; }
.wz-barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #008AD1, #0C2654); transition: width .35s ease; }

.wz-corpo { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 22px 16px 28px; }
.wz-corpo.largo { max-width: 1120px; }

/* opções minimalistas no fluxo */
.wz-lista { display: flex; flex-direction: column; gap: 8px; }
.wz-opt { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; min-height: 54px; border-radius: 14px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; transition: border-color .15s, background .15s, transform .12s; }
@media (hover: hover) { .wz-opt:hover, .wz-prod:hover { border-color: #94A3B8; background: #fff; } }
button.wz-opt:active, .wz-prod:active, .wz-foto:active { transform: scale(.985); }
.wz-opt.on { border-color: #0C2654; background: #EFF6FF; box-shadow: inset 0 0 0 1px #0C2654; }
.wz-opt-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #E2E8F0; color: #0C2654; display: grid; place-items: center; }
.wz-opt.on .wz-opt-ic { background: #0C2654; color: #fff; }
.wz-opt-ic .ic { width: 18px; height: 18px; }
.wz-opt-tx { flex: 1; min-width: 0; }
.wz-opt strong { display: block; color: #0F172A; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.wz-opt strong em { font-style: normal; font-weight: 500; font-size: 12px; color: #64748B; margin-left: 4px; }
.wz-opt small { display: block; font-size: 13px; line-height: 1.35; color: #64748B; margin-top: 2px; }
.wz-chk { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid #CBD5E1; display: grid; place-items: center; color: transparent; transition: .15s; background: #fff; }
.wz-chk .ic { width: 12px; height: 12px; stroke-width: 3; }
.wz-box { border-radius: 6px; }
.on > .wz-chk { background: #0C2654; border-color: #0C2654; color: #fff; }
.wz-tit { display: block; font-family: var(--font-h); font-stretch: 112%; font-weight: 700; font-size: 16.5px; line-height: 1.15; text-transform: uppercase; color: #0F172A; }
.wz-tit span { display: block; }
.wz-tit span + span { color: #0070B8; }
.wz-msgopt small { margin-top: 6px; }
.wz-proprio { flex-direction: column; align-items: stretch; padding: 0; }
.wz-proprio-bt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; min-height: 54px; background: none; border: 0; color: inherit; }
.wz-proprio-campos { display: flex; flex-direction: column; gap: 10px; padding: 0 14px 14px; }
.wz-proprio-campos[hidden] { display: none; }

/* campos */
.wz-campo { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 12.5px; font-weight: 600; color: #475569; position: relative; }
.wz-proprio-campos .wz-campo { margin: 0; }
.wz-campo input { width: 100%; font: inherit; font-size: 15px; font-weight: 500; color: #0F172A; background: #fff; border: 1.5px solid #CBD5E1; border-radius: 10px; padding: 11px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.wz-campo input::placeholder { color: #94A3B8; }
.wz-campo input:focus { border-color: #0C2654; box-shadow: 0 0 0 3px rgba(12, 38, 84, .08); }
.wz-preco em { position: absolute; left: 14px; bottom: 11px; font-style: normal; font-family: var(--font-h); font-weight: 700; font-size: 20px; color: #0C2654; }
.wz-preco input { font-family: var(--font-h); font-stretch: 110%; font-weight: 700; font-size: 22px; padding: 9px 12px 9px 52px; }
.wz-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.wz-chips button { border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: .15s; }
.wz-chips button.on { background: #0C2654; border-color: #0C2654; color: #fff; font-weight: 600; }

/* produto */
.wz-busca { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: #F8FAFC; border: 1px solid #CBD5E1; color: #64748B; }
.wz-busca:focus-within { border-color: #0C2654; background: #fff; }
.wz-busca input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: #0F172A; font: inherit; font-size: 14.5px; padding: 10px 0; }
.wz-busca input::placeholder { color: #94A3B8; }
.wz-cats { flex-wrap: nowrap; overflow-x: auto; margin: 10px 0 12px; padding: 0 0 4px; scrollbar-width: none; }
.wz-cats::-webkit-scrollbar { display: none; }
.wz-prods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.wz-prod { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-align: left; border-radius: 12px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #475569; transition: border-color .15s, background .15s; }
.wz-prod[hidden] { display: none; }
.wz-prod.on { border-color: #0C2654; background: #EFF6FF; }
.wz-prod img { width: 52px; height: 52px; flex: none; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid #E2E8F0; padding: 3px; }
.wz-prod > span { flex: 1; min-width: 0; }
.wz-prod strong { display: block; color: #0F172A; font-size: 14px; line-height: 1.25; }
.wz-prod small { display: block; font-size: 12px; color: #64748B; }
.wz-prod .badge { margin-top: 4px; font-size: 9.5px; padding: 2px 8px; }
.wz-prod .badge i { display: none; }
.wz-vazio { text-align: center; padding: 20px 0; color: #64748B; font-size: 14px; }
.wz-vazio[hidden] { display: none; }
.wz-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wz-foto { position: relative; aspect-ratio: 1; padding: 10px; border-radius: 14px; border: 1.5px solid #E2E8F0; background: #F8FAFC; transition: border-color .15s, box-shadow .15s; }
.wz-foto img { width: 100%; height: 100%; object-fit: contain; }
.wz-foto.on { border-color: #0C2654; background: #fff; box-shadow: 0 0 0 2px #0C2654; }
.wz-foto .wz-chk { position: absolute; top: 8px; right: 8px; }

/* estilo e formatos */
.wz-estilo { flex-wrap: wrap; }
.wz-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.wz-minis canvas { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; background: var(--night-2); }
.wz-ratio { display: block; height: 24px; max-width: 24px; border: 2px solid currentColor; border-radius: 4px; }

/* logo da loja */
.wz-logo { display: flex; gap: 14px; align-items: center; padding: 12px; margin-bottom: 14px; border-radius: 14px; border: 1px dashed #CBD5E1; background: #F8FAFC; }
.wz-logo-slot { width: 64px; height: 64px; flex: none; border-radius: 10px; background: #fff; border: 1px solid #E2E8F0; display: grid; place-items: center; color: #94A3B8; overflow: hidden; }
.wz-logo-slot img { max-width: 88%; max-height: 88%; object-fit: contain; }
.wz-logo strong { display: block; color: #0F172A; font-size: 14px; }
.wz-logo small { display: block; font-size: 12px; color: #64748B; line-height: 1.35; margin: 2px 0 6px; }
.wz-logo-bts { display: flex; align-items: center; gap: 12px; }
.wz-logo .link-btn { color: #0C2654; font-size: 12.5px; font-weight: 600; }

/* gerando */
.wz-gerando { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0; }
.wz-orb { position: relative; width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 1px solid #E2E8F0; display: grid; place-items: center; margin-bottom: 20px; }
.wz-orb::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2.5px solid transparent; border-top-color: #0C2654; border-right-color: #008AD1; animation: wzGira 1s linear infinite; }
.wz-orb img { width: 44px; }
.wz-gerando h2 { color: #0F172A; font-size: 20px; margin-bottom: 16px; }
.wz-gerando ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.wz-gerando li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #334155; animation: wzIn .35s var(--d) both; }
.wz-gerando li .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #0C2654; color: #fff; stroke-width: 3; }
@keyframes wzGira { to { transform: rotate(360deg); } }

/* resultado */
.wz-res { margin-bottom: 22px; }
.wz-res h3 { color: #0F172A; font-size: 15.5px; margin-bottom: 10px; font-weight: 600; }
.wz-res h3 em { font-style: normal; font-weight: 500; font-size: 12.5px; color: #64748B; margin-left: 6px; }
.wz-arts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0; padding: 4px 0 8px; scrollbar-width: none; }
.wz-arts::-webkit-scrollbar { display: none; }
.wz-art { flex: 0 0 76%; margin: 0; scroll-snap-align: center; animation: wzIn .35s both; }
.wz-art-img img, .wz-art-img canvas { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 23, 42, .12); }
.wz-art figcaption { display: flex; gap: 8px; margin-top: 8px; }
.wz-art figcaption .btn { flex: 1; padding: 8px 10px; }
.wz-leg { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 14px; padding: 16px; margin-bottom: 8px; }
.wz-leg-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.wz-leg-head > .ic { width: 18px; height: 18px; color: #0C2654; margin-top: 2px; }
.wz-leg-head strong { display: block; color: #0F172A; font-size: 14.5px; }
.wz-leg-head span { display: block; font-size: 13px; color: #64748B; line-height: 1.35; }
.wz-leg .leg { margin-bottom: 10px; }
.wz-leg .link-btn { color: #0C2654; font-weight: 600; }

@media (min-width: 560px) {
  .wz-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wz-fotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wz-art { flex-basis: 46%; }
}
@media (min-width: 900px) {
  .wz-arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 4px 0 8px; gap: 16px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .wz *, .wz *::before { animation: none !important; transition: none !important; }
}

/* botão que abre o editor manual */
.man-cta { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; padding: 18px 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.man-cta:hover { border-color: #CFD7E3; box-shadow: var(--shadow); }
.man-cta-ic { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--light-2); color: var(--ink); display: grid; place-items: center; }
.man-cta-ic .ic { width: 22px; height: 22px; }
.man-cta-tx { flex: 1; min-width: 0; }
.man-cta-tx strong { display: block; font-family: var(--font-h); font-stretch: 110%; font-size: 18px; }
.man-cta-tx small { display: block; font-size: 14px; line-height: 1.45; margin-top: 2px; }
.man-cta-seta { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .25s; }
.man-cta[aria-expanded=true] .man-cta-seta { transform: rotate(180deg); }
.gen-manual-box { margin-top: 32px; }
.gen-manual-box[hidden] { display: none; }
@media (max-width: 640px) {
  .man-cta { padding: 16px 20px; gap: 14px; }
  .man-cta-ic { width: 44px; height: 44px; }
  .man-cta-tx strong { font-size: 16px; }
  .man-cta-tx small { font-size: 13px; }
}

/* escolha da etiqueta de preço (editor manual e assistente) */
.etq { display: flex; flex-direction: column; gap: 8px; }
.etq-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.etq-ops label { position: relative; cursor: pointer; }
.etq-ops input { position: absolute; opacity: 0; pointer-events: none; }
.etq-ops span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 9px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.etq-ops .etq-ico { color: var(--yellow); }
.etq-ops input:checked + span { border-color: var(--yellow-2); box-shadow: 0 0 0 3px rgba(251, 191, 82, .3); }
.etq-ops input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.etq-ico { width: 56px; height: 35px; display: block; }
.wz-lbl { display: block; margin: 18px 0 8px; font-size: 12.5px; font-weight: 600; color: #475569; }
.wz-etqs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wz-etqs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #0C2654; font-size: 12.5px; font-weight: 600; transition: border-color .15s, background .15s; }
.wz-etqs button span { color: #334155; }
.wz-etqs button.on { border-color: #0C2654; background: #EFF6FF; box-shadow: inset 0 0 0 1px #0C2654; }

/* assistente: mensagem surgindo palavra por palavra e entrada em sequência das opções */
.wz-w { display: inline-block; animation: wzPalavra .45s ease-out both; animation-delay: calc(var(--w) * 26ms); }
@keyframes wzPalavra { from { opacity: 0; filter: blur(3px); } }
.wz-in { animation: wzEntra .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wzEntra { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.wz-op.esp { transform: none; }

/* ---------- papelaria da loja ---------- */
.pap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pap-item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pap-item:hover { border-color: #CFD7E3; box-shadow: var(--shadow); transform: translateY(-2px); }
.pap-item-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; color: var(--yellow); background: radial-gradient(80% 120% at 100% 0%, var(--night-glow) 0%, var(--night) 80%); }
.pap-item-ic .ic { width: 24px; height: 24px; }
.pap-item strong { font-family: var(--font-h); font-stretch: 110%; font-size: 18px; }
.pap-item small { font-size: 14px; line-height: 1.45; flex: 1; }
.pap-item-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: var(--indigo); }
@media (max-width: 820px) { .pap-grid { grid-template-columns: 1fr; } }

.pap-medidas { display: flex; align-items: flex-end; gap: 10px; }
.pap-m { flex: 1; margin: 0; }
.pap-m input { font-family: var(--font-h); font-stretch: 110%; font-weight: 700; font-size: 22px; padding: 9px 40px 9px 12px; }
.pap-m em { position: absolute; right: 14px; bottom: 12px; font-style: normal; font-weight: 600; color: #64748B; font-size: 15px; }
.pap-x { padding-bottom: 13px; font-size: 18px; color: #94A3B8; }
.pap-prop { display: flex; align-items: center; justify-content: center; min-height: 170px; margin-top: 16px; border-radius: 14px; border: 1px dashed #CBD5E1; background: #F8FAFC; padding: 18px; }
.pap-ret { display: grid; place-items: center; border-radius: 6px; background: linear-gradient(135deg, var(--navy), #12336B); box-shadow: inset 0 -4px 0 var(--yellow), 0 8px 20px rgba(12, 38, 84, .18); transition: width .3s, height .3s; }
.pap-ret span { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; padding: 0 8px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.pap-ret.vazio { background: none; box-shadow: none; color: #64748B; font-size: 13.5px; }
.pap-aviso { margin: 8px 0 0; font-size: 12.5px; color: #DC2626; }
.pap-aviso[hidden] { display: none; }

.pap-res { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.pap-card { margin: 0; padding: 14px; border-radius: 16px; background: #F8FAFC; border: 1px solid #E2E8F0; }
.pap-prev { display: grid; gap: 10px; }
.pap-prev img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 22px rgba(15, 23, 42, .12); background: #fff; }
.pap-prev small { display: block; margin-top: 6px; font-size: 12px; color: #64748B; text-align: center; }
.pap-card figcaption { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pap-card figcaption strong { color: #0F172A; font-size: 14.5px; }
.pap-bts { display: flex; gap: 8px; }
.pap-bts .btn { flex: 1; padding: 9px 10px; }
.pap-bts .btn:first-child { flex: 1.6; }
.pap-bts .btn:disabled { opacity: .5; }
.pap-spec ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: #475569; }
.pap-spec li { margin-bottom: 5px; }
@media (min-width: 900px) {
  .pap-res:not(.largo) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pap-res.largo .pap-card { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; align-items: center; }
  .pap-res.largo figcaption { margin: 0; }
  .pap-res.largo .pap-bts { flex-direction: column; }
}

/* papelaria: escolha da cor da fachada */
.pap-cores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pap-cor { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; cursor: pointer; transition: border-color .15s, background .15s; }
.pap-cor > span { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12), 0 3px 8px rgba(15, 23, 42, .1); position: relative; overflow: hidden; }
.pap-cor small { font-size: 12px; font-weight: 600; }
.pap-cor.on { border-color: #0C2654; background: #EFF6FF; box-shadow: inset 0 0 0 1px #0C2654; }
.pap-cor-outra > span { background: conic-gradient(#D62828, #FBBF52, #1F7A3A, #008AD1, #4058E3, #D62828); }
.pap-cor-outra input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); opacity: 0; cursor: pointer; border: 0; padding: 0; }
@media (min-width: 480px) { .pap-cores { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pap-amostra { display: flex; height: 92px; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(15, 23, 42, .12); }
.pap-amostra-loja { flex: 1; display: grid; place-items: center; background-image: radial-gradient(90% 140% at 22% -25%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 70%), linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .16)); }
.pap-amostra-loja span { font-family: var(--font-h); font-stretch: 115%; font-weight: 700; font-size: 18px; letter-spacing: .02em; padding: 0 12px; text-align: center; }
.pap-amostra i { width: 4px; background: var(--yellow); }
.pap-amostra-g { width: 28%; display: grid; place-items: center; background: linear-gradient(135deg, #12336B, #050E1F); }
.pap-amostra-g img { width: 70%; }
.pap-bolinha { display: inline-block; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
/* prévia do cartão na escolha de cor */
.pap-amostra-cartao { display: flex; gap: 14px; }
.pap-mini { flex: 1; aspect-ratio: 9 / 5; border-radius: 8px; display: grid; place-items: center; overflow: hidden; position: relative; box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  background-image: radial-gradient(90% 140% at 22% -25%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 70%), linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .16)); }
.pap-mini img { max-width: 60%; max-height: 50%; object-fit: contain; }
.pap-mini span { font-family: var(--font-h); font-stretch: 115%; font-weight: 700; font-size: 13px; }
.pap-mini.verso { background: #fff; display: block; }
.pap-mini.verso i { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.pap-mini.verso b { position: absolute; left: 50%; height: 7%; border-radius: 3px; background: #CFD7E3; }
.pap-mini.verso b:nth-of-type(1) { top: 22%; width: 38%; background: #4B5A70; }
.pap-mini.verso b:nth-of-type(2) { top: 48%; width: 30%; }
.pap-mini.verso b:nth-of-type(3) { top: 64%; width: 34%; }

/* =========================================================
   VISUALIZADOR 3D — PORTAL GIULLI
   ========================================================= */

/* Abas de Mídia na Galeria */
.media-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: var(--light-2);
  padding: 4px;
  border-radius: 12px;
}
.m-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.m-tab .ic {
  width: 16px;
  height: 16px;
}
.m-tab:hover {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .5);
}
.m-tab.on {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

/* Botão de ação 3D */
.btn-p3d {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #94CDEF;
  background: #fff;
  color: #0C2654;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.btn-p3d .ic {
  width: 15px;
  height: 15px;
}
.btn-p3d:hover {
  background: #EBF5FB;
  border-color: #008AD1;
  color: #008AD1;
}
.btn-p3d.primary {
  background: linear-gradient(135deg, #008AD1, #0C2654);
  color: #fff;
  border: 0;
  box-shadow: 0 3px 10px rgba(0, 138, 209, .3);
}
.btn-p3d.primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(0, 138, 209, .4);
}

/* Container do Modelo 3D */
.model3d-box {
  aspect-ratio: 1 / 1;
  max-height: 400px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at center, #ffffff 40%, #eef3f8 100%);
  border: 1px solid var(--border);
  box-sizing: border-box;
}
.model3d-box model-viewer {
  width: 100%;
  height: 100%;
  max-height: 400px;
  min-height: 330px;
  --poster-color: transparent;
}
.btn-ar-trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 38, 84, .88);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.btn-ar-trigger .ic {
  width: 15px;
  height: 15px;
}
.btn-ar-trigger:hover {
  background: #008AD1;
}
.model3d-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 38, 84, .75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  white-space: nowrap;
}
.model3d-hint .ic {
  width: 14px;
  height: 14px;
}
.model3d-variants {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid rgba(12, 38, 84, .12);
}
.model3d-variants button {
  border: 0;
  background: transparent;
  color: #0c2654;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
}
.model3d-variants button.on {
  background: #0c2654;
  color: #fff;
}

/* Card 3D na seção de Galeria */
.gal-3d-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0F7FC 0%, #E2EFF9 100%);
  border: 1px solid #BAE0F7;
  margin-bottom: 24px;
}
.g3d-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #008AD1, #0C2654);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(0, 138, 209, .35);
}
.g3d-icon .ic {
  width: 26px;
  height: 26px;
}
.g3d-text {
  flex: 1;
}
.g3d-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0C2654;
  font-family: var(--font-h);
}
.g3d-text p {
  margin: 0;
  font-size: 13.5px;
  color: #4A5568;
}
.g3d-btns {
  display: flex;
  gap: 10px;
  flex: none;
}
.g3d-btns .btn {
  font-size: 13px;
  padding: 10px 18px;
}
@media (max-width: 768px) {
  .gal-3d-card {
    flex-direction: column;
    text-align: center;
  }
  .g3d-btns {
    width: 100%;
    flex-direction: column;
  }
  .g3d-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   PAINEL DO PARCEIRO B2B — Suite Gamificada Minimalista
   ========================================================= */
.gp-page-head .gp-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.gp-wrap-sec { background: #F5F7FB; padding-top: 32px; }
.gp-shell { display: flex; flex-direction: column; gap: 20px; }

.gp-top-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; }
.gp-strip-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--text); }
.gp-pill-demo, .gp-pill-team { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.gp-pill-demo { background: #FFF4DC; color: #9A5B00; }
.gp-pill-team { background: #E9EFFC; color: #0C2654; }
.gp-select-wrap { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.gp-select-wrap select { border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; font: inherit; font-size: 13px; background: #fff; color: var(--ink); }
.gp-strip-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gp-demo-tiers { display: inline-flex; background: #F0F3F8; padding: 3px; border-radius: 999px; gap: 2px; }
.gp-tier-chip { border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text); transition: .15s; }
.gp-tier-chip.on { background: var(--navy); color: #fff; }

.gp-identity-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 2px 12px rgba(2, 9, 20, .03); }
.gp-id-main { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 280px; }
.gp-seal-emblem { flex: none; filter: drop-shadow(0 6px 14px rgba(2, 9, 20, .14)); }
.gp-id-text { flex: 1; min-width: 0; }
.gp-id-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.gp-seal-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; color: var(--sc, #0C2654); background: var(--sb, #EEF2F9); }
.gp-sla-pill { font-size: 12px; color: var(--text); background: #F3F6FA; padding: 4px 10px; border-radius: 999px; }
.gp-score-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.gp-score-line strong { font-family: var(--font-h); font-size: 26px; color: var(--ink); line-height: 1.1; }
.gp-score-line span { font-size: 13.5px; color: var(--text); }
.gp-progress { height: 8px; background: #EAEFF7; border-radius: 999px; overflow: hidden; max-width: 520px; }
.gp-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--navy)); border-radius: 999px; transition: width .35s ease; }
.gp-id-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.gp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gp-kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.gp-kpi-lbl { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.gp-kpi strong { font-family: var(--font-h); font-size: 23px; color: var(--ink); line-height: 1.2; }
.gp-kpi small { font-size: 12.5px; color: var(--text); }
.gp-risk-txt.is-ok { color: #16794B; }
.gp-risk-txt.is-warn { color: #B4690E; }
.gp-risk-txt.is-risk { color: #C23B3B; }
.gp-dots-mix { display: flex; gap: 6px; margin-top: 6px; }
.gp-dots-mix i { display: block; flex: 1; height: 6px; border-radius: 999px; background: #E5EAF2; }
.gp-dots-mix i.on { background: var(--blue); }

.gp-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 2px; flex-wrap: wrap; }
.gp-tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px 10px 0 0; font-weight: 600; font-size: 14px; color: var(--text); position: relative; transition: color .15s; }
.gp-tab:hover { color: var(--ink); }
.gp-tab.on { color: var(--navy); }
.gp-tab.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -3px; height: 2.5px; background: var(--navy); border-radius: 999px; }

.gp-recs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; margin-bottom: 18px; }
.gp-rec { background: #fff; border: 1px solid var(--line); border-left: 3.5px solid var(--blue); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.gp-rec-retencao { border-left-color: #D97706; }
.gp-rec-tier { border-left-color: var(--yellow-2); }
.gp-rec strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.gp-rec p { margin: 0; font-size: 12.5px; color: var(--text); line-height: 1.45; }

.gp-grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: start; }
.gp-col-stack { display: flex; flex-direction: column; gap: 18px; }
.gp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.gp-card-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gp-card-hd h3 { font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.gp-sub { margin: 0; font-size: 13px; color: var(--muted); }
.gp-tag-soft { font-size: 12px; font-weight: 600; color: var(--navy); background: #EEF3FB; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.gp-bars-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 155px; padding-top: 10px; }
.gp-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.gp-bar-val { font-size: 11px; font-weight: 600; color: var(--text); white-space: nowrap; }
.gp-bar-track { flex: 1; width: 100%; max-width: 34px; background: #F1F4F9; border-radius: 8px; display: flex; align-items: flex-end; overflow: hidden; }
.gp-bar-fill { width: 100%; background: #D7DFEC; border-radius: 8px 8px 0 0; transition: height .35s ease; }
.gp-bar-fill.on { background: linear-gradient(180deg, var(--blue), var(--navy)); }
.gp-bar-lbl { font-size: 12px; color: var(--muted); }

.gp-mix-list { display: flex; flex-direction: column; gap: 14px; }
.gp-mix-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.gp-mix-top strong { display: block; font-size: 13.5px; color: var(--ink); }
.gp-mix-top small { font-size: 12px; color: var(--muted); }
.gp-mix-val { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.gp-link-btn { border: 0; background: none; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.gp-link-btn:hover { text-decoration: underline; }
.gp-mix-bar { height: 7px; background: #EEF2F8; border-radius: 999px; overflow: hidden; }
.gp-mix-bar span { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.gp-mix-row.is-empty .gp-mix-bar { background: repeating-linear-gradient(90deg, #E5EAF2 0 6px, transparent 6px 10px); height: 4px; margin-top: 2px; }

.gp-missions { display: flex; flex-direction: column; gap: 10px; }
.gp-mission { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #FCFDFE; }
.gp-mission.done { background: #F6FBF8; border-color: #CCEBD9; }
.gp-mission-pts { font-family: var(--font-h); font-size: 13px; font-weight: 700; text-align: center; padding: 6px 8px; border-radius: 9px; background: #EEF3FB; color: var(--navy); }
.gp-mission.done .gp-mission-pts { background: #DFF5E8; color: #16794B; }
.gp-mission-body strong { display: block; font-size: 13.5px; color: var(--ink); }
.gp-mission-body p { margin: 2px 0 0; font-size: 12px; color: var(--text); line-height: 1.4; }
.gp-mission-btns { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.gp-btn-mini { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; background: var(--navy); color: #fff; white-space: nowrap; }
.gp-btn-mini.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.gp-btn-mini.ghost:hover { border-color: var(--ink); }
.gp-done-pill { font-size: 12px; font-weight: 600; color: #16794B; }

.gp-form { display: flex; flex-direction: column; gap: 14px; }
.gp-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.gp-field input, .gp-field select, .gp-field textarea { width: 100%; border: 1px solid #CFD8E6; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.gp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gp-check-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-check-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; background: #FAFBFD; }
.gp-check-pill input { width: auto; accent-color: var(--navy); }
.gp-combo-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: #FFF9ED; border: 1px solid #F6DDA7; cursor: pointer; }
.gp-combo-box input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.gp-combo-box strong { display: block; font-size: 13.5px; color: var(--ink); }
.gp-combo-box small { font-size: 12px; color: var(--text); }

.gp-table-wrap { overflow-x: auto; }
.gp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gp-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 8px; }
.gp-table td { border-bottom: 1px solid #EEF2F7; padding: 10px 8px; vertical-align: top; }
.gp-table td small { display: block; color: var(--muted); font-size: 12px; }
.gp-num { font-weight: 700; color: var(--ink); white-space: nowrap; }
.gp-st { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #EEF2F7; color: var(--text); }
.gp-st-pendente { background: #FFF3D9; color: #9A5B00; }
.gp-st-em_negociacao { background: #E4F2FC; color: #00669E; }
.gp-st-faturada { background: #DFF5E8; color: #16794B; }
.gp-empty { margin: 0; font-size: 13.5px; color: var(--muted); padding: 12px 0; }

.gp-seal-studio { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; margin-bottom: 18px; }
.gp-seal-preview svg { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 14px 36px rgba(2, 9, 20, .16); display: block; }
.gp-kicker { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.gp-seal-info h3 { font-size: 20px; margin-bottom: 8px; }
.gp-seal-info p { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.gp-seal-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.gp-wallet-pill { font-size: 13.5px; background: #EEF6FF; color: var(--navy); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.gp-coop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.gp-coop-item { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #FCFDFE; }
.gp-coop-item.locked { opacity: .72; }
.gp-coop-top { display: flex; justify-content: space-between; align-items: center; }
.gp-coop-min { font-size: 11px; font-weight: 700; color: var(--navy); background: #EAEFF8; padding: 3px 8px; border-radius: 999px; }
.gp-coop-item h4 { font-size: 15px; color: var(--ink); }
.gp-coop-item p { margin: 0 0 auto; font-size: 12.5px; color: var(--text); line-height: 1.45; }

.gp-tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gp-tier-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #FCFDFE; display: flex; flex-direction: column; gap: 12px; }
.gp-tier-card.current { background: #fff; border: 2px solid var(--navy); box-shadow: 0 10px 26px rgba(12, 38, 84, .08); }
.gp-tier-head { display: flex; align-items: center; gap: 10px; }
.gp-tier-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.gp-tier-card.current .gp-tier-tag { color: var(--blue); }
.gp-tier-head h4 { font-size: 15px; }
.gp-tier-req { font-size: 12.5px; color: var(--text); padding: 8px 10px; border-radius: 8px; background: #F2F5FA; }
.gp-tier-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gp-tier-metrics div { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; text-align: center; }
.gp-tier-metrics small { display: block; font-size: 11px; color: var(--muted); }
.gp-tier-metrics strong { font-size: 16px; color: var(--ink); }
.gp-tier-perks { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--text); display: flex; flex-direction: column; gap: 5px; }

@media (max-width: 1024px) {
  .gp-kpis, .gp-tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .gp-grid-2, .gp-seal-studio { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gp-kpis, .gp-tiers-grid, .gp-form-row { grid-template-columns: 1fr; }
  .gp-mission { grid-template-columns: 1fr; gap: 8px; }
  .gp-mission-btns { flex-direction: row; align-items: center; }
  .gp-identity-card { padding: 18px; }
}

/* ---------- movimento: entradas suaves e transições ---------- */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
@keyframes mvFade { from { opacity: 0; } }
@keyframes mvRise { from { opacity: 0; transform: translateY(22px); } }
@keyframes mvDrop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes mvHeader { from { opacity: 0; transform: translateY(-12px); } }
/* a página inteira surge com um fade curto a cada troca de rota */
main { animation: mvFade .45s ease-out backwards; }
.site-header .hdr { animation: mvHeader .6s var(--ease-out) backwards; }
/* itens marcados pelo app.js: invisíveis até entrarem na tela; o estado final é o estilo normal (não trava o :hover) */
.rv:not(.in) { opacity: 0; }
.rv.in { animation: mvRise .7s var(--ease-out) backwards; animation-delay: var(--d, 0ms); }
/* menus suspensos */
.has-drop:hover > .drop, .has-drop:focus-within > .drop { animation: mvDrop .2s var(--ease-out); }
/* microinterações */
.btn:active, .btn-login:active { transform: translateY(0) scale(.97); }
.ccard, .pcard, .ncard, .hub, .dl { transition-timing-function: var(--ease-out); }
.ccard:active, .pcard:active, .hub:active { transform: translateY(-1px) scale(.99); }
a, button { -webkit-tap-highlight-color: transparent; }
#toast { transition: opacity .3s ease, transform .35s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  main, .site-header .hdr, .rv.in, .has-drop > .drop { animation: none !important; }
  .rv:not(.in) { opacity: 1; }
  .ccard, .pcard, .ncard, .hub, .btn, .ccard-img img, .nimg img { transition: none !important; }
}

/* ---------- assistente: ritmo de chat com IA ---------- */
/* resposta "escrita" palavra por palavra */
.mc-w { display: inline-block; animation: mc-word 380ms ease-out backwards; animation-delay: var(--mc-delay, 0ms); }
@keyframes mc-word { from { opacity: 0; filter: blur(4px); transform: translateY(3px); } }
/* indicador de digitação: troca de rótulo suave e brilho no texto */
.mc-typing-tx { background: linear-gradient(90deg, #64748B 0%, #64748B 40%, #0C2654 50%, #64748B 60%, #64748B 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mc-shimmer 1.8s linear infinite; }
.mc-typing-tx.mc-swap { animation: mc-shimmer 1.8s linear infinite, mc-content-in 260ms ease; }
@keyframes mc-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
/* botão clicado: spinner antes de enviar */
@keyframes mc-spin { to { transform: rotate(360deg); } }
.mc-options .mc-loading, .mc-flow .btn.is-loading, .mc-flow .link-btn.is-loading { pointer-events: none; }
.mc-options .mc-loading::before, .mc-flow .btn.is-loading::before, .mc-flow .link-btn.is-loading::before { content: ''; flex: none; width: 13px; height: 13px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: mc-spin .7s linear infinite; }
.mc-flow .btn.is-loading:disabled { opacity: .85; cursor: progress; }
.mc-flow .btn.is-loading .ic { display: none; }
.mc-options .mc-loading { transform: scale(.97); }
/* grupo já respondido: destaca a escolha, suaviza o resto */
.mc-options.mc-picked > * { transition: opacity .3s ease, transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.mc-options.mc-picked > :not(.mc-chosen):not(.mc-loading) { opacity: .5; }
.mc-options.mc-picked > :not(.mc-chosen):not(.mc-loading):hover { opacity: 1; }
.mc-options .mc-chosen:not(.mc-primary) { border-color: #0C2654; color: #0C2654; background: #EFF6FF; }
/* opção do wizard escolhida: o círculo vira um spinner até a próxima pergunta */
.wz-picking { pointer-events: none; }
.wz-picking > .wz-chk { background: #fff !important; border-color: #0C2654 !important; border-right-color: transparent !important; color: transparent !important; animation: mc-spin .7s linear infinite; }
.wz-prod.wz-picking::after, .wz-proprio-bt.wz-picking::after, .pap-item.wz-picking::after { content: ''; flex: none; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; border: 2px solid #0C2654; border-right-color: transparent; animation: mc-spin .7s linear infinite; }
/* wizard pensando antes de cada pergunta */
.mc-flow-think { display: none; }
.mc-flow-wait .mc-flow-think { display: inline-flex; }
.mc-flow-wait #wzCorpo, .mc-flow-wait #wzAcoes { display: none; }
.mc-flow { transition: box-shadow .3s ease, border-color .3s ease; }
.mc-flow-wait { border-color: #CBD5E1; box-shadow: 0 6px 24px rgba(12, 38, 84, .07); }

/* ---------- assistente: plano da campanha e peças sem produto ---------- */
.mc-plan { list-style: none; counter-reset: plano; padding: 0 !important; margin: 14px 0 6px !important; display: flex; flex-direction: column; gap: 10px; }
.mc-plan > li { counter-increment: plano; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 54px !important; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; }
.mc-plan > li::before { content: counter(plano); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #EFF6FF; color: #0C2654; font-size: 13px; font-weight: 700; }
.mc-plan strong { display: block; color: #0F172A; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.mc-plan small { display: block; color: #64748B; font-size: 13px; line-height: 1.45; margin-top: 2px; }
.mc-plan .mc-options { margin-top: 10px; }
.mc-entrega { background: #F1F5F9; border-radius: 12px; padding: 10px 14px; font-size: 14px !important; }
.mc-msg { margin: 12px 0 0; background: #fff; border: 1px solid #E2E8F0; border-left: 3px solid #25D366; border-radius: 12px; padding: 14px 16px; }
.mc-msg pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 14px; line-height: 1.55; color: #1E293B; }
/* textos editáveis com prévia ao vivo */
.wz-textos { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: start; }
.wz-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-campo textarea { width: 100%; font: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.45; color: #0F172A; background: #fff; border: 1.5px solid #CBD5E1; border-radius: 10px; padding: 10px 12px; outline: none; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.wz-campo textarea:focus { border-color: #0C2654; box-shadow: 0 0 0 3px rgba(12, 38, 84, .08); }
.wz-prev { position: sticky; top: 72px; margin: 0; }
.wz-prev canvas { display: block; width: 100%; height: auto; border-radius: 12px; background: #0C2654; box-shadow: 0 10px 28px rgba(15, 23, 42, .16); }
.wz-prev figcaption { margin-top: 6px; text-align: center; font-size: 12px; font-weight: 600; color: #64748B; text-transform: uppercase; letter-spacing: .06em; }
.wz-art-tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: #EFF6FF; color: #0C2654; font-size: 12px; font-weight: 600; }
@media (max-width: 640px) {
  .wz-textos { grid-template-columns: 1fr; }
  .wz-prev { position: static; order: -1; width: min(60%, 220px); margin: 0 auto; }
  .wz-duo { grid-template-columns: 1fr; gap: 0; }
}
