@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================================
    Tokens de tema
    Centraliza cores, espaçamentos e escalas tipográficas.
============================================================ */
:root {
    --trans: .25s ease;
    --max-width: 1200px;

    --color-primary: #020319;
    --color-primary-dark: #000000;
    --color-primary-light: #f0f4fa;
    --color-accent: #1A365D;
    --color-accent-hover: #0F2039;
    --color-text: #111827;
    --color-text-muted: #808080;
    --divider-color: #020319;

    --frame-size: clamp(24px, 6vw, 50px);
    --hero-min: 400px;
    --font-title: 'Ivy Mode', 'IvyMode', 'Montserrat', Arial, sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;
    --app-bg: linear-gradient(180deg, #f4f7fb 0%, #e6edf5 100%);
    --gradient-soft: linear-gradient(135deg, #f0f4fa 0%, #dbe5f0 100%);
    --gradient-frame: var(--gradient-deep);
    --gradient-deep: linear-gradient(135deg, #020319 0%, #000000 100%);
}

/* ============================================================
    Layout global
    Estrutura base compartilhada pelas páginas públicas.
============================================================ */
html {
    min-height: 100%;
    background: var(--app-bg);
    scroll-behavior: smooth;
}

/* Estrutura mantém o rodapé fixado mesmo com pouco conteúdo */
body {
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: transparent;
    display: flex;
    flex-direction: column;
}
* { box-sizing: border-box; }

/* ============================================================
    Cabeçalho e navegação
============================================================ */
.site-header {
    border: var(--frame-size) solid transparent;
    border-image: var(--gradient-frame) 1;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--gradient-soft);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background: rgba(240, 244, 250, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,.65);
}
/* Linha divisória logo após o cabeçalho */
.header-divider {
    height: 3px;
    min-height: 3px;
    background: var(--divider-color);
    width: 100%;
    margin: 0;
    display: block;
    flex-shrink: 0;
}
.header-divider.after-hero {
    position: relative;
    z-index: 2;
}

/* Container do menu principal com blur e borda em gradiente */
.site-nav {
    background: transparent;
    backdrop-filter: blur(8px);
    border-radius: 22px;
    border: 1px solid transparent;
    border-image: var(--gradient-frame) 1;
    box-shadow: 0 22px 48px -32px rgba(24,35,27,.35);
}

.site-nav .navbar-brand {
    padding: .25rem 0;
}

/* Hero exibido na página inicial */
.hero-visual {
    position: relative;
}
/* Imagem de destaque ocupa todo o espaço do hero */
.hero-visual .hero-img {
    width: 100%;
    height: 100%;
    min-height: var(--hero-min);
    object-fit: cover;
    filter: brightness(0.8);
    display: block;
}
.hero-visual .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    color: #fff;
    pointer-events: none;
    background: rgba(0,0,0,.40);
}
.hero-visual .hero-overlay a { pointer-events: auto; }

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    text-shadow: 0 3px 8px rgba(0,0,0,.55);
    font-weight: 600;
    margin: 0;
}
.hero-subtitle {
    font-size: 1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.55);
    max-width: 540px;
}

/* Botões principais de CTA */
.btn-frame {
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: 0.75rem;
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-padding-y: 0.8rem;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-accent);
    --bs-btn-border-color: var(--color-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-accent-hover);
    --bs-btn-hover-border-color: var(--color-accent-hover);
    box-shadow: 0 8px 16px -4px rgba(26,54,93, 0.4);
    transition: var(--trans);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-frame:hover {
    box-shadow: 0 6px 18px -6px rgba(0,0,0,.4);
}
/* Mantém contraste adequado quando o botão recebe foco/clique */
.btn-frame:focus,
.btn-frame:active {
    color: #fff !important;
    background: #0F2039 !important;
    border-color: #0F2039 !important;
    box-shadow: 0 0 0 .2rem rgba(26,54,93,.35);
}

