:root {
    --bg-main: #4d4d4d;
    --text-main: #f8f8f8;
    --gold: #a37940;
    --beige: #e9d199;
    --surface: #5a5a5a;
    --surface-soft: #646464;
    --border-soft: rgba(233, 209, 153, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Creato Display", "Montserrat", "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    background: rgba(77, 77, 77, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 10;
}

.nav-wrapper {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    color: var(--beige);
}

.site-public-nav .site-nav-link,
.site-public-nav .footer-site-nav-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-site-nav-link:hover,
.footer-site-nav-link.is-active {
    color: var(--gold);
}

.main-nav a.is-active,
.footer-site-nav-link.is-active {
    font-weight: 700;
}

.logo-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0;
    border: none;
    border-radius: 12px;
}

.logo-slot.full {
    text-align: center;
    width: 100%;
}

.site-logo {
    display: block;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-logo--sidebar {
    max-height: 56px;
}

.site-logo--landing {
    max-height: calc(48px * 1.3);
}

.hero {
    padding: 4.5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.eyebrow {
    color: var(--beige);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.hero-text {
    max-width: 54ch;
    color: rgba(248, 248, 248, 0.9);
}

.hero-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: 0.25s ease;
    font-weight: 600;
}

.btn-primary {
    background: var(--gold);
    color: #171717;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--beige);
}

.btn-outline:hover,
.btn-ghost:hover {
    background: rgba(163, 121, 64, 0.15);
}

.btn-ghost {
    border-color: var(--border-soft);
    color: var(--text-main);
}

.drive-portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.drive-portal-shortcuts .hero-text {
    margin-bottom: 0.25rem;
}

.card,
.highlight,
.table-panel {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.4rem;
}

#areas .card {
    scroll-margin-top: 6rem;
}

.hero-visual {
    width: 100%;
    max-width: 560px;
    padding: 0;
    justify-self: center;
}

@media (min-width: 961px) {
    .hero-visual {
        justify-self: end;
    }
}

.hero-visual-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 560 / 280;
    object-fit: cover;
    border: none;
    border-radius: 0;
}

.section {
    padding: 3.5rem 0;
}

.section.muted {
    background: rgba(233, 209, 153, 0.06);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.2rem;
}

.mvv-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mvv-label {
    margin: 0 0 0.5rem;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: var(--beige);
    letter-spacing: 0.02em;
}

.mvv-item p {
    margin: 0;
    line-height: 1.65;
    color: rgba(248, 248, 248, 0.92);
}

.section-professional {
    background: #ffffff;
    color: #2a2a2a;
}

.news-page-intro {
    padding: 3.5rem 0 1rem;
}

.news-blog-section {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.news-blog {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    max-width: 820px;
}

.news-card {
    display: grid;
    gap: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
    border-color: rgba(233, 209, 153, 0.65);
    transform: translateY(-1px);
}

.news-card-media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

.news-card-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    color: var(--beige);
}

.news-card-tag {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.news-card-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    line-height: 1.25;
}

.news-card-title a:hover {
    color: var(--gold);
}

.news-card-author {
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    color: rgba(248, 248, 248, 0.75);
}

.news-card-excerpt {
    margin: 0 0 0.85rem;
    line-height: 1.65;
    color: rgba(248, 248, 248, 0.92);
}

.news-read-more {
    font-weight: 600;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-read-more:hover {
    filter: brightness(1.1);
}

.news-empty {
    margin: 0;
    color: rgba(248, 248, 248, 0.85);
}

.news-article-inner {
    max-width: 760px;
}

.news-breadcrumb {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: rgba(248, 248, 248, 0.8);
}

.news-breadcrumb a:hover {
    color: var(--gold);
}

.news-article-title {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    margin-bottom: 0.5rem;
}

.news-article-content {
    margin-top: 1.5rem;
    line-height: 1.7;
    color: rgba(248, 248, 248, 0.94);
}

.news-article-content p {
    margin: 0 0 1rem;
}

.news-article-back {
    margin: 2rem 0 0;
}

.team-section-title {
    margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

.team-profiles {
    display: flex;
    flex-direction: column;
    gap: clamp(2.25rem, 5vw, 3.25rem);
}

.professional-profile {
    margin: 0;
}

.professional-profile + .professional-profile {
    padding-top: clamp(2rem, 4.5vw, 2.75rem);
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.professional-grid {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: center;
}

.professional-photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(260px, 72vw);
    aspect-ratio: 1;
    box-sizing: border-box;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: #ffffff;
    overflow: hidden;
}

.professional-photo {
    width: 95%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    transition: transform 0.28s ease;
}

.professional-photo-wrap:hover .professional-photo,
.professional-photo-wrap:focus-within .professional-photo {
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .professional-photo {
        transition: none;
    }

    .professional-photo-wrap:hover .professional-photo,
    .professional-photo-wrap:focus-within .professional-photo {
        transform: none;
    }
}

.professional-copy {
    min-width: 0;
}

.professional-name {
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}

.professional-role,
.professional-oab {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.45;
}

.professional-oab {
    margin-bottom: 1.1rem;
    font-weight: 500;
}

.professional-role + .professional-bio {
    margin-top: 0.75rem;
}

.professional-bio {
    background: #e2e6e7;
    color: #333333;
    padding: 1.25rem 1.4rem;
    border-radius: 12px;
}

.professional-bio p {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.65;
    text-indent: 1.25em;
}

.professional-bio p:last-child {
    margin-bottom: 0;
}

.footer {
    border-top: 1px solid var(--border-soft);
    padding: 2rem 0 2.8rem;
}

/* Rodape publico (estilo referencia — cores Avila) */
.footer--site {
    --footer-legal-text-size: 0.9rem;
    --footer-legal-line-height: 1.45;
    background: #3a3a3a;
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--border-soft);
}

.footer-site {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 2rem;
    padding-bottom: 1.35rem;
}

.footer-site-nav-link {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.footer-site-nav-link:hover,
.footer-site-nav-link.is-active {
    color: var(--gold);
}

.footer-site-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.footer-site-office {
    display: flex;
    min-height: 100%;
}

.footer-site-office-inner {
    --footer-office-panel-height: 240px;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
    min-height: var(--footer-office-panel-height);
}

.footer-site-office-info {
    margin: 0;
    font-style: normal;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    min-height: var(--footer-office-panel-height);
    padding: 0.75rem 0.8rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 4px;
    border: 1px solid var(--border-soft);
    background: rgba(90, 90, 90, 0.45);
    overflow: hidden;
}

.footer-site-office-city {
    margin: 0 0 0.35rem;
    font-size: var(--footer-legal-text-size);
    font-weight: 700;
    line-height: var(--footer-legal-line-height);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--beige);
}

.footer-site-office-line {
    margin: 0 0 0.15rem;
    font-size: var(--footer-legal-text-size);
    line-height: var(--footer-legal-line-height);
    color: rgba(248, 248, 248, 0.92);
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.footer-site-office-line--strong {
    font-weight: 600;
    color: var(--text-main);
}

.footer-site-office-line a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-site-office-line a:hover {
    color: var(--gold);
}

.footer-site-office-map {
    width: 100%;
    min-height: var(--footer-office-panel-height);
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: rgba(233, 209, 153, 0.08);
}

.footer-site-office-map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: var(--footer-office-panel-height);
    border: 0;
}

.footer-site-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-soft);
}

