:root{
  --bg:#FDF8F5;--surface:#FFFFFF;--surface-2:#FFFDFB;--text:#2E1F3B;--muted:#786A84;
  --line:#E9D9FF;--brand:#6C3AED;--brand-2:#2E1F3B;--accent:#FF8A3D;--danger:#DC355D;
  --success:#15966D;--warning:#D97706;--purple-soft:#E9D9FF;--orange-soft:#FFF0E6;--ink:#2E1F3B;
  --radius:20px;--shadow:0 22px 70px rgba(46,31,59,.10);
  font-family:"Nunito Sans",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light;
}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
a{color:inherit;text-decoration:none}.boot{min-height:100dvh;display:grid;place-items:center;align-content:center;gap:14px;color:var(--muted)}
.spinner{width:34px;height:34px;border:3px solid #e5e7eb;border-top-color:#111827;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.topbar{position:sticky;top:0;z-index:20;background:rgba(246,247,251,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(229,231,235,.8)}
.topbar-inner{height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-weight:900;letter-spacing:-.04em;font-size:25px}.brand-dot{color:var(--accent)}
.nav-links{display:flex;gap:8px;align-items:center}.nav-links a{padding:9px 12px;border-radius:12px;color:var(--muted);font-weight:650}.nav-links a:hover{background:#fff;color:var(--text)}
.btn{border:0;border-radius:13px;padding:11px 16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.15s;min-height:42px}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--brand);color:#fff}.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--line)}.btn-ghost{background:transparent;color:var(--muted)}.btn-danger{background:#fff1f2;color:#be123c}.btn-sm{padding:8px 11px;min-height:34px;font-size:13px}
.hero{padding:86px 0 54px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center}.eyebrow{display:inline-flex;padding:7px 11px;border-radius:999px;background:#fff7ed;color:#b45309;font-size:13px;font-weight:800;border:1px solid #fed7aa}.hero h1{font-size:clamp(44px,7vw,78px);line-height:.98;letter-spacing:-.065em;margin:18px 0 20px;max-width:800px}.hero p{font-size:19px;line-height:1.65;color:var(--muted);max-width:680px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.mock{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:18px;box-shadow:var(--shadow);transform:rotate(1.5deg)}.mock-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:7px 6px 15px}.mock-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.mock-card{padding:16px;border-radius:16px;background:var(--surface-2)}.mock-card b{font-size:25px;display:block;margin-top:4px}.appointment-preview{margin-top:12px;padding:14px;border-radius:16px;background:#111827;color:#fff;display:flex;justify-content:space-between;gap:16px}.features{padding:34px 0 86px}.section-title{font-size:34px;letter-spacing:-.045em;margin:0 0 8px}.section-sub{color:var(--muted);margin:0 0 28px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.feature .icon{font-size:25px}.feature h3{margin:12px 0 6px}.feature p{margin:0;color:var(--muted);line-height:1.55}
.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-side{padding:60px;display:flex;flex-direction:column;justify-content:space-between;background:#111827;color:#fff}.auth-side h1{font-size:52px;letter-spacing:-.055em;line-height:1;margin:0;max-width:520px}.auth-side p{color:#d1d5db;max-width:520px;line-height:1.6}.auth-main{display:grid;place-items:center;padding:30px}.auth-card{width:min(470px,100%)}.auth-card h2{font-size:34px;letter-spacing:-.04em;margin:0 0 7px}.auth-card>p{color:var(--muted);margin:0 0 28px}.form{display:grid;gap:14px}.field{display:grid;gap:7px}.field label{font-size:13px;font-weight:800}.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px 13px;background:#fff;outline:none;transition:.15s}.input:focus,.select:focus,.textarea:focus{border-color:#9ca3af;box-shadow:0 0 0 4px rgba(17,24,39,.06)}.textarea{min-height:95px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hint{font-size:12px;color:var(--muted)}.auth-foot{margin-top:18px;color:var(--muted);font-size:14px}.link{color:var(--text);text-decoration:underline;text-underline-offset:3px;font-weight:700}
.setup-warning{max-width:850px;margin:60px auto;background:#fff;border:1px solid #f59e0b;border-radius:22px;padding:28px;box-shadow:var(--shadow)}.setup-warning code{display:block;background:#111827;color:#fff;padding:14px;border-radius:12px;overflow:auto;margin:12px 0}
.app-layout{min-height:100dvh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100dvh;background:#111827;color:#fff;padding:20px 14px;display:flex;flex-direction:column}.sidebar .brand{padding:7px 10px;margin-bottom:22px}.side-nav{display:grid;gap:4px}.side-link{padding:11px 12px;border-radius:12px;color:#d1d5db;font-weight:700;display:flex;gap:10px;align-items:center}.side-link:hover,.side-link.active{background:#1f2937;color:#fff}.side-bottom{margin-top:auto;border-top:1px solid #374151;padding-top:14px}.company-mini{padding:10px;border-radius:12px;background:#1f2937;margin-bottom:8px}.company-mini b,.company-mini span{display:block}.company-mini span{color:#9ca3af;font-size:12px;margin-top:3px}.app-main{min-width:0}.app-header{height:70px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);position:sticky;top:0;z-index:15;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px}.app-content{padding:28px;max-width:1450px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:22px}.page-head h1{font-size:31px;letter-spacing:-.04em;margin:0}.page-head p{color:var(--muted);margin:5px 0 0}.actions{display:flex;gap:8px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px}.stat span{color:var(--muted);font-size:13px;font-weight:700}.stat b{display:block;font-size:29px;letter-spacing:-.04em;margin-top:6px}.grid-2{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 1px 2px rgba(0,0,0,.02)}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.card h2,.card h3{margin:0;letter-spacing:-.025em}.empty{padding:38px 18px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:15px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:700px}.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:14px}.table th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#f3f4f6;color:#374151}.status.completed{background:#ecfdf5;color:#047857}.status.canceled{background:#fff1f2;color:#be123c}.status.confirmed{background:#eff6ff;color:#1d4ed8}.status.in_progress{background:#fff7ed;color:#c2410c}.status.no_show{background:#fdf2f8;color:#be185d}.pill{display:inline-flex;border-radius:999px;background:#f3f4f6;padding:5px 9px;font-size:12px;font-weight:700;color:#4b5563}.list{display:grid;gap:9px}.list-item{border:1px solid var(--line);border-radius:14px;padding:13px 14px;display:flex;justify-content:space-between;gap:15px;align-items:center}.list-item strong{display:block}.list-item small{color:var(--muted)}
.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:14px}.filters .input,.filters .select{width:auto;min-width:160px}.modal-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.48);display:grid;place-items:center;padding:18px;z-index:100}.modal{width:min(680px,100%);max-height:92dvh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.26)}.modal-head{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:18px 20px;z-index:2}.modal-body{padding:20px}.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:15px 20px;border-top:1px solid var(--line)}.check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.check{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px}.check input{margin-top:3px}.days-grid{display:grid;gap:8px}.day-row{display:grid;grid-template-columns:96px 1fr 1fr;gap:8px;align-items:center}.day-row label{font-size:13px;font-weight:800}.split{height:1px;background:var(--line);margin:18px 0}
.public-page{min-height:100dvh;background:#f7f7f8}.public-hero{min-height:250px;background:#111827;color:#fff;position:relative;overflow:hidden}.public-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.4}.public-overlay{position:relative;padding:70px 0 40px}.public-logo{width:78px;height:78px;border-radius:22px;object-fit:cover;background:#fff;border:3px solid rgba(255,255,255,.9)}.public-hero h1{font-size:43px;letter-spacing:-.05em;margin:14px 0 4px}.public-hero p{color:#e5e7eb;max-width:670px}.public-grid{display:grid;grid-template-columns:1fr 420px;gap:18px;padding:28px 0 70px}.service-card,.pro-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fff}.service-card{display:flex;gap:11px;align-items:flex-start}.service-card input{margin-top:4px}.service-card b{display:block}.service-card small{color:var(--muted)}.booking-card{position:sticky;top:18px}.slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.slot{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px;font-weight:800}.slot.selected{background:#111827;color:#fff;border-color:#111827}.success-box{text-align:center;padding:24px}.success-icon{font-size:48px}.brand-footer{text-align:center;padding:28px;color:var(--muted);font-size:12px}
#toast-root{position:fixed;right:18px;bottom:18px;z-index:300;display:grid;gap:8px}.toast{background:#111827;color:#fff;border-radius:13px;padding:12px 14px;box-shadow:var(--shadow);max-width:360px;animation:toastIn .2s ease}.toast.error{background:#991b1b}.toast.success{background:#065f46}@keyframes toastIn{from{transform:translateY(8px);opacity:0}}
.mobile-nav{display:none}.install-banner{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff7ed;border:1px solid #fed7aa;border-radius:15px;padding:12px 14px;margin-bottom:16px}.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:900}.money-positive{color:#047857}.money-negative{color:#be123c}.notice{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:13px;padding:12px 14px;font-size:13px;line-height:1.5}.logo-preview{width:76px;height:76px;border-radius:18px;object-fit:cover;background:#f3f4f6;border:1px solid var(--line)}
@media(max-width:980px){.hero-grid,.auth-page,.public-grid,.grid-2{grid-template-columns:1fr}.auth-side{display:none}.feature-grid{grid-template-columns:1fr 1fr}.app-layout{grid-template-columns:1fr}.sidebar{display:none}.app-content{padding:20px}.stats{grid-template-columns:repeat(2,1fr)}.public-grid{padding-left:16px;padding-right:16px}.booking-card{position:static}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid var(--line);z-index:50;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{padding:10px 4px;text-align:center;color:var(--muted);font-size:10px;font-weight:800}.mobile-nav a span{display:block;font-size:19px;margin-bottom:2px}.app-content{padding-bottom:92px}.app-header{padding:0 18px}.public-overlay{padding-left:16px;padding-right:16px}.container{width:min(100% - 28px,1180px)}}
@media(max-width:640px){.nav-links a:not(.btn){display:none}.hero{padding-top:52px}.hero h1{font-size:47px}.mock-grid,.feature-grid,.stats,.form-row,.check-grid{grid-template-columns:1fr}.page-head{align-items:stretch;flex-direction:column}.page-head .actions .btn{flex:1}.day-row{grid-template-columns:82px 1fr 1fr}.slot-grid{grid-template-columns:repeat(3,1fr)}.public-hero h1{font-size:35px}.filters .input,.filters .select{width:100%}.app-header .user-email{display:none}}

/* Horiza V1.1 modules */
.nav-group{display:grid;gap:3px;margin-bottom:14px}.nav-group-title{padding:0 12px 5px;color:#6b7280;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.side-nav{overflow:auto;padding-right:3px}.side-nav::-webkit-scrollbar{width:6px}.side-nav::-webkit-scrollbar-thumb{background:#374151;border-radius:999px}
.app-context{display:flex;align-items:center;gap:10px;min-width:0}.branch-select{border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 9px;font-size:12px;font-weight:800;max-width:180px}.user-email{color:var(--muted);font-size:12px}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.module-card{display:block;transition:.15s}.module-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.module-card h3{margin:10px 0 5px}.module-card p{color:var(--muted);margin:0;line-height:1.5}.module-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f3f4f6;font-weight:900}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.media-card{min-width:0}.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.comparison figure{margin:0;min-height:180px;border-radius:13px;overflow:hidden;background:#f3f4f6;position:relative}.comparison img{width:100%;height:100%;min-height:180px;object-fit:cover;display:block}.comparison figcaption{position:absolute;left:8px;bottom:8px;background:rgba(17,24,39,.78);color:white;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}.comparison .placeholder{display:grid;place-items:center;color:var(--muted)}
.fit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.fit-card{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:12px;padding:10px}.fit-card b,.fit-card small{display:block}.fit-card small{color:#047857;margin-top:3px}
.inline-field{display:grid;grid-template-columns:1fr auto;gap:8px}.market-page{min-height:100dvh;background:#f7f7f8}.market-hero{padding:65px 0 30px}.market-hero h1{font-size:clamp(38px,6vw,68px);letter-spacing:-.055em;line-height:1;margin:15px 0}.market-hero p{font-size:18px;color:var(--muted);max-width:720px}.market-filters{display:grid;grid-template-columns:1fr 260px;gap:10px;max-width:800px;margin-top:24px}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.market-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.market-cover{height:150px;background:#e5e7eb center/cover no-repeat}.market-body{padding:16px;display:grid;gap:8px;position:relative}.market-body strong{font-size:19px}.market-body small,.market-body p{color:var(--muted);margin:0}.market-logo{width:54px;height:54px;border-radius:14px;object-fit:cover;background:#fff;border:3px solid #fff;margin-top:-42px;box-shadow:0 6px 18px rgba(0,0,0,.12)}
@media(max-width:1100px){.module-grid,.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.app-context .branch-select{max-width:130px}.gallery-grid{grid-template-columns:1fr}}
@media(max-width:640px){.module-grid,.market-grid,.market-filters{grid-template-columns:1fr}.fit-grid{grid-template-columns:1fr 1fr}.app-context{gap:6px}.app-context>b{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-select{max-width:115px}.app-header .actions .btn-secondary{display:none}.comparison figure,.comparison img{min-height:140px}}

/* Horiza — Platform Admin */
.platform-sidebar{background:#080b12}.platform-sidebar .brand small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9ca3af;margin-left:5px}.platform-layout .app-header{border-bottom-color:#d1d5db}.platform-layout .stat{border-top:3px solid #111827}.status.trial{background:#fff7ed;color:#b45309}.status.active{background:#ecfdf5;color:#047857}.status.restricted{background:#fff1f2;color:#be123c}.status.canceled{background:#f3f4f6;color:#6b7280}
.account-banner{margin:14px 28px 0;border-radius:13px;padding:12px 14px;font-size:13px}.account-banner.danger{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}@media(max-width:980px){.account-banner{margin:12px 18px 0}}

/* =========================================================
   Horiza — base institucional comercial
   Paleta principal: Roxo Horiza + Laranja energia
   ========================================================= */
html{scroll-behavior:smooth}.brand-image{display:inline-flex;align-items:center}.brand-logo{display:block;width:144px;height:auto;max-height:46px}.topbar{background:rgba(255,255,255,.88);border-bottom:1px solid rgba(109,74,255,.10);box-shadow:0 1px 0 rgba(36,26,57,.02)}
.btn{border-radius:14px}.btn-primary{background:linear-gradient(135deg,#7658ff,#6041ef);box-shadow:0 10px 24px rgba(109,74,255,.22)}.btn-primary:hover{box-shadow:0 14px 32px rgba(109,74,255,.28)}.btn-secondary{border-color:#e3dcf1}.btn-lg{padding:14px 20px;min-height:52px;font-size:15px}.btn-light{background:#fff;color:#5638e6;box-shadow:0 12px 30px rgba(26,15,64,.14)}
.input:focus,.select:focus,.textarea:focus{border-color:#917cff;box-shadow:0 0 0 4px rgba(109,74,255,.11)}.eyebrow{background:var(--purple-soft);color:#5d3fe1;border-color:#ddd3ff}.brand-eyebrow{gap:7px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(255,138,61,.13)}
.chico-credit{color:inherit;text-decoration:none;font-weight:900}.chico-credit:hover{text-decoration:underline;text-underline-offset:4px}

/* Landing */
.commercial-page{background:#fff;color:var(--ink);overflow:hidden}.commercial-topbar{position:fixed;width:100%;top:0}.commercial-nav a:not(.btn){color:#5f586e}.commercial-mobile-cta{display:none}.hero-commercial{padding:150px 0 92px;position:relative;background:linear-gradient(180deg,#fff 0%,#FDF8F5 56%,#fff 100%)}.commercial-hero-grid{grid-template-columns:1.02fr .98fr;gap:32px}.hero-copy{position:relative;z-index:2}.hero-commercial h1{font-size:clamp(52px,7vw,88px);line-height:.94;letter-spacing:-.065em;margin:22px 0 26px;max-width:760px}.hero-commercial h1 span{color:var(--brand)}.hero-lead{font-size:19px!important;max-width:690px!important;color:#655e72!important}.hero-proof{display:flex;gap:28px;flex-wrap:wrap;margin-top:34px;padding-top:24px;border-top:1px solid #ebe6f2;max-width:700px}.hero-proof div{display:grid;gap:1px}.hero-proof strong{font-size:17px;color:#2E1F3B}.hero-proof span{font-size:12px;color:#7b7488}.hero-visual{position:relative;z-index:2}.hero-mascot-board{width:100%;display:block;filter:drop-shadow(0 28px 48px rgba(69,46,139,.08))}.hero-glow{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.hero-glow-one{width:520px;height:520px;background:rgba(109,74,255,.07);top:60px;right:-180px}.hero-glow-two{width:340px;height:340px;background:rgba(255,138,61,.07);left:-150px;bottom:-60px}.floating-chip{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 15px;background:rgba(255,255,255,.94);border:1px solid #ebe5f6;border-radius:17px;box-shadow:0 18px 50px rgba(61,39,116,.14);backdrop-filter:blur(12px)}.floating-chip>span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--purple-soft);color:var(--brand);font-weight:900}.floating-chip b,.floating-chip small{display:block}.floating-chip b{font-size:13px}.floating-chip small{font-size:11px;color:var(--muted);margin-top:2px}.chip-one{left:1%;bottom:8%}.chip-two{right:-3%;top:24%}.chip-two>span{background:var(--orange-soft);color:#d8671d}
.brand-strip{border-top:1px solid #eee9f5;border-bottom:1px solid #eee9f5;background:#fff}.brand-strip-inner{min-height:78px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;color:#81798e;font-size:13px}.brand-strip-inner>span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#a39baa}.brand-strip-inner b{color:#51495e}.brand-strip-inner i{color:#cfc7db}
.commercial-section{padding:100px 0}.section-heading{max-width:760px;margin-bottom:42px}.section-heading.center{text-align:center;margin-left:auto;margin-right:auto}.section-heading .kicker,.kicker{display:inline-block;font-size:12px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:13px}.section-heading h2,.workflow-copy h2,.marketplace-promo h2,.mobile-grid h2,.infrastructure-card h2,.trial-card h2{font-size:clamp(34px,5vw,56px);line-height:1.02;letter-spacing:-.052em;margin:0 0 18px}.section-heading p,.workflow-copy p,.marketplace-promo p,.mobile-grid p,.infrastructure-card p,.trial-card p{font-size:17px;line-height:1.65;color:var(--muted);margin:0}.audience-section{background:#fff}.audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.audience-card{border-radius:28px;padding:30px;min-height:310px;display:flex;flex-direction:column;border:1px solid #ece7f3}.audience-card h3{font-size:26px;letter-spacing:-.035em;margin:20px 0 10px}.audience-card p{line-height:1.65;color:#665f73;margin:0}.audience-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;font-size:24px;background:#fff;box-shadow:0 12px 30px rgba(56,35,112,.08)}.audience-link{font-size:12px;font-weight:800;margin-top:auto;padding-top:30px}.purple-card{background:#E9D9FF}.purple-card .audience-icon,.purple-card .audience-link{color:#6242e9}.orange-card{background:#fff3eb}.orange-card .audience-icon,.orange-card .audience-link{color:#d7661d}.neutral-card{background:#fafafa}.neutral-card .audience-link{color:#51495e}
.product-showcase{background:#FDF8F5}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.product-feature{background:#fff;border:1px solid #e9e3f2;border-radius:28px;padding:28px;min-height:245px;position:relative;overflow:hidden}.product-feature.feature-large{grid-column:1/-1;display:grid;grid-template-columns:1fr .95fr;gap:34px;align-items:center;min-height:470px}.feature-badge{font-size:10px;letter-spacing:.13em;font-weight:950;color:#6C3AED;background:#E9D9FF;border-radius:999px;padding:7px 10px;display:inline-flex}.product-feature h3{font-size:28px;letter-spacing:-.04em;margin:17px 0 11px}.product-feature p{color:var(--muted);line-height:1.6;margin:0}.product-feature ul{padding-left:19px;color:#5d5669;line-height:1.9}.feature-symbol{width:48px;height:48px;border-radius:16px;background:var(--purple-soft);color:var(--brand);display:grid;place-items:center;font-weight:950;font-size:18px;margin-bottom:18px}.mini-calendar{background:#2E1F3B;border-radius:25px;padding:22px;color:white;box-shadow:0 26px 60px rgba(46,28,90,.22)}.calendar-top{display:flex;justify-content:space-between;margin-bottom:18px}.calendar-top span{color:#aaa0c3}.calendar-row{display:grid;grid-template-columns:55px 1fr;gap:12px;align-items:start;margin:10px 0}.calendar-row>span{font-size:12px;color:#b7adc8;padding-top:15px}.calendar-event{padding:14px;border-radius:16px}.calendar-event b,.calendar-event small{display:block}.calendar-event small{font-size:11px;margin-top:4px;opacity:.8}.purple-event{background:#6C3AED}.orange-event{background:#FF8A3D;color:#2b183d}.pale-event{background:#E9D9FF;color:#2E1F3B}
.workflow-section{background:#fff}.workflow-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}.workflow-copy .btn{margin-top:28px}.workflow-steps{display:grid;gap:12px}.workflow-steps article{display:grid;grid-template-columns:62px 1fr;gap:18px;padding:21px;border-radius:20px;border:1px solid #e9e3f2;background:#fff;box-shadow:0 8px 30px rgba(54,32,106,.035)}.workflow-steps article>span{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:var(--purple-soft);color:var(--brand);font-weight:950}.workflow-steps h3{margin:2px 0 5px;font-size:18px}.workflow-steps p{margin:0;color:var(--muted);line-height:1.5;font-size:14px}
.marketplace-section{background:linear-gradient(180deg,#fff,#FDF8F5)}.marketplace-promo{background:#E9D9FF;border:1px solid #E9D9FF;border-radius:38px;padding:54px;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}.marketplace-preview{padding:18px;background:#fff;border-radius:26px;box-shadow:0 26px 60px rgba(63,38,124,.12);display:grid;gap:10px}.market-search-demo{border:1px solid #e9e3f2;padding:14px 16px;border-radius:15px;color:#5f566f}.market-search-demo span{margin-left:6px}.market-result-demo{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:13px;border:1px solid #eee9f5;border-radius:16px}.market-avatar-demo{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#6C3AED;color:#fff;font-weight:950}.market-avatar-demo.orange{background:#FF8A3D;color:#2E1F3B}.market-result-demo b,.market-result-demo small,.market-result-demo span{display:block}.market-result-demo small{color:#81798e;font-size:11px;margin-top:2px}.market-result-demo span{color:#6C3AED;font-size:11px;font-weight:900;margin-top:6px}
.mobile-section{background:#fff}.mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.phone-stage{position:relative;min-height:570px;display:grid;place-items:center}.phone-frame{width:292px;height:560px;background:#171020;border:9px solid #171020;border-radius:45px;padding:12px;box-shadow:0 38px 85px rgba(39,25,74,.2);position:relative;z-index:2}.phone-island{width:84px;height:22px;background:#171020;border-radius:0 0 15px 15px;position:absolute;top:0;left:50%;transform:translateX(-50%)}.phone-ui{height:100%;background:#FDF8F5;border-radius:32px;padding:36px 16px 16px;overflow:hidden}.phone-logo .brand-logo{width:92px}.phone-kicker{display:block;margin-top:25px;font-size:11px;color:#847b92;text-transform:uppercase;font-weight:900;letter-spacing:.1em}.phone-ui h3{font-size:24px;margin:5px 0 14px}.phone-stat{padding:16px;border-radius:19px;background:#6C3AED;color:#fff}.phone-stat small,.phone-stat b,.phone-stat span{display:block}.phone-stat b{font-size:40px}.phone-stat span{font-size:10px;opacity:.75}.phone-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.phone-quick span{padding:11px 3px;background:#fff;border:1px solid #ebe5f4;border-radius:12px;text-align:center;font-size:10px;font-weight:800}.phone-next{background:#fff;border:1px solid #ebe5f4;border-radius:17px;padding:14px}.phone-next small,.phone-next b,.phone-next span{display:block}.phone-next small{font-size:9px;color:#8b8397}.phone-next b{font-size:12px;margin-top:5px}.phone-next span{font-size:10px;color:#8b8397;margin-top:3px}.phone-mascot{position:absolute;width:225px;right:2%;bottom:-15px;z-index:3}.benefit-list{display:grid;gap:10px;margin-top:25px}.benefit-list span{padding:12px 14px;border-radius:14px;background:#FDF8F5;color:#554d62;font-weight:700;font-size:14px}
.infrastructure-section{background:#fff;padding-top:20px}.infrastructure-card{background:#2E1F3B;color:#fff;border-radius:38px;padding:55px;display:grid;grid-template-columns:1fr .9fr;gap:45px;align-items:center;position:relative;overflow:hidden}.infrastructure-card:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:#6C3AED;opacity:.18;right:-130px;top:-120px}.infrastructure-card p{color:#cfc5e2}.kicker.light{color:#FF8A3D}.infra-badges{display:flex;gap:9px;flex-wrap:wrap;position:relative;z-index:2}.infra-badges span{padding:10px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);font-size:12px;font-weight:800}
.trial-section{padding-top:45px}.trial-card{background:#fff4eb;border:1px solid #ffe0ca;border-radius:38px;padding:54px;display:grid;grid-template-columns:220px 1fr;gap:38px;align-items:center}.trial-mascot{width:220px;display:block}.trial-card .btn{margin-top:24px}.faq-section{background:#FDF8F5}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.faq-grid details{background:#fff;border:1px solid #e9e4f1;border-radius:18px;padding:18px 20px}.faq-grid summary{font-weight:900;cursor:pointer}.faq-grid p{color:var(--muted);line-height:1.6;margin:12px 0 0}.final-cta{background:#6C3AED;color:#fff;padding:75px 0}.final-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.final-cta-inner>div>span{font-weight:950;letter-spacing:.08em}.final-cta-inner>div>span span{color:#FF8A3D}.final-cta h2{font-size:clamp(36px,5vw,64px);letter-spacing:-.055em;line-height:1;max-width:780px;margin:14px 0}.final-cta p{margin:0;color:#E9D9FF;font-size:17px}.commercial-footer{background:#2E1F3B;color:#fff;padding:60px 0 24px}.commercial-footer .brand-logo{width:135px}.footer-grid{display:grid;grid-template-columns:1.5fr .7fr .7fr .8fr;gap:35px}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.footer-grid p{color:#ada5b9;max-width:320px;line-height:1.55}.footer-grid b{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#a99cc4}.footer-grid a:not(.brand){color:#d7d0e2;font-size:13px}.footer-credit{justify-content:flex-end;color:#9f95af}.footer-credit .chico-credit{font-size:18px!important;color:#fff!important}.footer-bottom{border-top:1px solid rgba(255,255,255,.09);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;color:#958ba5;font-size:12px}

/* Auth / onboarding */
.auth-branded{background:#fff}.auth-branded .auth-side{background:linear-gradient(150deg,#2E1F3B,#5636dc 62%,#6C3AED);position:relative;overflow:hidden}.auth-branded .auth-side:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(255,138,61,.13);right:-200px;bottom:-170px}.auth-branded .brand-logo{width:142px}.auth-brand-message{position:relative;z-index:2}.auth-brand-message img{width:150px;margin-bottom:18px}.auth-brand-message h1{font-size:50px}.auth-eyebrow{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.13);color:#fff}.auth-main{background:#FDF8F5}.auth-card{background:#fff;border:1px solid #ece6f3;border-radius:28px;padding:30px;box-shadow:0 24px 70px rgba(59,37,110,.08)}.onboarding-card{width:min(650px,100%)!important}.slug-suffix{order:-1;display:flex;align-items:center;padding:0 12px;background:#FDF8F5;border:1px solid #e9e3f2;border-radius:13px;color:#776f84;font-size:12px;font-weight:800;white-space:nowrap}

/* App brand refresh */
.app-layout{grid-template-columns:264px 1fr}.sidebar{background:#2E1F3B;padding:19px 14px}.sidebar .brand{display:flex;align-items:center;height:55px;padding:6px 9px;margin-bottom:14px}.sidebar .brand-logo{width:126px}.side-nav{overflow:auto;padding-right:2px}.nav-group-title{color:#857a99}.side-link{color:#c7bed5;border:1px solid transparent}.side-link:hover{background:rgba(255,255,255,.07);color:#fff}.side-link.active{background:#6C3AED;color:#fff;box-shadow:0 10px 24px rgba(43,26,89,.25)}.side-bottom{border-top-color:rgba(255,255,255,.1)}.company-mini{background:rgba(255,255,255,.07)}.app-header{border-bottom-color:#ece6f3}.app-content{background:#FDF8F5}.stat{border-color:#e9e3f2}.stat:first-child{border-top:3px solid #6C3AED}.card{border-color:#e9e3f2}.pill{background:#E9D9FF;color:#6C3AED}.install-banner{border-color:#E9D9FF!important;background:#E9D9FF!important}.mobile-nav a.active{color:#6C3AED}.platform-sidebar{background:#2E1F3B}.platform-layout .stat{border-top:3px solid #6C3AED}.platform-layout .sidebar .brand-logo{width:118px}

/* Marketplace/public */
.market-page{background:#FDF8F5}.market-hero{background:linear-gradient(180deg,#fff,#f7f3ff);padding-top:95px}.market-card{border-color:#e7e0f1}.market-logo{border-color:#fff}.public-page{background:#FDF8F5}.public-hero{background:linear-gradient(135deg,#2b1d4c,#6C3AED)!important}.brand-footer{padding:22px;text-align:center;color:#827989;font-size:12px}.brand-footer .chico-credit{color:#5d45c8}

/* Legal */
.legal-page{min-height:100vh;background:#FDF8F5}.legal-wrap{max-width:900px;padding-top:90px;padding-bottom:80px}.legal-wrap h1{font-size:clamp(42px,7vw,70px);letter-spacing:-.055em;margin:18px 0 10px}.legal-sub{color:var(--muted);font-size:18px}.legal-card{margin-top:34px;background:#fff;border:1px solid #e9e3f2;border-radius:28px;padding:34px;box-shadow:0 20px 65px rgba(57,36,106,.06)}.legal-card h2{font-size:20px;margin:28px 0 7px}.legal-card h2:first-child{margin-top:0}.legal-card p{color:#665e72;line-height:1.75}

@media(max-width:1100px){.commercial-nav a[href="#para-quem"],.commercial-nav a[href="#como-funciona"]{display:none}.commercial-hero-grid,.workflow-grid,.mobile-grid{gap:32px}.audience-grid{grid-template-columns:1fr 1fr}.audience-card:last-child{grid-column:1/-1}.phone-mascot{right:-8%}}
@media(max-width:900px){.commercial-topbar .commercial-nav{display:none}.commercial-mobile-cta{display:inline-flex}.commercial-hero-grid,.workflow-grid,.marketplace-promo,.mobile-grid,.infrastructure-card{grid-template-columns:1fr}.hero-commercial{padding-top:125px}.hero-visual{max-width:650px;margin:0 auto}.chip-two{right:3%}.audience-grid{grid-template-columns:1fr}.audience-card:last-child{grid-column:auto}.product-feature.feature-large{grid-template-columns:1fr}.footer-grid{grid-template-columns:1.4fr 1fr 1fr}.footer-credit{grid-column:1/-1}.auth-page{grid-template-columns:1fr}.auth-side{min-height:340px;padding:34px}.auth-brand-message{display:grid;grid-template-columns:110px 1fr;column-gap:20px;align-items:center}.auth-brand-message img{width:105px;grid-row:1/4}.auth-brand-message .eyebrow{justify-self:start}.auth-brand-message h1{font-size:38px}.auth-main{padding:24px}.app-layout{grid-template-columns:1fr}.sidebar{display:none}.app-main{padding-bottom:74px}.app-header{padding:0 18px}.mobile-nav{display:grid!important}}
@media(max-width:640px){.commercial-section{padding:72px 0}.hero-commercial h1{font-size:52px}.hero-lead{font-size:17px!important}.hero-proof{gap:16px}.hero-proof div{width:calc(50% - 8px)}.floating-chip{display:none}.brand-strip-inner{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding:0 8px}.audience-card{min-height:270px}.product-grid{grid-template-columns:1fr}.product-feature.feature-large{grid-column:auto}.marketplace-promo,.infrastructure-card,.trial-card{padding:28px;border-radius:28px}.trial-card{grid-template-columns:1fr;text-align:center}.trial-mascot{width:150px;margin:auto}.phone-stage{min-height:520px}.phone-mascot{width:170px;right:-3%;bottom:0}.faq-grid{grid-template-columns:1fr}.final-cta-inner{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:7px}.auth-brand-message{display:block}.auth-brand-message img{display:none}.auth-side{min-height:270px}.auth-card{padding:24px}.legal-card{padding:24px}.hero-actions .btn{width:100%}.marketplace-preview{padding:12px}}


/* =========================================================
   HORIZA V1.4 — IDENTIDADE OFICIAL
   Paleta oficial: #6C3AED #FF8A3D #E9D9FF #2E1F3B #FDF8F5
   ========================================================= */
body,.commercial-page,.legal-page,.market-page,.public-page{background:#FDF8F5;color:#2E1F3B}
.brand-logo{width:188px;max-height:60px;object-fit:contain;object-position:left center}
.commercial-topbar{background:rgba(253,248,245,.94);border-bottom:1px solid rgba(108,58,237,.12)}
.hero-commercial{background:linear-gradient(180deg,#FDF8F5 0%,#fff 58%,#FDF8F5 100%)}
.hero-commercial h1 span,.kicker,.feature-badge{color:#6C3AED}
.brand-eyebrow{background:#fff;border-color:#E9D9FF;color:#2E1F3B}.eyebrow-dot{background:#FF8A3D}
.hero-glow-one{background:rgba(108,58,237,.11)}.hero-glow-two{background:rgba(255,138,61,.11)}
.hero-visual{min-height:580px;display:grid;place-items:center}.hero-mascot-board{width:min(540px,92%);max-height:590px;object-fit:contain;filter:drop-shadow(0 32px 40px rgba(46,31,59,.18))}
.btn-primary{background:#6C3AED;color:#fff;box-shadow:0 10px 24px rgba(108,58,237,.20)}.btn-primary:hover{background:#5B2BD8}
.btn-secondary{border-color:#E9D9FF;background:#fff}.btn-secondary:hover{border-color:#6C3AED;color:#6C3AED}
.purple-card{background:#6C3AED!important}.orange-card{background:#FF8A3D!important;color:#2E1F3B!important}.neutral-card{background:#E9D9FF!important;color:#2E1F3B!important}
.product-showcase{background:#FDF8F5}.product-feature{border-color:#E9D9FF}.purple-event{background:#6C3AED}.orange-event{background:#FF8A3D}.pale-event{background:#E9D9FF;color:#2E1F3B}
.marketplace-promo{background:linear-gradient(135deg,#E9D9FF 0%,#FDF8F5 100%);border-color:#E9D9FF}.market-avatar-demo{background:#6C3AED}.market-avatar-demo.orange{background:#FF8A3D}
.phone-ui{background:#FDF8F5}.phone-stat{background:#6C3AED}.phone-mascot{width:245px;filter:drop-shadow(0 22px 28px rgba(46,31,59,.14))}
.infrastructure-card{background:#2E1F3B}.infrastructure-card:after{background:#6C3AED}.trial-card{background:#FFF5EC;border-color:#FFD4B5}.trial-mascot{width:245px;filter:drop-shadow(0 18px 25px rgba(46,31,59,.12))}
.final-cta{background:#6C3AED}.commercial-footer{background:#2E1F3B}.commercial-footer .brand{background:#FDF8F5;border-radius:18px;padding:9px 13px}.commercial-footer .brand-logo{width:190px}.footer-credit .chico-credit{color:#FF8A3D!important}
.auth-branded .auth-side{background:linear-gradient(145deg,#FDF8F5 0%,#E9D9FF 72%,#fff 100%);color:#2E1F3B}.auth-branded .auth-side:before{background:rgba(255,138,61,.20)}.auth-side p{color:#5F526A}.auth-eyebrow{background:#fff;border-color:#E9D9FF;color:#6C3AED}.auth-branded .brand-logo{width:205px}.auth-brand-message img{width:220px;max-height:260px;object-fit:contain;filter:drop-shadow(0 22px 30px rgba(46,31,59,.13))}
.app-layout{grid-template-columns:280px 1fr}.sidebar{background:#FDF8F5;color:#2E1F3B;border-right:1px solid #E9D9FF}.sidebar .brand{height:auto;min-height:72px;padding:8px 9px}.sidebar .brand-logo{width:210px;max-height:68px}.nav-group-title{color:#8B7898}.side-link{color:#594B66}.side-link:hover{background:#fff;color:#2E1F3B;border-color:#E9D9FF}.side-link.active{background:#6C3AED;color:#fff;box-shadow:0 10px 24px rgba(108,58,237,.20)}.side-bottom{border-top-color:#E9D9FF}.company-mini{background:#fff;border:1px solid #E9D9FF}.company-mini span{color:#786A84}#logout-btn{color:#2E1F3B!important}.app-content{background:#FDF8F5}.app-header{background:rgba(255,255,255,.92);border-bottom-color:#E9D9FF}.stat,.card{border-color:#E9D9FF}.stat:first-child{border-top:3px solid #6C3AED}.pill{background:#E9D9FF;color:#2E1F3B}.install-banner{border-color:#E9D9FF!important;background:#F7EFFF!important}.mobile-nav a.active{color:#6C3AED}
.platform-sidebar{background:#FDF8F5!important;color:#2E1F3B;border-right:1px solid #E9D9FF}.platform-sidebar .brand small{color:#6C3AED}.platform-layout .stat{border-top-color:#FF8A3D}.platform-layout .sidebar .brand-logo{width:190px}
.market-hero{background:linear-gradient(180deg,#FDF8F5,#fff)}.public-hero{background:linear-gradient(135deg,#2E1F3B,#6C3AED)!important}.brand-footer .chico-credit{color:#6C3AED}
.input:focus,.select:focus,.textarea:focus{border-color:#6C3AED;box-shadow:0 0 0 4px rgba(108,58,237,.10)}
.spinner{border-top-color:#6C3AED}
@media(max-width:900px){.auth-side{background:#E9D9FF}.auth-brand-message img{width:130px}.hero-visual{min-height:480px}.hero-mascot-board{max-height:480px}}
@media(max-width:640px){.brand-logo{width:158px}.hero-visual{min-height:390px}.hero-mascot-board{width:95%;max-height:390px}.trial-mascot{width:175px}.auth-branded .brand-logo{width:170px}}

/* Horiza V1.4.2 — Platform resilience */
.platform-state{min-height:55vh;display:grid;place-items:center;align-content:center;gap:12px;text-align:center;color:var(--muted)}
.platform-state h2{margin:4px 0 0;color:var(--text)}
.platform-state p{margin:0;max-width:520px;line-height:1.6}
.platform-error-card{max-width:760px;margin:24px auto;padding:26px}
.platform-error-card h2{font-size:28px;margin:10px 0 8px}
.platform-error-card>p{color:var(--muted);line-height:1.6;word-break:break-word}
.platform-error-code{margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.platform-error-code code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--brand);font-weight:800}

/* =========================================================
   HORIZA V1.6 — PERFORMANCE, LEGIBILIDADE E MOBILE
   ========================================================= */
:root{
  font-family:"Segoe UI",Roboto,Helvetica,Arial,ui-sans-serif,system-ui,-apple-system,sans-serif;
  --muted:#665873;
}
html{font-size:16px;overflow-x:hidden;scroll-behavior:smooth}
body{overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
p,small,.hint,.section-sub{color:#665873}

/* Legibilidade institucional */
.hero-commercial h1{letter-spacing:-.045em}
.hero-lead{color:#55465f!important;font-weight:500}
.hero-proof span{font-size:13px;color:#665873}
.section-heading p,.workflow-copy p,.marketplace-promo p,.mobile-grid p,.trial-card p{color:#5c4e67;font-size:18px}
.product-feature p,.workflow-steps p,.faq-grid p{color:#5c4e67}
.audience-card p{font-size:16px}
.audience-link{font-size:13px;line-height:1.45}
.purple-card,.purple-card h3,.purple-card p,.purple-card .audience-link{color:#fff!important}
.purple-card p{color:rgba(255,255,255,.90)!important}
.purple-card .audience-icon{background:rgba(255,255,255,.94);color:#6C3AED!important}
.orange-card p,.neutral-card p{color:#44384f!important}
.feature-badge{font-size:11px}
.commercial-footer .footer-grid p{color:#d7cfdf}
.commercial-footer .footer-grid a:not(.brand){color:#f2edf6}

/* Shell mais rápido e estável visualmente */
.app-main{width:100%;min-width:0}
.app-content{width:100%;min-width:0}
.app-context{flex:1;min-width:0}
.app-context>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.branch-select{flex:0 1 190px;min-width:110px}
.page-head>div:first-child{min-width:0}
.card,.stat,.list-item,.module-card{min-width:0}
.table-wrap{width:100%;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}

/* Mobile: ocupa a tela corretamente e evita elementos espremidos */
@media(max-width:900px){
  .container{width:calc(100% - 28px)}
  .commercial-topbar .topbar-inner{height:66px}
  .commercial-topbar .brand-logo{width:142px;max-height:46px}
  .commercial-mobile-cta{min-height:38px;padding:8px 12px;font-size:13px}
  .hero-commercial{padding:104px 0 58px}
  .commercial-hero-grid{gap:18px}
  .hero-copy{text-align:left}
  .hero-commercial h1{font-size:clamp(42px,12vw,64px);line-height:.96;margin:16px 0 18px;letter-spacing:-.045em}
  .hero-lead{font-size:17px!important;line-height:1.55!important}
  .hero-proof{margin-top:24px;padding-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .hero-proof div{width:auto!important}
  .hero-visual{min-height:330px!important;max-width:500px}
  .hero-mascot-board{width:min(360px,92%)!important;max-height:350px!important}
  .commercial-section{padding:64px 0}
  .section-heading{margin-bottom:28px}
  .section-heading h2,.workflow-copy h2,.marketplace-promo h2,.mobile-grid h2,.infrastructure-card h2,.trial-card h2{font-size:clamp(31px,9vw,44px);letter-spacing:-.04em;line-height:1.06}
  .section-heading p,.workflow-copy p,.marketplace-promo p,.mobile-grid p,.trial-card p{font-size:16px;line-height:1.6}
  .audience-card{min-height:0!important;padding:24px;border-radius:22px}
  .product-feature{min-height:0;padding:22px;border-radius:22px}
  .product-feature.feature-large{min-height:0;gap:22px}
  .product-feature h3{font-size:24px}
  .workflow-steps article{grid-template-columns:48px 1fr;gap:12px;padding:16px}
  .workflow-steps article>span{width:42px;height:42px;border-radius:13px}
  .marketplace-promo,.infrastructure-card,.trial-card{padding:24px!important;border-radius:24px!important}
  .phone-stage{min-height:485px}
  .final-cta{padding:58px 0}
  .footer-grid{grid-template-columns:1fr 1fr}

  .app-layout{display:block;min-height:100dvh}
  .app-main{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  .app-header{height:auto;min-height:66px;padding:9px 14px;gap:8px;align-items:center;flex-wrap:nowrap}
  .app-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(105px,150px);grid-template-areas:"name branch";gap:6px 8px;align-items:center}
  .app-context>b{grid-area:name;font-size:14px;max-width:none}
  .branch-select{grid-area:branch;width:100%;max-width:none!important;min-width:0;padding:7px 8px}
  .user-email{display:none}
  .app-header>.actions{flex:0 0 auto;gap:5px}
  .app-header>.actions #install-app{display:none!important}
  .app-header .public-page-btn{min-width:40px;padding:8px 10px}
  .app-header .public-page-label{display:none}
  .app-content{padding:16px 14px 96px;max-width:none;margin:0}
  .page-head{flex-direction:column;align-items:stretch;margin-bottom:16px;gap:12px}
  .page-head h1{font-size:27px;line-height:1.1}
  .page-head p{font-size:14px;line-height:1.45}
  .page-head>.actions{width:100%}
  .page-head>.actions>.btn{flex:1;min-width:0}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
  .stat{padding:14px;border-radius:15px}
  .stat span{font-size:12px;line-height:1.25}
  .stat b{font-size:23px;line-height:1.1;word-break:break-word}
  .grid-2{grid-template-columns:1fr;gap:10px}
  .card{padding:14px;border-radius:16px}
  .card-head{align-items:flex-start;flex-wrap:wrap}
  .list-item{align-items:flex-start;flex-wrap:wrap;padding:12px;gap:10px}
  .list-item>div{min-width:0;flex:1 1 190px}
  .list-item>.btn,.list-item>a.btn{margin-left:auto}
  .filters{display:grid;grid-template-columns:1fr;gap:8px}
  .filters .input,.filters .select{width:100%;min-width:0}
  .form-row,.check-grid{grid-template-columns:1fr}
  .day-row{grid-template-columns:1fr 1fr;align-items:end}
  .day-row>label{grid-column:1/-1}
  .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .module-card{padding:14px}
  .module-card p{font-size:13px}
  .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr));padding:4px 4px env(safe-area-inset-bottom);box-shadow:0 -8px 30px rgba(46,31,59,.08)}
  .mobile-nav a{min-width:0;padding:7px 2px 8px;font-size:10px;line-height:1.1}
  .mobile-nav a span{font-size:18px}
  .modal-backdrop{padding:8px;align-items:end}
  .modal{width:100%;max-height:92dvh;border-radius:22px 22px 0 0}
  .modal-body{padding:16px}
  .modal-foot{position:sticky;bottom:0;background:#fff;padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}
  .modal-foot .btn{flex:1}
  .table{min-width:620px}

  .public-grid{padding:18px 14px 60px!important;gap:12px}
  .public-overlay{padding:54px 14px 30px}
  .public-hero h1{font-size:34px;line-height:1.02}
  .booking-card{position:static}
  .slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .market-hero{padding:82px 0 24px}
  .market-hero h1{font-size:40px}
}

@media(max-width:520px){
  .container{width:calc(100% - 22px)}
  .commercial-topbar .brand-logo{width:126px}
  .commercial-mobile-cta{padding:7px 10px;font-size:12px}
  .hero-commercial{padding-top:92px}
  .hero-commercial h1{font-size:41px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .hero-actions .btn{width:100%}
  .hero-proof{grid-template-columns:1fr 1fr}
  .brand-strip-inner{min-height:58px;font-size:12px;gap:12px}
  .commercial-section{padding:54px 0}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid>div:first-child{grid-column:auto}
  .phone-stage{min-height:445px;transform:scale(.92);transform-origin:center top;margin-bottom:-28px}

  .app-header{padding:8px 10px}
  .app-context{grid-template-columns:minmax(0,1fr) 118px}
  .app-context>b{font-size:13px}
  .branch-select{font-size:11px}
  .app-content{padding:14px 10px 94px}
  .page-head h1{font-size:25px}
  .stats{gap:7px}
  .stat{padding:12px 10px}
  .stat b{font-size:20px}
  .card{padding:12px}
  .module-grid{grid-template-columns:1fr}
  .table{min-width:560px}
  .slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .comparison{grid-template-columns:1fr}
  .inline-field{grid-template-columns:1fr}
  .slug-suffix{order:0;justify-content:center;min-height:40px}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
.platform-mobile-tabs{display:none}
@media(max-width:900px){
  .platform-mobile-tabs{display:flex;gap:6px;padding:10px 14px 0;background:#FDF8F5;position:sticky;top:66px;z-index:10;border-bottom:1px solid #E9D9FF}
  .platform-mobile-tabs a{flex:1;text-align:center;padding:10px 8px;border-radius:12px 12px 0 0;color:#665873;font-size:13px;font-weight:800}
  .platform-mobile-tabs a.active{background:#E9D9FF;color:#6C3AED}
  .platform-layout .app-content{padding-top:14px}
}

/* =========================================================
   HORIZA V1.6 — ASSINATURAS E PRECIFICAÇÃO
   ========================================================= */
.pricing-section{background:linear-gradient(180deg,#fff 0%,#FDF8F5 100%)}
.pricing-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:30px}
.pricing-card{position:relative;background:#fff;border:1px solid #E9D9FF;border-radius:22px;padding:20px;box-shadow:0 8px 30px rgba(46,31,59,.05);min-width:0}
.pricing-card.recommended{border:2px solid #6C3AED;background:linear-gradient(180deg,#fff,#FAF7FF);box-shadow:0 18px 48px rgba(108,58,237,.14)}
.pricing-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:28px}.pricing-name{font-weight:900;color:#2E1F3B}.pricing-badge{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:#FFF0E6;color:#B84A00;padding:5px 7px;border-radius:999px}
.pricing-price{display:flex;align-items:baseline;gap:5px;margin:16px 0 7px}.pricing-price b{font-size:30px;letter-spacing:-.05em;color:#6C3AED}.pricing-price span{font-size:12px;color:#665873;font-weight:700}.pricing-card p{margin:0;color:#665873;font-size:13px;line-height:1.45}.pricing-current{margin-top:14px;background:#E9D9FF;color:#5A2EC8;border-radius:10px;padding:7px 9px;font-size:11px;font-weight:900;text-align:center}
.pricing-includes,.subscription-features{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 16px;margin-top:22px;color:#4E4058;font-size:13px;font-weight:700}.pricing-includes span,.subscription-features span{display:inline-flex;align-items:center;gap:5px}.pricing-includes span::first-letter,.subscription-features span::first-letter{color:#6C3AED}
.pricing-cta{margin-top:22px;padding:18px 20px;border:1px solid #E9D9FF;background:#fff;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:18px}.pricing-cta b,.pricing-cta span{display:block}.pricing-cta b{font-size:18px}.pricing-cta span{color:#665873;font-size:14px;margin-top:3px}
.subscription-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(135deg,#2E1F3B,#6C3AED);color:#fff;border:0;margin-bottom:14px}.subscription-hero h2{font-size:30px;margin:7px 0 8px}.subscription-hero p{color:rgba(255,255,255,.86);max-width:760px;margin:0;line-height:1.55}.subscription-hero .kicker{color:#fff;background:rgba(255,255,255,.12)}
.subscription-status{flex:0 0 220px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.2);padding:15px;border-radius:16px}.subscription-status span,.subscription-status small{display:block;color:rgba(255,255,255,.75);font-size:12px}.subscription-status b{display:block;font-size:20px;margin:4px 0 6px}.subscription-stats{margin-bottom:14px}.pricing-grid-app{margin-top:10px}.subscription-bottom{margin-top:14px}.platform-subscription-card{border-color:#D7C3FF}.platform-subscription-form .actions{align-items:end}
.account-banner.warning{background:#FFF7ED;color:#9A3412;border-color:#FED7AA}.account-banner.warning a{text-decoration:underline;font-weight:900}

@media(max-width:1100px){.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){
  .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pricing-card{padding:16px}.pricing-price b{font-size:25px}.pricing-includes,.subscription-features{justify-content:flex-start}.pricing-cta{align-items:flex-start;flex-direction:column}.subscription-hero{align-items:flex-start;flex-direction:column}.subscription-status{flex:0 0 auto;width:100%}.subscription-hero h2{font-size:25px}
}
@media(max-width:520px){.pricing-grid{grid-template-columns:1fr}.pricing-card{padding:15px}.pricing-price{margin:11px 0 5px}.pricing-includes,.subscription-features{display:grid;grid-template-columns:1fr;gap:8px}.subscription-stats{grid-template-columns:1fr 1fr}}
