/* ==========================================================
   AuraVerde CRM · camada própria (painel, portal da família e páginas públicas)
   Verde-musgo #566442 / #3B4F2E · creme #F6F3EC · texto #122837
   amarelo #F5AD00 · terracota #D4613C (texto: #A4492B) · Optima + Lato
   ========================================================== */

:root { --moss: #566442; --moss-d: #3b4f2e; --moss-l: #8a9e6a; --cream: #f6f3ec; --sand: #e8dcc8; --sun: #f5ad00; --clay: #d4613c; --clay-t: #a4492b; --head: Optima, Candara, 'Marcellus', Georgia, serif; }
:root:not([data-theme="dark"]) { --accent-soft: #ebe7da; --line: #e3dccb; --line-2: #d6cdb8; --card: #fffdf8; --muted: #5d6660; }
body.av h1, body.av h2, body.av h3, .top-title { font-family: var(--head); font-weight: 700; letter-spacing: 0; }
.btn--primary { background: var(--moss); border-color: var(--moss); color: #fff; }
.btn--primary:hover { background: var(--moss-d); border-color: var(--moss-d); }
.side .side-nav a.is-active { box-shadow: inset 3px 0 0 var(--sun); }
.side .side-brand img { max-height: 64px; width: auto; }
.side-label { color: rgba(246,243,236,.62) !important; }
::selection { background: var(--sun); color: #122837; }
.eyebrow { color: var(--moss); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
[data-theme="dark"] .eyebrow { color: var(--moss-l); }

/* Idiomas */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--accent-soft); }
.lang-switch a { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.lang-switch a.is-on { background: var(--moss); color: #fff; }
.lang-switch--side { background: rgba(255,255,255,.08); margin-top: 6px; }
.lang-switch--side a { color: #f6f3ec; }
.lang-switch--side a.is-on { background: var(--sun); color: #1f2a17; }
.ml-fields { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ml-fields legend { font-size: 13px; font-weight: 600; padding: 0 6px; }
.ml-fields .field span { font-weight: 700; color: var(--moss); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* Selos */
.badge--grp-open { background: #e5ecd8; color: #3b4f2e; border-color: transparent; }
.badge--grp-full { background: #fbe6dd; color: #8c3a20; border-color: transparent; }
.badge--grp-run { background: #fff1cc; color: #6d4b00; border-color: transparent; }
.badge--grp-plan, .badge--grp-done { background: var(--accent-soft); color: var(--muted); border-color: transparent; }
.badge--free { background: var(--sun); color: #1f2a17; border-color: transparent; font-weight: 700; }
.badge--wait { background: #fff1cc; color: #6d4b00; border-color: transparent; }

/* Grupos */
.grp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.grp-card { --grp: var(--moss); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); border-top: 5px solid var(--grp); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.grp-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(59,79,46,.55); }
.grp-card h3 { font-size: 1.15rem; }
.grp-card-top { display: flex; flex-wrap: wrap; gap: 6px; }
.grp-card-foot { display: flex; justify-content: space-between; gap: 8px; }
.seat-bar { height: 8px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; margin: 6px 0 2px; }
.seat-bar i { display: block; height: 100%; background: var(--grp, var(--moss)); border-radius: inherit; transition: width .8s var(--ease); }
.grp-head { --grp: var(--moss); display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; border-left: 6px solid var(--grp); margin: 10px 0 18px; }
.grp-head h2 { font-size: 1.6rem; margin: 6px 0 4px; }
.seat-big { font-family: var(--head); }
.seat-big b { font-size: 2.6rem; color: var(--grp); }
.seat-big span { font-size: 1.1rem; color: var(--muted); }
.table--kids .table-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 160px 120px auto; }
.avatar--kid { background: #fff1cc; color: #6d4b00; }
.select-sm { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; }
/* ===== Caixa de entrada estilo Gmail ===== */
.gm { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; align-items: start; }
.gm-side { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.gm-compose-btn { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 16px 24px 16px 18px; margin-bottom: 10px; border: 0; border-radius: 16px; background: #e4ecd9; color: #1f2a17; font: 600 15px/1 var(--font); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: box-shadow .2s; }
.gm-compose-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.gm-folders { display: flex; flex-direction: column; }
.gm-folders a, .gm-folders button { display: flex; align-items: center; gap: 14px; padding: 7px 14px 7px 18px; border: 0; border-radius: 0 999px 999px 0; background: none; color: var(--ink); font: 400 14px var(--font); text-align: left; cursor: pointer; text-decoration: none; }
.gm-folders a:hover, .gm-folders button:hover { background: rgba(0,0,0,.05); }
.gm-folders a.is-active { background: #d9e4cc; font-weight: 700; color: #1f2a17; }
.gm-folders span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-folders b { font-size: 12px; }
.gm-folders small { color: var(--muted); font-size: 12px; }
.gm-folders i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.gm-side-label { margin: 14px 0 2px 18px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.gm-main { background: var(--card); border-radius: 16px; border: 1px solid var(--line); min-height: 70vh; overflow: hidden; }
.gm-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.gm-search { flex: 1; display: flex; align-items: center; gap: 10px; max-width: 720px; padding: 0 16px; border-radius: 999px; background: #eef1ea; }
.gm-search input { flex: 1; border: 0; background: none; padding: 11px 0; font: 15px var(--font); color: var(--ink); outline: none; }
.gm-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.gm-icon:hover { background: rgba(0,0,0,.06); }
.gm-glyph { font-size: 20px; line-height: 1; }
.gm-list { list-style: none; margin: 0; padding: 0; }
.gm-list li a { display: grid; grid-template-columns: 200px minmax(0, 1fr) 72px; gap: 14px; align-items: center; padding: 9px 18px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; background: #f5f7f2; }
.gm-list li.is-unread a, .gm-main > .gm-list li a[href*="ver="] { background: var(--card); }
.gm-list li a:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 3px rgba(60,64,67,.2); position: relative; z-index: 1; }
.gm-who, .gm-subj { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-subj b { font-weight: 400; }
.gm-subj em { font-style: normal; color: var(--muted); }
.gm-list li.is-unread .gm-who, .gm-list li.is-unread .gm-subj b, .gm-list li.is-unread .gm-when { font-weight: 700; }
.gm-when { text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.gm-tag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px; background: #e4ecd9; color: #3b4f2e !important; font: 600 11px var(--font) !important; vertical-align: 1px; }
.gm-tag--lead { background: #fff1cc; color: #6d4b00 !important; }
.gm-tag--spam { background: #fde2dc; color: #a4492b !important; }
.gm-empty { display: grid; place-items: center; gap: 10px; padding: 80px 20px; color: var(--muted); text-align: center; }
.gm-read { padding: 22px 28px 30px; }
.gm-read h2 { margin: 0 0 18px; font: 400 22px var(--font); }
.gm-from { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gm-from > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gm-from small { color: var(--muted); }
.gm-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; flex: none; }
.gm-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.gm-body { font-size: 14px; line-height: 1.6; max-width: 820px; overflow-wrap: anywhere; }
.gm-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gm-file { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 13px; }
.gm-read-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.gm-read-actions form { display: inline; }
.gm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 1px solid #747775; border-radius: 999px; background: none; color: var(--ink); font: 500 14px var(--font); cursor: pointer; text-decoration: none; }
.gm-pill:hover { background: rgba(0,0,0,.05); }

/* Janela de escrever (canto inferior direito) */
.gm-compose { position: fixed; right: 24px; bottom: 0; z-index: 900; width: 560px; max-width: calc(100vw - 32px); height: min(620px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--card); border-radius: 12px 12px 0 0; box-shadow: 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12), 0 5px 5px -3px rgba(0,0,0,.2); overflow: hidden; }
.gm-compose[hidden] { display: none; }
.gm-compose.is-min { height: auto; width: 300px; }
.gm-compose.is-min .gm-cform { display: none; }
.gm-compose.is-max { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: min(1100px, calc(100vw - 80px)); height: calc(100vh - 80px); border-radius: 12px; }
.gm-compose-shade { position: fixed; inset: 0; z-index: 899; background: rgba(0,0,0,.4); }
.gm-cbar { display: flex; align-items: center; gap: 4px; padding: 10px 10px 10px 16px; background: #f2f6fc; background: #e9efe2; font-weight: 600; font-size: 14px; cursor: pointer; }
.gm-cbar span { flex: 1; }
.gm-cbar button { width: 28px; height: 28px; border: 0; border-radius: 4px; background: none; color: var(--ink); font-size: 16px; cursor: pointer; }
.gm-cbar button:hover { background: rgba(0,0,0,.08); }
.gm-cform { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0 16px; }
.gm-row { display: flex; align-items: center; gap: 8px; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 14px; }
.gm-row > span { color: var(--muted); }
.gm-row input, input.gm-row { flex: 1; min-width: 80px; border: 0; background: none; padding: 9px 0; font: 14px var(--font); color: var(--ink); outline: none; }
.gm-to { flex-wrap: wrap; padding: 4px 0; }
input.gm-subject { flex: none; width: 100%; min-height: 40px; }
.gm-chips { display: contents; }
.gm-chips .chip { padding: 3px 10px; font-size: 13px; border-radius: 999px; background: #e4ecd9; border: 0; cursor: pointer; }
.gm-link { border: 0; background: none; color: #3b4f2e; font: 600 13px var(--font); cursor: pointer; padding: 4px 6px; border-radius: 6px; white-space: nowrap; }
.gm-link:hover { background: rgba(0,0,0,.05); }
.gm-picker { border-bottom: 1px solid var(--line); padding: 8px 0 10px; max-height: 300px; overflow: auto; }
.gm-picker[hidden] { display: none; }
.gm-picker-t { margin: 8px 0 2px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.gm-picker-ok { display: block; margin: 8px 0 0 auto; }
.gm-picker .rcp-list--people { max-height: none; overflow: visible; }
.gm-picker .rcp-search { margin-top: 4px; }
.gm-text { flex: 1; min-height: 120px; border: 0; resize: none; padding: 12px 0; font: 14px/1.55 var(--font); color: var(--ink); background: none; outline: none; }
.gm-cfoot { display: flex; align-items: center; gap: 12px; padding: 12px 0 14px; }
.gm-send { padding: 10px 24px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.gm-send:hover { filter: brightness(1.08); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.gm-send:disabled { opacity: .6; }
.gm-tpl { position: relative; }
.gm-tpl summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #3b4f2e; }
.gm-tpl summary::-webkit-details-marker { display: none; }
.gm-tpl summary:hover { background: rgba(0,0,0,.05); }
.gm-tpl > div { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 5; width: 260px; padding: 6px; background: var(--card); border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.2); display: flex; flex-direction: column; }
.gm-tpl > div button { padding: 8px 10px; border: 0; background: none; text-align: left; font: 13px var(--font); color: var(--ink); border-radius: 6px; cursor: pointer; }
.gm-tpl > div button:hover { background: var(--bg); }
.gm-hint { flex: 1; font-size: 12px; color: var(--muted); }
.gm-trash { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.gm-trash:hover { background: rgba(0,0,0,.06); color: var(--ink); }
@media (max-width: 900px) {
	.gm { grid-template-columns: 1fr; }
	.gm-side { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
	.gm-compose-btn { margin: 0; }
	.gm-side-label, .gm-folders--groups { display: none; }
	.gm-folders { flex-direction: row; }
	.gm-list li a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 10px; }
	.gm-list li a .gm-subj { grid-column: 1 / -1; grid-row: 2; }
	.gm-compose, .gm-compose.is-max { inset: 0; transform: none; width: 100%; max-width: none; height: 100%; border-radius: 0; }
}
[data-theme="dark"] .gm-compose-btn, [data-theme="dark"] .gm-folders a.is-active, [data-theme="dark"] .gm-cbar { background: #2b3524; color: var(--ink); }
[data-theme="dark"] .gm-search, [data-theme="dark"] .gm-list li a { background: #1b1f18; }
[data-theme="dark"] .gm-list li.is-unread a { background: var(--card); }

.btn--cancel-vaga { margin-left: 8px; color: #a4492b; }
.mini-list li .inline-form { display: inline-block; }

/* ===== Blog ===== */
.blog-list { display: flex; flex-direction: column; }
.blog-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.blog-item:hover { background: var(--bg); }
.blog-thumb { width: 96px; height: 60px; border-radius: 8px; background: #e9efe2 center / cover no-repeat; }
.blog-info { display: flex; flex-direction: column; min-width: 0; }
.blog-info strong { font-size: 15px; }
.blog-info small { color: var(--muted); }
.blog-steps { margin: 0 0 14px 18px; line-height: 1.7; }
.blog-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.blog-main { display: flex; flex-direction: column; gap: 12px; }
.blog-title { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 8px 0 12px; font: 700 28px/1.2 var(--head); color: var(--ink); outline: none; }
.blog-tools { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.blog-tools button { min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 600 13px var(--font); cursor: pointer; }
.blog-tools button:hover { background: var(--bg); }
.blog-tools > i { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.blog-busy { font-size: 12px; color: var(--muted); margin-left: 6px; }
.blog-editor { min-height: 420px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font: 17px/1.7 var(--font); color: var(--ink); outline: none; overflow-wrap: anywhere; }
.blog-editor:focus { border-color: var(--accent); }
.blog-editor h2 { font: 700 24px/1.3 var(--head); margin: 1.2em 0 .4em; }
.blog-editor h3 { font: 700 19px/1.3 var(--head); margin: 1em 0 .3em; }
.blog-editor p { margin: 0 0 .9em; }
.blog-editor blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); font-style: italic; }
.blog-editor img { max-width: 100%; height: auto; border-radius: 8px; }
.blog-editor figure { margin: 1em 0; }
.blog-editor a { color: var(--accent); }
.blog-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 12px; }
.blog-side .card { padding: 16px; }
.blog-side h3 { margin: 0 0 10px; font-size: 15px; }
.blog-cover { width: 100%; border-radius: 8px; margin-bottom: 6px; }
.blog-cats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; max-height: 220px; overflow: auto; }
@media (max-width: 960px) { .blog-cols { grid-template-columns: 1fr; } .blog-side { position: static; } }

.table--nl .table-row { grid-template-columns: minmax(0, 1.6fr) 170px 170px 140px auto; }
@media (max-width: 900px) { .table--nl .table-row { grid-template-columns: 1fr; } }

/* Novo e-mail: escolher grupos e famílias */
.rcp-chosen { display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); align-items: center; }
.rcp-chip { cursor: pointer; }
.rcp-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.rcp-box > summary { cursor: pointer; font-weight: 700; list-style: none; }
.rcp-box > summary::-webkit-details-marker { display: none; }
.rcp-search { width: 100%; margin: 10px 0 6px; }
.rcp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 12px; margin-top: 8px; }
.rcp-list--people { max-height: 240px; overflow: auto; }
.rcp-item { display: flex; gap: 10px; align-items: flex-start; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.rcp-item:hover { background: var(--bg); }
.rcp-item[hidden] { display: none; }
.rcp-item input { margin-top: 3px; flex: none; }
.rcp-item span { display: flex; flex-direction: column; min-width: 0; }
.rcp-item small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcp-item--opt { margin-top: 6px; }

/* "Mover para outro grupo": nome próprio para não herdar o balão .menu-pop do app.css */
.menu-move { position: relative; display: inline-block; }
.menu-move > summary { list-style: none; }
.menu-move > summary::-webkit-details-marker { display: none; }
.menu-move-in { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 260px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }
.wait-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.wait-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy-line { display: flex; gap: 6px; margin: 8px 0; }
.copy-line input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); font-size: 12.5px; }
.danger-zone { margin-top: 8px; text-align: right; }

/* Encontros */
.sess-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sess-list a, .sess-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--card); }
.sess-list a:hover { border-color: var(--moss-l); }
.sess-list li { border-left: 0; }
.sess-list li[style] .sess-row { border-left: 4px solid var(--grp); }
.sess-date { display: flex; flex-direction: column; align-items: center; min-width: 40px; line-height: 1; }
.sess-date b { font: 700 1.3rem/1 var(--head); color: var(--moss); }
.sess-date small { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.sess-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sess-info small { font-size: 12px; color: var(--muted); }
.sess-go { color: var(--moss); }
.sess-list .is-done .sess-date b { color: var(--muted); }
.sess-list .is-late a { border-style: dashed; }

/* Chamada */
.att-head { --grp: var(--moss); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-left: 6px solid var(--grp); margin: 10px 0 18px; }
.att-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.att-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(140px, 220px); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.att-opts { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.att-opt input { position: absolute; opacity: 0; pointer-events: none; }
.att-opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; }
.att-opt input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.att-opt--presente input:checked + span { background: var(--moss); border-color: var(--moss); color: #fff; }
.att-opt--falta input:checked + span { background: #8c3a20; border-color: #8c3a20; color: #fff; }
.att-opt--justificada input:checked + span { background: var(--sun); border-color: var(--sun); color: #1f2a17; }
.att-note { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); width: 100%; }
.btn--lg { min-height: 50px; padding: 0 24px; font-size: 15px; }

/* Pacotes */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pkg-card { display: flex; flex-direction: column; gap: 6px; }
.pkg-card.is-hl { border: 2px solid var(--sun); }
.pkg-card.is-off { opacity: .6; }
.pkg-price { font: 700 1.9rem/1.1 var(--head); color: var(--moss); }
[data-theme="dark"] .pkg-price { color: var(--moss-l); }

/* Portal */
.chello--aura { position: relative; overflow: hidden; border-radius: 24px; padding: 34px 28px; background: #2c3a22; color: #fff; margin-bottom: 18px; }
.chello--aura::before { content: ''; position: absolute; inset: 0; background: var(--hero) center / cover; opacity: .35; }
.chello--aura::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,42,23,.92), rgba(31,42,23,.35)); }
.chello--aura > div { position: relative; z-index: 1; max-width: 560px; }
.chello--aura .eyebrow { color: var(--sun); }
.chello--aura h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.chello--aura p { color: #f0ece2; }
.alert-bar--pay { background: #fff1cc; color: #4d3500; border-color: transparent; }
.kid-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kid-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--accent-soft); }
.kid-chip span { display: flex; flex-direction: column; line-height: 1.2; }
.kid-chip small { font-size: 11.5px; color: var(--muted); }
.news-row { --grp: var(--moss); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border-left: 4px solid var(--grp); border-radius: 0 12px 12px 0; background: var(--bg); margin-bottom: 8px; text-decoration: none; color: var(--ink); }
.news-row small { grid-column: 1; font-size: 12px; color: var(--muted); }
.news-row em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; }
.ctop-nav a.is-on { color: var(--moss); font-weight: 700; }
.q-models { margin: 6px 0 12px; display: flex; flex-direction: column; gap: 8px; }

/* ==========================================================
   Páginas públicas (inscrição e pagamento)
   ========================================================== */
body.av-aura { background: var(--cream); color: #122837; }
.aura-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, calc((100vw - 1080px) / 2)); background: var(--cream); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #e3dccb; }
.aura-top-brand img { height: 54px; width: auto; }
.aura-hero { position: relative; min-height: 360px; display: flex; align-items: flex-end; padding: 56px max(16px, calc((100vw - 1080px) / 2)) 44px; background: #2c3a22; color: #fff; overflow: hidden; }
.aura-hero::before { content: ''; position: absolute; inset: 0; background: var(--hero) center 30% / cover; animation: auraZoom 20s ease-in-out infinite alternate; }
.aura-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,42,23,.92) 0%, rgba(31,42,23,.6) 55%, rgba(31,42,23,.2) 100%); }
@keyframes auraZoom { to { transform: scale(1.06); } }
.aura-hero-in { position: relative; z-index: 1; max-width: 620px; }
.aura-hero h1 { font: 700 clamp(2rem, 5vw, 3.4rem)/1.08 var(--head); color: #fff; margin: 8px 0 12px; }
.aura-hero p { font-size: 1.08rem; color: #f0ece2; }
.aura-eyebrow { display: inline-block; font: 700 12px/1 'Lato', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.aura-eyebrow::before { content: '• '; color: var(--sun); }
.aura-eyebrow--light { color: var(--sun); }
.aura-main { max-width: 1080px; margin: 0 auto; padding: 34px 16px 56px; display: flex; flex-direction: column; gap: 22px; }
.is-embed .aura-main { padding-top: 12px; }
.aura-embed-top { display: flex; justify-content: flex-end; padding: 10px 16px 0; }
.aura-card { background: #fffdf8; border: 1px solid #e3dccb; border-radius: 24px; padding: 28px; }
.aura-error { background: #fbe6dd; color: #8c3a20; padding: 12px 16px; border-radius: 14px; font-weight: 600; }
.aura-note { background: #fff1cc; color: #4d3500; padding: 12px 16px; border-radius: 14px; }
.aura-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.aura-form { display: flex; flex-direction: column; gap: 18px; }
.aura-step { background: #fffdf8; border: 1px solid #e3dccb; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.aura-step > header { display: flex; gap: 14px; align-items: flex-start; }
.aura-step h2 { font: 700 1.35rem/1.2 var(--head); color: #122837; }
.aura-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--moss); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 1rem/1 var(--head); }
.aura-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.av-aura .field span { color: #2f3a33; font-weight: 600; }
.av-aura .field input, .av-aura .field select, .av-aura .field textarea { background: #fff; border: 1px solid #d6cdb8; border-radius: 12px; min-height: 48px; padding: 10px 14px; font-size: 16px; width: 100%; }
.av-aura .field textarea { min-height: 70px; }
.av-aura .field input:focus, .av-aura .field select:focus, .av-aura .field textarea:focus { outline: 2px solid var(--sun); outline-offset: 1px; border-color: var(--moss); }
.aura-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.aura-group { --grp: var(--moss); position: relative; cursor: pointer; }
.aura-group input { position: absolute; opacity: 0; inset: 0; }
.aura-group-in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 20px; border: 2px solid #e3dccb; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.aura-group:hover .aura-group-in { transform: translateY(-2px); }
.aura-group input:checked + .aura-group-in { border-color: var(--grp); box-shadow: 0 0 0 4px rgba(86,100,66,.15); }
.aura-group input:focus-visible + .aura-group-in { outline: 3px solid var(--sun); outline-offset: 2px; }
.aura-group strong { font: 700 1.2rem/1.2 var(--head); color: #122837; }
.aura-group-top { display: flex; gap: 6px; flex-wrap: wrap; }
.aura-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #ebe7da; color: #3b4f2e; }
.aura-chip--free { background: var(--sun); color: #1f2a17; }
.aura-group-when { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #2f3a33; }
.aura-group-desc { font-size: 13.5px; color: #4a5560; line-height: 1.5; }
.aura-seats { margin-top: auto; font-size: 13px; font-weight: 700; color: #3b4f2e; }
.aura-seats.is-low { color: #8c3a20; }
.aura-group.is-full .aura-seats { color: #8c3a20; }
.aura-choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aura-choices legend { font-weight: 600; margin-bottom: 8px; width: 100%; }
.aura-pill { position: relative; }
.aura-pill input { position: absolute; opacity: 0; }
.aura-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #d6cdb8; background: #fff; cursor: pointer; font-size: 14px; }
.aura-pill input:checked + span { background: var(--moss); border-color: var(--moss); color: #fff; }
.aura-pill input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.aura-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.aura-agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--moss); flex-shrink: 0; }
.aura-agree a { color: #3b4f2e; }
.aura-submit { align-self: flex-start; min-width: 240px; }
.aura-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.aura-done h2 { font: 700 1.8rem/1.2 var(--head); }
.aura-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.aura-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #ebe7da; color: #3b4f2e; }
.aura-ic--ok { background: var(--moss); color: #fff; }
.aura-erik { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: center; background: #2c3a22; color: #f0ece2; border-radius: 24px; padding: 24px; }
.aura-erik img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.aura-erik h2 { font: 700 1.6rem/1.2 var(--head); color: #fff; margin: 6px 0; }
.aura-erik .aura-eyebrow { color: var(--sun); }
.aura-pay { max-width: 560px; margin: 0 auto; padding: 34px 16px 56px; display: flex; flex-direction: column; gap: 18px; }
.aura-pay-card { display: flex; flex-direction: column; gap: 14px; }
.aura-pay-card h1 { font: 700 1.9rem/1.2 var(--head); }
.aura-sum { margin: 0; border-top: 1px solid #e3dccb; }
.aura-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e3dccb; }
.aura-sum dt { color: #5d6660; font-size: 14px; }
.aura-sum dd { margin: 0; font-weight: 700; text-align: right; }
.aura-sum-total { font: 700 1.5rem/1 var(--head) !important; color: #3b4f2e; }
.aura-pay-opt { display: flex; flex-direction: column; gap: 8px; }
details.aura-pay-opt { border: 1px solid #e3dccb; border-radius: 16px; padding: 12px 16px; }
details.aura-pay-opt summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.aura-pay-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.av-aura .lang-switch { background: #ebe7da; }
.av-aura .eleve-credit { align-self: center; margin: 10px auto 0; }

@media (max-width: 900px) {
	.grp-head { grid-template-columns: 1fr; }
	.ml-fields, .grid-3 { grid-template-columns: 1fr; }
	.att-list li { grid-template-columns: 1fr; }
	.table--kids .table-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.aura-hero { min-height: 300px; padding-top: 40px; }
	.aura-step, .aura-card { padding: 20px 16px; border-radius: 20px; }
	.aura-erik { grid-template-columns: 1fr; text-align: center; }
	.aura-erik img { max-width: 160px; margin: 0 auto; }
	.aura-submit { align-self: stretch; }
	.aura-top-brand img { height: 44px; }
	.att-opt span { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.aura-hero::before { animation: none; }
}
.auth-lang { display: flex; justify-content: flex-end; margin-bottom: 8px; }
/* Dashboard */
.dash-groups { display: flex; flex-direction: column; gap: 10px; }
.dash-group { --grp: var(--moss); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--grp); }
.dash-group:hover { border-color: var(--moss-l); }
.dash-group-t { display: flex; flex-direction: column; min-width: 0; }
.dash-group-t small { color: var(--muted); font-size: 12px; }
.dash-group-n { font-size: 13px; color: var(--muted); align-self: center; }
.dash-group-n b { font: 700 1.2rem/1 var(--head); color: var(--grp); }
.dash-group .seat-bar { grid-column: 1 / -1; margin: 0; }
.inbox-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.inbox-mini a { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg); text-decoration: none; color: var(--ink); font-size: 13px; }
.inbox-mini a span { flex: 1; }
.inbox-mini b { min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); }
.inbox-mini b.is-on { background: var(--sun); color: #1f2a17; }
a.stat { text-decoration: none; color: inherit; }
@media (max-width: 640px) { .inbox-mini { grid-template-columns: 1fr; } }
/* Caixa de entrada */
.inbox-list { list-style: none; margin: 0; padding: 0; }
.inbox-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.inbox-list a:hover { background: var(--bg); }
.inbox-list .is-new strong { font-weight: 800; }
.inbox-ic { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--moss); }
.inbox-ic--whatsapp { background: #e1f3e8; color: #0e7a3c; }
.inbox-ic--email { background: #fff1cc; color: #6d4b00; }
.inbox-ic--site { background: #fbe6dd; color: #8c3a20; }
.inbox-body { display: flex; flex-direction: column; min-width: 0; }
.inbox-body small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-when { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.inbox-when b { background: var(--sun); color: #1f2a17; border-radius: 99px; padding: 1px 8px; }
/* Portal: topo no verde da marca */
.av-client .ctop { background: #3b4f2e !important; }
.av-client .ctop-nav a { color: #f6f3ec; }
.av-client .ctop-nav a.is-on { color: #f5ad00; font-weight: 700; }
.av-client .ctop-brand span { color: #f6f3ec; }
.av-client .ctop .lang-switch { background: rgba(255,255,255,.12); }
.av-client .ctop .lang-switch a { color: #f6f3ec; }
.av-client .ctop .lang-switch a.is-on { background: #f5ad00; color: #1f2a17; }

/* Anmeldung por data (1.1.0) */
.bk { max-width: 820px; }
.bk-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bk-group { text-decoration: none; color: inherit; }
.bk-cta { margin-top: 8px; align-self: flex-start; }
.bk-desc p { margin: 0 0 8px; line-height: 1.6; }
.bk-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 14px 0 0; }
.bk-facts dt, .bk-sum-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #5d6660; }
.bk-facts dd, .bk-sum-list dd { margin: 2px 0 0; font-weight: 600; color: #122837; }
.bk-offers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bk-offer, .bk-date { position: relative; cursor: pointer; }
.bk-offer input, .bk-date input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-offer > span, .bk-date > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid #e3dccb; border-radius: 18px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.bk-offer strong { font: 700 1.15rem/1.2 var(--head); color: #122837; }
.bk-price { font-size: 1.4rem; color: var(--moss-d); }
.bk-offer small, .bk-date small { color: #5d6660; }
.bk-offer input:checked + span, .bk-date input:checked + span { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(86,100,66,.15); background: #f7f9f2; }
.bk-offer input:focus-visible + span, .bk-date input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.bk-dates { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.bk-date strong { color: #122837; }
.bk-date em { font-style: normal; font-size: 12.5px; color: var(--moss-d); }
.bk-date.is-full em { color: #8c3a20; }
.bk-date.is-off > span { opacity: .45; }
.bk-date input:checked + span::after { content: '✓'; position: absolute; top: 10px; right: 14px; color: var(--moss); font-weight: 700; }
.bk-count.is-err { color: #8c3a20; font-weight: 600; }
.bk-kid { border: 1px solid #e3dccb; border-radius: 16px; padding: 14px; margin: 0; }
.bk-kid legend { padding: 0 6px; font-weight: 700; color: #122837; }
.bk-grid-3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.bk-kid-add { align-self: flex-start; }
.bk-kid-del { margin-top: 6px; }
.bk-sum h2 { font: 700 1.4rem/1.2 var(--head); color: #122837; margin: 0 0 14px; }
.bk-sum-list { display: grid; gap: 12px; margin: 0 0 14px; }
.bk-sum-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #ece5d5; }
.bk-sum-kid, .bk-sum-date { display: block; }
.bk-sum-kid b { color: var(--moss-d); margin-left: 6px; }
.bk-sum-total dd { font-size: 1.4rem; color: var(--moss-d); }
.bk-cons-title { font-weight: 700; color: #122837; margin: 8px 0 0; }
.bk-foot { text-align: center; }
.bk-foot a { color: inherit; }
.bk-legal-text h1 { font: 700 1.6rem/1.2 var(--head); color: #122837; }
.bk-legal-text p { line-height: 1.65; }
@media (max-width: 600px) {
	.bk-sum-list > div { grid-template-columns: 1fr; gap: 2px; }
	.bk-dates { grid-template-columns: 1fr 1fr; }
	.aura-step, .aura-card { padding: 18px; border-radius: 18px; }
	.aura-submit { width: 100%; }
}