/* Variante outline mantém altura alinhada ao .btn-frame */
.btn-frame-outline {
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: 0.75rem;
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-padding-y: 0.8rem;
    --bs-btn-color: var(--color-accent);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--color-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-accent);
    --bs-btn-hover-border-color: var(--color-accent-hover);
    box-shadow: 0 4px 10px -4px rgba(26,54,93, 0.15);
    transition: var(--trans);
}
.btn-frame-outline:hover {
    box-shadow: 0 6px 18px -6px rgba(0,0,0,.3);
}
.btn-frame-outline:focus,
.btn-frame-outline:active {
    color: #fff !important;
    background: var(--color-accent-hover) !important;
    border-color: var(--color-accent-hover) !important;
    box-shadow: 0 0 0 .2rem rgba(26,54,93,.35);
}

/* Links da navegação */
.navbar-light.site-nav .navbar-nav .nav-link {
    color: var(--color-text);
    transition: color .2s ease;
}
/* Direciona atenção para o link ativo/hover usando verde da marca */
.navbar-light.site-nav .navbar-nav .nav-link:hover {
    color: var(--color-accent-hover);
}
.navbar-light.site-nav .navbar-nav .nav-link.active {
    font-weight: 600;
    color: var(--color-primary-dark);
}
.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255,255,255,.7);
    --bs-btn-hover-bg: rgba(255,255,255,.15);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-bg: rgba(255,255,255,.25);
    --bs-btn-active-border-color: #fff;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.25rem;
    border-radius: .5rem;
    font-weight: 600;
    line-height: 1;
    min-height: 42px;
}

/* Aparência do menu colapsado */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--gradient-soft);
        padding: 1rem 1.25rem 1.5rem;
        margin-top: .5rem;
        border-radius: .75rem;
        box-shadow: 0 10px 28px -8px rgba(0,0,0,.25);
    }
}

/* Linha divisória antes do rodapé */
.footer-divider {
    height: 3px;
    min-height: 3px;
    background: var(--divider-color);
    width: 100%;
    margin: 0;
    display: block;
}

/* ============================================================
    Rodapé e atalhos sociais
============================================================ */
.site-footer {
        background: var(--gradient-deep);
        color: rgba(255,255,255,.9);
    width: 100%;
    margin: 0;
    padding: 0;
}
.footer-box {
    background: linear-gradient(145deg, rgba(2,3,25,.92) 0%, rgba(0,0,0,.96) 100%);
    color: rgba(255,255,255,.92);
    box-shadow: 0 45px 65px -45px rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
}
.footer-box a {
    color: rgba(255,255,255,.92);
  text-decoration: none;
}
.footer-box a:hover { opacity: .85; }

/* Botões em forma de pílula usados para redes sociais e contato rápido */
.contact-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: .8rem 1rem;
  border-radius: .9rem;
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  min-height: 56px;
  backdrop-filter: blur(4px);
  overflow: hidden; /* Evita que o conteúdo vaze */
}

.contact-pill span:not(.icon) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.contact-pill:hover {
  transform: translateY(-2px);
    background: rgba(255,255,255,.25);
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.contact-pill .icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(0,0,0,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: var(--color-primary-dark);
}
/* Ícones levemente maiores nas pílulas de contato */
.contact-pill .icon i { font-size: 1.15rem; }
@media (max-width: 991.98px) {
  .contact-pill { min-height: 52px; }
}

/* Mantém o conteúdo principal expandido entre header e footer */
main,
.page-content { flex: 1 0 auto; }

main.page-content { background: transparent; }

/* Títulos de seção reutilizados nas páginas */
.page-content .section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.page-content .section-heading .title-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Card reutilizável com borda suave e shadow leve */
.surface-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(26,54,93, 0.08);
    border-top: 4px solid var(--color-accent);
    box-shadow: 0 15px 35px -15px rgba(26,54,93, 0.15);
    padding: clamp(1.75rem, 2.5vw, 2.5rem);
}

.title-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26,54,93, 0.06);
    color: var(--color-accent);
    font-size: 1.75rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 12px rgba(26,54,93, 0.05);
    transition: transform 0.3s ease;
}
.title-icon-wrapper:hover {
    transform: scale(1.1);
}

