:root {
  color-scheme: dark;
  --primary-color: #087f5b;
  --secondary-color: #25c77a;
  --accent-gold: #ffcd3c;
  --bg: #030605;
  --surface: #101512;
  --surface-2: #171c19;
  --surface-3: #202622;
  --border: rgba(234, 243, 238, .13);
  --text: #fbfcfb;
  --muted: #a3ada8;
  --danger: #ff7186;
  --warning: #ffd166;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--secondary-color) 72%, white); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
.sr-only, .form-note + label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); color: #04100c; font-weight: 950; box-shadow: 0 8px 28px color-mix(in srgb, var(--primary-color) 30%, transparent); }
.brand-logo { flex: 0 0 42px; overflow: hidden; border: 1px solid rgba(87, 225, 148, .32); background-color: #080c0a; background-image: url("../images/soliacorde/logoSA2.94b3bebad231.png"); background-repeat: no-repeat; background-position: 50% 36%; background-size: 205%; box-shadow: 0 9px 30px rgba(32, 201, 112, .2), inset 0 0 12px rgba(99, 244, 164, .08); }
.eyebrow { display: inline-block; margin-bottom: 13px; color: var(--secondary-color); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); color: #03120c; font-weight: 800; cursor: pointer; box-shadow: 0 12px 28px color-mix(in srgb, var(--primary-color) 22%, transparent); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px color-mix(in srgb, var(--primary-color) 30%, transparent); }
.button-ghost { border-color: var(--border); background: rgba(255,255,255,.025); color: var(--text); box-shadow: none; }
.button-small { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.button-full { width: 100%; }
.button-danger { background: var(--danger); color: #250309; box-shadow: none; }
.text-link { color: var(--accent-gold); font-weight: 750; }

/* Public site */
.public-page { overflow-x: hidden; background: radial-gradient(circle at 82% 7%, rgba(8, 127, 91, .2), transparent 30%), radial-gradient(circle at 8% 27%, rgba(255, 205, 60, .055), transparent 23%), var(--bg); }
.public-page .eyebrow { color: var(--accent-gold); }
.public-header { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; width: min(1180px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; background: rgba(3, 6, 5, .88); backdrop-filter: blur(18px); }
.public-header::before { content: ""; position: fixed; z-index: -1; inset: 0 50%; width: 100vw; transform: translateX(-50%); height: 76px; background: rgba(3,6,5,.88); border-bottom: 1px solid rgba(255,255,255,.06); }
.public-header nav { display: flex; align-items: center; gap: 28px; color: #c8d8d1; font-size: .91rem; font-weight: 650; }
.public-header nav a:hover { color: var(--text); }
.hero { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; min-height: calc(100vh - 76px); width: min(1180px, calc(100% - 40px)); margin: auto; padding: 76px 0 94px; }
.hero h1 { max-width: 670px; margin-bottom: 25px; font-size: clamp(3.2rem, 7vw, 6.2rem); font-weight: 900; letter-spacing: -.07em; }
.hero h1 span { padding-right: .06em; color: transparent; background: linear-gradient(110deg, var(--accent-gold), #ffe58b); -webkit-background-clip: text; background-clip: text; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-copy > p { max-width: 610px; margin-bottom: 32px; color: #b1c2bb; font-size: clamp(1.02rem, 2vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 31px; color: #849c92; font-size: .82rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 510px; isolation: isolate; }
.hero-visual::after { content: ""; position: absolute; z-index: -1; bottom: 5%; left: 51%; width: min(330px, 68%); height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .52); filter: blur(24px); transform: translateX(-50%); }
.visual-glow { position: absolute; z-index: -2; width: min(470px, 100%); height: auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(37, 199, 122, .2), rgba(8, 127, 91, .06) 48%, transparent 72%); filter: blur(62px); animation: hero-glow-breathe 7s ease-in-out infinite; }
.hero-reference { --hero-shift: 8%; position: relative; z-index: 1; display: block; width: min(560px, 118%); max-width: none; height: auto; filter: drop-shadow(0 38px 42px rgba(0, 0, 0, .5)) drop-shadow(0 0 24px rgba(37, 199, 122, .08)); transform: translate3d(var(--hero-shift), -4px, 0); transform-origin: 50% 55%; animation: hero-phone-float 6.5s ease-in-out infinite; -webkit-mask-image: linear-gradient(to right, #000 0 96%, transparent 100%); mask-image: linear-gradient(to right, #000 0 96%, transparent 100%); will-change: transform; }
@keyframes hero-phone-float {
  0%, 100% { transform: translate3d(var(--hero-shift), -4px, 0) rotate(.15deg); }
  50% { transform: translate3d(var(--hero-shift), -18px, 0) rotate(-.2deg); }
}
@keyframes hero-glow-breathe {
  0%, 100% { opacity: .7; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
.app-preview { position: relative; width: min(450px, 100%); padding: 15px; border: 1px solid rgba(155, 255, 211, .22); border-radius: 28px; background: linear-gradient(145deg, rgba(25, 49, 40, .94), rgba(8, 19, 15, .94)); box-shadow: 0 45px 100px rgba(0,0,0,.52); transform: perspective(1000px) rotateY(-7deg) rotateX(3deg); }
.preview-top { display: flex; gap: 6px; padding: 3px 2px 14px; }.preview-top span { width: 7px; height: 7px; border-radius: 50%; background: #4d665c; }
.preview-content { padding: 22px; border-radius: 18px; background: #091711; }
.preview-greeting { display: flex; flex-direction: column; gap: 5px; margin-bottom: 25px; }.preview-greeting small, .event-card small { color: var(--muted); }.preview-greeting strong { font-size: 1.45rem; }
.event-card { display: flex; align-items: center; gap: 16px; padding: 17px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--primary-color) 16%, transparent), rgba(255,255,255,.025)); }.event-card > div { display: flex; flex-direction: column; gap: 4px; }
.event-date { display: grid; place-items: center; width: 52px; min-width: 52px; height: 56px; border-radius: 12px; background: var(--primary-color); color: white; font-size: .68rem; }.event-date b { font-size: 1.2rem; }
.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 15px 0; }.mini-grid span { display: flex; flex-direction: column; padding: 13px; border-radius: 12px; background: #12241d; color: var(--muted); font-size: .65rem; }.mini-grid b { color: var(--text); font-size: 1.2rem; }
.preview-list { display: grid; gap: 9px; }.preview-list i { display: block; height: 43px; border-radius: 10px; background: linear-gradient(90deg, #14271f 0 17%, #0f2019 17%); }
.section { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 105px 0; }
.section-heading { max-width: 680px; margin: 0 auto 46px; text-align: center; }.section-heading h2, .contact-copy h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.35rem); }.section-heading p, .contact-copy p { color: var(--muted); font-size: 1.03rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }.feature-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.038), rgba(255,255,255,.012)); }.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 25px; border-radius: 13px; background: color-mix(in srgb, var(--primary-color) 17%, transparent); color: var(--secondary-color); font-size: 1.3rem; }.feature-card h3 { margin-bottom: 10px; }.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.showcase-section { width: min(1280px, calc(100% - 40px)); padding-top: 70px; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.showcase-card { overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 24px; background: #0b0e0c; box-shadow: 0 24px 70px rgba(0,0,0,.26); transition: transform .2s ease, border-color .2s ease; }
.showcase-card:hover { transform: translateY(-5px); border-color: rgba(255, 205, 60, .38); }
.showcase-card img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #020302; }
.showcase-card figcaption { display: grid; gap: 4px; padding: 18px 20px 20px; border-top: 1px solid var(--border); }
.showcase-card figcaption strong { font-size: 1rem; }
.showcase-card figcaption span { color: var(--muted); font-size: .82rem; }
.plans-section { width: min(1260px, calc(100% - 40px)); }.plans-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; align-items: stretch; }.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 27px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }.plan-card.featured { border-color: color-mix(in srgb, var(--secondary-color) 52%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--primary-color) 13%, var(--surface)), var(--surface)); box-shadow: 0 24px 65px color-mix(in srgb, var(--primary-color) 13%, transparent); }.plan-badge { position: absolute; top: -13px; right: 22px; padding: 6px 11px; border-radius: 99px; background: var(--secondary-color); color: #02100a; font-size: .68rem; font-weight: 850; text-transform: uppercase; }.plan-card h3 { margin-bottom: 22px; font-size: 1.2rem; }.plan-price { font-size: 1.65rem; }.plan-period { min-height: 42px; color: var(--muted); font-size: .8rem; }.plan-card ul { flex: 1; display: grid; gap: 12px; margin: 26px 0 28px; padding: 0; list-style: none; color: #c5d5ce; font-size: .88rem; }.plan-card li::before { content: "✓"; margin-right: 9px; color: var(--secondary-color); font-weight: 900; }
.public-page .plan-card.featured { border-color: rgba(255, 205, 60, .48); box-shadow: 0 24px 65px rgba(255, 205, 60, .08); }
.public-page .plan-badge { background: var(--accent-gold); color: #171000; }
.contact-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; width: min(1060px, calc(100% - 40px)); margin: 70px auto 110px; padding: 65px; border: 1px solid var(--border); border-radius: 30px; background: radial-gradient(circle at 0 100%, color-mix(in srgb, var(--primary-color) 16%, transparent), transparent 38%), var(--surface); }
.lead-form, .login-card form { display: grid; gap: 17px; }.field { display: grid; gap: 7px; }.field label { color: #d8e5df; font-size: .82rem; font-weight: 700; }.field input, .field select, .field textarea, .search-bar input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 11px; background: #08140f; color: var(--text); }.field textarea { resize: vertical; }.field input[type=color] { padding: 5px; min-height: 52px; }.field input:focus, .field select:focus, .field textarea:focus, .search-bar input:focus { border-color: var(--secondary-color); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color) 15%, transparent); }.field-error input, .field-error select, .field-error textarea { border-color: var(--danger); }.error-text { color: #ff9bab; }.form-note { color: #72887e; text-align: center; font-size: .73rem; }.form-alert { padding: 13px 15px; border: 1px solid rgba(255,113,134,.4); border-radius: 11px; background: rgba(255,113,134,.09); color: #ffc2cb; font-size: .86rem; }.form-alert ul, .errorlist { margin: 0; padding-left: 18px; }.form-alert.warning { border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.08); color: #ffe4a7; }
.public-footer { display: flex; justify-content: space-between; width: min(1180px, calc(100% - 40px)); margin: auto; padding: 30px 0 45px; border-top: 1px solid var(--border); color: #789086; font-size: .82rem; }.public-footer a:hover { color: var(--text); }
.toast-stack { position: fixed; z-index: 90; top: 88px; right: 20px; display: grid; gap: 10px; width: min(430px, calc(100% - 40px)); }.toast { padding: 14px 17px; border: 1px solid var(--border); border-radius: 12px; background: #173229; box-shadow: var(--shadow); color: #dcf6eb; }.toast.warning, .toast.error { background: #382d13; color: #ffe4a7; }

/* Login */
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 32px 20px; background: radial-gradient(circle at 50% 0, rgba(0,168,107,.2), transparent 35%), var(--bg); }.login-shell { display: grid; justify-items: center; width: min(450px, 100%); gap: 24px; }.login-card { width: 100%; padding: 38px; border: 1px solid var(--border); border-radius: 24px; background: rgba(13,26,22,.92); box-shadow: var(--shadow); }.login-card h1 { margin-bottom: 9px; font-size: 2rem; }.login-card > p { margin-bottom: 27px; color: var(--muted); }.back-link { color: var(--muted); font-size: .87rem; }

/* Dashboard */
.dashboard-page { --sidebar-width: 264px; min-height: 100vh; background: #08120f; }.sidebar { position: fixed; z-index: 60; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 23px 17px; border-right: 1px solid var(--border); background: #0a1612; }.sidebar-head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 25px; }.close-menu { display: none; }.tenant-card { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--primary-color) 8%, transparent); }.tenant-card > span, .tenant-card img { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: var(--primary-color); object-fit: cover; font-weight: 900; }.tenant-card div { min-width: 0; display: grid; }.tenant-card small, .user-chip small, .topbar small { color: var(--muted); font-size: .7rem; }.tenant-card strong, .user-chip strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; }
.side-nav { display: grid; gap: 5px; margin-top: 28px; }.side-nav a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 13px; border-radius: 11px; color: #9eb2aa; font-size: .88rem; font-weight: 650; }.side-nav a span { width: 21px; color: #6d887c; text-align: center; font-size: 1.08rem; }.side-nav a:hover { background: rgba(255,255,255,.035); color: var(--text); }.side-nav a.active { background: color-mix(in srgb, var(--primary-color) 16%, transparent); color: white; }.side-nav a.active span { color: var(--secondary-color); }
.sidebar-foot { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); }.user-chip { display: flex; min-width: 0; align-items: center; gap: 9px; }.user-chip > span { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); font-weight: 800; }.user-chip > div { min-width: 0; display: grid; }.logout-button { min-height: 36px; padding: 0 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }.logout-button:hover { color: var(--danger); }
.dashboard-shell { min-height: 100vh; margin-left: var(--sidebar-width); }.topbar { position: sticky; z-index: 40; top: 0; display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 0 clamp(20px, 4vw, 52px); border-bottom: 1px solid var(--border); background: rgba(8,18,15,.88); backdrop-filter: blur(17px); }.topbar > div { display: grid; margin-right: auto; }.topbar strong { font-size: .96rem; }.menu-button { display: none; }.icon-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }.dashboard-content { width: min(1220px, 100%); margin: auto; padding: 46px clamp(20px, 4vw, 52px) 70px; }.dashboard-toasts { top: 88px; }
.welcome, .page-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }.welcome h1, .page-heading h1 { margin-bottom: 9px; font-size: clamp(2rem, 4vw, 3rem); }.welcome p, .page-heading p { margin: 0; color: var(--muted); }.date-pill { padding: 9px 13px; border: 1px solid var(--border); border-radius: 99px; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }.stat-grid article { display: flex; align-items: center; gap: 15px; min-height: 115px; padding: 20px; border: 1px solid var(--border); border-radius: 17px; background: var(--surface); }.stat-grid article > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--primary-color) 14%, transparent); color: var(--secondary-color); font-size: 1.2rem; }.stat-grid article div { display: grid; }.stat-grid small { color: var(--muted); }.stat-grid strong { font-size: 1.8rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }.panel, .table-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }.panel { padding: 25px; }.panel-heading small { color: var(--secondary-color); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.panel-heading h2 { margin: 5px 0 23px; font-size: 1.25rem; }.event-large { display: flex; align-items: center; gap: 18px; padding: 21px; border-radius: 15px; background: color-mix(in srgb, var(--primary-color) 10%, #0b1713); }.calendar-box { display: grid; place-items: center; min-width: 65px; height: 68px; border-radius: 14px; background: var(--primary-color); }.calendar-box strong { font-size: 1.5rem; }.calendar-box span { font-size: .7rem; font-weight: 800; }.event-large h3 { margin: 0 0 6px; }.event-large p { margin: 0; color: var(--muted); font-size: .85rem; }
.quick-actions > a { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--border); }.quick-actions > a:first-of-type { border-top: 0; }.quick-actions > a > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-3); color: var(--secondary-color); }.quick-actions a div { display: grid; }.quick-actions a small { color: var(--muted); }.quick-actions a:hover strong { color: var(--secondary-color); }
.search-bar { display: flex; gap: 9px; max-width: 530px; margin-bottom: 18px; }.search-bar button { min-width: 90px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); color: var(--text); cursor: pointer; }.table-card { overflow: hidden; }table { width: 100%; border-collapse: collapse; }th, td { padding: 16px 19px; border-bottom: 1px solid var(--border); text-align: left; font-size: .87rem; }th { color: #80998e; background: #0b1813; font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }tbody tr:last-child td { border-bottom: 0; }tbody tr:hover { background: rgba(255,255,255,.018); }.person-cell { display: flex; align-items: center; gap: 11px; }.person-cell > span { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--primary-color) 17%, transparent); color: var(--secondary-color); font-weight: 800; }.person-cell div { display: grid; }.person-cell small { color: var(--muted); }.actions { text-align: right; white-space: nowrap; }.actions a { margin-left: 14px; color: var(--secondary-color); font-weight: 700; }.actions .danger-link { color: var(--danger); }.status, .tone { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.06); font-size: .72rem; font-weight: 750; }.status-ativo { background: rgba(44,210,137,.12); color: #75eab6; }.status-inativo { color: #b1bbb7; }.status-afastado { background: rgba(255,209,102,.1); color: #ffe09a; }.tone { min-width: 34px; justify-content: center; color: #e7d3ff; background: rgba(176,115,255,.11); }
.empty-state { display: grid; justify-items: center; padding: 42px 20px; color: var(--muted); text-align: center; }.empty-state > span { font-size: 1.8rem; color: var(--secondary-color); }.empty-state h3 { margin: 11px 0 6px; color: var(--text); }.empty-state p { margin: 0; }
.form-panel { max-width: 900px; }.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }.field-wide { grid-column: 1/-1; }.field small:not(.error-text) { color: var(--muted); }.form-actions { display: flex; justify-content: flex-end; gap: 11px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }.credential-card, .delete-card { max-width: 690px; margin: 35px auto; text-align: center; }.success-mark, .danger-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: rgba(44,210,137,.14); color: #67e6ad; font-size: 1.7rem; font-weight: 900; }.danger-mark { background: rgba(255,113,134,.13); color: var(--danger); }.credential-card > p, .delete-card > p { color: var(--muted); }.credential-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0; text-align: left; }.credential-box div { display: grid; gap: 5px; padding: 17px; border: 1px solid var(--border); border-radius: 12px; background: #08140f; }.credential-box small { color: var(--muted); }.credential-box strong { word-break: break-all; }.credential-card .button { margin-top: 23px; }.tenant-preview { display: grid; grid-template-columns: 36px 36px 1fr; align-items: center; gap: 9px; margin-bottom: 25px; padding: 15px; border-radius: 14px; background: #08140f; }.tenant-preview > div { height: 36px; border-radius: 9px; }.tenant-preview strong { grid-column: 3; }.tenant-preview small { grid-column: 3; color: var(--muted); }
.sidebar-overlay { display: none; }

