

:root{--navy:#142f48;--navy2:#0d2337;--teal:#0b817d;--aqua:#e5f5f2;--paper:#f5f7f9;--text:#1b2b3c;--muted:#667689;--border:#dee5eb;--shadow:0 8px 24px #112a4012}*{box-sizing:border-box}body{margin:0;font:15px/1.5 'Segoe UI',Arial,sans-serif;color:var(--text);background:var(--paper)}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.top{background:var(--navy2);color:#dce8ef;font-size:12px;padding:8px 0}.wrap{max-width:1240px;margin:auto;padding:0 22px}.top .wrap{display:flex;justify-content:space-between;gap:12px}.head{background:white;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.headin{display:flex;align-items:center;gap:27px;min-height:88px}.brand{display:flex;align-items:center;gap:11px;min-width:200px}.mark{display:grid;place-items:center;width:47px;height:47px;border-radius:12px;background:var(--navy);color:white;font-size:27px;font-weight:900;letter-spacing:-4px;padding-right:5px}.brand b{display:block;font-size:21px;line-height:1.1;letter-spacing:-.7px;color:var(--navy)}.brand small{display:block;color:var(--teal);font-size:10px;font-weight:800;letter-spacing:2px}.search{display:flex;flex:1;border:1px solid var(--border);border-radius:9px;overflow:hidden;background:#f8fafb}.search input{border:0;background:transparent;padding:14px 15px;outline:0;min-width:0;flex:1}.search button,.primary{border:0;background:var(--teal);color:white;font-weight:700;padding:0 21px}.search button:hover,.primary:hover{background:#086c68}.cartbtn{border:1px solid var(--border);border-radius:9px;padding:12px 16px;background:white;font-weight:700;white-space:nowrap}.count{display:inline-flex;align-items:center;justify-content:center;background:var(--teal);border-radius:100px;color:white;min-width:22px;height:22px;padding:0 6px;font-size:12px;margin-left:6px}.nav{background:var(--navy);color:white}.navin{display:flex;gap:31px;align-items:center;overflow-x:auto;white-space:nowrap}.nav a{font-size:13px;font-weight:700;padding:13px 0;display:inline-block}.nav a:hover{color:#a5e3dc}.hero{margin:26px 0 25px;border-radius:17px;background:linear-gradient(115deg,#0c243b 0%,#15516a 66%,#16837e 100%);color:#fff;min-height:260px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.herotxt{padding:39px 49px;z-index:1;max-width:630px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#99ded7}.hero h1{font-size:clamp(29px,3.4vw,46px);letter-spacing:-1.6px;line-height:1.12;margin:14px 0}.hero p{color:#e4f0f3;max-width:490px}.pill{display:inline-block;border:1px solid #bde7df66;background:#ffffff10;padding:7px 13px;border-radius:100px;font-size:12px;font-weight:700}.heroart{width:300px;height:270px;display:grid;place-items:center;flex-shrink:0;position:relative}.heroart:before{content:'';position:absolute;width:270px;height:270px;border:1px solid #ffffff35;border-radius:50%;box-shadow:0 0 0 42px #ffffff08,0 0 0 90px #ffffff08}.herobox{z-index:1;font-size:112px;filter:drop-shadow(0 14px 13px #0003);transform:rotate(-12deg)}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 30px}.benefit{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:10px;padding:15px 18px;font-size:13px}.benefit .emoji{font-size:24px}.benefit strong{display:block}.benefit span{color:var(--muted)}.titleline{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:17px}.titleline h2{font-size:26px;margin:0;letter-spacing:-.6px}.titleline p{color:var(--muted);margin:4px 0 0}.catalog{display:grid;grid-template-columns:245px minmax(0,1fr);gap:23px;align-items:start}.side{border:1px solid var(--border);background:white;border-radius:12px;padding:19px;position:sticky;top:115px}.side h3{margin:0 0 17px;font-size:16px}.cat{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;gap:8px;border:0;border-radius:7px;padding:10px 11px;background:transparent;color:#405163;font-weight:600;font-size:13px}.cat:hover{background:#f1f6f6}.cat.active{background:var(--aqua);color:#087670}.cat small{color:#8c9aa7}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;color:var(--muted);font-size:13px}.toolbar button{border:1px solid var(--border);border-radius:7px;background:white;padding:9px 12px;color:var(--navy);font-weight:700}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s}.product:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.pic{height:190px;background:linear-gradient(145deg,#f0f5f7,#e6eef1);display:flex;align-items:center;justify-content:center;position:relative}.pic .symbol{font-size:89px;filter:drop-shadow(0 12px 9px #1b365025)}.code{position:absolute;top:12px;left:12px;background:#fff;border:1px solid var(--border);border-radius:6px;padding:4px 8px;color:#50647a;font-size:10px;font-weight:800}.sample{position:absolute;bottom:9px;right:11px;color:#8c9baa;font-size:10px}.info{padding:16px;display:flex;flex:1;flex-direction:column}.category{font-size:11px;color:var(--teal);text-transform:uppercase;letter-spacing:.5px;font-weight:800}.info h3{font-size:16px;margin:5px 0 7px;line-height:1.3}.desc{font-size:12px;color:var(--muted);margin:0 0 16px;flex:1}.info button{width:100%;padding:11px 8px;background:var(--navy);border:0;border-radius:7px;color:white;font-weight:700;font-size:13px}.info button:hover{background:#244b6b}.empty{padding:45px;border-radius:12px;background:white;text-align:center;border:1px solid var(--border)}.footer{margin-top:50px;padding:33px 0 24px;background:var(--navy2);color:#f1f7fa}.footergrid{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:30px}.footer h3{margin:0 0 9px;font-size:17px}.footer p{font-size:13px;color:#bdd0de;margin:5px 0}.footend{border-top:1px solid #ffffff22;margin-top:30px;padding-top:15px;font-size:12px;color:#a6becb}.overlay{position:fixed;inset:0;background:#081725a3;z-index:40;display:none}.overlay.show{display:block}.drawer{position:absolute;right:0;top:0;bottom:0;width:min(440px,100%);background:white;display:flex;flex-direction:column;box-shadow:-10px 0 25px #08172530}.drawhead{padding:22px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.drawhead h2{font-size:21px;margin:0}.close{border:0;background:#eef3f6;width:35px;height:35px;border-radius:50%;font-size:21px}.cartlist{flex:1;overflow:auto;padding:19px}.cartitem{display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid var(--border)}.mini{width:50px;height:50px;border-radius:8px;background:#edf4f6;display:grid;place-items:center;font-size:28px}.cartitem strong{font-size:13px;display:block}.cartitem small{color:var(--muted)}.qty{display:flex;align-items:center;gap:9px;margin-top:10px}.qty button{width:27px;height:27px;border:1px solid var(--border);background:white;border-radius:5px}.del{border:0;color:#b34b4b;background:none;font-size:12px}.cartfoot{border-top:1px solid var(--border);padding:22px;background:#fbfcfd}.cartfoot label{display:block;color:var(--muted);font-size:12px;font-weight:700;margin:0 0 5px}.cartfoot input,.cartfoot textarea{width:100%;border:1px solid var(--border);border-radius:7px;padding:10px;margin:0 0 12px;outline-color:var(--teal);resize:vertical}.cartfoot .primary{width:100%;padding:15px;border-radius:8px}.cartfoot .primary:disabled{opacity:.4;cursor:not-allowed}.note{font-size:11px;color:var(--muted);text-align:center;margin-top:10px}.floatwa{position:fixed;bottom:22px;right:22px;background:#168b69;color:white;padding:13px 18px;border-radius:100px;font-size:13px;font-weight:800;box-shadow:var(--shadow);z-index:22}.mobilecats{display:none}@media(max-width:1000px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}.heroart{width:230px}.side{width:210px}.catalog{grid-template-columns:210px 1fr}}@media(max-width:700px){.wrap{padding:0 15px}.top .wrap span:last-child{display:none}.headin{min-height:auto;flex-wrap:wrap;gap:12px;padding:12px 0}.brand{min-width:0;flex:1}.brand b{font-size:19px}.search{order:3;flex-basis:100%}.cartbtn{padding:10px}.navin{gap:23px}.hero{margin-top:17px;min-height:230px}.herotxt{padding:26px}.heroart{display:none}.benefits{grid-template-columns:1fr;gap:8px}.benefit{padding:10px 14px}.catalog{grid-template-columns:1fr}.side{display:none}.mobilecats{display:flex;gap:8px;overflow:auto;margin-bottom:15px;padding-bottom:5px}.mobilecats button{white-space:nowrap;border:1px solid var(--border);border-radius:100px;padding:8px 13px;background:#fff;font-size:12px;font-weight:700}.mobilecats button.active{background:var(--navy);color:white}.products{gap:10px}.pic{height:155px}.pic .symbol{font-size:65px}.info{padding:12px}.info h3{font-size:14px}.desc{font-size:11px}.footergrid{grid-template-columns:1fr}.titleline h2{font-size:23px}.floatwa{bottom:12px;right:12px}}@media(max-width:380px){.products{grid-template-columns:1fr}.pic{height:190px}}

/* PERSONALIZAÇÃO: edite as cores principais em :root, no início deste arquivo. */
.foto-produto{width:100%;height:100%;object-fit:contain;padding:14px}.cartthumb{width:50px;height:50px;object-fit:contain}.loadbar{padding:12px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;margin:0 0 16px;color:var(--muted);font-size:13px}.loadbar[hidden]{display:none}.loadbar label{color:var(--teal);font-weight:700;cursor:pointer}.loadbar input{max-width:100%}.status-error{color:#9c3939}.status-ok{color:#176954}.head .brand{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #19aaa2;outline-offset:2px}

/* Logo oficial da Porto Gráfica */
.logo-mark{background:#fff!important;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:2px;border-radius:50%!important;flex-shrink:0}
.logo-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}

/* Páginas de produto, cores e galeria — V5 */
.product{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.product:hover{transform:translateY(-3px);box-shadow:0 10px 25px #06264b1c}.product h3{line-height:1.35}.product .desc{-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.product .pic{background:#fff}.product .pic img{object-fit:contain}
.productoverlay{position:fixed;inset:0;background:#071e37b9;display:none;justify-content:center;align-items:flex-start;overflow:auto;padding:35px 14px;z-index:1100}.productoverlay.show{display:flex}.productdialog{background:white;max-width:1060px;width:100%;position:relative;border-radius:20px;padding:26px;box-shadow:0 25px 70px #0006}.close-detail{position:absolute;right:18px;top:12px;z-index:2;border:0;border-radius:50%;background:#eaf0f5;font-size:28px;width:42px;height:42px;cursor:pointer}.detail-grid{display:grid;grid-template-columns:47% 1fr;gap:32px}.detail-photo{width:100%;height:410px;object-fit:contain;background:#fff;border:1px solid #e8edf2;border-radius:16px}.detail-photo-box{position:relative}.detail-photo-counter{position:absolute;bottom:13px;left:13px;background:#fffdeefa;padding:5px 12px;font-size:12px;border-radius:30px}.gallery-arrows{display:flex;gap:10px;margin-top:10px}.gallery-arrows button{background:#f3f6fa;border:1px solid #e2e8f0;padding:8px 14px;border-radius:8px;cursor:pointer}.thumbs{display:flex;gap:9px;overflow-x:auto;padding:12px 1px 6px;scrollbar-width:thin}.thumbs button{padding:0;border:2px solid #d8e2ed;flex:0 0 70px;height:70px;background:#fff;border-radius:8px;overflow:hidden;cursor:pointer}.thumbs button.active{border-color:#0b77b8}.thumbs img{height:100%;width:100%;object-fit:contain}.detail-code{font-size:12px;letter-spacing:1px;color:#3271a3;text-transform:uppercase;font-weight:800}.detail-title{font-size:clamp(22px,3vw,31px);color:#093763;line-height:1.2;margin:6px 35px 12px 0}.detail-section{margin:18px 0}.detail-section h4{font-size:15px;margin:0 0 10px;color:#0a385d}.detail-description{font-size:14px;line-height:1.65;color:#405269;white-space:pre-wrap}.ficha-table{border-collapse:collapse;width:100%;font-size:13px}.ficha-table th,.ficha-table td{border-bottom:1px solid #edf0f5;text-align:left;padding:8px 5px;vertical-align:top}.ficha-table th{width:43%;color:#596b81}.swatches{display:flex;flex-wrap:wrap;gap:9px;margin-top:9px}.swatch{display:flex;align-items:center;gap:7px;border:1px solid #dce4ee;background:white;border-radius:24px;padding:5px 12px 5px 5px;cursor:pointer;font-size:12px;color:#243b56}.swatch.selected{box-shadow:0 0 0 2px #007bb6;border-color:#007bb6}.swatch i{display:block;width:24px;height:24px;border-radius:50%;border:1px solid #9997}.color-notice{color:#6c788a;font-size:12px;margin-top:8px}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.detail-actions button,.detail-actions a{display:inline-block;border:0;border-radius:10px;padding:13px 16px;background:#047d75;color:white;text-decoration:none;font-weight:750;cursor:pointer;font-size:14px}.detail-actions .outline{background:#eff5f9;color:#064268}.detail-warning{font-size:12px;color:#6f7c87;margin-top:16px}.detail-colorsmall{background:#f5f8fb;padding:10px 12px;border-radius:8px;font-size:13px;color:#315473;margin-top:14px}.foto-produto{width:100%;height:100%;object-fit:contain}.cartitem small{display:block}
@media(max-width:740px){.productoverlay{padding:0}.productdialog{border-radius:0;min-height:100vh;padding:20px}.detail-grid{grid-template-columns:1fr;gap:16px}.detail-photo{height:310px}.thumbs button{flex-basis:58px;height:58px}.close-detail{position:sticky;top:0;float:right}.detail-title{margin-right:0}}



.hero{margin:26px 0 25px;border-radius:18px;min-height:290px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;color:#fff;background:linear-gradient(110deg,#0b2745 0%,#103e69 52%,#0d6a77 100%);box-shadow:0 18px 40px rgba(8,30,52,.12)}
.hero:before{content:"";position:absolute;inset:auto -48px -62px auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle at center,rgba(255,255,255,.08) 0,rgba(255,255,255,.06) 42%,rgba(255,255,255,.04) 43%,rgba(255,255,255,0) 44%), radial-gradient(circle at center,rgba(255,255,255,.07) 0,rgba(255,255,255,.03) 61%,rgba(255,255,255,0) 62%);z-index:0}
.hero:after{content:"";position:absolute;left:-80px;bottom:-95px;width:640px;height:230px;background:linear-gradient(96deg,#10a9f5 0 30%, #ffffff 30% 36%, #e4007f 36% 62%, #ffffff 62% 68%, #ffd600 68% 100%);border-radius:50% 50% 0 0/100% 100% 0 0;transform:rotate(-8deg);opacity:.95;filter:drop-shadow(0 -6px 18px rgba(0,0,0,.14));z-index:0}
.herotxt{padding:42px 48px;z-index:2;max-width:640px;position:relative}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#9ce5e0}
.hero h1{font-size:clamp(29px,3.5vw,46px);letter-spacing:-1.6px;line-height:1.1;margin:14px 0 10px}
.hero p{color:#eaf4f7;max-width:500px;font-size:16px;line-height:1.45}
.pill{display:inline-block;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);backdrop-filter:blur(2px);padding:8px 14px;border-radius:100px;font-size:12px;font-weight:700;position:relative;z-index:2}
.heroart{width:340px;height:285px;display:grid;place-items:center;flex-shrink:0;position:relative;z-index:1}
.heroart:before{content:"";position:absolute;width:270px;height:270px;border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 42px rgba(255,255,255,.06),0 0 0 94px rgba(255,255,255,.04)}
.heroart:after{content:"";position:absolute;inset:0;background:url('/images/hero-art-bg.png') center/300px auto no-repeat;opacity:.08;transform:translate(8px,6px);filter:grayscale(1) brightness(2);}
.herobox{width:172px;height:172px;border-radius:50%;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.22),rgba(255,255,255,.08));backdrop-filter:blur(2px);border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;z-index:2;box-shadow:0 18px 30px rgba(0,0,0,.18)}
.herobox img{width:132px;height:132px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.15))}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 30px}
.benefit{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px 18px;font-size:13px;box-shadow:0 4px 18px rgba(10,34,55,.04)}
.benefit .emoji{font-size:24px;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#f5f8fb;flex:0 0 46px;overflow:hidden}
.benefit .emoji img{max-width:32px;max-height:32px;object-fit:contain;display:block}
.benefit strong{display:block;font-size:15px;color:#0f2946}
.benefit span{color:var(--muted)}
@media (max-width: 900px){
  .hero{min-height:auto;flex-direction:column;align-items:flex-start}
  .hero:after{left:-140px;bottom:-110px;width:560px;height:200px}
  .heroart{width:100%;height:220px;justify-content:center}
  .heroart:after{background-size:240px auto}
}
@media (max-width: 720px){
  .benefits{grid-template-columns:1fr}
  .heroart{display:none}
  .herotxt{padding:34px 24px 96px}
  .hero:after{left:-165px;bottom:-132px;width:500px;height:188px;opacity:.9}
}


/* Arte fornecida pelo cliente, exibida inteira sem recortes ou redesenho */
.hero.hero-user-art {display:block; width:100%; min-height:0; height:auto; margin:26px 0 25px; padding:0; overflow:hidden; border-radius:17px; background:transparent; box-shadow:none; line-height:0;}
.hero.hero-user-art::before,.hero.hero-user-art::after {content:none !important; display:none !important;}
.hero.hero-user-art>img {display:block; width:100%; height:auto; max-width:100%; object-fit:contain; object-position:center; margin:0; padding:0; border:0;}
.benefit .emoji {width:48px;height:48px;flex:0 0 48px;display:flex;justify-content:center;align-items:center;overflow:hidden;padding:3px;background:#f5f8fb;border-radius:10px;}
.benefit .emoji img {display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;}
@media(max-width:720px){.hero.hero-user-art {margin:16px 0 20px;border-radius:10px;}.benefit .emoji {width:44px;height:44px;flex-basis:44px;}}


.hero.hero-user-art {
  display:block;
  width:100%;
  aspect-ratio:1998/551;
  height:auto;
  min-height:0;
  padding:0;
  overflow:hidden;
  background:#092a50;
  border-radius:16px;
}
.hero.hero-user-art > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1998/551;
  object-fit:contain;
  object-position:center;
  padding:0;
  margin:0;
  border:0;
}
@media(max-width:720px) {
  .hero.hero-user-art {border-radius:10px;}
}