.surface-card + .surface-card { margin-top: 1.75rem; }

/* ============================================================
    Controles do carrossel de depoimentos
============================================================ */
.carousel-control-prev,
.carousel-control-next {
    width: 3.25rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,.95);
    background-size: 55% 55%;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 38px -26px rgba(17,24,39,.55);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23020319' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.146a.5.5 0 0 1 0 .708L5.207 8l6.147 6.146a.5.5 0 0 1-.708.708l-6.5-6.5a.5.5 0 0 1 0-.708l6.5-6.5a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23020319' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.146a.5.5 0 0 0 0 .708L10.793 8l-6.147 6.146a.5.5 0 0 0 .708.708l6.5-6.5a.5.5 0 0 0 0-.708l-6.5-6.5a.5.5 0 0 0-.708 0z'/%3e%3c/svg%3e");
}

/* ============================================================
    Listagem de serviços
============================================================ */
.services-page .section-title {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-text);
}
.section-divider {
  border: 0;
  height: 3px;
  background: var(--divider-color);
  opacity: 1;
}

/* ============================================================
    Acordeão de FAQ (página pública)
============================================================ */
.faq-ppa {
    display: grid;
    gap: 1rem;
    background: transparent;
    border: 0;
    padding: 0;
}

.faq-qa {
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 24px 38px -26px rgba(17,24,39,.55);
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}

.faq-qa:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 44px -26px rgba(17,24,39,.6);
    background: var(--color-primary-light);
}

.faq-qa.is-open {
    border-color: rgba(26,54,93,.45);
    box-shadow: 0 30px 46px -24px rgba(26,54,93,.45);
    transform: translateY(-3px);
    background: var(--color-primary-light);
}

.faq-q {
    appearance: none;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    color: var(--color-text);
    font-family: var(--font-title, inherit);
    font-weight: 600;
    gap: 1.25rem;
        transition: color .2s ease;
}

.faq-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.faq-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: .95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .3s ease, color .3s ease;
}

.faq-q .q-text {
    font-size: 1.05rem;
    line-height: 1.35;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-q .chev {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    color: var(--color-primary-dark);
    flex-shrink: 0;
    transition: transform .25s ease, background .2s ease, color .2s ease;
}

.faq-qa:hover .faq-q,
.faq-qa.is-open .faq-q {
    color: var(--color-primary-dark);
}

.faq-qa:hover .chev,
.faq-qa.is-open .chev {
    background: rgba(0,0,0,.18);
    color: var(--color-primary-dark);
}

.faq-q:focus-visible {
    outline: 3px solid rgba(26,54,93,.45);
    outline-offset: 3px;
}

.faq-q[aria-expanded='true'] .chev,
.faq-q:not(.collapsed) .chev {
    transform: rotate(180deg);
    background: var(--color-primary);
    color: #fff;
}

.faq-qa.is-open .faq-number,
.faq-qa:hover .faq-number {
    background: var(--color-primary);
    color: #fff;
}

.faq-a {
    color: var(--color-text-muted);
    padding: 0 1.5rem 1.3rem 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid rgba(0,0,0,.05);
    background: transparent;
}

.faq-a p { margin-bottom: .75rem; }
.faq-a p:last-child { margin-bottom: 0; }

@media (max-width: 575.98px) {
    .faq-q {
        padding: 1rem 1.25rem;
        gap: .9rem;
    }
    .faq-label {
        gap: .75rem;
    }
    .faq-number {
        width: 38px;
        height: 38px;
        font-size: .85rem;
    }
    .faq-q .q-text {
        font-size: 1rem;
    }
}

/* ============================================================
    Página de contato
============================================================ */

.contact-section {
    position: relative;
}

.contact-shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #fff;
    border-radius: 24px;
    padding: clamp(2rem, 3vw, 3rem);
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 30px 60px -36px rgba(17,24,39,.45);
}

@media (min-width: 992px) {
    .contact-shell {
        flex-direction: row;
        align-items: stretch;
    }
}