@media (max-width: 1050px) {
  .feature-grid, .plans-grid, .showcase-grid { grid-template-columns: repeat(2,1fr); }
  .hero { gap: 35px; }.hero h1 { font-size: clamp(3rem, 7vw, 5rem); }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .public-header nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 75px; text-align: center; }.hero-copy > p { margin-inline: auto; }.hero-actions, .trust-row { justify-content: center; }.hero-visual { min-height: 530px; }.hero-reference { --hero-shift: 3%; width: min(500px, 104%); }.app-preview { transform: none; }
  .contact-section { grid-template-columns: 1fr; gap: 28px; padding: 38px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }.menu-open .sidebar { transform: none; }.sidebar-overlay { position: fixed; z-index: 50; inset: 0; background: rgba(0,0,0,.55); }.menu-open .sidebar-overlay { display: block; }.close-menu, .menu-button { display: inline-grid; place-items: center; }.dashboard-shell { margin-left: 0; }.dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .public-header { width: min(100% - 28px, 1180px); }.public-header .button { min-height: 40px; padding: 0 12px; }
  .hero, .section, .plans-section, .contact-section, .public-footer { width: calc(100% - 28px); }.hero { padding: 58px 0 60px; }.hero h1 { font-size: clamp(2.8rem, 15vw, 4rem); }.hero-actions { flex-direction: column; }.hero-visual { min-height: 0; }.hero-reference { width: min(390px, 112%); }.preview-content { padding: 15px; }.mini-grid span { padding: 9px; }.section { padding: 74px 0; }.feature-grid, .plans-grid { grid-template-columns: 1fr; }.showcase-section { width: 100%; }.showcase-section .section-heading { width: calc(100% - 28px); }.showcase-grid { display: flex; gap: 14px; overflow-x: auto; padding: 4px 14px 22px; scroll-snap-type: x mandatory; scrollbar-color: var(--primary-color) transparent; }.showcase-card { flex: 0 0 min(82vw, 330px); scroll-snap-align: center; }.contact-section { margin-block: 30px 75px; padding: 27px 20px; }.public-footer { flex-direction: column; gap: 9px; }
  .login-card { padding: 28px 21px; }
  .topbar { min-height: 68px; padding-inline: 14px; }.topbar .button { min-height: 40px; padding: 0 11px; font-size: .77rem; }.dashboard-content { padding: 32px 14px 60px; }.welcome, .page-heading { align-items: start; flex-direction: column; }.date-pill { display: none; }.stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-grid article { min-height: 102px; padding: 14px; gap: 10px; }.stat-grid article > span { width: 38px; height: 38px; }.stat-grid small { font-size: .7rem; }.stat-grid strong { font-size: 1.4rem; }
  .search-bar { width: 100%; }.search-bar button { min-width: 75px; }
  .table-card { border: 0; background: transparent; overflow: visible; }table, thead, tbody, tr, th, td { display: block; }thead { display: none; }tbody { display: grid; gap: 11px; }tbody tr { padding: 15px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }td { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 42px; padding: 9px 0; border-bottom: 1px solid var(--border); text-align: right; }td::before { content: attr(data-label); color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }td:last-child { border: 0; }.person-cell { text-align: left; }.actions { text-align: right; }.empty-state { width: 100%; }.empty-state::before { display: none; }
  .form-grid, .credential-box { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.form-actions { flex-direction: column-reverse; }.form-actions .button { width: 100%; }.panel { padding: 20px 16px; }.tenant-preview { grid-template-columns: 34px 34px 1fr; }
}

