/* bricolage-grotesque-vietnamese-wght-normal */
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* bricolage-grotesque-latin-ext-wght-normal */
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* bricolage-grotesque-latin-wght-normal */
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* onest-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-cyrillic-ext-wght-normal-DOFToQv1.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* onest-cyrillic-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-cyrillic-wght-normal-DayYxulF.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-math-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-math-wght-normal-Bl4ZGkZl.woff2) format('woff2-variations');
  unicode-range: U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF;
}

/* onest-symbols-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-symbols-wght-normal-DxQzqQfC.woff2) format('woff2-variations');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF;
}

/* onest-vietnamese-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-vietnamese-wght-normal-BBxOatbv.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* onest-latin-ext-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-latin-ext-wght-normal-QAhDxQuo.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* onest-latin-wght-normal */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/onest-latin-wght-normal-Dun_Rd-l.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* ============================================================
   AuraRec · design system
   Claro e calmo no dia a dia; a "aura" (halo que reage ao áudio)
   e o palco escuro da gravação são o único momento ousado.
   ============================================================ */
:root {
  --paper: #f5f6fb;
  --surface: #ffffff;
  --ink: #171b34;
  --ink-2: #3b4160;
  --muted: #6b7191;
  --faint: #9aa0bb;
  --line: #e7e9f2;
  --line-2: #f0f1f7;
  --brand: #3b5bff;
  --brand-d: #2a44d6;
  --brand-soft: #ecefff;
  --violet: #7a5cff;
  --aqua: #25d3c0;
  --rec: #f2455b;
  --rec-soft: #fff0f2;
  --ok: #14b87a;
  --ok-soft: #e6f8f1;
  --warn: #d98a06;
  --warn-soft: #fff6e2;

  --r-xs: 8px;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;

  --display: "Bricolage Grotesque Variable", "Onest Variable", system-ui, sans-serif;
  --text: "Onest Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --float: 0 18px 40px -18px rgba(23, 27, 52, 0.28), 0 2px 6px rgba(23, 27, 52, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html, body, #root { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; font-weight: 650; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: #cfd8ff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.tabular { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px; }
.spacer { flex: 1; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-s);
  border: 1px solid transparent; background: transparent;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover:not([disabled]) { background: var(--brand-d); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline:hover:not([disabled]) { border-color: #cdd2e8; background: #fafbff; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover:not([disabled]) { background: var(--line-2); }
.btn-soft { background: var(--brand-soft); color: var(--brand-d); }
.btn-soft:hover:not([disabled]) { background: #e0e5ff; }
.btn-danger { background: var(--rec); color: #fff; }
.btn-danger:hover:not([disabled]) { background: #dc3248; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-icon { width: 40px; padding: 0; }
.btn-sm.btn-icon { width: 34px; }
.btn-block { width: 100%; }

.btn-record {
  height: 56px; padding: 0 26px; border-radius: var(--r-m);
  background: var(--ink); color: #fff; font-size: 16px; font-weight: 650;
  box-shadow: 0 14px 30px -14px rgba(23, 27, 52, .7);
}
.btn-record:hover:not([disabled]) { background: #232850; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 rgba(242, 69, 91, .6); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 9px rgba(242, 69, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 69, 91, 0); } }

/* ---------- campos ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select {
  height: 44px; width: 100%; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-s); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--faint); }
.input:hover, .select:hover { border-color: #cdd2e8; }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(59, 91, 255, .14); }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7191' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.select-sm { height: 36px; font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); }
.error-text { font-size: 13px; color: #c42a40; }

.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #d6d9e8; border-radius: 99px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.chip-ok { background: var(--ok-soft); color: #0b8a5a; }
.chip-brand { background: var(--brand-soft); color: var(--brand-d); }
.chip-rec { background: var(--rec-soft); color: #c42a40; }
.chip-warn { background: var(--warn-soft); color: #9a6200; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: rot .8s linear infinite; flex: none; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 210deg, var(--brand), var(--violet) 35%, var(--aqua) 65%, var(--brand)); position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100%; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px 16px; background: var(--surface); border-right: 1px solid var(--line); }
.side .logo { padding: 0 10px 22px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: var(--r-s); color: var(--ink-2); font-weight: 550; }
.nav a:hover { background: var(--line-2); text-decoration: none; }
.nav a.active { background: var(--brand-soft); color: var(--brand-d); font-weight: 650; }
.nav a svg { flex: none; }
.side-rec { margin: 14px 4px 0; padding: 12px; border-radius: var(--r-m); background: var(--rec-soft); color: #b3243a; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; border: 0; text-align: left; width: calc(100% - 8px); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid var(--line-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-d); display: grid; place-items: center; font-weight: 700; font-size: 13px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.side-user .who { min-width: 0; flex: 1; line-height: 1.25; }
.side-user .who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .who span { font-size: 12.5px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { min-width: 0; padding: 36px clamp(20px, 4vw, 56px) 80px; }
.page { max-width: 1180px; margin: 0 auto; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 58ch; font-size: 16px; }
.topbar { display: none; }

/* ---------- aura ---------- */
.aura { --lvl: 0; position: relative; width: var(--aura, 320px); height: var(--aura, 320px); display: grid; place-items: center; flex: none; }
.aura-breathe { position: absolute; inset: 0; animation: breathe 7s ease-in-out infinite; }
.aura-spin { position: absolute; inset: -14%; animation: rot 22s linear infinite; }
.aura-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand), var(--violet) 28%, var(--aqua) 58%, var(--brand));
  filter: blur(calc(var(--aura, 320px) * .14));
  opacity: calc(.42 + var(--lvl) * .5);
  transform: scale(calc(.74 + var(--lvl) * .36));
  transition: opacity .12s linear;
}
.aura-ring { position: absolute; inset: 14%; border-radius: 50%; border: 1.5px solid rgba(59, 91, 255, .28); transform: scale(calc(1 + var(--lvl) * var(--k, .1))); opacity: calc(.9 - var(--lvl) * .35); }
.aura-ring.r2 { --k: .2; inset: 8%; border-color: rgba(122, 92, 255, .22); }
.aura-ring.r3 { --k: .32; inset: 2%; border-color: rgba(37, 211, 192, .22); }
.aura-core {
  position: relative; width: 44%; height: 44%; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 24%, #ffffff 0, #d5ddff 24%, #8d9cff 58%, var(--brand) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55) inset, 0 20px 50px -14px rgba(59, 91, 255, .7);
  transform: scale(calc(1 + var(--lvl) * .1));
}
.aura-core svg { width: 34%; height: 34%; }
.aura[data-state="paused"] .aura-spin, .aura[data-state="paused"] .aura-breathe { animation-play-state: paused; }
.aura[data-state="paused"] .aura-glow { filter: blur(calc(var(--aura, 320px) * .14)) grayscale(.9); opacity: .3; }
@keyframes breathe { 50% { transform: scale(1.045); } }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 520px) minmax(0, 1fr); background: var(--surface); }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(28px, 5vw, 72px); gap: 28px; }
.auth-form h1 { font-size: 34px; line-height: 1.1; }
.auth-form .sub { color: var(--muted); margin-top: 8px; }
.auth-form form { display: flex; flex-direction: column; gap: 16px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-btn { height: 46px; gap: 10px; }
.auth-switch { color: var(--muted); font-size: 14px; }
.auth-switch button { background: none; border: 0; color: var(--brand); font-weight: 600; padding: 0; }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 600; padding: 0; font-size: 13.5px; }
.auth-art { position: relative; overflow: hidden; background: #0c1020; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 5vw, 64px); }
.auth-art .aura-wrap { position: absolute; right: -8%; top: 4%; opacity: .95; pointer-events: none; }
.auth-art h2 { position: relative; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; max-width: 12ch; }
.auth-art p.lead { position: relative; margin-top: 18px; max-width: 40ch; color: #b9c0e6; font-size: 17px; }
.auth-points { position: relative; display: grid; gap: 12px; margin-top: 28px; color: #dfe3fa; font-size: 15px; }
.auth-points div { display: flex; gap: 10px; align-items: flex-start; }
.auth-points svg { color: var(--aqua); flex: none; margin-top: 3px; }
.preview-card { position: relative; align-self: flex-start; width: min(430px, 100%); padding: 18px; border-radius: var(--r-l); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); }
.preview-card .pc-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.preview-card .pc-head .chip { background: rgba(37, 211, 192, .18); color: #7ff0e2; }
.preview-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #e5e8fb; }
.preview-card li { display: flex; gap: 10px; align-items: flex-start; }
.preview-card li i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.4); flex: none; margin-top: 3px; }
.preview-card li i.done { background: var(--aqua); border-color: var(--aqua); }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-top: 14px; }
.wave b { width: 3px; border-radius: 2px; background: linear-gradient(var(--aqua), var(--brand)); animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }

/* ---------- home / gravar ---------- */
.rec-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--float); }
.rec-form { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.rec-aside { position: relative; background: linear-gradient(180deg, #f7f8ff, #eef0ff); border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px 20px; text-align: center; overflow: hidden; }
.rec-aside p { max-width: 24ch; color: var(--ink-2); font-size: 14.5px; }
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.surface { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 14px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, background .15s; }
.surface:hover { border-color: #cdd2e8; }
.surface svg { color: var(--muted); }
.surface b { font-size: 14.5px; }
.surface span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.surface[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); }
.surface[aria-checked="true"] svg { color: var(--brand); }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.opt-row:first-of-type { border-top: 0; }
.opt-row .t { display: flex; flex-direction: column; line-height: 1.3; }
.opt-row .t b { font-size: 14.5px; }
.opt-row .t span { font-size: 13px; color: var(--muted); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-s); background: var(--warn-soft); color: #7a4d00; font-size: 13.5px; }
.notice svg { flex: none; margin-top: 2px; }
.notice-info { background: var(--brand-soft); color: var(--brand-d); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 44px 0 16px; }
.section-title h2 { font-size: 22px; }

/* ---------- palco da gravação ---------- */
.stage { position: fixed; inset: 0; z-index: 50; background: radial-gradient(120% 90% at 50% 0%, #1a2150 0%, #0c1020 55%, #080b17 100%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; animation: stage-in .35s ease-out; }
@keyframes stage-in { from { opacity: 0; } }
.stage-top { position: absolute; top: 20px; left: 24px; right: 24px; display: flex; align-items: center; gap: 12px; }
.stage-top .logo { color: #fff; font-size: 18px; }
.stage .badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 99px; background: rgba(242, 69, 91, .16); color: #ff8d9c; font-weight: 650; font-size: 13.5px; }
.stage .badge.paused { background: rgba(255, 255, 255, .1); color: #cfd4f2; }
.stage .badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stage .badge:not(.paused) i { animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.stage h1 { font-size: 20px; font-weight: 600; color: #dfe3fa; max-width: 40ch; text-align: center; letter-spacing: -0.01em; }
.timer { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 9vw, 92px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.meters { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.meter { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); font-size: 13.5px; color: #cfd4f2; }
.meter .bars { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.meter .bars i { width: 3px; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .18); transform-origin: bottom; transition: background .08s; }
.meter .bars i.on { background: var(--aqua); }
.meter.off { opacity: .5; }
.stage-actions { display: flex; gap: 12px; align-items: center; }
.stage .btn-light { background: rgba(255, 255, 255, .1); color: #fff; height: 52px; padding: 0 22px; border-radius: var(--r-m); font-size: 15px; }
.stage .btn-light:hover { background: rgba(255, 255, 255, .16); }
.stage .btn-stop { background: #fff; color: var(--ink); height: 52px; padding: 0 26px; border-radius: var(--r-m); font-size: 15px; font-weight: 650; }
.stage .btn-stop:hover { background: #eef0ff; }
.stage-foot { position: absolute; bottom: 22px; left: 24px; right: 24px; text-align: center; font-size: 13.5px; color: #98a0cc; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.stage-foot .ok { color: #7ff0e2; display: inline-flex; gap: 6px; align-items: center; }
.stage-foot .bad { color: #ffc069; display: inline-flex; gap: 6px; align-items: center; }
.stage-warn { background: rgba(245, 158, 11, .14); color: #ffd48a; border-radius: var(--r-s); padding: 10px 14px; font-size: 13.5px; max-width: 560px; text-align: center; }
.finishing { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #cfd4f2; }
.progress { width: 280px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.progress i { display: block; height: 100%; width: 40%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--aqua)); animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.pill { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--ink); color: #fff; box-shadow: var(--float); }
.pill .timer-s { font-family: var(--display); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.pill button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.pill button:hover { background: rgba(255, 255, 255, .2); }
.pill button.stop { background: var(--rec); }

/* ---------- biblioteca ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.search { position: relative; flex: 1; min-width: 240px; max-width: 460px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search .input { padding-left: 42px; }
.seg { display: inline-flex; padding: 3px; background: var(--line-2); border-radius: var(--r-s); }
.seg button { border: 0; background: transparent; height: 34px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23, 27, 52, .12); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.m-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; color: inherit; transition: transform .2s, border-color .2s; }
.m-card:hover { text-decoration: none; transform: translateY(-3px); border-color: #cdd2e8; }
.m-thumb { position: relative; aspect-ratio: 16 / 9; background: #0c1020; overflow: hidden; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 90% at 30% 20%, #2b3a9c 0, #12183a 60%, #0c1020 100%); }
.m-thumb .ph::after { content: ""; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(from 210deg, var(--brand), var(--violet) 35%, var(--aqua) 65%, var(--brand)); filter: blur(10px); opacity: .85; }
.m-thumb .dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 99px; background: rgba(12, 16, 32, .78); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.m-thumb .st { position: absolute; left: 10px; top: 10px; }
.m-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.m-body h3 { font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; align-items: center; flex-wrap: wrap; }
.m-meta span { display: inline-flex; gap: 5px; align-items: center; }
.m-snippet { font-size: 13.5px; color: var(--ink-2); background: var(--line-2); border-radius: var(--r-xs); padding: 8px 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.empty { text-align: center; padding: 72px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-l); background: #fbfbfe; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--muted); max-width: 44ch; }

/* ---------- reunião ---------- */
.m-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.m-head .titlebox { flex: 1; min-width: 260px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 550; margin-bottom: 10px; }
.back:hover { color: var(--ink); text-decoration: none; }
.m-title { font-family: var(--display); font-weight: 650; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; background: none; border: 0; padding: 2px 6px; margin: -2px -6px; border-radius: 8px; text-align: left; color: var(--ink); display: block; max-width: 100%; }
button.m-title:hover { background: var(--line-2); }
input.m-title { width: 100%; outline: 2px solid var(--brand); background: #fff; }
.m-sub { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 8px; align-items: center; }
.m-sub span { display: inline-flex; gap: 6px; align-items: center; }
.m-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.meet { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 24px; align-items: start; }
.left { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 12px; }
.player { position: relative; border-radius: var(--r-l); overflow: hidden; background: #0c1020; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.player .wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #cfd4f2; background: radial-gradient(90% 100% at 50% 0, #1a2150, #0c1020); font-size: 14.5px; }
.player-bar { display: flex; align-items: center; gap: 10px; }
.timeline { position: relative; flex: 1; height: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 99px; background: var(--line); }
.timeline .prog { position: absolute; left: 0; top: 12px; height: 4px; border-radius: 99px; background: var(--brand); }
.timeline button { position: absolute; top: 6px; width: 14px; height: 16px; margin-left: -7px; border: 0; background: none; padding: 0; }
.timeline button::after { content: ""; position: absolute; left: 4px; top: 2px; width: 6px; height: 12px; border-radius: 3px; background: var(--violet); opacity: .85; transition: transform .15s; }
.timeline button:hover::after { transform: scaleY(1.35); opacity: 1; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-direction: column; min-height: 560px; max-height: calc(100vh - 150px); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid var(--line); }
.tabs button { position: relative; display: inline-flex; gap: 8px; align-items: center; height: 44px; padding: 0 14px; border: 0; background: none; font-weight: 600; color: var(--muted); border-radius: 8px 8px 0 0; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--brand); }
.tab-body { flex: 1; overflow-y: auto; padding: 22px 22px 28px; scroll-behavior: smooth; }
.tab-tools { display: flex; gap: 8px; align-items: center; padding: 12px 22px 0; }
.sum-block { margin-bottom: 26px; }
.sum-block > h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sum-block > h3 svg { color: var(--brand); }
.overview { font-size: 16px; line-height: 1.6; color: var(--ink); }
.ai-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.topic { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.topic:first-of-type { border-top: 0; }
.ts { flex: none; align-self: flex-start; height: 24px; padding: 0 9px; border-radius: 7px; border: 0; background: var(--brand-soft); color: var(--brand-d); font-weight: 650; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ts:hover { background: #dde3ff; }
.topic b { display: block; font-size: 15px; margin-bottom: 2px; }
.topic p { color: var(--ink-2); font-size: 14.5px; }
.bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bullets li { position: relative; padding-left: 18px; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.todo { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-2); }
.todo:first-of-type { border-top: 0; }
.check { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.8px solid #c3c8de; background: #fff; flex: none; margin: 2px 0 0; display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.check:checked { background: var(--ok); border-color: var(--ok); }
.check:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.todo.done .tx { text-decoration: line-through; color: var(--faint); }
.todo .tx { flex: 1; }
.todo .meta { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.seg-row { display: flex; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--r-s); cursor: pointer; transition: background .15s; }
.seg-row:hover { background: var(--line-2); }
.seg-row.active { background: var(--brand-soft); }
.seg-row .who { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-weight: 650; font-size: 13.5px; }
.seg-row .who .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; background: var(--line); color: var(--ink-2); }
.seg-row .who .dot.me { background: var(--brand); color: #fff; }
.seg-row .who time { color: var(--faint); font-weight: 550; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.seg-row p { font-size: 15px; line-height: 1.55; color: var(--ink); }
.md p { margin: 0 0 10px; }
.md ul, .md ol { margin: 0 0 10px; padding-left: 20px; }
.md li { margin-bottom: 4px; }
.ts-link { border: 0; background: var(--brand-soft); color: var(--brand-d); border-radius: 6px; padding: 0 6px; font-weight: 650; font-size: .88em; font-variant-numeric: tabular-nums; }
.chat { display: flex; flex-direction: column; height: 100%; }
.chat-list { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 16px; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.msg.ai { align-self: flex-start; background: var(--line-2); border-bottom-left-radius: 5px; }
.msg .md p:last-child, .msg .md ul:last-child { margin-bottom: 0; }
.chat-sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-sugg button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 13px; font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
.chat-sugg button:hover { border-color: var(--brand); color: var(--brand-d); }
.chat-box { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
.chat-box .input { height: 46px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.working { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 40px 28px; flex: 1; }
.steps { display: grid; gap: 12px; text-align: left; width: min(320px, 100%); }
.step { display: flex; align-items: center; gap: 12px; color: var(--faint); font-weight: 550; }
.step i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.step.on { color: var(--ink); }
.step.on i { border-color: var(--brand); border-right-color: transparent; animation: rot .9s linear infinite; }
.step.done { color: var(--ink-2); }
.step.done i { background: var(--ok); border-color: var(--ok); color: #fff; }

/* ---------- menus, modal, toast ---------- */
.menu-wrap { position: relative; display: inline-block; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--float); padding: 6px; animation: pop .14s ease-out; }
.menu.left { right: auto; left: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px; border: 0; background: none; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 550; text-align: left; }
.menu button:hover, .menu a:hover { background: var(--line-2); text-decoration: none; }
.menu button[disabled] { color: var(--faint); cursor: default; background: none; }
.menu .sep { height: 1px; background: var(--line-2); margin: 6px 4px; }
.menu .danger { color: #c42a40; }
.menu svg { color: var(--muted); flex: none; }
.menu .danger svg { color: #c42a40; }
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(23, 27, 52, .5); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: stage-in .15s; }
.modal { width: min(480px, 100%); background: #fff; border-radius: var(--r-l); padding: 26px; box-shadow: var(--float); display: flex; flex-direction: column; gap: 18px; animation: pop .18s ease-out; }
.modal h2 { font-size: 22px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.copy-row { display: flex; gap: 8px; }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 99px; font-size: 14px; font-weight: 550; box-shadow: var(--float); animation: pop .2s ease-out; display: inline-flex; gap: 8px; align-items: center; }
.toast.err { background: #b3243a; }

/* ---------- ajustes ---------- */
.settings { display: grid; gap: 20px; max-width: 720px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card h2 { font-size: 19px; }
.quality { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quality button { text-align: left; padding: 14px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 3px; }
.quality button[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); }
.quality b { font-size: 14.5px; }
.quality span { font-size: 12.5px; color: var(--muted); }

.center-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.public-top { display: flex; align-items: center; gap: 12px; padding: 16px clamp(20px, 4vw, 56px); border-bottom: 1px solid var(--line); background: #fff; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .meet { grid-template-columns: 1fr; }
  .left { position: static; }
  .panel { max-height: none; min-height: 480px; }
  .rec-card { grid-template-columns: 1fr; }
  .rec-aside { border-left: 0; border-top: 1px solid var(--line); order: -1; padding: 24px 16px 8px; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
  .topbar nav { display: flex; gap: 4px; margin-left: auto; }
  .topbar nav a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink-2); }
  .topbar nav a.active { background: var(--brand-soft); color: var(--brand-d); }
  .main { padding: 24px 16px 60px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .surfaces { grid-template-columns: 1fr; }
  .quality { grid-template-columns: 1fr; }
  .stage-actions { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
