/* Minha Vez — portal, configurações e catálogo */
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
.brand-icon { letter-spacing: 0; padding-right: 0; line-height: 38px; }
.sidebar { overflow-y: auto; }
.company-management { display: grid; gap: 20px; margin-top: 24px; }
.member-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.member-row small { display: block; color: var(--muted); margin-bottom: 10px; }
.management-details { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.management-details summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }
.management-details .stack { max-width: 520px; }
.danger-button { background: #973c38; }
.invoice-document { margin-top: 24px; }
.invoice-parties { display: flex; justify-content: space-between; gap: 28px; margin: 32px 0; flex-wrap: wrap; }
.invoice-total { font-size: 24px; font-weight: 700; text-align: right; margin-top: 24px; }
@media print {
  @page { margin: 18mm; }
  body { background: white; color: #111; }
  .sidebar, .topbar, .page-heading, .no-print, .alert, .public-footer { display: none !important; }
  .main-content { width: 100%; margin: 0; padding: 0; }
  .invoice-document { border: 0; box-shadow: none; padding: 0; margin: 0; }
  .invoice-document table { min-width: 0; width: 100%; }
  .invoice-document tr { break-inside: avoid; }
}
.sidebar nav { margin-top: 18px; }
.sidebar nav a { margin-bottom: 3px; }
.sidebar-bottom { padding-top: 20px; }
.nav-label { color: #98a096; font-size: 9px; letter-spacing: 1.5px; margin: 20px 12px 8px; }
.announcement { background: #e6efda; color: #385231; text-align: center; padding: 10px 20px; font-size: 12px; }
textarea { width: 100%; resize: vertical; min-height: 90px; border: 1px solid #dce3d7; background: #fbfcfa; border-radius: 9px; padding: 13px; color: var(--ink); font: 13px/1.65 'Segoe UI', sans-serif; }
textarea:focus-visible { outline: 3px solid #81b64e; outline-offset: 2px; }
.settings-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.settings-layout > input[type=hidden], .appearance-form > input[type=hidden] { display: none; }
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-heading h2 { margin: 0 0 5px; font-size: 18px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.settings-icon { background: #edf3e5; color: #527144; border-radius: 12px; font-size: 20px; width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; }
.switch-field { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch-field input { flex-shrink: 0; accent-color: var(--green); width: 18px; height: 18px; margin: 3px 0 0; }
.switch-field strong { display: block; color: var(--ink); font-size: 12px; }
.switch-field small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; margin-top: 4px; }
.settings-note { margin: 24px 0; padding: 18px; background: #f4f6f0; border-radius: 12px; }
.settings-note strong { font-size: 12px; }
.settings-note p { margin: 8px 0; overflow-wrap: anywhere; }
.settings-note small { color: var(--muted); }
.admin-intro { display: flex; gap: 16px; align-items: center; margin-bottom: 25px; }
.admin-intro p { margin: 0; color: var(--muted); font-size: 12px; }
.full-width { width: 100%; }
.inline-form { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.inline-form label { flex: 1; min-width: 170px; }
.admin-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-plans .stack { margin: 0; gap: 12px; }
.admin-plans .switch-field { padding: 10px 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.narrow-card { max-width: 540px; }
.code-editor { min-height: 325px; background: #142c25; color: #dbefc1; border-color: #234638; font: 12px/1.85 Consolas, monospace; tab-size: 2; padding: 20px; }
.code-editor:disabled { background: #edf0e8; color: #899380; opacity: .65; }
.editor-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 22px; }
.editor-options { display: flex; gap: 30px; flex-wrap: wrap; }
.editor-options .switch-field { border: 0; }
.appearance-form + .preview-card { margin-top: 24px; }
.custom-frame { display: block; width: 100%; height: 530px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.published-frame { margin: 30px 0; min-height: 620px; }
.preview-card { margin-bottom: 20px; }
.wrap-text { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.subscription-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.subscription-summary h2 { margin-bottom: 7px; font-size: 27px; }
.subscription-summary p { margin-bottom: 0; }
.subscription-summary .eyebrow { margin-bottom: 10px; }
.landing-body { background: #f8f9f5; }
.landing-body .public-header { position: sticky; top: 0; z-index: 20; background: #f8f9f5f2; backdrop-filter: blur(16px); max-width: none; padding: 20px max(36px, calc((100vw - 1200px)/2)); border-bottom: 1px solid #e8ecdf; }
.landing-body .public-main { max-width: 1280px; padding: 0 40px; }
.landing-body .header-links { font-size: 12px; gap: 26px; }
.landing-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px; padding: 78px 0 66px; }
.hero-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; background: #eaf0df; border: 1px solid #e0e7d3; border-radius: 100px; color: #55713f; font-size: 10px; letter-spacing: .1px; }
.hero-pill > span:last-child { margin-left: 9px; font-size: 15px; }
.hero-copy h1 { font-size: clamp(40px, 4.8vw, 67px); line-height: 1.07; letter-spacing: -3.3px; margin: 27px 0 22px; color: #164535; max-width: 580px; }
.hero-copy > p { font-size: 16px; line-height: 1.8; color: #7b877c; max-width: 450px; }
.hero-copy .hero-actions { gap: 10px; }
.hero-copy .button { font-size: 12px; padding: 14px 18px; }
.hero-copy .hero-foot { font-size: 10px; gap: 20px; }
.product-scene { position: relative; min-height: 490px; background: #e9efdb; border-radius: 28px; overflow: hidden; isolation: isolate; }
.scene-orbit { position: absolute; width: 500px; height: 500px; border: 1px solid #c8d4ad; border-radius: 50%; z-index: -1; }
.orbit-a { left: 90px; top: 80px; }
.orbit-b { right: 70px; bottom: 100px; }
.scene-caption { position: absolute; top: 28px; left: 28px; font-size: 8px; letter-spacing: 2px; color: #778965; }
.scene-dashboard { background: white; width: 340px; border: 1px solid #e1e8d7; border-radius: 14px; padding: 22px; position: absolute; left: 34px; top: 82px; transform: rotate(-5deg); box-shadow: 0 20px 40px #34542b12; }
.scene-window { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.mini-brand { font-size: 14px; font-weight: 750; letter-spacing: -.5px; }
.mini-brand b { color: #a0be6b; }
.scene-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 20px; }
.scene-stats div { padding: 10px; border-radius: 8px; background: #f5f7f0; }
.scene-stats small { font-size: 8px; color: #87947b; white-space: nowrap; }
.scene-stats strong { display: block; font-size: 25px; font-weight: 650; letter-spacing: -1px; }
.scene-stats em { font-size: 9px; margin-left: 4px; color: #88947e; letter-spacing: 0; }
.scene-label { font-size: 8px; color: #829474; letter-spacing: 1.4px; margin: 20px 0 8px; }
.scene-call { background: #164e40; color: white; border-radius: 10px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
.scene-call strong { display: block; font-size: 38px; letter-spacing: -2px; line-height: 1.2; color: #d7f5a5; }
.scene-call div > span { font-size: 7px; letter-spacing: 1px; color: #b2caae; }
.scene-arrow { font-size: 32px; color: #d7f5a5; }
.scene-person { font-size: 9px; padding-top: 14px; color: #798773; }
.scene-person small { float: right; font-size: 8px; }
.scene-phone { position: absolute; right: 25px; bottom: 57px; width: 168px; background: white; border: 5px solid #2d4533; border-radius: 24px; padding: 29px 12px 22px; box-shadow: 0 20px 25px #2d453323; text-align: center; transform: rotate(7deg); animation: phone-float 6s ease-in-out infinite; }
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); height: 7px; width: 47px; border-radius: 5px; background: #2d4533; }
.scene-phone .eyebrow { font-size: 7px; letter-spacing: 1.5px; }
.scene-phone > strong { display: block; font-size: 32px; letter-spacing: -2px; line-height: 1.5; }
.scene-phone > p { font-size: 8px; color: #7f8b78; }
.phone-status { padding: 10px 4px; margin: 15px 0 10px; border-radius: 7px; background: #edf5df; color: #658348; font-size: 8px; }
.phone-status .live-dot { width: 5px; height: 5px; }
.scene-phone > small { color: #9aa390; font-size: 7px; }
.scene-notice { display: flex; align-items: center; gap: 12px; position: absolute; left: 27px; bottom: 39px; padding: 12px 17px; border: 1px solid #d8e6bf; border-radius: 11px; background: #f4f9e9; transform: rotate(-3deg); box-shadow: 0 10px 18px #47612b0b; }
.scene-notice > span { border-radius: 50%; background: #dcecbf; color: #799856; width: 26px; height: 26px; display: grid; place-items: center; }
.scene-notice strong { display: block; font-size: 10px; }
.scene-notice small { font-size: 7px; color: #889578; }
.illustration-label { position: absolute; bottom: 12px; right: 20px; font-size: 8px; color: #889977; }
.use-cases { border-top: 1px solid #e3e9da; border-bottom: 1px solid #e3e9da; padding: 27px 0; display: flex; align-items: center; gap: 38px; }
.use-cases > span { font-size: 8px; letter-spacing: 1.8px; color: #8c9981; max-width: 180px; }
.use-cases > div { flex: 1; display: flex; justify-content: space-around; gap: 25px; color: #72806a; font-size: 17px; font-weight: 600; }
.landing-section { padding: 80px 0 10px; }
.section-title { margin-bottom: 38px; }
.section-title h2 { font-size: clamp(30px, 3.4vw, 43px); line-height: 1.12; letter-spacing: -1.8px; margin-bottom: 18px; }
.section-title > p:not(.eyebrow) { max-width: 480px; color: #87917d; font-size: 13px; line-height: 1.8; }
.section-title.centered { text-align: center; }
.section-title.centered > p { margin-left: auto; margin-right: auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.step-number { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #eaf0df; border: 1px solid #dee7d0; color: #8ba367; font-size: 12px; margin-bottom: 22px; }
.steps-grid h3 { font-size: 20px; letter-spacing: -.5px; }
.steps-grid p { color: #839078; font-size: 13px; line-height: 1.8; }
.step-caption { font-size: 8px; letter-spacing: 1.3px; color: #799064; }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { background: #eff3e8; border: 1px solid #e4eada; border-radius: 18px; padding: 28px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px #293f230b; }
.resource-card.wide { grid-column: span 2; display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 30px; }
.resource-card.wide .resource-icon, .resource-card.wide h3, .resource-card.wide p { grid-column: 1; }
.resource-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.7px; margin: 18px 0 14px; }
.resource-card p { color: #7d8d70; font-size: 12px; line-height: 1.8; }
.resource-icon { color: #76945b; font-size: 24px; }
.resource-card.dark { background: #164e40; border-color: #164e40; color: #eff8e0; }
.resource-card.dark p { color: #aec5a8; }
.resource-card.dark .resource-icon { color: #cce8a5; }
.mini-queues { grid-column: 2; grid-row: 1 / 4; display: flex; flex-direction: column; justify-content: center; gap: 10px; transform: rotate(-4deg); }
.mini-queues > span { display: flex; align-items: center; gap: 10px; padding: 14px; background: white; border-radius: 9px; font-size: 10px; white-space: nowrap; }
.mini-queues b { background: #f0f5e6; color: #739457; padding: 4px 8px; border-radius: 5px; }
.mini-queues i { font-style: normal; color: #8ba376; margin-left: auto; font-size: 8px; }
.team-avatars { display: flex; margin: 25px 0 0 6px; }
.team-avatars span { margin-left: -6px; width: 35px; height: 35px; border: 3px solid #164e40; background: #e4ecc9; color: #537641; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.resource-card a { font-size: 11px; font-weight: 600; }
.domain-demo { display: inline-block; background: white; border: 1px solid #e0e6d5; padding: 7px 10px; border-radius: 6px; font: 10px Consolas, monospace; color: #709054; max-width: 100%; overflow-wrap: anywhere; }
.resource-tag { font-size: 9px; color: #789267; border: 1px solid #dbe4ce; padding: 6px 10px; border-radius: 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-card { background: white; border: 1px solid #e0e7d8; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.pricing-card.featured { background: #164e40; color: #fff; border-color: #164e40; }
.plan-label { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.plan-label > span { font-size: 20px; letter-spacing: -.5px; font-weight: 600; }
.plan-label small { font-size: 6px; letter-spacing: .9px; color: #d7f5a5; border: 1px solid #638366; padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.pricing-card > p { font-size: 11px; color: #829076; min-height: 38px; }
.pricing-card .plan-price { font-size: 38px; line-height: 1.3; letter-spacing: -1.7px; }
.price-period { font-size: 9px; color: #92a084; }
.plan-divider { border-top: 1px solid #e4eadc; margin: 22px 0; }
.feature-list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.feature-list li { font-size: 11px; padding: 6px 0; color: #648150; }
.feature-list .unavailable { color: #aab3a1; }
.pricing-card .button { font-size: 12px; padding: 11px 15px; }
.pricing-card.featured .plan-price { color: #e0f4b7; }
.pricing-card.featured .plan-divider { border-color: #3b6a54; }
.pricing-card.featured > p, .pricing-card.featured .price-period, .pricing-card.featured .feature-list li { color: #bcd4ae; }
.pricing-card.featured .button { background: #d7f5a5; color: #244936; }
.pricing-card.featured .button:hover { background: #c4e58c; }
.pricing-note { text-align: center; color: #8f9c84; font-size: 10px; margin: 22px auto; max-width: 750px; }
.confidence-strip { display: flex; align-items: center; gap: 35px; padding: 30px 0; border-top: 1px solid #e2e8d9; border-bottom: 1px solid #e2e8d9; margin-top: 68px; }
.confidence-strip > div { min-width: 250px; }
.confidence-strip > div > span { font-size: 25px; color: #90a674; }
.confidence-strip h3 { font-size: 16px; margin: 6px 0 0; }
.confidence-strip p { color: #829077; font-size: 12px; margin: 0; line-height: 1.8; max-width: 500px; }
.confidence-strip > a { font-size: 11px; white-space: nowrap; margin-left: auto; }
.faq-section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; padding-bottom: 60px; }
.faq-list details { border-bottom: 1px solid #e1e8d7; padding: 19px 0; }
.faq-list details:first-child { border-top: 1px solid #e1e8d7; }
.faq-list summary { font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-list summary::after { content: '+'; color: #8c9f74; font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 16px 25px 0 0; color: #839076; font-size: 12px; line-height: 1.9; }
.closing-cta { text-align: center; padding: 64px 30px; background: #eaf0df; border: 1px solid #e1e8d6; border-radius: 24px; }
.closing-cta h2 { font-size: clamp(29px, 3.5vw, 43px); line-height: 1.15; letter-spacing: -1.6px; margin-bottom: 27px; }
.closing-cta .button { font-size: 12px; }
.closing-cta > small { display: block; color: #8d9b7d; font-size: 9px; margin-top: 14px; }
.tenant-welcome { text-align: center; max-width: 830px; margin: 70px auto; }
.tenant-welcome h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -2.5px; }
.tenant-welcome h1 em { color: #829f60; }
.tenant-welcome > p:not(.eyebrow) { font-size: 16px; color: var(--muted); max-width: 590px; margin: 25px auto; }
.tenant-welcome .hero-actions, .tenant-welcome .hero-foot { justify-content: center; }
.maintenance-page { padding: 100px 20px; }
.public-footer > div { text-align: right; }
.public-footer > div > a { font-size: 11px; display: block; }
.reveal { animation: reveal-in .6s ease both; }
.steps-grid > :nth-child(2), .pricing-grid > :nth-child(2) { animation-delay: .1s; }
.steps-grid > :nth-child(3), .pricing-grid > :nth-child(3) { animation-delay: .2s; }
.reveal-ready { opacity: 0; transform: translateY(18px); animation: none; transition: opacity .6s ease, transform .6s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes phone-float { 0%,100% { transform: translateY(0) rotate(7deg); } 50% { transform: translateY(-8px) rotate(5deg); } }
@media (max-width: 1100px) {
  .landing-hero { gap: 25px; }
  .hero-copy h1 { font-size: 48px; letter-spacing: -2.5px; }
  .scene-dashboard { left: 18px; width: 290px; padding: 18px; }
  .scene-phone { right: 12px; width: 150px; }
  .scene-notice { left: 14px; padding: 10px; }
  .admin-plans { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .pricing-grid { gap: 12px; }
  .pricing-card { padding: 20px; }
  .plan-label { flex-wrap: wrap; }
  .resource-card.wide { display: block; }
  .mini-queues { margin-top: 24px; transform: none; }
  .confidence-strip { gap: 20px; }
}
@media (max-width: 760px) {
  .landing-body .public-header { padding: 17px 20px; }
  .landing-body .public-main { padding: 0 20px; }
  .landing-body .header-links > a:not(.button) { display: none; }
  .landing-hero { grid-template-columns: 1fr; padding: 36px 0; gap: 35px; }
  .hero-copy h1 { font-size: clamp(39px, 9vw, 54px); max-width: 570px; }
  .hero-copy > p { font-size: 14px; }
  .hero-pill { font-size: 9px; }
  .hero-copy .hero-actions { flex-wrap: wrap; }
  .hero-copy .hero-foot { gap: 10px; flex-wrap: wrap; }
  .product-scene { min-height: 435px; max-width: 550px; width: 100%; margin: auto; }
  .scene-dashboard { width: 72%; max-width: 340px; top: 66px; }
  .scene-phone { bottom: 45px; }
  .scene-notice { bottom: 25px; }
  .use-cases { display: block; padding: 22px 0; }
  .use-cases > span { display: block; max-width: none; margin-bottom: 18px; }
  .use-cases > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 30px; font-size: 15px; }
  .landing-section { padding-top: 50px; }
  .steps-grid, .resources-grid, .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid { gap: 30px; }
  .step-number { margin-bottom: 15px; }
  .resource-card.wide { grid-column: auto; }
  .resource-card { padding: 25px; }
  .pricing-card { padding: 27px; }
  .pricing-card > p { min-height: 0; }
  .plan-label { flex-wrap: nowrap; }
  .confidence-strip { display: block; margin-top: 40px; }
  .confidence-strip p { margin: 15px 0; }
  .faq-section { grid-template-columns: 1fr; gap: 0; padding-bottom: 35px; }
  .closing-cta { padding: 40px 20px; }
  .public-footer > div { text-align: left; margin-top: 15px; }
  .admin-intro { display: block; }
  .admin-intro p { margin-top: 12px; }
  .subscription-summary { display: block; }
  .subscription-summary .button { margin-top: 15px; }
  .sidebar nav .nav-label { display: none; }
  .sidebar nav a { flex-shrink: 0; }
  .sidebar nav { padding-bottom: 4px; }
  .editor-actions .button { flex: 1; font-size: 11px; padding: 11px; }
  .code-editor { min-height: 220px; }
  .custom-frame { height: 440px; }
  .tenant-welcome { margin: 45px auto; }
  .tenant-welcome .hero-foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

.sidebar { overflow-y: auto; }