.contact-pane {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
}

.contact-pane--info {
    background: var(--gradient-deep);
    color: rgba(255,255,255,.95);
    border-radius: 20px;
    padding: clamp(2rem, 3vw, 2.8rem);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.contact-pane--info .text-muted { color: rgba(255,255,255,.75) !important; }

.contact-pane--info .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.contact-quick li {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 1rem;
    align-items: flex-start;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-quick li:last-child { border-bottom: 0; }
.contact-quick a { color: rgba(255,255,255,.95); text-decoration: none; }
.contact-quick a:hover { text-decoration: underline; }

.contact-quick li > .contact-icon { margin-top: .25rem; }

.contact-quick li > div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.contact-highlight {
    margin-top: auto;
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    margin-top: .25rem;
}

.contact-pane--form {
    background: #ffffff;
    border-radius: 20px;
    align-items: flex-start;
    padding: clamp(2rem, 3vw, 2.8rem);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.contact-quick strong {
    display: block;
    margin-bottom: .15rem;
}

.surface-card--compact {
    padding: clamp(1.25rem, 1.5vw, 1.75rem);
    border-radius: 1rem;
}

.section-heading__body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.section-heading--center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.section-heading--center .title-icon {
    margin: 0 auto;
}

.section-heading--center .section-heading__body {
    align-items: center;
}

.tile-card {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: rgba(26,54,93,.3);
}

.tile-card__title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.tile-card__text {
    margin: 0;
    color: var(--color-text-muted);
}

.process-step {
    position: relative;
}

.process-step__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.process-step__title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

.process-step__text {
    margin: 0;
    color: var(--color-text-muted);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.service-card__title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
}

.service-card__description {
    margin: 0;
    color: var(--color-text-muted);
    white-space: pre-line;
}

.service-card__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.service-card__badge {
    align-self: flex-start;
    background: rgba(46,77,58,.12);
    color: var(--color-primary-dark);
    font-weight: 600;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    height: 100%;
}

.about-card__title {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.about-card__list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
    font-size: .9rem;
}

.contact-quick li > div > span,
.contact-quick li > div > a {
    display: block;
}

.contact-meta {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}
.contact-form .form-control {
    border-radius: .75rem;
    border-color: rgba(24,35,27,.12);
    padding: .75rem 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 .2rem rgba(26,54,93,.25);
}

.contact-form .btn {
    border-radius: .75rem;
}

.contact-hp {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
}

/* ============================================================
    Ajustes responsivos
============================================================ */
@media (max-width: 767.98px) {
    .page-content .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .surface-card {
        padding: clamp(1.35rem, 4vw, 2rem);
    }

    .hero-visual .hero-overlay .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-visual .hero-overlay .d-flex {
        width: 100%;
        flex-wrap: wrap;
        gap: .75rem;
    }

    .hero-visual .hero-overlay .btn {
        flex: 1 1 160px;
        justify-content: center;
    }

    .service-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-quick li {
        grid-template-columns: 40px 1fr;
    }
}

@media (max-width: 575.98px) {
    :root {
        --frame-size: clamp(16px, 9vw, 24px);
    }

    .navbar .navbar-brand img {
        height: 86px;
    }

    .site-nav {
        border-radius: 18px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.1rem);
    }

    .hero-visual .hero-overlay {
        background: rgba(0,0,0,.48);
    }

    .hero-visual .hero-overlay .container {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .contact-shell {
        padding: 1.6rem 1.25rem;
    }

    .contact-pane--info {
        text-align: center;
    }

    .contact-quick {
        text-align: center;
    }

    .contact-quick li {
        grid-template-columns: 1fr;
        row-gap: .35rem;
        padding: .65rem 0;
    }

    .contact-quick li > .contact-icon {
        margin: 0 auto .35rem;
    }

    .contact-quick li > div {
        align-items: center;
    }

    .contact-highlight .d-flex {
        width: 100%;
        flex-direction: column;
    }

    .contact-highlight .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-box {
        text-align: center;
    }
}

/* ============================================================
    Layout de autenticação (login)
============================================================ */
/* Fundo com gradientes suaves para o login */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle farthest-side at top left, rgba(26,54,93,.08), transparent 45%),
                radial-gradient(circle farthest-side at bottom right, rgba(26,54,93,.05), transparent 40%),
                linear-gradient(180deg, #f0f4fa 0%, #e1eaf5 100%);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.auth-shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

@media (min-width: 992px) {
    .auth-shell {
        flex-direction: row;
        gap: 2.5rem;
    }
}

.auth-panel {
    flex: 1 1 0;
    border-radius: 26px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 30px 60px -40px rgba(24,35,27,.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-panel__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1 1 auto;
}

.auth-panel__footer { margin-top: auto; }

.auth-panel--form .auth-panel__content {
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.auth-panel--brand .auth-panel__content > div:first-child {
    max-width: 420px;
}

.auth-panel--brand {
    background: radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 50%),
                var(--gradient-deep);
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
}

/* Painel branco que abriga o formulário de login */
.auth-panel--form {
    background: #fff;
    border: 1px solid rgba(24,35,27,.08);
    display: flex;
    align-items: center;
}

/* Cartão translúcido que envolve os campos do formulário */
.auth-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255,255,255,.92);
    border-radius: 22px;
    border: 1px solid rgba(24,35,27,.08);
    box-shadow: 0 28px 48px -32px rgba(24,35,27,.55);
    padding: clamp(1.75rem, 4vw, 2.35rem);
    backdrop-filter: blur(12px);
}

.auth-panel--brand .badge { background: rgba(255,255,255,.2) !important; }

.auth-panel--brand .auth-highlights li {
    background: rgba(0,0,0,.15);
    border-radius: 12px;
    padding: .75rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
}

.auth-panel--brand .auth-highlights li i { color: rgba(255,255,255,.85); }

.auth-panel--brand::before,
.auth-panel--brand::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    opacity: .35;
}

.auth-panel--brand::before {
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,.14);
    top: -80px;
    right: -80px;
}

