/* =========================================================
   FONTES EXTERNAS
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');


/* =========================================================
   VARIÁVEIS GLOBAIS
   ========================================================= */
:root {
    --azul: #061a38;
    --azul-2: #082650;
    --azul-3: #041025;
    --dourado: #d0a957;
    --dourado-2: #f1d184;
    --creme: #f4efe3;
    --creme-2: #fffaf0;
    --texto: #172039;
    --borda: rgba(208,169,87,.38);
    --sombra: 0 22px 55px rgba(0,0,0,.18);
}


/* =========================================================
   RESET
   ========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 170px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--creme);
    color: var(--texto);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */
.topo {
    position: relative;
    z-index: 1000;
    padding: 18px 0 0;
}

.cabecalho-institucional {
    height: 118px;
    background: radial-gradient(circle at center, #fffdf6 0%, var(--creme) 64%, #e9dfcd 100%);
    border: 1px solid rgba(208,169,87,.28);
    border-bottom: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    display: grid;
    grid-template-columns: 96px minmax(0,1fr) 96px;
    align-items: center;
    gap: 16px;
    padding: 8px 4.5% 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.cabecalho-institucional::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(208,169,87,.16), transparent 16%, transparent 84%, rgba(208,169,87,.16));
    pointer-events: none;
}

.logo-cabecalho {
    position: relative;
    z-index: 2;
    margin: auto;
    filter: drop-shadow(0 7px 10px rgba(0,0,0,.16));
}

