/* EXEC Club — estilos a partir do mockup index.html */

/* tokens: ver tokens.css (fonte única, carregado antes deste arquivo) */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0; line-height: 1.25; }
h1 { font-size: 2rem; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.container { max-width: 1280px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Logo */
.logo { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--font-head); text-decoration: none; }
.logo-exec { font-weight: 800; font-size: 20px; color: var(--white); letter-spacing: 1px; }
.logo-exec span { color: var(--accent); }
.logo-club { font-weight: 600; font-size: 13px; color: var(--accent); letter-spacing: 4px; margin-top: 3px; }
.logo.on-light .logo-exec { color: var(--navy-900); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-family: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-sm { height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { color: var(--navy-900); filter: brightness(1.05); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { color: var(--white); background: var(--navy-800); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { color: var(--white); background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); font-weight: 600; }
.btn-outline:hover { color: var(--ink); background: var(--white); }
.btn-on-navy { background: transparent; border-color: var(--navy-line); color: var(--white); font-weight: 600; }
.btn-on-navy:hover { color: var(--white); background: var(--navy-800); }
.btn-danger { background: transparent; border-color: #F5C2C2; color: var(--red); font-weight: 600; }
.btn-danger:hover { background: var(--red-50); color: var(--red); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--teal); font-weight: 600; cursor: pointer; }

/* Chips / badges */
.chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.chip-teal { color: var(--teal); background: var(--teal-50); }
.chip-navy { color: var(--navy-800); background: var(--navy-50); }
.chip-orange { color: var(--orange); background: var(--orange-50); }
.chip-red { color: var(--red); background: var(--red-50); }
.chip-gray { color: var(--muted); background: #EEF1F4; }
.chip-hot { color: var(--white); background: var(--orange-hot); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card-link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.card-link:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: 0 2px 10px rgba(10, 31, 58, .06); }
.card-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.card-date { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--teal); }
.card-soft { background: var(--teal-50); border: none; }
.card-dark { background: var(--navy-900); color: var(--white); border: none; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cover { height: 140px; background: var(--navy-700); background-size: cover; background-position: center; border-radius: 12px; }
.article-card { padding: 0; overflow: hidden; }
.article-card .cover { border-radius: 0; height: 120px; }
.article-card .card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }

/* Header do membro */
.topbar { background: var(--navy-900); padding: 0 2rem; }
.topbar-inner { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: .75rem 0; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.nav a { height: 44px; padding: 0 14px; border-radius: 10px; color: var(--on-navy); font-weight: 600; font-size: 15px; display: flex; align-items: center; text-decoration: none; }
.nav a:hover { color: var(--white); background: var(--navy-800); }
.nav a[aria-current="page"] { background: var(--navy-800); color: var(--white); font-weight: 700; }
.topbar-right { flex: 1 1 200px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.avatar { width: 44px; height: 44px; border-radius: 22px; border: none; background: var(--accent); color: var(--navy-900); font-family: var(--font-head); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(10, 31, 58, .15); padding: 8px; z-index: 20; display: flex; flex-direction: column; }
.menu-panel a, .menu-panel button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; background: none; border: none; font: inherit; cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--bg); color: var(--ink); }
.menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.menu-head strong { display: block; color: var(--ink); font-size: 15px; }

/* Hero */
.hero { background: var(--navy-900); padding: 1rem 2rem 2.5rem; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: stretch; }
.hero-hello { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: center; gap: 8px; color: var(--on-navy-muted); }
.hero-hello h1 { color: var(--white); font-size: 2.25rem; }
.hero-event { flex: 999 1 560px; min-width: 0; border-radius: 20px; background: var(--navy-800); overflow: hidden; display: flex; flex-wrap: wrap; }
.hero-event-media { flex: 1 1 260px; min-height: 240px; background: var(--navy-700); background-size: cover; background-position: center; position: relative; }
.hero-event-media .chip { position: absolute; top: 16px; left: 16px; }
.hero-event-body { flex: 1 1 300px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.hero-event-body .when { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 1px; }
.hero-event-body .title { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--white); line-height: 1.25; }
.hero-event-body .desc { color: var(--on-navy); }
.hero-empty { padding: 32px; color: var(--on-navy); display: flex; align-items: center; }
.page-head { background: var(--navy-900); padding: 2rem 2rem 2.25rem; color: var(--on-navy); }
.page-head h1 { color: var(--white); }

/* Corpo — .page empurra o rodapé para o fim da tela em páginas curtas */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > .main { flex: 1; }
.main { padding: 2.5rem 2rem 3rem; }
.layout { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.layout-main { flex: 999 1 560px; min-width: 0; }
.layout-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.footer { border-top: 1px solid var(--line); background: var(--white); padding: 1.5rem 2rem; font-size: 14px; color: var(--muted); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer a { text-decoration: none; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2, .prose h3 { margin: 1.5em 0 .5em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 16px; background: var(--white); }

/* Alertas */
.flash { padding: 12px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 1.5rem; }
.flash-ok { background: var(--teal-50); color: var(--teal-dark); }
.flash-error { background: var(--red-50); color: var(--red); }
.flash-info { background: var(--navy-50); color: var(--navy-800); }

/* Formulários */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
.req { color: var(--orange-hot); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=datetime-local], input[type=url], input[type=tel], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); font-family: inherit; font-size: 16px; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--teal); }
input[readonly] { background: var(--bg); color: var(--muted); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.error { color: var(--red); font-size: 14px; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0; }
legend { font-family: var(--font-head); font-weight: 700; padding: 0 6px; }

/* Páginas de acesso (login, convite) */
.auth { min-height: 100vh; background: var(--navy-900); padding: 2.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.auth-card { width: 100%; max-width: 460px; background: var(--white); border-radius: 20px; padding: 32px; }
.auth-card.wide { max-width: 860px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-foot { color: var(--on-navy-muted); font-size: 14px; }
.auth-foot a { color: var(--accent); }

/* Admin */
.admin { display: flex; min-height: 100vh; }
.sidebar { width: 250px; flex-shrink: 0; background: var(--navy-900); padding: 24px 14px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.sidebar nav a:hover { background: var(--navy-800); color: var(--white); }
.sidebar nav a[aria-current="page"] { background: var(--navy-800); color: var(--white); }
.sidebar .count { background: var(--amber); color: var(--navy-900); border-radius: 999px; font-size: 12px; font-weight: 800; padding: 1px 8px; }
.sidebar .side-label { color: #7F93B0; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 0 12px; margin-top: 8px; }
.sidebar-foot { margin-top: auto; color: var(--on-navy-muted); font-size: 14px; padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.sidebar-foot a, .sidebar-foot button { color: var(--on-navy); }
.admin-main { flex: 1; min-width: 0; padding: 2rem 2.5rem 3rem; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--font-head); font-size: 28px; }
.stat span { color: var(--muted); font-size: 14px; }
.stat.alert { border-color: var(--amber); background: #FFFBEB; }
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); background: #F8FAFB; font-weight: 700; }
tr:last-child td { border-bottom: none; }
td .row { flex-wrap: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.tabs a { height: 38px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 10px 16px; margin: 0; }
.dl dt { color: var(--muted); font-size: 14px; }
.dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.copy-box { display: flex; gap: 8px; margin-top: 10px; }
.copy-box input { font-size: 14px; }
.pagination { margin-top: 1rem; }
.pagination nav > div:first-child { display: none; }
.pagination svg { width: 18px; height: 18px; }

/* ---------- Avatares ---------- */
.avatar { overflow: hidden; line-height: 1; border-radius: 50%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu summary .avatar { transition: box-shadow .2s; }
.menu summary:hover .avatar, .menu[open] summary .avatar { box-shadow: 0 0 0 3px rgba(43, 179, 168, .35); }
.avatar-edit { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar { border: 2px solid var(--white); margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }
.attendees { display: flex; align-items: center; gap: 10px; color: var(--ink-2); min-height: 32px; }
.attendees.on-dark { color: var(--on-navy); }
.attendees.on-dark .avatar-stack .avatar { border-color: var(--navy-800); }

/* ---------- Capas (foto ou arte padrão da marca) ---------- */
.cover { position: relative; overflow: hidden; background-color: var(--navy-700); background-size: cover; background-position: center; }
.cover-default { background: radial-gradient(120% 90% at 85% 10%, #1F5C8A 0%, transparent 55%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }
.cover-default::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 14px 14px; }
.cover-mark { position: absolute; right: -6%; bottom: -18%; width: 62%; max-width: 260px; aspect-ratio: 1; fill: none; stroke: var(--accent); stroke-width: 16; stroke-linecap: round; opacity: .16; transition: transform .6s ease; }
.card-link:hover .cover-mark { transform: rotate(8deg) scale(1.05); }
.cover-label { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.hero-event-media.cover { border-radius: 0; height: auto; }
.hero-event-media .chip { z-index: 1; }

/* Contagem regressiva */
.countdown { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; background: rgba(10, 31, 58, .78); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.countdown::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); animation: pulse 1.6s 1s 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 179, 168, .7); } 70% { box-shadow: 0 0 0 8px rgba(43, 179, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 179, 168, 0); } }

/* ---------- Botão de presença ---------- */
.rsvp-btn { position: relative; transition: background-color .25s, color .25s, border-color .25s, transform .15s; }
.rsvp-btn:active { transform: scale(.97); }
.rsvp-on, .rsvp-cancel { display: none; align-items: center; gap: 6px; }
.rsvp[data-confirmed="1"] .rsvp-off { display: none; }
.rsvp[data-confirmed="1"] .rsvp-on { display: inline-flex; }
.rsvp[data-confirmed="1"] .rsvp-btn { background: var(--teal-50); color: var(--teal-dark); border-color: #BFE3DF; }
.rsvp[data-confirmed="1"] .rsvp-btn:hover .rsvp-on, .rsvp[data-confirmed="1"] .rsvp-btn:focus-visible .rsvp-on { display: none; }
.rsvp[data-confirmed="1"] .rsvp-btn:hover .rsvp-cancel, .rsvp[data-confirmed="1"] .rsvp-btn:focus-visible .rsvp-cancel { display: inline-flex; }
.rsvp[data-confirmed="1"] .rsvp-btn:hover { background: var(--red-50); color: var(--red); border-color: #F5C2C2; }
.rsvp-check { stroke-dasharray: 24; stroke-dashoffset: 0; }
.rsvp.just-confirmed .rsvp-check { animation: draw .45s ease-out; }
.rsvp.just-confirmed .rsvp-btn { animation: pop .24s ease-out; }
.rsvp.is-loading .rsvp-btn { opacity: .7; pointer-events: none; }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* ---------- Aviso flutuante ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--navy-900); color: var(--white); padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(10, 31, 58, .25); transition: opacity .25s, transform .25s; z-index: 50; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Movimento suave ---------- */
.card-link, .stat { transition: box-shadow .2s ease-out, border-color .2s ease-out; }
.card-link:hover, .stat:hover { box-shadow: 0 12px 28px rgba(10, 31, 58, .10); }
.btn { transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, filter .15s ease-out, transform .12s ease-out, box-shadow .15s ease-out; }
.btn:active { transform: scale(.98); }

/* ---------- Menu de celular ---------- */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--navy-line); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Login em duas metades ---------- */
.split { min-height: 100vh; display: flex; background: var(--white); }
.split-brand { flex: 1 1 50%; position: relative; overflow: hidden; background: radial-gradient(120% 80% at 90% 0%, #1F5C8A 0%, transparent 55%), linear-gradient(160deg, var(--navy-900) 30%, var(--navy-700) 100%); color: var(--on-navy); padding: 48px 56px; display: flex; flex-direction: column; gap: 32px; }
.split-copy { margin-top: auto; max-width: 480px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.split-copy h2 { color: var(--white); font-size: 2.1rem; line-height: 1.2; }
.split-copy p { font-size: 17px; margin: 0; }
.split-foot { font-size: 14px; color: var(--on-navy-muted); position: relative; z-index: 1; }
.split-mark { position: absolute; right: -12%; top: 8%; width: 70%; max-width: 520px; fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; opacity: .12; }
.split-main { flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding: 48px 24px; background: var(--bg); }
.split-card { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 20px 50px rgba(10, 31, 58, .08); }
.split-card h1 { font-size: 1.6rem; margin-bottom: 6px; }

/* ---------- Cadastro em etapas ---------- */
.wizard-head, .wizard-nav [data-wizard-prev], .wizard-nav [data-wizard-next] { display: none; }
.wizard-nav { display: flex; gap: 10px; }
.wizard-nav [data-wizard-submit] { flex: 1; }
.js .wizard-head { display: block; }
.js .wizard-step { display: none; }
.js .wizard-step.is-active { display: block; animation: stepIn .3s cubic-bezier(.16, 1, .3, 1); }
.js .wizard[data-dir="back"] .wizard-step.is-active { animation-name: stepBack; }
.js .wizard-nav [data-wizard-prev], .js .wizard-nav [data-wizard-next] { display: inline-flex; }
.js .wizard-nav [data-wizard-next], .js .wizard-nav [data-wizard-submit] { margin-left: auto; min-width: 180px; flex: 0 0 auto; }
.js .wizard[data-current="1"] [data-wizard-prev] { visibility: hidden; }
.js .wizard:not([data-current="3"]) [data-wizard-submit] { display: none; }
.js .wizard[data-current="3"] [data-wizard-next] { display: none; }
.wizard-steps { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.wizard-steps li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--muted); }
.wizard-steps li span { width: 28px; height: 28px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--line); color: var(--muted); font-family: var(--font-head); font-size: 13px; transition: background-color .3s, color .3s; }
.wizard-steps li.is-current { color: var(--ink); }
.wizard-steps li.is-current span { background: var(--navy-900); color: var(--white); }
.wizard-steps li.is-done span { background: var(--teal); color: var(--white); }
.wizard-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.wizard-bar span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--teal), var(--accent)); border-radius: 3px; transition: width .4s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes fadeOnly { from { opacity: 0; } }

/* ---------- Páginas de erro ---------- */
.error-code { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; color: var(--accent); letter-spacing: -1px; }

/* ---------- Gráficos do painel (uma cor só: cada gráfico tem uma única série) ---------- */
.charts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.chart-card { display: flex; flex-direction: column; gap: 4px; }
.chart-card h2 { font-size: 17px; }
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: var(--navy-900); color: var(--white); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; z-index: 5; pointer-events: none; }
.col-chart { display: flex; align-items: stretch; gap: 10px; height: 200px; margin-top: 16px; }
.col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; outline: none; }
.col-value { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.col-track { flex: 1; width: 100%; max-width: 36px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.col-bar { width: 100%; height: var(--h); min-height: 2px; background: var(--teal); border-radius: 4px 4px 0 0; transition: filter .2s; }
.col:hover .col-bar, .col:focus-visible .col-bar { filter: brightness(1.2); }
.col-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .5px; }
.bar-chart { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 40%) 1fr 32px; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); outline: none; }
.bar-row:hover { color: var(--ink); }
.bar-row:hover .bar, .bar-row:focus-visible .bar { filter: brightness(1.2); }
.bar-label { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 14px; display: flex; }
.bar { width: var(--w); min-width: 2px; height: 100%; background: var(--teal); border-radius: 0 4px 4px 0; transition: filter .2s; }
.bar-value { font-size: 14px; font-weight: 700; text-align: right; color: var(--ink-2); }

/* Menos movimento: sem deslocamentos nem loops; feedback de estado (cor, check, esmaecer) continua */
@media (prefers-reduced-motion: reduce) {
  .countdown::before { animation: none; }
  .rsvp.just-confirmed .rsvp-btn { animation: none; }
  .js .wizard-step.is-active, .js .wizard[data-dir="back"] .wizard-step.is-active { animation-name: fadeOnly; }
  .btn:active { transform: none; }
  .toast { transform: translate(-50%, 0); }
  .nav-toggle span, .nav { transition-duration: .01ms; }
  .cover-mark, .card-link:hover .cover-mark { transition: none; transform: none; }
}

@media (max-width: 860px) {
  .topbar, .hero, .main, .page-head, .footer { padding-left: 16px; padding-right: 16px; }
  .admin { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .admin-main { padding: 1.5rem 16px 3rem; }
  .auth-card { padding: 22px; }
  .hero-hello h1 { font-size: 1.75rem; }

  .topbar-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .topbar-right { flex: 1; order: 2; }
  .nav { order: 4; flex-basis: 100%; flex-direction: column; flex-wrap: nowrap; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav.is-open { max-height: 360px; padding-bottom: 8px; }
  .nav a { height: 48px; flex-shrink: 0; }

  .split { flex-direction: column; }
  .split-brand { flex: none; padding: 28px 20px; gap: 18px; }
  .split-copy h2 { font-size: 1.4rem; }
  .split-copy p, .split-foot { display: none; }
  .split-main { padding: 24px 16px 40px; justify-content: flex-start; }
  .split-card { padding: 24px; }
  .wizard-steps li { font-size: 13px; }
}

/* Equipe e acessos */
.access-legend { max-width: 1000px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 24px; }
.access-legend p { margin: 8px 0 0; color: var(--muted); }
.role-form select { min-width: 130px; padding: 6px 10px; font-size: 14px; }
.sidebar-foot small { font-size: 12px; letter-spacing: .5px; color: var(--on-navy-muted); }