.auth-panel--brand::after {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,.12);
    bottom: -60px;
    left: -40px;
}

.auth-panel--brand > * { position: relative; z-index: 1; }

.auth-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
}

/* Lista de diferenciais apresentada no painel verde */
.auth-highlights li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .95rem;
}

.auth-highlights i {
    font-size: 1.15rem;
    margin-top: .1rem;
}

.auth-card .form-control {
    border-radius: .75rem;
    border-color: rgba(24,35,27,.12);
    padding: .75rem 1rem;
}

.auth-card .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 .2rem rgba(26,54,93,.25);
}

.auth-card .btn {
    border-radius: .75rem;
    padding: .75rem 1rem;
}

.auth-card .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 600;
}

.auth-card .btn-primary:hover,
.auth-card .btn-primary:focus {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    box-shadow: 0 0 0 .2rem rgba(88,163,104,.25);
}

@media (max-width: 991.98px) {
    .auth-panel {
        border-radius: 24px;
        padding: clamp(1.75rem, 5vw, 2.5rem);
    }
    .auth-panel--brand {
        text-align: center;
    }
    .auth-panel--brand .auth-highlights {
        text-align: left;
    }
    .auth-card {
        max-width: 100%;
    }
}

.footer-link {
    transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-link:hover {
    opacity: 1 !important;
}

/* ============================================================
    Custom Premium Alerts (Alinhado à Paleta)
============================================================ */
.page-content .alert {
    background: rgba(26, 54, 93, 0.04);
    border: 1px solid rgba(26, 54, 93, 0.12);
    border-radius: 12px;
    color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.03);
    font-weight: 500;
}

.page-content .alert-success {
    border-left: 4px solid var(--color-accent);
}

.page-content .alert-warning {
    border-left: 4px solid var(--color-text-muted);
}

.page-content .alert-danger {
    border-left: 4px solid var(--color-accent);
}

.page-content .alert-info {
    border-left: 4px solid var(--color-primary);
}