.ma-data-feedback { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font: 500 14px/1.45 Arial,sans-serif; background: #eaf3ff; color: #123a77; }
.ma-data-feedback.is-error { background: #fff1ed; color: #8b2d1f; }
#content .ma-data-feedback { color: #123a77 !important; background: #eaf3ff !important; border: 1px solid #9bb9ef; }
#content .ma-data-feedback.is-error { color: #712417 !important; background: #fff1ed !important; border-color: #e9a69a; }
.ma-data-results { display: grid; gap: 14px; margin-top: 20px; }
.ma-data-result { padding: 20px; border: 1px solid rgba(53,112,215,.28); border-radius: 16px; background: #fff; color: #173057; text-align: left; box-shadow: 0 8px 26px rgba(10,31,78,.08); }
.ma-data-result h3 { margin: 0 0 8px; color: #0f3283; font-size: 20px; }
.ma-data-result p { margin: 5px 0; }
.ma-data-result a { color: #064fc1; font-weight: 700; }
#painelResultados.ma-search-panel { width: 100%; max-width: none; margin: 0; padding: 0; box-sizing: border-box; border: 0; border-radius: 0; background: transparent; color: #fff; box-shadow: none; font: 15px/1.45 Arial, sans-serif; }
#painelResultados .ma-search-eyebrow { margin: 24px 0 6px; color: #a9d8ff; font-size: 11px; font-weight: 700; letter-spacing: .24em; }
#painelResultados h1 { margin: 0 0 5px; color: #fff; font: 800 clamp(24px, 3vw, 30px)/1.15 Arial, sans-serif; }
#painelResultados .ma-search-subtitle { margin: 0 0 20px; color: #dceaff; font-size: 14px; }
.ma-search-list { display: grid; gap: 12px; }
.ma-search-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px; border: 1px solid #6aa6f1; border-radius: 16px; background: rgba(7, 36, 94, .82); color: #fff; text-align: left; box-shadow: 0 8px 22px rgba(2, 17, 59, .12); }
.ma-search-card-logo { display: block; width: 112px; height: 82px; padding: 7px; box-sizing: border-box; border-radius: 12px; background: #123d87; object-fit: contain; }
.ma-search-card-info { min-width: 0; }
.ma-search-badge { display: inline-block; margin-bottom: 5px; padding: 3px 8px; border: 1px solid #ffe488; border-radius: 999px; background: rgba(255, 214, 50, .13); color: #ffdf68; font-size: 11px; font-weight: 700; }
#painelResultados .ma-search-card h2 { margin: 0 0 5px; color: #fff; font: 700 19px/1.2 Arial, sans-serif; }
#painelResultados .ma-search-card p { margin: 3px 0; color: #dceaff; font-size: 13px; }
#painelResultados .ma-search-card .ma-search-postal { color: #fff; font-weight: 700; }
#painelResultados .ma-search-card .ma-search-bio { margin-top: 7px; color: #c9ddfa; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ma-search-actions { display: grid; gap: 8px; min-width: 136px; }
#painelResultados .ma-search-actions a,#painelResultados .ma-search-empty a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 10px; box-sizing: border-box; border-radius: 10px; background: linear-gradient(110deg, #ffe348, #ffca13); color: #102e6b; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
#painelResultados .ma-search-actions .ma-search-phone { border: 1px solid #8abaff; background: transparent; color: #fff; }
.ma-search-empty { padding: 22px; border: 1px solid #6aa6f1; border-radius: 16px; background: rgba(7, 36, 94, .82); }
#painelResultados .ma-search-empty p { margin: 0 0 15px; color: #e4efff; }
body.ui-theme-light #painelResultados.ma-search-panel { color: #102b5e; }
body.ui-theme-light #painelResultados.ma-search-panel h1,body.ui-theme-light #painelResultados.ma-search-panel .ma-search-card h2 { color: #102b5e; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-eyebrow,body.ui-theme-light #painelResultados.ma-search-panel .ma-search-subtitle { color: #315486; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-card,body.ui-theme-light #painelResultados.ma-search-panel .ma-search-empty { border-color: #bad5ff; background: rgba(255, 255, 255, .88); color: #102b5e; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-card-logo { background: #e7f1ff; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-badge { border-color: #b5d1ff; background: #e9f3ff; color: #1454ba; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-card p,body.ui-theme-light #painelResultados.ma-search-panel .ma-search-empty p { color: #315486; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-card .ma-search-postal { color: #102b5e; }
body.ui-theme-light #painelResultados.ma-search-panel .ma-search-actions .ma-search-phone { border-color: #8abaff; color: #1044a5; }
@media (max-width: 680px) { .ma-search-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; } .ma-search-card-logo { width: 88px; height: 72px; } .ma-search-actions { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.ma-data-dashboard { width: min(900px, calc(100% - 32px)); margin: 32px auto; padding: 28px; border: 1px solid #2863ba; border-radius: 22px; background: linear-gradient(135deg,#0c2b67,#1055b6); color: #fff; box-shadow: 0 14px 38px rgba(9,41,102,.18); font: 15px/1.5 Arial,sans-serif; }
.ma-data-dashboard h2 { color: #fff; margin: 0 0 8px; }
.ma-data-dashboard p { margin: 0 0 18px; }
.ma-data-dashboard form { display: grid; gap: 12px; }
.ma-data-dashboard label { display: grid; gap: 5px; font-weight: 600; }
.ma-data-dashboard input,.ma-data-dashboard select,.ma-data-dashboard textarea { width: 100%; box-sizing: border-box; border: 1px solid #9bb9ef; border-radius: 9px; padding: 11px 12px; font: inherit; background: #fff; color: #183560; }
.ma-data-dashboard textarea { min-height: 90px; resize: vertical; }
.ma-data-dashboard button,.ma-data-dashboard .ma-data-link { width: fit-content; border: 0; border-radius: 9px; padding: 11px 18px; background: #ffd953; color: #09275e; font: 700 14px Arial,sans-serif; text-decoration: none; cursor: pointer; }
.ma-data-dashboard .ma-data-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ma-data-dashboard .ma-data-check { display: flex; align-items: center; gap: 8px; }
.ma-data-dashboard .ma-data-check input { width: auto; }
.ma-data-recovery { width: min(520px, calc(100% - 32px)); margin: 48px auto; padding: 32px; border: 1px solid #2863ba; border-radius: 22px; background: linear-gradient(135deg,#0c2b67,#1055b6); color: #fff; box-shadow: 0 14px 38px rgba(9,41,102,.18); font: 15px/1.5 Arial,sans-serif; }
.ma-data-recovery h1 { margin: 0 0 8px; color: #fff; font-size: 28px; }
.ma-data-recovery p { margin: 0 0 20px; }
.ma-data-recovery form { display: grid; gap: 12px; }
.ma-data-recovery input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #9bb9ef; border-radius: 9px; background: #fff; color: #183560; font: inherit; }
.ma-data-recovery button { border: 0; border-radius: 9px; padding: 12px 18px; background: #ffd953; color: #09275e; font: 700 14px Arial,sans-serif; cursor: pointer; }
.ma-data-recovery button:disabled { opacity: .65; cursor: wait; }
.ma-data-recovery .ma-data-link { display: inline-block; margin-top: 18px; color: #fff; font-weight: 700; }
.ma-data-recovery .ma-data-feedback { margin-top: 14px; }
.ma-app-page { min-height: 340px; padding: 22px 14px 42px; box-sizing: border-box; }
.ma-app-page .ma-app-panel { width: min(790px, 100%); margin: 16px auto; padding: clamp(20px, 4vw, 32px); box-sizing: border-box; }
.ma-app-page .ma-app-panel { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 100% 65% at 98% 0%, rgba(27,111,241,.57), transparent 72%), radial-gradient(ellipse 90% 75% at 0% 100%, rgba(2,63,171,.75), transparent 72%), linear-gradient(135deg,#081d4a,#0b398a 68%,#0b51b8); }
.ma-app-page .ma-app-panel::before { content: ""; position: absolute; z-index: -1; inset: 36% -20% -62% 14%; border-radius: 50%; transform: rotate(-16deg); background: rgba(3,25,77,.28); pointer-events: none; }
.ma-app-page .ma-app-panel h1,.ma-app-page .ma-app-panel h2,.ma-app-page .ma-app-panel h3 { color: inherit; }
.ma-app-page .ma-app-panel h1 { margin: 0; font-size: clamp(23px, 3vw, 30px); }
.ma-app-page .ma-app-panel h2 { margin: 24px 0 12px; font-size: 20px; }
.ma-app-page .ma-app-panel h3 { margin: 0 0 6px; font-size: 17px; }
.ma-app-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ma-app-page .ma-app-panel .ma-app-theme { flex: none; padding: 7px 13px; border: 1px solid #a8c7ff; border-radius: 999px; background: #fff; color: #09275e; font-size: 13px; }
.ma-app-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; padding-bottom: 16px; border-bottom: 1px solid #4380d4; }
.ma-app-page .ma-app-nav .ma-data-link { padding: 7px 10px; border: 1px solid #76b3f6; border-radius: 999px; background: #143c82; color: #fff; font-size: 12px; }
.ma-app-page .ma-app-nav .ma-data-link:hover { background: #2056a8; }
.ma-app-intro { font-size: 18px; font-weight: 700; }
.ma-app-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 10px; margin: 18px 0 22px; }
.ma-app-page .ma-app-stat { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid #76b3f6; border-radius: 14px; background: rgba(17,67,150,.74); color: #fff; text-decoration: none; }
.ma-app-stat strong { font-size: 25px; line-height: 1.1; }
.ma-app-stat span { font-size: 13px; }
.ma-app-form { display: grid; gap: 12px; margin: 16px 0 26px; }
.ma-app-page .ma-app-form label { display: grid; gap: 6px; font-weight: 600; }
.ma-app-page .ma-app-form input,.ma-app-page .ma-app-form textarea,.ma-app-page .ma-app-form select { width: 100%; box-sizing: border-box; border: 1px solid #9bb9ef; border-radius: 9px; padding: 11px 12px; background: #fff; color: #183560; font: inherit; }
.ma-app-page .ma-app-form textarea { min-height: 110px; resize: vertical; }
.ma-app-page .ma-app-form .ma-data-check { display: flex; align-items: center; gap: 9px; }
.ma-app-page .ma-app-form .ma-data-check input { width: auto; }
.ma-app-page button:disabled { opacity: .6; cursor: wait; }
.ma-app-list { display: grid; gap: 12px; margin: 14px 0; }
.ma-app-card { padding: 18px; border: 1px solid #75aefa; border-radius: 14px; background: #123a80; color: #fff; }
.ma-app-card p { margin: 8px 0 12px; white-space: pre-wrap; }
.ma-app-card small { opacity: .9; }
.ma-app-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.ma-app-page .ma-app-panel .ma-app-secondary { padding: 8px 12px; border: 1px solid #91bbff; background: transparent; color: #fff; }
.ma-app-page .ma-app-panel .ma-app-conversation { display: block; padding: 14px 17px; border: 1px solid #74b0f4; border-radius: 12px; background: #123a80; color: #fff; text-decoration: none; font-weight: 700; }
.ma-app-chat-history { display: grid; gap: 12px; max-height: 420px; overflow-y: auto; padding: 12px; border: 1px solid #538fdf; border-radius: 14px; background: #08245a; }
.ma-app-bubble { justify-self: start; max-width: min(85%, 520px); padding: 10px 14px; border-radius: 14px; background: #1a4a99; }
.ma-app-bubble.mine { justify-self: end; background: #ffd953; color: #102f66; }
.ma-app-bubble p { margin: 0 0 5px; white-space: pre-wrap; }
.ma-app-bubble small { opacity: .8; }
.ma-app-panel.is-light { border-color: #bad5ff; background: radial-gradient(ellipse 85% 65% at 95% 0%,#d7eaff,transparent 75%), radial-gradient(ellipse 90% 75% at 0% 100%,#c9e0ff,transparent 75%), linear-gradient(135deg,#fff,#eaf4ff); color: #102b5e; }
.ma-app-panel.is-light::before { background: rgba(255,255,255,.55); }
.ma-app-panel.is-light .ma-app-nav { border-color: #bad5ff; }
.ma-app-panel.is-light .ma-app-nav .ma-data-link { background: #fff; color: #123b85; }
.ma-app-page .ma-app-panel.is-light .ma-app-stat { border-color: #bad5ff; background: #fff; color: #102b5e; }
.ma-app-panel.is-light .ma-app-card,.ma-app-panel.is-light .ma-app-conversation { border-color: #bad5ff; background: #fff; color: #102b5e; }
.ma-app-panel.is-light .ma-app-chat-history { border-color: #bad5ff; background: #f7fbff; }
.ma-app-panel.is-light .ma-app-bubble { background: #d8e9ff; color: #102b5e; }
.ma-app-panel.is-light .ma-app-bubble.mine { background: #174dba; color: #fff; }
.ma-app-page .ma-app-panel.is-light .ma-app-secondary { border-color: #3b70c5; color: #123b85; }
.ma-client-details { margin: 20px 0 22px; padding: 18px; border: 1px solid #76b3f6; border-radius: 16px; background: rgba(5, 30, 85, .64); }
.ma-client-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 16px 0 0; padding: 11px 14px; border: 1px solid #ffde70; border-radius: 13px; background: #fff2c1; color: #24345c; font-size: 13px; line-height: 1.4; }
.ma-client-notice strong { color: #152e69; font-size: 14px; }
.ma-client-notice-link { margin-left: auto; color: #063d9c; font-weight: 700; text-decoration: underline; }
.ma-client-notice-link:hover { color: #092657; }
.ma-client-details h2 { margin: 0 0 8px !important; }
.ma-client-summary { margin: 0 0 12px !important; }
.ma-client-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin: 16px 0 0; }
.ma-client-form[hidden] { display: none !important; }
.ma-client-form .ma-client-wide,.ma-client-form .ma-client-lookup,.ma-client-form button[type="submit"] { grid-column: 1 / -1; }
#content .ma-client-lookup { margin: -4px 0 2px !important; color: #dceaff !important; font-size: 13px; }
.ma-client-form button[type="submit"] { justify-self: start; }
.ma-app-panel.is-light .ma-client-details { border-color: #bad5ff; background: rgba(255, 255, 255, .82); }
#content .ma-app-panel.is-light .ma-client-lookup { color: #315486 !important; }
@media (max-width: 600px) { .ma-app-heading { align-items: flex-start; } .ma-app-nav { gap: 6px; } }
@media (max-width: 600px) { .ma-client-form { grid-template-columns: 1fr; } .ma-client-details { padding: 15px; } }
.ma-portfolio-editor { margin-top: 30px; padding-top: 8px; border-top: 1px solid rgba(176,205,255,.45); scroll-margin-top: 30px; }
.ma-portfolio-gallery { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; margin: 10px 0 14px; }
.ma-portfolio-gallery img { grid-column: 1 / -1; width: 100%; max-height: none; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #e8eef7; }
.ma-portfolio-gallery button { min-width: 40px; }
.ma-portfolio-gallery small { align-self: center; }
.ma-portfolio-card { overflow: hidden; }
.ma-portfolio-editor input[type=file] { color: #183560; }
.ma-app-panel.is-light .ma-portfolio-editor { border-color: #bad5ff; }

/* Painel visual do portfólio e cartões regionais compactos com a capa publicada. */
.ma-app-page .ma-app-panel .ma-portfolio-shortcut { position: relative; overflow: hidden; min-height: 70px; padding: 16px 20px; border-color: rgba(255,224,105,.72); background: linear-gradient(115deg,#ffdf58,#ffc521); color: #12336e; font-weight: 800; box-shadow: 0 10px 24px rgba(6,24,71,.18); }
.ma-portfolio-editor { margin-top: 28px; padding: clamp(18px,3vw,28px); border: 1px solid rgba(147,190,255,.5); border-radius: 22px; background: linear-gradient(145deg,rgba(8,30,75,.9),rgba(12,66,143,.8)); box-shadow: 0 18px 42px rgba(2,19,61,.22); }
.ma-portfolio-intro { max-width: 680px; margin: 0 0 20px; }
.ma-portfolio-kicker { display: inline-block; margin-bottom: 8px; color: #ffe278; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.ma-app-page .ma-app-panel .ma-portfolio-intro h2 { margin: 0 0 8px; font-size: clamp(22px,3vw,30px); letter-spacing: -.025em; }
.ma-portfolio-intro p { max-width: 620px; margin: 0!important; color: #d9e9ff; font-size: 14px; line-height: 1.65; }
.ma-app-page .ma-portfolio-form { gap: 14px; margin: 0; padding: clamp(16px,2.6vw,22px); border: 1px solid rgba(137,183,255,.4); border-radius: 18px; background: rgba(4,22,58,.44); }
.ma-app-page .ma-portfolio-form label { gap: 8px; }
.ma-app-page .ma-portfolio-form label > span { color: #f1f6ff; font-size: 13px; }
.ma-app-page .ma-portfolio-form input,.ma-app-page .ma-portfolio-form textarea { border-color: #a9c8f2; border-radius: 11px; }
.ma-app-page .ma-portfolio-form input[type=file] { padding: 10px; background: #f7faff; }
.ma-app-page .ma-portfolio-form .ma-client-lookup { margin: -7px 0 0!important; color: #d2e4ff!important; font-size: 12px; line-height: 1.5; }
.ma-portfolio-upload-preview { display: grid; grid-template-columns: repeat(auto-fill,minmax(100px,128px)); gap: 10px; }
.ma-portfolio-upload-preview[hidden] { display: none; }
.ma-portfolio-preview-tile { position: relative; min-width: 0; margin: 0; overflow: hidden; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.36); border-radius: 13px; background: #112d60; }
.ma-portfolio-preview-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ma-portfolio-preview-tile figcaption { position: absolute; inset: auto 0 0; padding: 6px; background: linear-gradient(transparent,rgba(2,14,39,.9)); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.ma-app-page .ma-portfolio-form button[type=submit] { min-height: 46px; padding: 12px 20px; border: 0; border-radius: 12px; background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; font-weight: 800; box-shadow: 0 7px 18px rgba(255,197,26,.2); }
.ma-app-page .ma-portfolio-form .ma-app-secondary { min-height: 42px; border-radius: 11px; }
.ma-portfolio-list-title { margin-top: 28px!important; }
.ma-portfolio-list { grid-template-columns: repeat(auto-fill,minmax(min(100%,230px),1fr)); gap: 14px; }
.ma-portfolio-list .ma-portfolio-card { padding: 14px; border-color: rgba(132,180,248,.48); border-radius: 17px; background: rgba(8,39,94,.76); }
.ma-portfolio-list .ma-portfolio-gallery { margin: 0 0 12px; }
.ma-portfolio-list .ma-portfolio-gallery img { max-height: none; aspect-ratio: 1 / 1; border-radius: 12px; }
.ma-portfolio-list .ma-portfolio-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13px; line-height: 1.55; }
.ma-portfolio-list .ma-portfolio-card small { display: inline-flex; padding: 5px 9px; border: 1px solid rgba(133,214,190,.45); border-radius: 999px; background: rgba(46,160,120,.16); color: #c6f4e5; font-size: 11px; }
.ma-app-panel.is-light .ma-portfolio-editor { border-color: #c4dbfb; background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(228,240,255,.96)); box-shadow: 0 18px 42px rgba(37,94,174,.12); }
.ma-app-panel.is-light .ma-portfolio-kicker { color: #2359a4; }
.ma-app-panel.is-light .ma-portfolio-intro p { color: #45648f; }
.ma-app-panel.is-light .ma-app-page .ma-portfolio-form,.ma-app-panel.is-light .ma-portfolio-form { border-color: #c8dcf7; background: rgba(255,255,255,.74); }
.ma-app-panel.is-light .ma-portfolio-form label > span { color: #173d77; }
.ma-app-panel.is-light .ma-portfolio-form .ma-client-lookup { color: #49678f!important; }
.ma-app-panel.is-light .ma-portfolio-list .ma-portfolio-card { border-color: #c8dcf7; background: #fff; color: #17345e; }
.ma-app-panel.is-light .ma-portfolio-list .ma-portfolio-card small { color: #17644c; }
.ma-search-card-compact { grid-template-columns: 90px minmax(0,1fr) minmax(140px,164px); gap: 13px; padding: 12px; border-color: rgba(124,178,247,.72); border-radius: 15px; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.ma-search-card-compact:hover { transform: translateY(-2px); border-color: #ffe16b; box-shadow: 0 12px 26px rgba(2,17,59,.22); }
.ma-search-card-compact .ma-search-card-logo { width: 90px; height: 90px; padding: 0; border: 1px solid rgba(178,211,255,.34); object-fit: cover; }
.ma-search-card-compact .ma-search-card-logo:not(.has-portfolio-cover) { padding: 8px; object-fit: contain; }
.ma-search-card-compact .ma-search-badge { margin: 0 0 5px; }
#painelResultados .ma-search-card-compact h2 { margin: 0 0 3px; font-size: 17px; }
#painelResultados .ma-search-card-compact p { margin: 2px 0; font-size: 12px; line-height: 1.4; }
#painelResultados .ma-search-card-compact .ma-search-postal { display: none; }
#painelResultados .ma-search-card-compact .ma-search-category { display: inline-flex; margin-top: 5px; padding: 3px 8px; border: 1px solid rgba(158,198,255,.34); border-radius: 999px; background: rgba(85,145,231,.18); font-size: 10px; }
#painelResultados .ma-search-card-compact .ma-search-portfolio-title { overflow: hidden; color: #ffe582; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#painelResultados .ma-search-card-compact .ma-search-bio { margin-top: 4px; -webkit-line-clamp: 1; }
.ma-search-card-compact .ma-search-actions { min-width: 0; gap: 7px; }
#painelResultados .ma-search-card-compact .ma-search-actions a { min-height: 36px; padding: 7px 9px; border-radius: 9px; }
body.ui-theme-light #painelResultados .ma-search-card-compact .ma-search-portfolio-title { color: #18549e; }
body.ui-theme-light #painelResultados .ma-search-card-compact .ma-search-category { border-color: #c8dcf7; background: #eff6ff; }
@media(max-width:680px) { .ma-search-card-compact { grid-template-columns: 76px minmax(0,1fr); gap: 10px; padding: 10px; } .ma-search-card-compact .ma-search-card-logo { width: 76px; height: 76px; } .ma-search-card-compact .ma-search-actions { grid-column: 1/-1; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); } .ma-portfolio-editor { padding: 16px; border-radius: 17px; } .ma-portfolio-list { grid-template-columns: 1fr; } }

/* Painel do marceneiro em abas (Resumo / Meu perfil / Portfólio) */
.ma-dash-tabs { display: flex; gap: 6px; margin: 4px 0 20px; padding: 5px; border: 1px solid rgba(118,179,246,.55); border-radius: 14px; background: rgba(6,28,72,.45); overflow-x: auto; scrollbar-width: none; scroll-margin-top: 20px; }
.ma-dash-tabs::-webkit-scrollbar { display: none; }
.ma-app-page .ma-app-panel .ma-dash-tab { flex: 1 0 auto; min-height: 42px; padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; color: #d9e9ff; font: 700 14px Arial,sans-serif; cursor: pointer; white-space: nowrap; box-shadow: none; }
.ma-app-page .ma-app-panel .ma-dash-tab:hover { background: rgba(32,86,168,.55); color: #fff; }
.ma-app-page .ma-app-panel .ma-dash-tab[aria-selected="true"] { background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; box-shadow: 0 6px 16px rgba(255,197,26,.22); }
.ma-app-page .ma-app-panel .ma-dash-tab:focus-visible { outline: 2px solid #ffe45d; outline-offset: 2px; }
/* O tema do WordPress define display nos botoes, o que anulava o atributo hidden dentro do painel. */
.ma-app-page [hidden] { display: none !important; }
.ma-dash-view > .ma-portfolio-editor { margin-top: 0; }
.ma-dash-status { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; margin: 14px 0 4px; padding: 14px 16px; border: 1px solid rgba(255,196,64,.6); border-left-width: 5px; border-radius: 14px; background: rgba(255,196,64,.1); }
.ma-dash-status.is-ok { border-color: rgba(95,214,160,.6); background: rgba(95,214,160,.1); }
.ma-dash-status strong { font-size: 15px; }
.ma-dash-status span { grid-column: 1; font-size: 13px; opacity: .9; }
.ma-app-page .ma-app-panel .ma-dash-status > a { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; text-decoration: none; }
.ma-dash-shortcuts { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 10px; }
.ma-app-page .ma-app-panel .ma-dash-shortcuts .ma-app-stat { width: auto; align-content: center; min-height: 64px; font-weight: 800; }
.ma-app-page .ma-app-panel .ma-portfolio-add { display: inline-flex; align-items: center; min-height: 46px; margin: 0 0 18px; padding: 12px 20px; border: 0; border-radius: 12px; background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; font: 800 14px Arial,sans-serif; cursor: pointer; box-shadow: 0 7px 18px rgba(255,197,26,.2); }
.ma-portfolio-feedback:empty { display: none; }
.ma-client-form > .ma-data-feedback,.ma-client-form > .ma-data-link { grid-column: 1 / -1; }
.ma-app-panel.is-light .ma-dash-tabs { border-color: #bad5ff; background: #eef5ff; }
.ma-app-page .ma-app-panel.is-light .ma-dash-tab { color: #123b85; }
.ma-app-page .ma-app-panel.is-light .ma-dash-tab:hover { background: #dbe9ff; }
.ma-app-page .ma-app-panel.is-light .ma-dash-tab[aria-selected="true"] { background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; }
.ma-app-panel.is-light .ma-dash-status { background: #fff8e6; }
.ma-app-panel.is-light .ma-dash-status.is-ok { background: #ecfbf3; }
@media (max-width: 600px) { .ma-dash-status { grid-template-columns: 1fr; } .ma-app-page .ma-app-panel .ma-dash-status > a { grid-column: 1; grid-row: auto; justify-self: start; } .ma-app-page .ma-app-panel .ma-dash-tab { padding: 9px 12px; font-size: 13px; } }

/* Logo ou foto do marceneiro (painel, perfil público e cartões da busca).
   Seletores reforçados porque o tema traz ".elementor img { border: none; border-radius: 0; height: auto }". */
.ma-pro-logo { display: flex; align-items: center; gap: 18px; margin: 14px 0 6px; padding: 16px; border: 1px solid rgba(118,179,246,.55); border-radius: 16px; background: rgba(6,28,72,.35); }
.ma-app-page .ma-pro-logo-preview { flex: 0 0 auto; width: 104px; height: 104px; box-sizing: border-box; border: 1px solid #c8dcf7; border-radius: 18px; background: #fff; object-fit: contain; }
.ma-app-page .ma-pro-logo-preview.is-empty { padding: 14px; border-color: rgba(178,211,255,.34); background: #123d87; }
.ma-pro-logo-info { display: grid; gap: 6px; min-width: 0; }
.ma-pro-logo-info > span { font-size: 13px; opacity: .9; }
.ma-pro-logo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ma-app-page .ma-pro-logo-pick { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 9px 16px; overflow: hidden; border-radius: 10px; background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; font: 800 14px Arial,sans-serif; cursor: pointer; }
.ma-pro-logo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ma-pro-logo-pick.is-busy { opacity: .6; pointer-events: none; }
.ma-app-page .ma-app-panel .ma-pro-logo-actions .ma-app-secondary { min-height: 40px; border-radius: 10px; }
.ma-pro-logo .ma-data-feedback:empty { display: none; }
.ma-app-page .ma-pro-logo-public { display: block; width: 120px; height: 120px; margin: 0 0 12px; box-sizing: border-box; border: 1px solid #c8dcf7; border-radius: 20px; background: #fff; object-fit: contain; }
.ma-search-card-compact .ma-search-card-logo.has-pro-logo { padding: 4px; background: #fff; object-fit: contain; }
.ma-search-card .ma-search-avatar { width: 26px; height: 26px; margin-right: 8px; border-radius: 7px; background: #fff; object-fit: contain; vertical-align: -5px; }
.ma-app-panel.is-light .ma-pro-logo { border-color: #c8dcf7; background: rgba(255,255,255,.74); }
@media (max-width: 600px) { .ma-pro-logo { flex-direction: column; align-items: flex-start; } }

/* Mensagens: novas por conversa, conversa vazia e cartões de notificação */
.ma-app-page .ma-app-panel .ma-app-conversation { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ma-conversation-unread { flex: none; padding: 3px 10px; border-radius: 999px; background: #e5322d; color: #fff; font-size: 12px; font-weight: 800; }
.ma-chat-empty { margin: 0; opacity: .8; }
.ma-app-page .ma-notification-card h3 { margin: 0 0 6px; font-size: 16px; }
.ma-app-page .ma-notification-card p { margin: 0 0 6px; }
.ma-app-page .ma-notification-card small { display: block; margin-bottom: 10px; opacity: .8; }

/* ===== Vitrine (portfólio público) do marceneiro ===== */
.ma-app-page .ma-app-panel.ma-vitrine { width: min(1080px, 100%); overflow: clip; }
.ma-app-page .ma-app-panel .ma-vitrine-btn, .ma-vitrine-btn { display: flex; width: auto; margin: 0; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 16px; box-sizing: border-box; border: 1px solid transparent; border-radius: 12px; font: 800 15px/1.2 Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.ma-app-page .ma-app-panel .ma-vitrine-btn.is-primary, .ma-app-page .ma-vitrine-btn.is-primary { background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; box-shadow: 0 8px 18px rgba(255,197,26,.2); }
.ma-app-page .ma-app-panel .ma-vitrine-btn.is-whatsapp, .ma-app-page .ma-vitrine-btn.is-whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.22); }
.ma-app-page .ma-app-panel .ma-vitrine-btn.is-whatsapp::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.1 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z%22/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.1 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z%22/%3E%3C/svg%3E") center/contain no-repeat; }
.ma-app-page .ma-app-panel .ma-vitrine-btn.is-ghost, .ma-app-page .ma-vitrine-btn.is-ghost { border-color: rgba(173,205,255,.6); background: transparent; color: #fff; box-shadow: none; }
.ma-app-page .ma-app-panel .ma-vitrine-btn:hover { filter: brightness(1.06); }
.ma-vitrine-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(95,214,160,.6); border-left-width: 5px; border-radius: 14px; background: rgba(95,214,160,.12); }
.ma-vitrine-owner.is-private { border-color: rgba(255,196,64,.7); background: rgba(255,196,64,.12); }
.ma-vitrine-owner strong { flex: 1 1 240px; }
.ma-app-page .ma-app-panel .ma-vitrine-owner .ma-vitrine-btn { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.ma-app-panel.ma-vitrine > .ma-app-heading { margin-bottom: 18px; }
.ma-vitrine-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "hero aside" "main aside"; gap: 18px 22px; align-items: start; }
.ma-vitrine-hero { grid-area: hero; }
.ma-vitrine-main { grid-area: main; }
.ma-app-page .ma-app-panel .ma-vitrine-contact .ma-vitrine-btn { width: 100%; }
.ma-vitrine-main { display: grid; gap: 18px; min-width: 0; }
.ma-vitrine-aside { grid-area: aside; position: sticky; top: 16px; }
.ma-vitrine-hero { display: flex; gap: 20px; align-items: center; padding: 20px; border: 1px solid rgba(147,190,255,.45); border-radius: 20px; background: rgba(6,28,72,.4); }
.ma-app-page .ma-vitrine-avatar { flex: 0 0 auto; width: 118px; height: 118px; box-sizing: border-box; border: 3px solid #fff; border-radius: 24px; background: #fff; object-fit: contain; box-shadow: 0 10px 24px rgba(2,19,61,.3); }
.ma-app-page .ma-vitrine-avatar.is-initials { display: grid; place-items: center; background: linear-gradient(135deg,#ffe45d,#ffc51a); color: #14336d; font: 800 40px/1 Arial, sans-serif; }
.ma-vitrine-head { display: grid; gap: 6px; min-width: 0; }
.ma-app-page .ma-vitrine-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ma-vitrine-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ma-vitrine-tag { padding: 4px 10px; border-radius: 999px; background: #ffd953; color: #14336d; font-size: 12px; font-weight: 800; }
.ma-vitrine-tag.is-muted { background: rgba(255,255,255,.14); color: #e6f0ff; }
.ma-vitrine-place { margin: 0; color: #dbe9ff; font-size: 14px; }
.ma-vitrine-place::before { content: "\1F4CD\00A0"; }
.ma-vitrine-map { width: fit-content; color: #ffe45d; font-size: 13px; font-weight: 700; }
.ma-vitrine-since { margin: 0; color: #b9d0f5; font-size: 12px; }
.ma-vitrine-section { padding: 18px 20px; border: 1px solid rgba(147,190,255,.35); border-radius: 18px; background: rgba(6,28,72,.28); }
.ma-app-page .ma-vitrine-section h3 { margin: 0 0 12px; font-size: 19px; }
.ma-vitrine-bio { margin: 0; white-space: pre-line; line-height: 1.6; }
.ma-vitrine-empty { margin: 0; opacity: .85; }
.ma-vitrine-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ma-app-page .ma-app-panel .ma-vitrine-work { position: relative; display: block; white-space: normal; width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 1px solid rgba(178,211,255,.35); border-radius: 14px; background: #0a2a63; color: #fff; text-align: left; cursor: pointer; box-shadow: none; }
.ma-app-page .ma-app-panel .ma-vitrine-work img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .3s ease; }
.ma-app-page .ma-app-panel .ma-vitrine-work:hover img { transform: scale(1.04); }
.ma-vitrine-work-info { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(3,16,44,.88)); }
.ma-vitrine-work-info strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.25; }
.ma-vitrine-work-info span { font-size: 12px; color: #d8e7ff; }
.ma-vitrine-work-info em { justify-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 999px; background: #ffc51a; color: #14336d; font-size: 11px; font-style: normal; font-weight: 800; }
.ma-vitrine-safety { padding: 16px 20px; border: 1px dashed rgba(255,217,83,.55); border-radius: 18px; background: rgba(255,217,83,.07); }
.ma-vitrine-safety ul { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 20px; color: #e3eeff; font-size: 14px; }
.ma-vitrine-contact { display: grid; gap: 10px; padding: 20px; border: 1px solid rgba(147,190,255,.55); border-radius: 20px; background: linear-gradient(160deg, rgba(8,34,84,.95), rgba(13,70,150,.9)); box-shadow: 0 16px 36px rgba(2,19,61,.3); }
.ma-app-page .ma-vitrine-contact h3 { margin: 0 0 2px; font-size: 20px; }
.ma-vitrine-note { margin: 0 0 4px; color: #d3e3ff; font-size: 13px; line-height: 1.5; }
.ma-chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.ma-app-page .ma-app-panel .ma-chat-actions .ma-vitrine-btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.ma-app-panel.is-light .ma-vitrine-hero, .ma-app-panel.is-light .ma-vitrine-section { border-color: #c8dcf7; background: rgba(255,255,255,.8); }
.ma-app-panel.is-light .ma-vitrine-place, .ma-app-panel.is-light .ma-vitrine-since, .ma-app-panel.is-light .ma-vitrine-safety ul { color: #3a5580; }
.ma-app-panel.is-light .ma-vitrine-tag.is-muted { background: #e3eeff; color: #17345e; }
.ma-app-panel.is-light .ma-vitrine-map { color: #1d4fb0; }
.ma-app-page .ma-app-panel.is-light .ma-vitrine-btn.is-ghost { border-color: #3b70c5; color: #123b85; }
@media (max-width: 860px) { .ma-vitrine-layout { grid-template-columns: 1fr; grid-template-areas: "hero" "aside" "main"; } .ma-vitrine-aside { position: static; } }
@media (max-width: 560px) { .ma-vitrine-hero { flex-direction: column; align-items: flex-start; padding: 16px; } .ma-app-page .ma-vitrine-avatar { width: 96px; height: 96px; } .ma-vitrine-works { grid-template-columns: 1fr 1fr; gap: 8px; } .ma-vitrine-section { padding: 14px; } }

/* Fotos em tela cheia (fica no body, fora do painel) */
.ma-lightbox { width: min(1000px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: #0b1a3a; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; }
.ma-lightbox::backdrop { background: rgba(2,8,24,.82); }
.ma-lightbox [hidden] { display: none !important; }
.ma-lightbox figure { margin: 0; }
.ma-lightbox img { display: block; width: 100%; height: min(70vh, 640px); object-fit: contain; background: #050d22; }
.ma-lightbox figcaption { display: grid; gap: 4px; padding: 14px 18px 18px; font: 14px/1.5 Arial, sans-serif; }
.ma-lightbox figcaption strong { color: #fff; font-size: 17px; }
.ma-lightbox figcaption p { margin: 0; color: #d3e3ff; white-space: pre-line; }
.ma-lightbox-count { color: #9fb9e6; font-size: 12px; }
.ma-lightbox .ma-lightbox-close, .ma-lightbox .ma-lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #0b1a3a; font: 700 28px/1 Arial, sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ma-lightbox .ma-lightbox-close { top: 10px; right: 10px; }
.ma-lightbox .ma-lightbox-nav { top: calc(min(70vh, 640px) / 2 - 22px); }
.ma-lightbox .ma-lightbox-nav.is-prev { left: 10px; }
.ma-lightbox .ma-lightbox-nav.is-next { right: 10px; }

/* Busca: WhatsApp no cartão */
#painelResultados .ma-search-actions .ma-search-whatsapp { background: #25d366; color: #fff; }

/* Painel do marceneiro: "complete seu portfólio" e link para divulgar */
.ma-dash-checklist { margin-top: 14px; padding: 18px 20px; border: 1px solid rgba(147,190,255,.45); border-radius: 18px; background: rgba(6,28,72,.35); }
.ma-app-page .ma-dash-checklist h3 { margin: 0 0 6px; font-size: 18px; }
.ma-dash-checklist > p { margin: 0 0 12px; color: #d3e3ff; font-size: 14px; }
.ma-app-panel.is-light .ma-dash-checklist { border-color: #c8dcf7; background: rgba(255,255,255,.8); }
.ma-app-panel.is-light .ma-dash-checklist > p { color: #3a5580; }
.ma-dash-progress { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.15); }
.ma-dash-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ffe45d,#25d366); transition: width .4s ease; }
.ma-dash-checklist ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.ma-dash-checklist li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.ma-dash-check { display: grid; place-items: center; flex: 0 0 22px; height: 22px; box-sizing: border-box; border: 2px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 13px; font-weight: 800; }
.ma-dash-checklist li.is-done .ma-dash-check { border-color: #25d366; background: #25d366; color: #fff; }
.ma-dash-checklist li.is-done span:last-child { opacity: .8; }
.ma-app-page .ma-app-panel .ma-dash-todo { width: auto; padding: 0; border: 0; background: none; color: #ffe45d; font: 700 14px Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.ma-app-page .ma-app-panel .ma-client-search-cta { margin: 10px 0 4px; min-height: 64px; align-content: center; font-weight: 800; }
.ma-app-page .ma-app-panel.is-light .ma-dash-todo { color: #1d4fb0; }

/* Vitrine: opções de contato com ícone, título e explicação; compartilhar em quadro separado */
.ma-app-page .ma-app-panel .ma-vitrine-btn.ma-contact-option { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 12px; min-height: 60px; padding: 10px 14px; text-align: left; }
.ma-app-page .ma-app-panel .ma-vitrine-btn.is-whatsapp.ma-contact-option::before { content: none; display: none; }
.ma-contact-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.24); font-size: 18px; line-height: 1; }
.ma-contact-icon.is-whatsapp::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.1 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z%22/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.1 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z%22/%3E%3C/svg%3E") center/contain no-repeat; }
.ma-vitrine-btn.is-primary .ma-contact-icon { background: rgba(20,51,109,.12); }
.ma-contact-text { display: grid; gap: 2px; min-width: 0; }
.ma-contact-text strong { font-size: 15px; line-height: 1.2; }
.ma-contact-text small { font-size: 12px; font-weight: 600; line-height: 1.35; opacity: .88; }
.ma-vitrine-note.is-small { margin: -2px 0 0; font-size: 12px; }

/* Portfólio exclusivo para clientes: tela para quem não está logado */
.ma-vitrine-login { display: grid; gap: 12px; justify-items: center; max-width: 520px; margin: 10px auto 20px; padding: 28px 24px; border: 1px solid rgba(147,190,255,.5); border-radius: 20px; background: rgba(6,28,72,.4); text-align: center; }
.ma-app-page .ma-vitrine-login h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.ma-vitrine-login p { margin: 0 0 6px; color: #d3e3ff; line-height: 1.55; }
.ma-app-page .ma-app-panel .ma-vitrine-login .ma-vitrine-btn { width: min(320px, 100%); }

/* Envio de fotos: moldura quadrada, arraste para enquadrar (o recorte enviado é o que aparece aqui) */
.ma-portfolio-preview-tile.is-framing { cursor: grab; touch-action: none; user-select: none; }
.ma-portfolio-preview-tile.is-framing.is-dragging { cursor: grabbing; outline: 2px solid #ffd953; outline-offset: 1px; }
.ma-portfolio-preview-tile.is-framing img { pointer-events: none; }
.ma-frame-hint { position: absolute; top: 6px; left: 6px; right: 6px; padding: 3px 6px; border-radius: 7px; background: rgba(2,14,39,.72); color: #fff; font-size: 10px; font-weight: 700; text-align: center; pointer-events: none; }
.ma-app-page .ma-portfolio-upload-preview { grid-template-columns: repeat(auto-fill, minmax(118px, 150px)); }
.ma-portfolio-preview-tile.is-dragging .ma-frame-hint { opacity: 0; }
.ma-frame-hint { transition: opacity .15s ease; }

/* Painel do marceneiro: destaque na página inicial (rodízio de 2 dias) */
.ma-dash-spotlight { margin-top: 14px; padding: 16px 20px; border: 1px solid rgba(255,217,83,.55); border-left-width: 5px; border-radius: 18px; background: rgba(255,217,83,.09); }
.ma-dash-spotlight.is-featured { border-color: rgba(37,211,102,.6); background: rgba(37,211,102,.1); }
.ma-app-page .ma-dash-spotlight h3 { margin: 0 0 6px; font-size: 17px; }
.ma-dash-spotlight p { margin: 0 0 6px; color: #d3e3ff; font-size: 14px; line-height: 1.5; }
.ma-app-panel.is-light .ma-dash-spotlight p { color: #3a5580; }

/* ===== Página de contato ===== */
.ma-contact-page { padding: 28px 16px 60px; background: linear-gradient(180deg, #eaf0fa 0%, #f6f8fc 55%, #fff 100%); }
.ma-contact-page [hidden] { display: none !important; }
.ma-contact { width: min(1080px, 100%); margin: 0 auto; font: 15px/1.5 Arial, sans-serif; color: #14336d; }
.ma-contact-hero { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 50px) clamp(22px, 4vw, 46px); border-radius: 22px; color: #fff;
  background: linear-gradient(90deg, #0b2a66 0%, #0f3c8a 42%, rgba(15,60,138,.72) 62%, rgba(15,60,138,.15) 100%), url("/assets/contato-topo.webp") right center / auto 100% no-repeat, #0f3c8a;
  box-shadow: 0 18px 40px rgba(10,35,90,.18); }
.ma-contact-kicker { color: #ffd953; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.ma-contact-page .ma-contact-hero h1 { margin: 8px 0 10px; color: #fff; font: 800 clamp(26px, 4vw, 38px)/1.15 Arial, sans-serif; letter-spacing: -.02em; }
.ma-contact-hero p { max-width: 520px; margin: 0; color: #dbe8ff; font-size: 15px; }
.ma-contact-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; margin-top: 22px; }
.ma-contact-card { padding: clamp(22px, 3.5vw, 32px); border: 1px solid #dbe5f5; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(10,35,90,.10); }
.ma-contact-page .ma-contact-form h2, .ma-contact-page .ma-contact-done h2 { margin: 0; color: #0f2d6b; font: 800 22px/1.25 Arial, sans-serif; }
.ma-contact-lead { margin: 4px 0 18px; color: #5a6f93; font-size: 13px; }
.ma-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ma-contact-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.ma-contact-page .ma-contact-form .ma-contact-field select { height: 46px; padding-block: 0; line-height: 44px; }
.ma-contact-field.is-wide { grid-column: 1 / -1; }
.ma-contact-field > span { color: #14336d; font-size: 14px; font-weight: 700; }
.ma-contact-field small { color: #6a7fa3; font-size: 12px; }
.ma-contact-page .ma-contact-form .ma-contact-field input, .ma-contact-page .ma-contact-form .ma-contact-field select, .ma-contact-page .ma-contact-form .ma-contact-field textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; margin: 0; padding: 11px 14px; border: 1px solid #c9d7ee; border-radius: 12px; background: #f9fbff; color: #14336d; font: 15px/1.4 Arial, sans-serif; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.ma-contact-page .ma-contact-form .ma-contact-field textarea { min-height: 140px; resize: vertical; }
.ma-contact-page .ma-contact-form .ma-contact-field :is(input, select, textarea):focus { outline: none; border-color: #2f6fd6; background: #fff; box-shadow: 0 0 0 4px rgba(47,111,214,.14); }
.ma-contact-field.is-invalid :is(input, select, textarea), .ma-contact-page .ma-contact-form .ma-contact-field.is-invalid :is(input, select, textarea) { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.1); }
.ma-contact-counter { justify-self: end; }
.ma-contact-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; margin: 16px 0 18px; color: #4b6189; font-size: 13px; line-height: 1.5; cursor: pointer; }
.ma-contact-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1d4fb0; }
.ma-contact-consent.is-invalid { color: #b33a3a; }
.ma-contact-inline-link { color: #1d4fb0; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ma-contact-page .ma-contact-submit, .ma-contact-page .ma-contact-again { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 50px; padding: 12px 26px; border: 0; border-radius: 12px; background: linear-gradient(110deg, #ffe45d, #ffc51a); color: #14336d; font: 800 16px Arial, sans-serif; cursor: pointer; box-shadow: 0 10px 22px rgba(255,197,26,.28); transition: transform .15s ease, box-shadow .15s ease; }
.ma-contact-page .ma-contact-submit:hover, .ma-contact-page .ma-contact-again:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255,197,26,.36); }
.ma-contact-page .ma-contact-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.ma-contact-status { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #eef6ff; color: #1d4fb0; font-size: 14px; }
.ma-contact-status.is-error { background: #fff1f1; color: #a33030; }
.ma-contact-done { display: grid; justify-items: center; gap: 10px; padding: 26px 10px; text-align: center; outline: none; }
.ma-contact-done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: #25d366; color: #fff; font: 800 32px/1 Arial, sans-serif; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.ma-contact-done p { max-width: 480px; margin: 0 0 8px; color: #4b6189; }
.ma-contact-aside { display: grid; gap: 16px; }
.ma-contact-direct { padding: 22px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #0c2b67, #1055b6); box-shadow: 0 18px 40px rgba(10,35,90,.18); }
.ma-contact-page .ma-contact-aside h3 { margin: 0 0 4px; font: 800 18px/1.3 Arial, sans-serif; }
.ma-contact-direct > p { margin: 0 0 14px; color: #d3e3ff; font-size: 14px; }
.ma-contact-page .ma-contact-channel { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; margin-top: 10px; padding: 12px 14px; border: 1px solid rgba(173,205,255,.45); border-radius: 14px; color: #fff; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.ma-contact-page .ma-contact-channel:hover { background: rgba(255,255,255,.08); border-color: rgba(255,217,83,.7); }
.ma-contact-channel-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.16); font-size: 19px; }
.ma-contact-channel strong { font-size: 15px; }
.ma-contact-channel small { overflow: hidden; color: #d3e3ff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ma-contact-page .ma-contact-channel.is-whatsapp { border-color: transparent; background: #25d366; }
.ma-contact-page .ma-contact-channel.is-whatsapp:hover { background: #20c05c; }
.ma-contact-channel.is-whatsapp small { color: #eafff1; }
.ma-contact-channel.is-whatsapp .ma-contact-channel-icon::before { content: ""; width: 22px; height: 22px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.1 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z%22/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.1 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.9 11.9 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z%22/%3E%3C/svg%3E") center/contain no-repeat; }
.ma-contact-shortcuts { padding: 20px 22px; border: 1px solid #dbe5f5; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(10,35,90,.07); }
.ma-contact-page .ma-contact-shortcuts h3 { color: #0f2d6b; }
.ma-contact-shortcuts ul { margin: 8px 0 0; padding: 0; list-style: none; }
.ma-contact-shortcuts li + li { border-top: 1px solid #eef2f9; }
.ma-contact-page .ma-contact-shortcut { display: flex; justify-content: space-between; gap: 8px; padding: 11px 0; color: #1d4fb0; font-size: 14px; font-weight: 700; text-decoration: none; }
.ma-contact-page .ma-contact-shortcut::after { content: "→"; color: #9fb3d6; transition: transform .15s ease, color .15s ease; }
.ma-contact-page .ma-contact-shortcut:hover::after { color: #1d4fb0; transform: translateX(3px); }
@media (max-width: 900px) { .ma-contact-body { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .ma-contact-page { padding: 16px 12px 40px; }
  .ma-contact-hero { background: linear-gradient(180deg, rgba(11,42,102,.94), rgba(15,60,138,.9)), url("/assets/contato-topo.webp") center / cover no-repeat, #0f3c8a; }
  .ma-contact-grid { grid-template-columns: 1fr; }
  .ma-contact-page .ma-contact-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ma-contact-page * { transition: none !important; } }

/* Aviso de área exclusiva (links compartilhados sem login) */
.ma-access-gate .ma-access-lock { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: rgba(255,217,83,.16); font-size: 26px; }
.ma-access-other { margin: 4px 0 0 !important; font-size: 13px; }
.ma-app-page .ma-access-other .ma-contact-inline-link { color: #ffe45d; }
.ma-app-panel.is-light .ma-access-other .ma-contact-inline-link { color: #1d4fb0; }
#painelResultados .ma-access-gate { display: grid; gap: 12px; justify-items: center; max-width: 520px; margin: 16px auto; padding: 28px 24px; border: 1px solid rgba(147,190,255,.5); border-radius: 20px; background: rgba(6,28,72,.4); color: #fff; text-align: center; }
#painelResultados .ma-access-gate h2 { margin: 0; color: #fff; font: 800 24px/1.2 Arial, sans-serif; }
#painelResultados .ma-access-gate p { margin: 0 0 6px; color: #d3e3ff; line-height: 1.55; }
#painelResultados .ma-access-gate a.ma-vitrine-btn { display: flex; align-items: center; justify-content: center; width: min(320px, 100%); min-height: 46px; box-sizing: border-box; border-radius: 12px; font: 800 15px Arial, sans-serif; text-decoration: none; }
#painelResultados .ma-access-gate a.ma-vitrine-btn.is-primary { background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; }
#painelResultados .ma-access-gate a.ma-vitrine-btn.is-ghost { border: 1px solid rgba(173,205,255,.6); background: transparent; color: #fff; }
.ma-login-notice { display: grid; gap: 4px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #f3d27a; border-left: 5px solid #ffc51a; border-radius: 12px; background: #fff8e1; color: #5a4300; font: 14px/1.5 Arial, sans-serif; text-align: left; }
.ma-login-notice strong { color: #3d2e00; font-size: 15px; }
body .ma-login-notice a, body .ma-login-notice a:visited { justify-self: start; color: #0f3c8a !important; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Meus anúncios */
.ma-ads-intro { display: grid; gap: 6px; margin: 4px 0 6px; }
.ma-ads-intro p { margin: 0; color: #d3e3ff; font-size: 14px; line-height: 1.55; }
.ma-app-panel.is-light .ma-ads-intro p { color: #3a5580; }
.ma-app-page .ma-app-panel .ma-dash-spotlight + .ma-portfolio-editor, .ma-app-page .ma-app-panel .ma-ads-intro + .ma-dash-spotlight + .ma-portfolio-editor { margin-top: 16px; }

/* Barra Voltar / Nova busca / Meu painel */
.ma-back-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ma-back-bar .ma-back-btn, .ma-back-bar .ma-back-link, .ma-app-page .ma-app-panel .ma-back-bar .ma-back-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; min-height: 38px; margin: 0; padding: 7px 14px; border: 1px solid rgba(173,205,255,.6); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font: 700 14px Arial, sans-serif; text-decoration: none; cursor: pointer; box-shadow: none; }
.ma-back-bar .ma-back-link.is-search { border-color: transparent; background: linear-gradient(110deg,#ffe45d,#ffc51a); color: #14336d; }
.ma-back-bar .ma-back-btn:hover, .ma-back-bar .ma-back-link:hover { filter: brightness(1.08); }
.ma-back-bar.is-search-page { margin: 0 0 16px; }
.ma-app-page .ma-app-nav .ma-data-link.is-current { background: #ffd953; border-color: #ffd953; color: #14336d; }
.ma-app-panel.is-light .ma-back-bar .ma-back-btn, .ma-app-panel.is-light .ma-back-bar .ma-back-link:not(.is-search) { border-color: #3b70c5; background: #fff; color: #123b85; }
.ma-app-panel.ma-vitrine > .ma-back-bar { margin: -4px 0 18px; }
/* Texto sempre legível nos botões da barra (o tema do site clareava a cor dos links) */
body .ma-back-bar a.ma-back-link.is-search, body .ma-back-bar a.ma-back-link.is-search:visited, body .ma-back-bar a.ma-back-link.is-search:hover, #painelResultados .ma-back-bar a.ma-back-link.is-search { color: #14336d !important; background: linear-gradient(110deg,#ffe45d,#ffc51a) !important; border-color: transparent !important; }
body .ma-back-bar a.ma-back-link:not(.is-search), body .ma-back-bar a.ma-back-link:not(.is-search):visited, #painelResultados .ma-back-bar a.ma-back-link:not(.is-search) { color: #fff !important; }
body .ma-app-panel.is-light .ma-back-bar a.ma-back-link:not(.is-search) { color: #123b85 !important; }
.ma-app-page .ma-app-nav .ma-data-link.is-current, .ma-app-page .ma-app-nav .ma-data-link.is-current:visited { color: #14336d !important; }

/* Contraste mínimo (acessibilidade): textos auxiliares mais escuros e verde do WhatsApp mais fechado com texto branco */
.ma-contact-field small, .ma-contact-counter { color: #52698f; }
.ma-app-page .ma-contact-channel.is-whatsapp, .ma-app-page .ma-app-panel .ma-vitrine-btn.is-whatsapp, .ma-app-page .ma-vitrine-btn.is-whatsapp, #painelResultados .ma-search-actions .ma-search-whatsapp { background: #0e7c3a !important; }
.ma-app-page .ma-contact-channel.is-whatsapp:hover { background: #0b6a31 !important; }
.ma-contact-channel.is-whatsapp small { color: #fff; }
.ma-contact-page .ma-contact-channel.is-whatsapp { background: #0e7c3a !important; }
.ma-contact-page .ma-contact-channel.is-whatsapp:hover { background: #0b6a31 !important; }