.logo-loja-topo,
.logo-direita {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.titulo-cabecalho {
    text-align: center;
    position: relative;
    z-index: 2;
}

.sigla-principal {
    font-family: 'Cinzel', serif;
    color: var(--dourado);
    font-weight: 800;
    font-size: clamp(1.25rem,2.8vw,2.35rem);
    letter-spacing: .09em;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 1px 0 #fff;
}

.titulo-cabecalho h1 {
    font-family: 'Cinzel', serif;
    color: #071657;
    font-weight: 800;
    font-size: clamp(.92rem,1.5vw,1.42rem);
    line-height: 1.08;
    letter-spacing: .015em;
    white-space: nowrap;
}


/* =========================================================
   MENU
   ========================================================= */
.navbar {
    min-height: 60px;
    background: rgba(6,26,56,.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(208,169,87,.22);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    margin: -8px 4.5% 0;
    position: relative;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px,1vw,14px);
    height: 100%;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .04em;
    height: 100%;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    border-bottom: 0;
    padding: 8px 10px;
    opacity: .95;
    border-radius: 999px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.menu a:hover,
.menu a.ativo {
    color: var(--dourado-2);
    background: rgba(255,255,255,.06);
    transform: translateY(-1px);
}

.menu a span {
    display: inline-flex;
    align-items: center;
}

.menu-ico {
    color: var(--dourado);
    font-size: .75rem;
    margin-right: 8px;
    line-height: 1;
}

.btn-presenca,
.btn-calendario {
    background: linear-gradient(135deg, var(--dourado), #edc66d);
    color: #051735;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .04em;
    border-radius: 999px;
    padding: 10px 15px;
    box-shadow: 0 8px 18px rgba(0,0,0,.1);
    white-space: nowrap;
    font-size: .72rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-admin {
    color: var(--dourado-2);
    text-decoration: none;
    border: 1px solid rgba(208,169,87,.42);
    border-radius: 999px;
    padding: 8px 12px;
    white-space: nowrap;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 44px;
    border: 1px solid var(--borda);
    border-radius: 8px;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 23px;
    height: 2px;
    background: var(--dourado-2);
    border-radius: 999px;
}


/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: 220px;
    background: linear-gradient(rgba(5,21,48,.88), rgba(5,21,48,.9)), radial-gradient(circle at 50% 45%, rgba(208,169,87,.1), transparent 22%), linear-gradient(90deg, #06152e, #0c2d5d, #06152e);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--dourado);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4,15,34,.9) 0%, transparent 14%, transparent 86%, rgba(4,15,34,.9) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: center;
    min-height: 220px;
    padding: 18px 5%;
}

.hero-logo-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
    align-self: center;
}

.hero-texto {
    grid-column: 2;
    grid-row: 1;
}

.hero-texto h2 {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    font-size: clamp(1.55rem,2.6vw,2.2rem);
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-texto h2 span {
    color: var(--dourado);
}

.hero-texto p {
    color: #fff;
    font-size: .9rem;
    line-height: 1.55;
    max-width: 520px;
    margin-bottom: 16px;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
}

.hero-logo {
    width: min(220px, 100%);
    filter: drop-shadow(0 25px 35px rgba(0,0,0,.42));
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid var(--dourado);
    padding: 11px 18px;
    border-radius: 7px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em;
    background: rgba(255,255,255,.04);
}

.btn-outline-primary {
    background: var(--dourado);
    color: #06152e;
}

.btn-outline-secondary {
    background: rgba(255,255,255,.04);
}

.btn-outline:hover {
    background: var(--dourado);
    color: #06152e;
}


/* =========================================================
   ATALHOS
   ========================================================= */
.atalhos {
    background: var(--creme-2);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 5% 20px;
}

.atalho-card {
    background: linear-gradient(180deg, #fffdf8, #f5efe3);
    border: 1px solid #ded5c7;
    border-radius: 7px;
    padding: 18px 15px;
    text-align: center;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    min-height: 160px;
}

.icone {
    font-family: 'Cinzel', serif;
    color: var(--dourado);
    font-size: 1.7rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.atalho-card h3,
.vm-card h3,
.contato h3 {
    font-family: 'Cinzel', serif;
    color: #071657;
    margin-bottom: 10px;
}

.atalho-card p {
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.atalho-card a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    color: #071657;
    font-size: .82rem;
    letter-spacing: .07em;
}


/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */
.secao {
    padding: 44px 5%;
}

.secao > *,
.secao-topo {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.secao-azul {
    background: linear-gradient(135deg, #051936, #082a58);
    color: #fff;
}

.clara {
    background: var(--creme);
}

.pre-titulo {
    display: block;
    color: var(--dourado);
    font-size: .8rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
}

.secao h2 {
    font-family: 'Cinzel', serif;
    color: var(--dourado);
    font-size: clamp(1.35rem,2vw,1.7rem);
    margin-bottom: 12px;
}

.clara h2 {
    color: #071657;
}

.secao p {
    font-size: .94rem;
    line-height: 1.6;
}

.texto-largo {
    max-width: 800px;
}

.duas-colunas {
    display: grid;
    grid-template-columns: minmax(0,1fr) 230px;
    gap: 24px;
    align-items: center;
}

.duas-colunas > * {
    max-width: none;
}

.brasao-box {
    background: #fff;
    border: 1px solid #ded5c7;
    border-radius: 10px;
    padding: 14px;
    box-shadow: var(--sombra);
}

.secao-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.secao-topo h2 {
    margin: 0;
}


/* =========================================================
   CALENDÁRIO
   ========================================================= */
.reunioes-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reuniao-card {
    background: #fffdf8;
    color: #071657;
    border-radius: 10px;
    border: 1px solid rgba(208,169,87,.4);
    padding: 16px 18px;
    min-height: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
    display: grid;
    grid-template-columns: minmax(110px, 130px) minmax(160px, 220px) minmax(240px, 1.7fr) minmax(110px, 130px) minmax(120px, 132px) minmax(50px, 64px) minmax(90px, 120px);
    gap: 16px;
    align-items: center;
}

.reuniao-card--realizada {
    border-color: rgba(208,169,87,.65);
    background: linear-gradient(180deg, #fffdf8, #f6ebd5);
}

.reuniao-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.reuniao-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8,42,88,.08);
    color: #082a58;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 10px;
    margin-bottom: 0;
    white-space: nowrap;
    align-self: flex-start;
}

.reuniao-col--data strong {
    display: block;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .02em;
    margin-bottom: 0;
    white-space: normal;
}

.reuniao-titulo {
    display: block;
    font-weight: 800;
    margin-bottom: 0;
    font-size: .92rem;
    line-height: 1.25;
}

.reuniao-col--descricao p {
    margin: 0;
    color: #445;
    line-height: 1.45;
    font-size: .88rem;
}

.reuniao-meta {
    display: inline-flex;
    margin-top: 0;
    font-size: .72rem;
    font-weight: 700;
    color: #715c24;
    line-height: 1.35;
}

.reuniao-fotos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.reuniao-foto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(63, 105, 180, .28);
    background: #fff;
    color: #1F4E79;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.reuniao-foto-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.reuniao-foto-btn:hover {
    transform: translateY(-2px);
    background: #f8fbff;
    border-color: rgba(63, 105, 180, .4);
}

.reuniao-foto-btn--vazio {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.reuniao-presenca-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(208,169,87,.35);
    background: #fff;
    color: #1F4E79;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.reuniao-presenca-btn:hover {
    transform: translateY(-2px);
    background: #f8fbff;
    border-color: rgba(63, 105, 180, .4);
}

.reuniao-presenca-btn--desativado {
    opacity: .38;
    cursor: default;
    pointer-events: none;
    transform: none;
}

.reuniao-col--presenca {
    align-items: flex-end;
}


/* =========================================================
   VENERÁVEIS MESTRES
   ========================================================= */
.vm-grid {
    max-width: 680px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.vm-card {
    text-align: center;
    background: #fffdf8;
    border: 1px solid #ded5c7;
    border-radius: 10px;
    padding: 4px 16px;
    box-shadow: var(--sombra);
}

.foto-vm {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--dourado), var(--dourado-2));
    border: 3px solid var(--dourado);
}

.foto-vm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-vm span {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #071657;
}

.vm-card p {
    color: #715c24;
    font-weight: 700;
}


/* =========================================================
   CONTATO E MAPA
   ========================================================= */
.contato-grid {
    max-width: 1160px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.contato-grid article {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 14px;
}

.contato-grid h3 {
    color: var(--dourado-2);
}

.contato-grid a {
    color: var(--dourado-2);
    font-weight: 800;
}

.mapa {
    max-width: 1160px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--borda);
    box-shadow: var(--sombra);
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
    background: #f4efe3;
    color: #1a3e72;
    text-align: center;
    padding: 18px 5%;
    font-family: 'Cinzel', serif;
    border-top: 1px solid #dcd5c5;
}


/* =========================================================
   CONFIRMAÇÃO DE PRESENÇA
   ========================================================= */
.confirmacao-page {
    background:
        radial-gradient(circle at top, rgba(208,169,87,.12), transparent 20%),
        linear-gradient(180deg, #041024 0%, #061a38 35%, #f4efe3 35%, #f4efe3 100%);
}

.confirmacao-shell {
    max-width: 1040px;
    margin: 0 auto;
    padding: 18px 5% 52px;
}

.confirmacao-card {
    background: #f3eee3;
    color: #141414;
    border-radius: 24px;
    padding: 20px;
    border: 2px solid #c9a35d;
    box-shadow: 0 0 40px rgba(201, 163, 93, 0.15), 0 0 80px rgba(0, 0, 0, 0.25);
}

.confirmacao-topo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.confirmacao-topo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto;
}

.confirmacao-topo h1,
.confirmacao-form h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: #151b5d;
}

.confirmacao-topo h1 {
    font-size: clamp(1.2rem, 2.4vw, 1.75rem);
    color: #c9a35d;
    margin-bottom: 10px;
}

.confirmacao-topo p {
    text-align: center;
    line-height: 1.5;
    color: #3b3b3b;
}

.confirmacao-form {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.confirmacao-grid-2 {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
}

.confirmacao-form input,
.confirmacao-form select {
    width: 100%;
    padding: 11px 12px;
    border-radius: 9px;
    border: 1px solid #c9a35d;
    font-size: 13px;
    background: #fffdf8;
}

.confirmacao-form input:focus,
.confirmacao-form select:focus {
    outline: none;
    border-color: #8f6a2f;
    box-shadow: 0 0 10px rgba(201, 163, 93, 0.3);
}

.confirmacao-note {
    background: #ebe3d3;
    border-left: 6px solid #c9a35d;
    padding: 12px;
    border-radius: 10px;
    line-height: 1.5;
    font-size: 13px;
}

.confirmacao-actions {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.confirmacao-button,
.confirmacao-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 11px 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.confirmacao-button {
    background: linear-gradient(135deg, #c9a35d, #8f6a2f);
    color: #fff;
}

.confirmacao-link {
    background: #151b5d;
    color: #fff;
}

.confirmacao-footer {
    text-align: center;
    margin-top: 18px;
    color: #6a5a32;
    font-size: .78rem;
}

.modal-confirmacao {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-conteudo {
    background: #f3eee3;
    color: #141414;
    border: 2px solid #c9a35d;
    border-radius: 22px;
    padding: 18px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 40px rgba(201, 163, 93, 0.35);
    font-family: Georgia, serif;
}

.modal-conteudo h3 {
    color: #151b5d;
    font-size: 17px;
    margin-bottom: 20px;
}

.modal-conteudo p {
    line-height: 1.7;
    font-size: 14px;
}

.modal-conteudo button {
    margin-top: 12px;
    width: 100%;
    background: linear-gradient(135deg, #c9a35d, #8f6a2f);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 700;
}


/* =========================================================
   ADMIN
   ========================================================= */
.admin-page {
    --admin-action-bg: #fff;
    --admin-action-border: rgba(63,162,227,0.3);
    --admin-action-text: #1F4E79;
    --admin-action-hover: #f8fbff;
    --admin-delete-border: rgba(220, 38, 38, 0.25);
    --admin-delete-text: #dc2626;
    --admin-delete-hover: #fff5f5;
    background:
        radial-gradient(circle at top, rgba(208,169,87,.15), transparent 30%),
        linear-gradient(180deg, #fcfbfa 0%, #f4efe3 100%);
    min-height: 100vh;
}

.admin-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 5% 52px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.admin-header h1,
.admin-panel h2,
.admin-login-card h2 {
    font-family: 'Cinzel', serif;
    color: #071657;
}

.admin-header p,
.admin-login-card p,
.admin-help,
.admin-event-meta {
    color: #445;
    line-height: 1.7;
}

.admin-help[data-type="ok"] {
    color: #166534;
}

.admin-help[data-type="error"] {
    color: #b91c1c;
    font-weight: 700;
}

.admin-home-link {
    background: #151b5d;
    color: #fff;
}

.admin-login-card,
.admin-panel {
    background: #fffdf8;
    border: 1px solid #ded5c7;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(8, 20, 45, 0.08);
    padding: 16px;
    margin-bottom: 12px;
}

.admin-login-form {
    display: grid;
    gap: 8px;
}

.agenda-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-login-form input,
.agenda-form input,
.agenda-form textarea,
.agenda-form select,
.admin-wide-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #c9a35d;
    background: #fff;
    padding: 10px 12px;
    font: inherit;
    color: #1f2d4f;
    box-sizing: border-box;
}

.agenda-form textarea {
    resize: vertical;
    min-height: 84px;
}

#agendaId,
#agendaData,
#agendaStatus,
#agendaConfirmados {
    grid-column: span 1;
}

#agendaTituloPadrao,
#agendaTituloCustom,
#agendaDescricao,
#agendaFotos,
.admin-form-actions {
    grid-column: 1 / -1;
}

.agenda-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #8f6a2f 50%),
        linear-gradient(135deg, #8f6a2f 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
    height: 48px;
    line-height: 1.2;
}

.admin-dashboard[hidden] {
    display: none;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    align-items: flex-end;
}

.admin-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-metric-card {
    background: #ffffff;
    border: 1px solid rgba(207, 175, 117, 0.35);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 12px 28px rgba(12, 26, 56, 0.06);
}

.admin-metric-label {
    display: block;
    color: #5c6580;
    font-size: .82rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.admin-metric-card strong {
    color: #0f2a68;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    line-height: 1;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
    margin-bottom: 12px;
}

.admin-editor-card {
    margin-top: 12px;
}

.admin-editor-card[hidden] {
    display: none;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(16, 24, 40, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal-open {
    overflow: hidden;
}

.admin-modal .admin-editor-card {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 0;
    box-shadow: 0 24px 60px rgba(8, 20, 45, 0.22);
    border-radius: 22px;
}

.admin-modal .agenda-form {
    max-height: calc(100vh - 190px);
    overflow: auto;
    padding-right: 2px;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
}

.admin-import {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px dashed #c9a35d;
    border-radius: 12px;
    color: #071657;
    font-weight: 700;
    background: #fff;
}

.admin-search {
    display: grid;
    gap: 6px;
    min-width: min(100%, 380px);
    flex: 1 1 320px;
}

.admin-search span {
    color: #5b667f;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-search input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #c9a35d;
    background: #fff;
    padding: 11px 14px;
    font: inherit;
    color: #1f2d4f;
    box-sizing: border-box;
}

.admin-import input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.admin-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #d7c3a0;
    background: #fff;
    color: #8f6a2f;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(8, 20, 45, 0.06);
}

.admin-close:hover {
    background: #fff7e8;
}

.admin-event-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2464c5;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid #dce8f6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(12, 26, 56, 0.05);
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
    table-layout: auto;
    font-family: Consolas, 'Courier New', monospace;
}

.agenda-table thead th {
    text-align: left;
    padding: 13px 16px;
    color: #2b4f86;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: #f6faff;
    border-bottom: 1px solid #dce8f6;
    font-weight: 700;
}

.th-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

.th-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.th-header-line:hover {
    color: #1a3e72;
}

.th-filter-select,
.th-filter-input {
    width: 100%;
    border: 1px solid #dce8f6;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 0.7rem;
    font-family: inherit;
    background: #fff;
    color: #415066;
    outline: none;
    font-weight: normal;
    text-transform: none;
    box-sizing: border-box;
}

.th-filter-select:focus,
.th-filter-input:focus {
    border-color: #c9a35d;
    box-shadow: 0 0 4px rgba(201, 163, 93, 0.2);
}

.sort-indicator {
    font-size: 0.65rem;
    color: #a0aec0;
    margin-left: 4px;
}

.sort-indicator.active {
    color: #c9a35d;
    font-weight: bold;
}



.agenda-row td {
    padding: 11px 14px;
    border-bottom: 1px solid #edf2f8;
    color: #415066;
    font-size: .78rem;
    vertical-align: middle;
    background: #fff;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.25;
}

.agenda-row:nth-child(even) td {
    background: #fbfdff;
}

.agenda-row:hover td {
    background: #f8fbff;
}

.agenda-row td strong {
    color: #12377a;
    font-family: Consolas, 'Courier New', monospace;
    font-size: .84rem;
    font-weight: 700;
}

.agenda-row td[data-label="Ações"] {
    width: 12%;
    white-space: nowrap;
}

.agenda-row td:nth-child(1),
.agenda-row td:nth-child(4),
.agenda-row td:nth-child(5),
.agenda-row td:nth-child(6) {
    text-align: center;
}



.agenda-row td:nth-child(2) strong {
    display: inline-block;
    max-width: 100%;
}

.dashboard-action-buttons,
.admin-row-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
}

.dashboard-action-btn,
.admin-icon-button {
    width: 34px;
    min-height: 30px;
    padding: 4px;
    border: 1px solid var(--admin-action-border);
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
    background: var(--admin-action-bg);
    color: var(--admin-action-text);
    font-family: Consolas, 'Courier New', monospace;
}

.dashboard-action-btn:hover,
.admin-icon-button:hover {
    transform: translateY(-1px);
}

.dashboard-action-btn--edit,
.admin-edit {
    border-color: var(--admin-action-border);
    color: var(--admin-action-text);
}

.dashboard-action-btn--edit:hover,
.admin-icon-button.admin-edit:hover {
    background: var(--admin-action-hover);
}

.dashboard-action-btn--photo,
.admin-photo {
    background: var(--admin-action-bg);
    border-color: rgba(75,121,209,0.3);
    color: #4b79d1;
    font-size: 11px;
}

.dashboard-action-btn--photo:hover,
.admin-icon-button.admin-photo:hover {
    background: #f4f8ff;
}

.admin-event-actions,
.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.admin-mini {
    padding: 8px 10px;
    font-size: .68rem;
    border-radius: 999px;
}

.admin-secondary {
    background: linear-gradient(135deg, #5b647d, #36425c);
    color: #fff;
}

.dashboard-action-btn--delete,
.admin-danger {
    border-color: var(--admin-delete-border);
    color: var(--admin-delete-text);
}

.dashboard-action-btn--delete:hover,
.admin-icon-button.admin-danger:hover {
    background: var(--admin-delete-hover);
}

.admin-icon-button.admin-danger {
    border-color: var(--admin-delete-border);
}

.admin-technical {
    margin-top: 12px;
}

.admin-technical-summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(63, 162, 227, 0.22);
    background: #fff;
    color: #1f4e79;
    font-family: Consolas, 'Courier New', monospace;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.admin-technical-summary::-webkit-details-marker {
    display: none;
}

.admin-technical[open] .admin-technical-summary {
    background: #f8fbff;
}

.admin-technical-panel {
    margin: 0;
}

.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.admin-portal {
    display: grid;
    gap: 14px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fffdf8;
    border: 1px solid #ded5c7;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 16px 44px rgba(9, 19, 64, .08);
}

.admin-tab {
    border: 1px solid #d8e2f0;
    background: #fff;
    color: #20365f;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.admin-tab.is-active,
.admin-tab:hover {
    background: #151b5d;
    color: #fff;
    border-color: #151b5d;
}

.admin-module-panel {
    margin-top: 0;
}

.admin-sync-status {
    align-self: end;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border-radius: 12px;
    padding: 0 14px;
    border: 1px solid #d8e2f0;
    background: #f8fbff;
    color: #20365f;
    font-weight: 700;
}

.admin-sync-status[data-type="ok"] {
    border-color: rgba(22, 163, 74, .3);
    background: #f0fdf4;
    color: #166534;
}

.admin-sync-status[data-type="error"] {
    border-color: rgba(220, 38, 38, .3);
    background: #fff5f5;
    color: #b91c1c;
}

.admin-data-table {
    min-width: 980px;
}

/* Customizações para a Tabela de Presenças */
.admin-table-confirmacoes_presenca {
    table-layout: auto !important;
    min-width: 1120px !important;
}

.admin-table-confirmacoes_presenca thead th,
.admin-table-confirmacoes_presenca tbody td {
    text-align: left !important;
    white-space: normal !important;
    word-break: normal;
}

/* Redefinição e ajuste das larguras das colunas de presenças */
.admin-table-confirmacoes_presenca thead th:nth-child(n) {
    width: auto !important;
    text-align: left !important;
}

.admin-table-confirmacoes_presenca thead th:nth-child(1) { width: 10% !important; } /* Enviado em */
.admin-table-confirmacoes_presenca thead th:nth-child(2) { width: 8% !important; }  /* Data Reunião */
.admin-table-confirmacoes_presenca thead th:nth-child(3) { width: 17% !important; } /* Reunião */
.admin-table-confirmacoes_presenca thead th:nth-child(4) { width: 15% !important; } /* Irmão */
.admin-table-confirmacoes_presenca thead th:nth-child(5) { width: 7% !important; }  /* Potência */
.admin-table-confirmacoes_presenca thead th:nth-child(6) { width: 13% !important; } /* Loja */
.admin-table-confirmacoes_presenca thead th:nth-child(7) { width: 9% !important; }  /* Telefone */
.admin-table-confirmacoes_presenca thead th:nth-child(8) { width: 14% !important; } /* Convidados */
.admin-table-confirmacoes_presenca thead th:nth-child(9) { width: 7% !important; }  /* Ações */

/* Estilos dos Cards de Resumo de Presenças */
.presence-summary {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    margin-top: 6px;
}

.presence-summary-card {
    background: #ffffff;
    border: 1px solid rgba(207, 175, 117, 0.28);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(12, 26, 56, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.presence-summary-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(12, 26, 56, 0.08);
}

/* Gradientes removidos para padronizar com os outros cards do dashboard */
.presence-total {
    background: #ffffff;
    border-color: rgba(207, 175, 117, 0.28);
}

.presence-convidados-card {
    background: #ffffff;
    border-color: rgba(207, 175, 117, 0.28);
}

.presence-summary-label {
    display: block;
    color: #5c6580;
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.presence-summary-val {
    color: #0f2a68;
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 700;
}

.presence-total .presence-summary-val {
    color: #12377a;
}

@media (max-width: 900px) {
    .presence-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .presence-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}


.admin-dynamic-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-field {
    display: grid;
    gap: 6px;
}

.admin-field span {
    color: #5b667f;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.admin-field small {
    color: #667085;
}

.admin-field textarea,
.admin-field select,
.admin-field input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d8c9a8;
    background: #fff;
    padding: 11px 12px;
    font: inherit;
}

.admin-field textarea,
.admin-form-actions {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .cabecalho-institucional {
        height: auto;
        min-height: 112px;
        grid-template-columns: 92px 1fr 92px;
        padding: 10px 4%;
    }

    .logo-loja-topo,
    .logo-direita {
        width: 78px;
        height: 78px;
        object-fit: contain;
    }

    .sigla-principal {
        font-size: clamp(1.55rem,6vw,2.6rem);
        margin-bottom: 9px;
    }

    .titulo-cabecalho h1 {
        font-size: clamp(1rem,4vw,1.6rem);
        white-space: normal;
    }

    .navbar {
        height: auto;
        min-height: 62px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        left: 4%;
        right: 4%;
        top: calc(100% + 9px);
        height: auto;
        background: #061a38;
        border: 1px solid var(--borda);
        border-radius: 12px;
        padding: 10px;
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: var(--sombra);
    }

    .menu.is-open {
        display: flex;
    }

    .menu a {
        height: auto;
        padding: 10px 12px;
        border-bottom: 0;
        border-radius: 8px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .hero-logo-wrap,
    .hero-texto {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-logo {
        width: 250px;
        margin: 0 auto;
    }

    .hero-texto p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .atalhos {
        grid-template-columns: repeat(2,1fr);
    }

    .duas-colunas {
        grid-template-columns: 1fr;
    }

    .brasao-box {
        max-width: 300px;
        margin: 0 auto;
    }

    .secao-topo {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agenda-table {
        min-width: 760px;
    }

    .reuniao-card {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: flex-start;
    }

    .reuniao-col {
        gap: 4px;
    }

    .reuniao-col--status,
    .reuniao-col--fotos,
    .reuniao-col--presenca {
        align-items: flex-start;
    }
}

    .cabecalho-institucional {
        height: auto;
        min-height: 112px;
        grid-template-columns: 92px 1fr 92px;
        padding: 12px 4%;
    }

    .logo-loja-topo,
    .logo-direita {
        width: 78px;
        height: 78px;
        object-fit: contain;
    }

    .sigla-principal {
        font-size: clamp(1.55rem,6vw,2.6rem);
        margin-bottom: 9px;
    }

    .titulo-cabecalho h1 {
        font-size: clamp(1rem,4vw,1.6rem);
        white-space: normal;
    }

    .navbar {
        height: auto;
        min-height: 62px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        left: 4%;
        right: 4%;
        top: calc(100% + 9px);
        height: auto;
        background: #061a38;
        border: 1px solid var(--borda);
        border-radius: 12px;
        padding: 10px;
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: var(--sombra);
    }

    .menu.is-open {
        display: flex;
    }

    .menu a {
        height: auto;
        padding: 10px 12px;
        border-bottom: 0;
        border-radius: 8px;
    }

    .btn-presenca {
        font-size: .78rem;
        padding: 12px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .hero-texto p {
        margin-left: auto;
        margin-right: auto;
    }

    .atalhos,
    .duas-colunas {
        grid-template-columns: 1fr;
    }

    .brasao-box {
        max-width: 300px;
        margin: 0 auto;
    }

    .secao-topo {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-logo {
        width: 280px;
    }

    .admin-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agenda-table {
        min-width: 760px;
    }
}


/* =========================================================
   RESPONSIVIDADE - CELULAR
   ========================================================= */
@media (max-width: 620px) {

    html {
        scroll-padding-top: 120px;
    }

    /* =========================
       CABEÇALHO
    ========================= */
    .cabecalho-institucional {
        height: auto;
        min-height: 95px;
        grid-template-columns: 42px 1fr 42px;
        gap: 8px;
        padding: 8px 2%;
    }

    .logo-loja-topo,
    .logo-direita {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .sigla-principal {
        font-size: 1.15rem;
        margin-bottom: 4px;
        letter-spacing: .03em;
    }

    .titulo-cabecalho h1 {
        font-size: .78rem;
        line-height: 1.1;
        white-space: normal;
    }

    /* =========================
       MENU
    ========================= */
    .navbar {
        min-height: 58px;
        padding: 8px 3%;
        gap: 12px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .btn-presenca {
        width: auto;
        max-width: 210px;
        font-size: .70rem;
        padding: 11px 14px;
        line-height: 1.1;
        text-align: center;
    }

    /* =========================
       HERO
    ========================= */
    .hero {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 5% 34px;
        text-align: center;
    }

    .hero-texto h2 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero-texto p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .hero-logo {
        width: 210px;
        margin: 0 auto;
    }

    .btn-outline {
        width: 100%;
        padding: 15px 18px;
        font-size: .95rem;
    }

    /* =========================
       CARDS
    ========================= */
    .atalhos,
    .vm-grid,
    .contato-grid {
        grid-template-columns: 1fr;
    }

    .atalhos {
        padding: 20px 5% 30px;
        gap: 18px;
    }

    .atalho-card {
        min-height: auto;
        padding: 28px 20px;
    }

    .reuniao-card {
        min-height: auto;
        padding: 22px;
    }

    /* =========================
       SEÇÕES
    ========================= */
    .secao {
        padding: 52px 5%;
    }

    .secao h2 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .secao p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .secao-topo {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* =========================
       MAPA
    ========================= */
    .mapa {
        height: 280px;
    }

    .confirmacao-shell {
        padding: 18px 4% 56px;
    }

    .confirmacao-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .confirmacao-topo {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .confirmacao-topo img {
        width: 72px;
        height: 72px;
    }

    .confirmacao-grid-2 {
        grid-template-columns: 1fr;
    }

    .confirmacao-form input,
    .confirmacao-form select {
        font-size: 14px;
        padding: 14px;
    }

    .confirmacao-note {
        font-size: 14px;
        line-height: 1.6;
        padding: 16px;
    }

    .confirmacao-button,
    .confirmacao-link {
        font-size: 16px;
        padding: 16px;
    }

    .btn-admin {
        padding: 10px 12px;
        font-size: .72rem;
        display: none;
    }

    .admin-shell {
        padding: 20px 4% 56px;
    }

    .admin-login-card,
    .admin-panel {
        padding: 18px 14px;
    }

    .admin-toolbar {
        flex-direction: column;
    }

    .admin-toolbar .confirmacao-button {
        width: 100%;
    }

    .admin-search {
        min-width: 100%;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .agenda-form {
        grid-template-columns: 1fr;
    }

    .admin-inline-actions {
        flex-direction: column;
    }

    .admin-inline-actions .confirmacao-button {
        width: 100%;
    }

}

/* =========================================================
   RESPONSIVIDADE - CELULARES PEQUENOS
   ========================================================= */
@media (max-width: 390px) {
    .cabecalho-institucional {
        grid-template-columns: 46px 1fr 46px;
    }

    .logo-loja-topo,
    .logo-direita {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .sigla-principal {
        font-size: 1.28rem;
    }

    .titulo-cabecalho h1 {
        font-size: .78rem;
    }

    .btn-presenca {
        max-width: 165px;
        font-size: .66rem;
        padding: 10px 8px;
    }

    .hero-texto h2 {
        font-size: 2rem;
    }

    .hero-logo {
        width: 200px;
    }

    .reuniao-card {
        padding: 13px 14px;
    }
}

/* =========================================================
   CORREÇÃO DEFINITIVA DO MENU DESKTOP / MOBILE
   ========================================================= */

/* Desktop */
@media (min-width: 901px) {
  .menu-toggle {
    display: none !important;
  }

  .navbar {
    justify-content: center;
  }

  .menu {
    position: static !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0;
    height: auto;
    flex: 1;
  }

  .btn-admin,
  .btn-presenca {
    display: inline-flex !important;
  }
}

/* Mobile e tablet */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex !important;
  }

  .menu {
    position: absolute;
    left: 4%;
    right: 4%;
    top: calc(100% + 9px);
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    background: #061a38;
    border: 1px solid var(--borda);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--sombra);
    z-index: 1001;
  }

  .menu.is-open {
    display: flex !important;
  }

  .menu a {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   DEVELOPER SIGNATURE FOOTER
   ========================================================= */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

.footer .developer-signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b4b5e !important;
    text-decoration: none !important;
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    transition: opacity 0.25s, transform 0.25s;
    opacity: 0.85;
}

.footer .developer-signature:hover {
    opacity: 1;
    color: #ff9d00 !important;
    transform: translateY(-1px);
}

.footer .flamigera-logo {
    height: 18px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}