.footer-site-copy {
    margin: 0;
    font-size: var(--footer-legal-text-size);
    line-height: var(--footer-legal-line-height);
    color: rgba(248, 248, 248, 0.78);
    max-width: 52ch;
}

.footer-site-credit {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-site-credit:hover,
.footer-site-credit:focus-visible {
    color: var(--gold);
}

.footer-site-social {
    text-align: right;
}

.footer-site-social-label {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: rgba(248, 248, 248, 0.88);
}

.footer-site-social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.footer-site-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 6px;
    border: 1px solid var(--border-soft);
    color: var(--beige);
    background: rgba(163, 121, 64, 0.15);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-site-social-link:hover {
    color: #171717;
    background: var(--gold);
    border-color: var(--gold);
}

.dashboard-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.sidebar {
    background: #444444;
    padding: 1rem;
    border-right: 1px solid var(--border-soft);
}

.sidebar-nav {
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.sidebar-nav a {
    padding: 0.8rem;
    border-radius: 10px;
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
    background: rgba(163, 121, 64, 0.15);
}

.sidebar-nav a.is-active {
    border: 1px solid var(--border-soft);
    font-weight: 600;
}

.processos-intro {
    margin: 0.35rem 0 0;
    max-width: 52ch;
}

.processos-empty {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.processos-empty p {
    margin: 0 0 1.25rem;
    color: rgba(248, 248, 248, 0.85);
}

.processos-secao {
    margin-bottom: 2rem;
}

.processos-secao--outros {
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-soft);
}

.processos-secao-titulo {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--beige);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.processos-cliente-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.processo-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
}

.processo-card--ativo {
    border-color: rgba(163, 121, 64, 0.55);
    box-shadow: 0 0 0 1px rgba(163, 121, 64, 0.12);
}

.processo-card--outro {
    opacity: 0.88;
    background: rgba(90, 90, 90, 0.65);
}

.processo-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.processo-card-area {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(233, 209, 153, 0.85);
}

.processo-card-numero {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    line-height: 1.35;
    word-break: break-word;
}

.processo-card-desc {
    margin: 0 0 1rem;
    line-height: 1.55;
    color: rgba(248, 248, 248, 0.88);
}

.processo-card-meta {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(248, 248, 248, 0.75);
}

.processo-card-meta strong {
    color: var(--beige);
    font-weight: 600;
}

.processos-resumo-link .btn {
    margin-top: 0.5rem;
}

.documentos-intro {
    margin: 0.35rem 0 0;
    max-width: 58ch;
}

.documentos-upload {
    margin-bottom: 1.5rem;
}

.documentos-form-upload input[type="file"] {
    padding: 0.5rem 0;
}

.documentos-espelho-aviso {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.documentos-vazio {
    margin: 0;
    color: rgba(248, 248, 248, 0.8);
}

.documentos-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.documento-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(77, 77, 77, 0.45);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}

.documento-item-icone {
    flex-shrink: 0;
    min-width: 3rem;
    padding: 0.35rem 0.5rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1d1d1d;
    background: var(--gold);
    border-radius: 8px;
}

.documento-item-corpo {
    min-width: 0;
    flex: 1;
}

.documento-item-nome {
    margin: 0 0 0.35rem;
    font-weight: 600;
    word-break: break-word;
}

.documento-item-meta {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(248, 248, 248, 0.72);
}

.dashboard-content {
    padding: 2rem;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.badge,
.badge-soft {
    display: inline-block;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.badge {
    background: var(--gold);
    color: #1d1d1d;
    font-weight: 700;
}

.badge-soft {
    background: rgba(233, 209, 153, 0.2);
    color: var(--beige);
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.2rem 0 1.5rem;
}

.metric {
    font-size: 1.8rem;
    color: var(--beige);
    font-weight: 700;
}

.auth-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: min(460px, 100%);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.4rem;
    display: grid;
    gap: 1rem;
}

.auth-form {
    display: grid;
    gap: 0.55rem;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    padding: 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: var(--surface-soft);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
}

.auth-form textarea {
    resize: vertical;
    min-height: 120px;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: 2px solid rgba(163, 121, 64, 0.5);
    border-color: var(--gold);
}

.site-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-cta-consulta {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 1rem;
    line-height: 1.2;
    text-align: center;
}

.btn-cta-consulta__title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-cta-consulta__sub {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.92;
    text-transform: lowercase;
}

.site-header-cta-consulta {
    white-space: normal;
    min-width: 11rem;
}

.consulta-page {
    padding: 2.5rem 0 4rem;
}

.consulta-page-inner {
    max-width: 640px;
}

.consulta-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.consulta-fieldset {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1rem 1.1rem 1.1rem;
    margin: 0 0 1rem;
}

.consulta-fieldset legend {
    padding: 0 0.35rem;
    color: var(--beige);
    font-weight: 600;
}

.label-optional {
    font-weight: 400;
    opacity: 0.75;
    font-size: 0.88em;
}

.consulta-alert {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
}

.consulta-alert--success {
    background: rgba(163, 121, 64, 0.12);
}

.consulta-back {
    margin-top: 1.25rem;
}

.consulta-admin-msg {
    max-width: 280px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.auth-password-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}

.auth-password-input {
    width: 100%;
    padding-right: 2.75rem;
}

.auth-password-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--beige);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle:hover {
    color: var(--gold);
    background: rgba(163, 121, 64, 0.12);
}

.auth-password-toggle:focus-visible {
    outline: 2px solid rgba(163, 121, 64, 0.55);
    outline-offset: 2px;
}

.auth-text-link {
    display: block;
    text-align: center;
    font-size: 0.88rem;
    color: var(--beige);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-text-link:hover {
    color: var(--gold);
}

.auth-reset-link-box {
    margin: 0;
    text-align: center;
}

.auth-reset-link {
    display: inline-block;
    font-weight: 600;
    color: var(--gold);
    word-break: break-all;
}

.auth-reset-link:hover {
    text-decoration: underline;
}

.error-text {
    margin: 0;
    border: 1px solid rgba(214, 98, 98, 0.55);
    background: rgba(214, 98, 98, 0.15);
    color: #ffd3d3;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
}

.success-text {
    margin: 0;
    border: 1px solid rgba(112, 189, 112, 0.55);
    background: rgba(112, 189, 112, 0.15);
    color: #d8ffd8;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
}

.admin-stealth-link {
    margin-top: -0.25rem;
    align-self: center;
    border: none;
    background: transparent;
    color: rgba(248, 248, 248, 0.28);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 0.1rem 0.2rem;
}

.admin-stealth-link:hover {
    color: rgba(248, 248, 248, 0.42);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 0.85rem;
    border-bottom: 1px solid var(--border-soft);
}

th {
    color: var(--beige);
}

/* Assistente (robo) na pagina inicial */
.site-assistant-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-assistant-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.site-assistant-panel {
    position: fixed;
    right: 1rem;
    bottom: 5.5rem;
    width: min(380px, calc(100vw - 2rem));
    max-height: min(520px, 70vh);
    overflow: auto;
    z-index: 9999;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

.site-chat-panel {
    display: flex;
    flex-direction: column;
    padding: 0;
    max-height: min(640px, 78vh);
}

.site-chat-panel header {
    padding: 1.15rem 1.25rem 0.75rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.site-chat-panel__body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 0 1.25rem 1.25rem;
}

.site-chat-iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    height: min(480px, 55vh);
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.site-chat-snippet {
    min-height: 280px;
}

.site-chat-placeholder-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
    opacity: 0.75;
    line-height: 1.5;
}

.site-chat-fab {
    border: none;
    cursor: pointer;
    padding: 0;
}

.site-assistant-panel.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.site-assistant-panel header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.site-assistant-panel h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--beige);
}