@media (max-width: 390px) {
  .stat-grid { grid-template-columns: 1fr; }.hero-visual { min-height: 320px; }.app-preview { padding: 10px; }.event-card { padding: 12px; }.trust-row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Assinaturas */
.signup-shell { width: min(560px,100%); }.confirmation-card { display:grid; gap:18px; text-align:center; }.confirmation-card h1,.confirmation-card p { margin:0; }
.status-pill { display:inline-flex; align-items:center; width:max-content; padding:6px 10px; border:1px solid var(--border); border-radius:99px; color:var(--muted); font-size:.72rem; font-weight:800; text-transform:uppercase; }.status-active,.status-paid,.status-approved { border-color:rgba(36,199,126,.35); color:#7ee8b7; }.status-trialing,.status-under_review,.status-pending { border-color:rgba(255,205,60,.35); color:#ffe08a; }.status-blocked,.status-overdue,.status-rejected,.status-archived { border-color:rgba(255,113,134,.4); color:#ffacb9; }
.subscription-alert { display:grid; gap:5px; margin-bottom:18px; padding:16px 18px; border:1px solid rgba(255,205,60,.35); border-radius:14px; background:rgba(255,205,60,.07); color:#ffe8a8; }.subscription-alert.danger { border-color:rgba(255,113,134,.4); background:rgba(255,113,134,.08); color:#ffc0ca; }
.subscription-section { margin-top:18px; }.section-title { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }.section-title h2 { margin:4px 0 0; }.section-title small,.panel-note,.support-note { color:var(--muted); }
.dashboard-plan-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.dashboard-plan { display:flex; flex-direction:column; gap:8px; padding:18px; border:1px solid var(--border); border-radius:15px; background:rgba(255,255,255,.018); }.dashboard-plan.current { border-color:rgba(36,199,126,.42); }.dashboard-plan ul { flex:1; margin:8px 0; padding-left:18px; color:var(--muted); font-size:.8rem; }.dashboard-plan form { display:grid; gap:8px; }.dashboard-plan select,.inline-actions select { min-height:38px; padding:7px; border:1px solid var(--border); border-radius:8px; background:#08140f; color:var(--text); }.current-label { margin-top:auto; color:var(--secondary-color); font-size:.75rem; font-weight:800; }.inline-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }.inline-actions form { display:flex; align-items:end; gap:8px; }.inline-actions label { display:grid; gap:4px; color:var(--muted); font-size:.75rem; }.button-danger { border:1px solid rgba(255,113,134,.45); background:rgba(255,113,134,.08); color:#ffc0ca; }
.invoice-list,.tenant-list { display:grid; gap:10px; }.invoice-row { display:grid; grid-template-columns:minmax(180px,1fr) auto auto; align-items:center; gap:12px; padding:15px; border:1px solid var(--border); border-radius:13px; }.invoice-row>div,.tenant-list article>div { display:grid; gap:3px; }.invoice-row small,.tenant-list small { color:var(--muted); }.receipt-form { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; gap:10px; }.receipt-form input { color:var(--muted); }.receipt-link { grid-column:1/-1; font-size:.76rem; }.tenant-list article { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:13px 15px; border:1px solid var(--border); border-radius:12px; }.invite-details { margin-top:16px; }.invite-details summary { cursor:pointer; list-style:none; }.compact-form { margin-top:14px; }.support-note { margin-top:20px; text-align:center; }
.plan-help { margin-top:auto; color:var(--muted); }.retention-details { display:grid; gap:10px; padding:10px; border:1px solid var(--border); border-radius:10px; background:#08140f; }.retention-details summary { color:var(--accent-gold); cursor:pointer; font-size:.78rem; font-weight:750; }.retention-details p { margin:9px 0; color:var(--muted); font-size:.72rem; }.retention-details fieldset { display:grid; max-height:145px; gap:5px; overflow:auto; margin:8px 0 0; padding:8px; border:1px solid var(--border); border-radius:8px; }.retention-details legend { color:var(--muted); font-size:.68rem; font-weight:800; text-transform:uppercase; }.retention-details label { display:flex; align-items:flex-start; gap:6px; color:#c5d5ce; font-size:.7rem; }.retention-details input { margin-top:3px; }
@media (max-width:1050px){.dashboard-plan-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){.dashboard-plan-grid{grid-template-columns:1fr}.invoice-row{grid-template-columns:1fr}.receipt-form,.receipt-link{grid-column:auto}.inline-actions form{width:100%;align-items:stretch;flex-direction:column}.subscription-usage{grid-template-columns:1fr 1fr}}

/* Settings page */
.profile-meter { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 14px 18px; border: 1px solid rgba(36,199,126,.25); border-radius: 13px; background: rgba(36,199,126,.06); }.profile-meter-bar { flex: 0 0 120px; height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }.profile-meter-fill { height: 100%; border-radius: 99px; background: var(--secondary-color); transition: width .4s ease; }.profile-meter span { color: #b0dfc9; font-size: .78rem; }
.settings-layout { display: grid; gap: 18px; max-width: 900px; }.settings-section { border: 0; padding: 0; margin: 0; }.settings-section.panel { padding: 25px; }.section-legend { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 1.05rem; font-weight: 800; color: var(--text); }.section-legend span { font-size: 1.15rem; }
.settings-layout .tenant-preview { display: grid; grid-template-columns: 52px 36px 36px 1fr; align-items: center; gap: 9px; margin-bottom: 25px; padding: 15px; border-radius: 14px; background: #08140f; }.settings-layout .tenant-preview > div { height: 36px; border-radius: 9px; }.settings-layout .tenant-preview strong { display: block; }.settings-layout .tenant-preview small { color: var(--muted); }.settings-layout .tenant-preview img.preview-logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }.settings-layout .preview-logo-placeholder { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--primary-color); font-size: 1.3rem; font-weight: 900; }
.logo-upload-area { position: relative; display: grid; place-items: center; min-height: 140px; border: 2px dashed var(--border); border-radius: 14px; background: #08140f; cursor: pointer; transition: border-color .2s, background .2s; }.logo-upload-area:hover, .logo-upload-area.drag-active { border-color: var(--secondary-color); background: rgba(36,199,126,.04); }.file-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.upload-prompt { display: grid; justify-items: center; gap: 5px; padding: 20px; text-align: center; pointer-events: none; }.upload-prompt span { font-size: 1.8rem; }.upload-prompt strong { color: var(--text); font-size: .85rem; }.upload-prompt small { color: var(--muted); font-size: .72rem; }.upload-preview { position: relative; display: flex; align-items: center; justify-content: center; padding: 15px; }.upload-preview img { max-width: 200px; max-height: 150px; border-radius: 12px; object-fit: contain; }.upload-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,113,134,.18); color: var(--danger); font-size: 1.1rem; cursor: pointer; }.upload-remove:hover { background: rgba(255,113,134,.3); }
.crop-dialog { width: min(580px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: var(--text); }.crop-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(4px); }.crop-dialog-card { display: grid; gap: 16px; padding: 24px; }.crop-dialog-card p { margin: 0; color: var(--muted); font-size: .85rem; }.crop-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }.crop-dialog-heading h2 { margin: 3px 0 0; }.crop-stage { display: grid; place-items: center; width: min(100%, 430px); aspect-ratio: 1; margin: auto; overflow: hidden; border-radius: 14px; background: #050b09; cursor: grab; touch-action: none; }.crop-stage:active { cursor: grabbing; }.crop-stage canvas { display: block; width: 100%; height: 100%; }.crop-zoom-label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 13px; color: var(--muted); font-size: .8rem; }.crop-zoom-label input { min-height: auto; padding: 0; }.crop-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.church-info-card { display: grid; gap: 12px; margin-top: 22px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }.church-info-card h3 { margin: 0 0 4px; font-size: 1rem; }.church-info-card p { margin: 0; color: var(--muted); font-size: .85rem; }.church-info-links { display: flex; flex-wrap: wrap; gap: 8px; }.church-info-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); color: var(--text); font-size: .78rem; font-weight: 650; transition: background .15s; }.church-info-links a:hover { background: var(--surface-3); color: var(--secondary-color); }
@media (max-width:680px) { .profile-meter { flex-direction: column; align-items: stretch; gap: 8px; }.profile-meter-bar { flex: none; width: 100%; }.settings-layout .tenant-preview { grid-template-columns: 44px 32px 32px 1fr; } }