.site-assistant-panel .assistant-close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.site-assistant-panel .assistant-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.site-assistant-panel .assistant-body {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(248, 248, 248, 0.92);
}

.site-assistant-panel ul {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.site-assistant-panel a.assistant-link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-floating-actions {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.site-assistant-fab {
    position: static;
    right: auto;
    bottom: auto;
    z-index: auto;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid var(--border-soft);
    background: linear-gradient(145deg, var(--gold), #7a5a2e);
    color: #171717;
    font-size: 1.65rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-whatsapp-fab {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-whatsapp-fab:hover,
.site-chat-fab:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    filter: brightness(1.05);
}

.site-chat-fab[aria-expanded="true"] {
    transform: scale(0.95);
}

.site-whatsapp-fab:focus-visible {
    outline: 2px solid #b8f5c8;
    outline-offset: 3px;
}

.site-whatsapp-fab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.site-assistant-fab:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.site-assistant-fab:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: 3px;
}

.site-assistant-fab[aria-expanded="true"] {
    transform: scale(0.95);
}

@media (max-width: 960px) {
    .nav-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
        padding-top: 0.5rem;
        margin-top: 0.25rem;
        border-top: 1px solid var(--border-soft);
    }

    .site-header-actions {
        order: 2;
    }

    .site-header-cta-consulta {
        width: 100%;
        max-width: 280px;
    }

    .site-header-actions {
        width: 100%;
        justify-content: center;
    }

    .footer-site-nav {
        gap: 0.5rem 1rem;
    }

    .footer-site-nav-link {
        font-size: 0.82rem;
    }

    .footer-site-offices {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-site-office-inner {
        grid-template-columns: 1fr;
        --footer-office-panel-height: 220px;
    }

    .footer-site-office-info,
    .footer-site-office-map,
    .footer-site-office-map-frame {
        min-height: var(--footer-office-panel-height);
    }

    .footer-site-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-site-social {
        text-align: left;
    }

    .footer-site-social-icons {
        justify-content: flex-start;
    }

    .footer-cta {
        width: 100%;
    }

    .hero-grid,
    .cards,
    .split,
    .professional-grid,
    .dash-cards {
        grid-template-columns: 1fr;
    }

    .professional-profile.professional-grid {
        justify-items: stretch;
    }

    .professional-photo-wrap {
        justify-self: center;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }

}

/* Estilos da pagina Astrea: assets/css/astrea.css */
