/* =====================================
   THEME – SÃO JUDAS TADEU
   Baseado em Bootstrap
   ===================================== */

:root {
  /* ===============================
     Bootstrap – cores base
     =============================== */

  --bs-primary: #123c52;
  --bs-primary-rgb: 15, 60, 76;

  --bs-secondary: #1f5563;
  --bs-secondary-rgb: 31, 85, 99;

  --bs-warning: #f4a21e;
  --bs-warning-rgb: 244, 162, 30;

  --bs-light: #f5f7f8;
  --bs-light-rgb: 245, 247, 248;

  --bs-dark: #1f2d33;
  --bs-dark-rgb: 31, 45, 51;

  /* ===============================
     Bootstrap – ajustes de texto
     =============================== */

  --bs-body-color: #1f2d33;
  --bs-body-bg: #ffffff;

  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--bs-warning);

  /* ===============================
     Extensões do tema (uso interno)
     =============================== */

  --primary-dark: #0b2d38;
  --primary-soft: #2a6f7f;

  --warning-dark: #d98b0d;
  --warning-soft: #ffcf70;

  --radius-default: 6px;
  --transition-default: 0.3s ease;

  /* ===============================
     Layout / surface tokens
     =============================== */

  --page-bg: #ffffff;
  --page-text: #1f2d33;
  --page-muted: #6c757d;
  --page-border: rgba(15, 60, 76, 0.15);
  --surface-bg: #f5f7f8;
  --surface-border: rgba(15, 60, 76, 0.08);
  --session-bg: #ffffff;
  --session-text: #1f2d33;
  --session-border: rgba(18, 60, 82, 0.2);
  --session-link: var(--bs-primary);
  --session-cta: var(--bs-warning);
  --hero-overlay-color: rgba(15, 60, 76, 0.55);
  --hero-bg-dark: #000000;
}

@media (max-width: 767.98px) {
  .secretaria-form-container {
    width: 90vw;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-theme {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
}

.btn-theme-outline {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-bg: transparent;
}

body.theme-light,
.theme-light {
  --page-bg: #ffffff;
  --page-text: #1f2d33;
  --page-muted: #6c757d;
  --page-border: rgba(15, 60, 76, 0.15);
  --surface-bg: #f5f7f8;
  --session-bg: #ffffff;
  --session-text: #1f2d33;
  --session-border: rgba(18, 60, 82, 0.2);
  --session-link: var(--bs-primary);
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--bs-warning);
  --hero-overlay-color: rgba(15, 60, 76, 0.55);
}

/* =========================================================
   DARK MODE - PALETA MONOCROMÁTICA (Tons de Cinza)
   ========================================================= */

.theme-dark,
body.theme-dark {
  /* Paleta Monocromática - Cinzas Escuros */
  --bg-primary: #0d0d0d;
  --bg-surface: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-input: #1f1f1f;
  --bg-hover: #252525;
  
  --text-primary: #d4d4d4;
  --text-secondary: #a8a8a8;
  --text-muted: #707070;
  --text-disabled: #505050;
  --text-inverse: #1a1a1a;
  
  --border-default: #2a2a2a;
  --border-light: #333333;
  --border-focus: #4a4a4a;
  
  --accent-default: #8a8a8a;
  --accent-hover: #a0a0a0;
  --accent-active: #b8b8b8;
  
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 2px 8px var(--shadow-color);
  --shadow-medium: 0 4px 16px var(--shadow-color);
  --shadow-strong: 0 8px 32px var(--shadow-color);

  /* Mapeamento Bootstrap */
  --bs-body-bg: var(--bg-primary);
  --bs-body-color: var(--text-primary);
  --bs-primary: var(--accent-default);
  --bs-primary-rgb: 138, 138, 138;
  --bs-secondary: var(--text-muted);
  --bs-secondary-rgb: 112, 112, 112;
  --bs-warning: #c9a227;
  --bs-warning-rgb: 201, 162, 39;
  --bs-light: var(--bg-card);
  --bs-light-rgb: 26, 26, 26;
  --bs-dark: var(--text-primary);
  --bs-dark-rgb: 212, 212, 212;

  /* Links */
  --bs-link-color: var(--accent-hover);
  --bs-link-hover-color: var(--accent-active);

  /* Page tokens */
  --page-bg: var(--bg-primary);
  --page-text: var(--text-primary);
  --page-muted: var(--text-secondary);
  --page-border: var(--border-default);
  --surface-bg: var(--bg-surface);
  --surface-border: var(--border-default);
  --session-bg: var(--bg-card);
  --session-text: var(--text-primary);
  --session-border: var(--border-light);
  --session-link: var(--accent-default);
  --session-cta: var(--bs-warning);
  --hero-overlay-color: rgba(0, 0, 0, 0.6);
  --hero-bg-dark: #000000;
}

/* =====================================
   ESTILOS DARK MODE - VARIÁVEIS
   ===================================== */

.theme-dark .main-navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
}

.theme-dark .main-navbar .nav-link {
  color: #cdf0f7eb;
}

.theme-dark .main-navbar .nav-link:hover {
  color: #ffffff;
}

/* Admin Navbar Dark Mode */
.theme-dark .navbar {
  background-color: #1a1d21 !important;
  border-bottom: 1px solid #2c3035;
}
.theme-dark .navbar-brand,
.theme-dark .nav-link {
  color: #e4e6ea !important;
}
.theme-dark .nav-link:hover {
  color: #fff !important;
  background-color: rgba(255,255,255,0.1);
}
.theme-dark .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.theme-dark .navbar-toggler-icon {
  filter: invert(1);
}
.theme-dark .dropdown-menu {
  background-color: #2c3035;
  border-color: #3d4249;
}
.theme-dark .dropdown-item {
  color: #e4e6ea;
}
.theme-dark .dropdown-item:hover {
  background-color: #3d4249;
  color: #fff;
}
.theme-dark .dropdown-item.active,
.theme-dark .dropdown-item:active {
  background-color: #0d6efd;
}

/* Topbar (informações de contato acima do menu principal) */
.topbar {
  background-color: var(--surface-bg);
  border-bottom: 1px solid var(--surface-border);
  color: var(--page-text);
}
.topbar .top-contact,
.topbar .top-contact i,
.topbar .top-contact div,
.topbar .top-contact-email-link {
  color: inherit;
}
.topbar .top-contact-email-link {
  color: var(--bs-primary);
}

.theme-dark .topbar {
  background-color: var(--bg-surface);
  border-bottom-color: var(--border-default);
  color: var(--text-secondary);
}
.theme-dark .topbar .top-contact-email-link {
  color: var(--text-primary);
}

.theme-dark .hero-box {
  background: rgba(0, 0, 0, 0.5);
}

.theme-dark .hero-subtitle {
  color: var(--bs-warning);
}

.theme-dark .hero-title {
  color: var(--text-primary);
}

.theme-dark .course-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
}

.theme-dark .course-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-light);
}

.theme-dark .course-body {
  background-color: var(--bg-card);
}

.theme-dark .course-title,
.theme-dark .section-title,
.theme-dark .pos-title {
  color: var(--text-primary);
}

.theme-dark .course-meta,
.theme-dark .course-type,
.theme-dark .course-coordinator,
.theme-dark .feature-box p,
.theme-dark .stat-box p,
.theme-dark .pos-description {
  color: var(--text-secondary);
}

.theme-dark .section-eyebrow,
.theme-dark .social-eyebrow {
  color: var(--text-muted);
}

.theme-dark .about-section {
  background-color: var(--bg-surface);
}

.theme-dark .quote-box {
  background-color: var(--bg-card);
  border-left: 3px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.theme-dark .feature-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
}

.theme-dark .feature-box:hover {
  box-shadow: 0 0 0 1px var(--border-light);
}

.theme-dark .feature-icon {
  border-color: var(--border-light);
}

.theme-dark .feature-icon i {
  color: var(--accent-default);
}

.theme-dark .contact-section,
.theme-dark .stats-section,
.theme-dark .emec-section {
  background-color: var(--bg-primary);
}

.theme-dark .contact-title {
  color: var(--text-primary);
}

.theme-dark .contact-form .form-control,
.theme-dark .contact-form .form-select {
  background-color: var(--bg-input);
  border-color: var(--border-default);
  color: var(--text-primary);
}

.theme-dark .contact-form .form-control::placeholder,
.theme-dark .contact-form .form-select::placeholder {
  color: #909090;
}

.theme-dark .contact-form .form-control:focus,
.theme-dark .contact-form .form-select:focus {
  background-color: var(--bg-input);
  border-color: var(--border-focus);
  color: var(--text-primary);
  box-shadow: 0 0 0 2px rgba(138, 138, 138, 0.15);
}

.theme-dark .stat-number {
  color: var(--text-primary);
}

.theme-dark .emec-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-soft);
}

.theme-dark .emec-title {
  color: var(--text-primary);
}

.theme-dark .social-section {
  background-color: var(--bg-surface);
}

.theme-dark .social-box {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.theme-dark .social-title {
  color: var(--text-primary);
}

.theme-dark .site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-default);
}

.theme-dark .accordion-button {
  color: var(--text-primary);
  background-color: var(--bg-card);
}

.theme-dark .accordion-button:not(.collapsed) {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.theme-dark .accordion-body {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
}

.theme-dark .breadcrumb-item a {
  color: var(--accent-default);
}

.theme-dark .breadcrumb-item.active {
  color: var(--text-muted);
}

.theme-dark .pos-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-soft);
}

/* Improve button contrast inside pos-card for dark mode */
.theme-dark .pos-card .btn {
  background-color: var(--accent-default);
  border-color: var(--accent-default);
  color: #111; /* dark text on warm accent for legibility */
  opacity: 1;
}

.theme-dark .pos-card .btn:hover,
.theme-dark .pos-card .btn:focus {
  background-color: color-mix(in srgb, var(--accent-default) 85%, black 15%);
  border-color: color-mix(in srgb, var(--accent-default) 85%, black 15%);
  color: #fff;
}

.theme-dark .lista-disciplinas li {
  background: var(--bg-card);
  border-left: 3px solid var(--border-light);
  color: var(--text-secondary);
}

.theme-dark .lista-disciplinas li:hover {
  background: var(--bg-hover);
}

.theme-dark .hero-institucional {
  filter: grayscale(30%) brightness(0.8);
}

.theme-dark .hero-overlay {
  background: rgba(0, 0, 0, 0.72);
}

.theme-dark .hero-content h1 {
  color: #f3f3f3;
}

.theme-dark .hero-institucional + .container h2 {
  color: var(--text-primary);
}

.theme-dark .hero-institucional + .container .card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-soft);
}

.theme-dark .hero-institucional + .container .card-body {
  color: var(--text-secondary);
}

.theme-dark .hero-institucional + .container .card-text {
  color: var(--text-secondary);
}

.theme-dark .hero-institucional + .container .alert-info {
  background: color-mix(in srgb, var(--bg-card) 85%, #0d6efd 15%);
  border-color: color-mix(in srgb, var(--border-default) 70%, #0d6efd 30%);
  color: #d8e8ff;
}

.theme-dark .hero-institucional + .container .btn-outline-primary {
  color: #d8d8d8;
  border-color: var(--border-light);
}

.theme-dark .hero-institucional + .container .btn-outline-primary:hover {
  background-color: var(--bg-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

.theme-dark .hero-institucional + .container .btn-outline-secondary {
  color: #c7c7c7;
  border-color: var(--border-default);
}

.theme-dark .hero-institucional + .container .btn-outline-secondary:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-light);
  color: #ffffff;
}

.theme-dark .hero-institucional + .container .btn-danger {
  background-color: #8f2632;
  border-color: #8f2632;
}

.theme-dark .hero-institucional + .container .btn-danger:hover {
  background-color: #a5323f;
  border-color: #a5323f;
}

.theme-dark .a11y-panel {
  background: var(--bg-card);
  box-shadow: var(--shadow-medium);
}

.theme-dark .session {
  background-color: var(--session-bg);
  border: 1px solid var(--session-border);
}

.theme-dark .session a {
  color: var(--session-link);
}

.theme-dark .btn-warning {
  color: #1a1a1a;
}

.theme-dark .btn-primary {
  background-color: var(--accent-default);
  border-color: var(--accent-default);
  color: #1a1a1a;
}

.theme-dark .btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.theme-dark #secretaria-form {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  border-radius: 18px;
  padding: 2.75rem;
  backdrop-filter: blur(20px);
  color: #f9fafb;
}

.theme-dark #secretaria-form .form-control,
.theme-dark #secretaria-form .form-select,
.theme-dark #secretaria-form textarea {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.theme-dark #secretaria-form .form-control:focus,
.theme-dark #secretaria-form .form-select:focus,
.theme-dark #secretaria-form textarea:focus {
  border-color: var(--bs-warning);
  box-shadow: 0 0 0 0.35rem rgba(201, 162, 39, 0.35);
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.theme-dark #secretaria-form label {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.theme-dark #secretaria-form .form-text,
.theme-dark #secretaria-form small {
  color: rgba(255, 255, 255, 0.72);
}

.theme-dark .secretaria-form-container {
  background: var(--bg-surface);
  border-color: var(--border-light);
  box-shadow: var(--shadow-medium);
}

.theme-dark #document-selection {
  background: var(--bg-card);
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
}

.theme-dark #document-selection .h6,
.theme-dark #document-selection .form-check-label {
  color: var(--text-primary);
}

.theme-dark #ementa-area {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 1rem;
}

.theme-dark #ementa-area label {
  color: var(--text-primary);
  font-weight: 600;
}

.theme-dark #secretaria-page {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 2.25rem 3rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.theme-dark #secretaria-page hr {
  border-color: rgba(255, 255, 255, 0.15);
}

.theme-dark #posmedica-page {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.theme-dark #posmedica-page .card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.theme-dark #posmedica-page .card:hover {
  transform: translateY(-9px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(255, 255, 255, 0.12);
}

.theme-dark #posmedica-page .card-title {
  color: var(--text-primary);
}

.theme-dark #posmedica-page .card-text {
  color: var(--text-secondary);
}

.theme-dark #posmedica-page .card-footer,
.theme-dark #posmedica-page .card-footer.bg-white {
  background-color: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-dark #posmedica-page .card-footer .btn.btn-dark {
  background-color: #262626;
  border-color: #353535;
  color: #f1f1f1;
}

.theme-dark #posmedica-page .card-footer .btn.btn-dark:hover {
  background-color: #303030;
  border-color: #454545;
  color: #ffffff;
}

/* Dark mode adjustments for muted text and placeholders */
.theme-dark .text-muted {
  color: #bdc5cabf !important;
}

.theme-dark .form-control::placeholder,
.theme-dark textarea::placeholder,
.theme-dark .form-select::placeholder {
  color: #bdc5cabf;
}

.theme-dark a {
  color: var(--bs-link-color);
}

.theme-dark a:hover {
  color: var(--bs-link-hover-color);
}

/* ================================
   TIPOGRAFIA GLOBAL
   ================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-text);
  background-color: var(--page-bg);
  transition: background-color var(--transition-default) ease, color var(--transition-default) ease;
}

/* ajuste fonte */
h1,
.hero-title {
  font-size: 3rem; /* ~48px */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.25rem; /* ~36px */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.5rem; /* ~24px */
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem; /* ~20px */
  font-weight: 600;
}

p {
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  color: var(--page-muted);
}

.small,
.text-muted {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
}

.main-navbar .nav-link {
  font-size: 0.95rem; /* ~15px */
  font-weight: 500;
  line-height: 1;
  padding: 1rem 1.2rem; /* ALTURA DO MENU */
  letter-spacing: 0.3px;
}

/* CTA */
.btn {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
}

.btn-warning {
  font-size: 1rem;
}

/* ajuste mobile */
@media (max-width: 768px) {
  h1,
  .hero-title {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .main-navbar .nav-link {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}

/* Links */
a {
  color: var(--bs-primary);
  text-decoration: none;
}
a:hover {
  color: var(--bs-warning);
}

.session {
  background-color: var(--session-bg);
  color: var(--session-text);
  border: 1px solid var(--session-border);
  border-radius: var(--radius-default);
  padding: 1.5rem;
  transition:
    background-color var(--transition-default) ease,
    color var(--transition-default) ease,
    border-color var(--transition-default) ease,
    box-shadow var(--transition-default) ease;
  box-shadow: 0 18px 34px rgba(15, 60, 76, 0.12);
}

.session * {
  color: inherit;
}

.session a {
  color: var(--session-link);
}

.session a:hover {
  color: var(--session-cta);
}

/* =====================================
   BOTÕES (ajuste visual apenas)
   ===================================== */

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-warning {
  color: #000;
}
.btn-warning:hover {
  background-color: var(--warning-dark);
  border-color: var(--warning-dark);
}

/* ====================================
 TITULOS SESSION
======================================= */
.section-title {
  color: var(--bs-primary);
  font-weight: 700;
}

/* =====================================
   HEADER / LOGO
   ===================================== */

.logo-link img {
  max-width: 75%;
  height: auto;
  /*filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));*/
}

.top-contact-email {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.top-contact-email i {
  line-height: 1.4;
  flex: 0 0 auto;
}

.top-contact-email-link {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =====================================
   NAVBAR
   ===================================== */

.main-navbar {
  background-color: var(--bs-primary);
  border-bottom: 1px solid var(--bs-light);
}

/* Links do menu */
.main-navbar .nav-link {
  color: #e2e6e9; /* cinza claro padrão */
  font-weight: 500;
  padding: 1rem 1.2rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
  color: var(--bs-warning);
}

/* Dropdown */
.dropdown-menu {
  border-radius: 0;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: var(--bs-warning);
  color: #000;
}

.theme-dark .dropdown-item:hover {
  background-color: #3d2b1f;
  color: #e0d8d0;
}

/* =====================================
   MENU MOBILE
   ===================================== */

@media (max-width: 991px) {
  .main-navbar .navbar-collapse {
    background-color: var(--bs-primary);
  }

  .main-navbar .nav-link {
    padding: 0.75rem 1rem;
  }

  .main-navbar .nav-link:hover {
    background-color: var(--primary-dark);
    color: var(--bs-warning);
  }
}

/* Botão hamburguer - visível no fundo azul */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.4);
}

/* Garante botão sempre à direita no mobile */
.main-navbar .navbar-toggler {
  margin-left: auto;
}

/* aŕea de toque aumentada */
.navbar-toggler {
  padding: 0.4rem 0.6rem;
}

/* ============================
   HEADER / MENU FIXO
   ============================ */

/* Navbar azul */
.main-navbar {
  transition: all 0.3s ease;
}

/* Estado fixo */
.main-navbar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  animation: slideDown 0.3s ease;
}

/* Compensação visual (aplicada no body) */
body.has-fixed-menu {
  padding-top: 64px; /* altura do menu azul */
}

/* Animação */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ============================
   HERO PARALLAX
   ============================ */

.hero-parallax {
  position: relative;
  min-height: 75vh;
  background-image: url("/public/assets/img/img01-cover.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* PARALLAX */
  display: flex;
  align-items: center;
  color: #fff;
}

/* Overlay escuro para contraste */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-color);
  z-index: 1;
}

/* Conteúdo acima do overlay */
.hero-parallax .container {
  position: relative;
  z-index: 2;
}

/* Caixa do texto (cinza translúcido) */
.hero-box {
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem 2.5rem;
  border-radius: 6px;
  max-width: 520px;
}

/* Título */
.hero-box h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--bs-warning);
  margin-bottom: 1rem;
}

/* Subtítulo */
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  color: #ffd59e;
}

/* Botões */
.hero-actions .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

/* ============================
   MOBILE (parallax off)
   ============================ */

@media (max-width: 991px) {
  .hero-parallax {
    background-attachment: scroll; /* desliga parallax */
    min-height: 70vh;
  }

  .hero-box {
    padding: 1.5rem;
  }

  .hero-box h1 {
    font-size: 2rem;
  }
}

/* ============================
   ANIMAÇÕES DE ENTRADA – HERO
   ============================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base animável */
.animate {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

/* Delays */
.animate.delay-1 {
  animation-delay: 0.2s;
}
.animate.delay-2 {
  animation-delay: 0.4s;
}
.animate.delay-3 {
  animation-delay: 0.6s;
}
.animate.delay-4 {
  animation-delay: 0.8s;
}

/* ============================
   COURSES SECTION
   ============================ */

.section-eyebrow {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bs-dark);
}

/* ============================
   COURSE CARD
   ============================ */

.course-card {
  background-color: var(--bs-primary);
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition:
    background-color 0.4s ease,
    transform 0.3s ease;
  height: 100%;
}

.course-card:hover {
  background-color: #000;
  transform: translateY(-4px);
}

/* Imagem */
.course-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Conteúdo */
.course-content {
  padding: 1.5rem;
}

.course-content h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.course-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.course-content ul li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1rem;
}

.course-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bs-warning);
}

/* ============================
   LINK COM TRAÇO ANIMADO
   ============================ */

.course-link {
  position: relative;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  padding-bottom: 4px;
}

.course-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.course-card:hover .course-link::after {
  width: 100%;
}

/* ============================
   ABOUT / CHOICE SECTION
   ============================ */

.about-section {
  background-color: #e7e7e5;
}

/* Caixa da citação */
.quote-box {
  background-color: #fff;
  border-left: 4px solid var(--bs-primary);
  padding: 1.5rem 1.75rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.quote-box p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* ============================
   LISTA DE ÁREAS (hover)
   ============================ */

.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-list li {
  margin-bottom: 0.5rem;
}

.area-list a {
  position: relative;
  color: var(--bs-dark);
  font-weight: 500;
  padding-left: 1.5rem;
  display: inline-block;
}

/* Ícone circular */
.area-list a::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bs-primary);
  font-size: 0.9rem;
}

/* Traço animado */
.area-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--bs-warning);
  transition: width 0.3s ease;
}

.area-list a:hover::after {
  width: 100%;
}

.area-list a:hover {
  color: var(--bs-primary);
}

/* ============================
   FEATURES SECTION
   ============================ */

.feature-box {
  background-color: #f0f0f0;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover: sobe + sombra interna */
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.08);
}

/* Ícone circular */
.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--bs-primary);
}

/* Texto */
.feature-box p {
  font-size: 0.95rem;
  color: #6c757d;
  margin: 0;
}

/* ============================
   CONTACT SECTION
   ============================ */

.contact-section {
  background-color: #f7f7f7;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-dark);
}

/* Formulário */
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.15rem rgba(15, 60, 76, 0.15);
}

/* Botão */
.contact-form .btn {
  padding: 0.6rem 2rem;
}

/* ============================
   CHANNELS SECTION
   ============================ */

.channels-section {
  background-color: #ffffff;
}

.theme-dark .channels-section {
  background-color: var(--bg-surface);
}

.channel-box {
  background-color: var(--bs-primary);
  color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 14px;
  text-align: center;
  height: 100%;
  min-width: 0;
  transition:
    background-color 0.35s ease,
    transform 0.3s ease;
}

.theme-dark .channel-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}

.theme-dark .channel-box h5 {
  color: var(--text-primary);
}

.theme-dark .channel-box h2 {
  color: #9d9999de;
}

.theme-dark .channel-box p,
.theme-dark .channel-box address {
  color: #9d9999de;
}

/* Hover */
.channel-box:hover {
  background-color: #000;
  transform: translateY(-6px);
}

.theme-dark .channel-box:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-light);
}

.theme-dark .channel-box:hover .channel-icon i {
  color: var(--text-primary);
}

/* Ícone */
.channel-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.theme-dark .channel-icon {
  background-color: var(--text-muted);
}

.channel-icon i {
  font-size: 1.8rem;
  color: var(--bs-primary);
  transition: color 0.3s ease;
}

.theme-dark .channel-icon i {
  color: var(--bg-card);
}

/* Títulos */
.channel-box h5 {
  color: #ffffff;
  font-weight: 600;
  margin-top: 1rem;
}

/* Texto */
.channel-box p,
.channel-box address {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.channel-email-link {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.channel-email-link:hover,
.channel-email-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* ============================
   LOCATION MAP SECTION
   ============================ */

.location-map-section {
  background-color: #ffffff;
}

.theme-dark .location-map-section {
  background-color: #696969;
}

.map-card {
  background-color: #ffffff;
  border: 1.5px solid var(--bs-primary);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.theme-dark .map-card {
  background-color: var(--bg-card);
  border-color: var(--border-default);
  box-shadow: var(--shadow-medium);
}

.map-embed {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

@media (min-width: 992px) {
  .map-embed {
    min-height: 420px;
  }
}

/* ============================
   STATS / COUNTERS SECTION
   ============================ */

.stats-section {
  background-color: #f0f0f0; /* cinza do tema */
}

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

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background-color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  color: var(--bs-warning);
  font-size: 1.2rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-dark);
  margin-bottom: 0.25rem;
}

.stat-box p {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
}

/* ============================
   EMEC SECTION
   ============================ */

.emec-section {
  background-color: #f0f0f0;
}

/* Card central */
.emec-box {
  background-color: #ffffff;
  padding: 3rem 3rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Título */
.emec-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-dark);
  margin: 0;
  line-height: 1.3;
}

/* Link do selo */
.emec-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.emec-link:hover {
  transform: translateY(-4px);
}

/* Imagem */
.emec-img {
  max-width: 180px;
  width: 100%;
  height: auto;
}

/* Responsivo */
@media (max-width: 767px) {
  .emec-box {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .emec-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

/* ============================
   SOCIAL SECTION
   ============================ */

.social-section {
  background-image: url("/public/assets/img/rodape.png");
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
}

/* Box central */
.social-box {
  background-color: var(--bs-light);
  border-radius: 14px;
  padding: 3rem 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Texto */
.social-eyebrow {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.social-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--bs-dark);
}

/* Ícones */
.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.social-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-link:hover img {
  transform: translateY(-6px);
}

/* Responsivo */
@media (max-width: 767px) {
  .social-box {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    margin-top: 1.5rem;
  }

  .social-title {
    font-size: 1.6rem;
  }
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background-color: var(--bs-primary);
  color: #ffffff;
  padding: 2rem 0;
}

/* Links */
.site-footer a {
  color: #ffffff;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--bs-warning);
}

/* Separador */
.site-footer .separator {
  margin: 0 0.6rem;
  opacity: 0.6;
}

/* Copyright */
.footer-copy {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 575px) {
  .footer-links {
    font-size: 0.85rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}

/* ================================
   COURSE CARD
   ================================ */

.course-card {
  background: var(--bs-primary);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  border: 1px solid #e1e1e1;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* HOME*/
.course-img-home {
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.course-img-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GRADUAÇÃO */

.course-img {
  width: 100%;
  height: 80px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;

  transition: transform 0.3s ease;
}

.course-img:hover {
  transform: scale(1.03);
}

/* ajuste mobile */
@media (max-width: 768px) {
  .course-img {
    height: 100px;

    background-size: contain;
    background-position: center;
    background-color: #0e3a44; /* mesma cor do banner */
  }
}

/*
.course-img {
  height: 80px;
  width: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;

  transition: background-size 0.5s ease;
}

.course-img:hover {
  transform: scale(1.03);
}
*/
/* ================================
   CORPO
   ================================ */

.course-body {
  padding: 26px 24px 30px; /* MAIS ALTO */
  background-color: #f4f4f4;
}

.course-title {
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* Meta */
.course-meta {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 12px; /* MAIS ESPAÇO */
}

.course-meta span {
  margin-right: 14px;
}

/* Tipo */
.course-type {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

/* Coordenador */
.course-coordinator {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 18px; /* MAIS RESPIRO */
}

/* ================================
   AÇÃO - HOME
   ================================ */
.course-actions {
  display: flex;
  justify-content: flex-end;
}

.course-link-home {
  font-size: 0.8rem;
  color: var(--bs-light);
  position: relative;
  text-decoration: none;
}

.course-link-home::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--bs-warning);
  transition: width 0.3s ease;
}

.course-link-home:hover::after {
  width: 100%;
}

/* ===============================
AÇÃO - GRADUAÇÃO (detalhes curso)
================================== */
.course-link {
  font-size: 0.8rem;
  color: var(--bs-primary);
  position: relative;
  text-decoration: none;
}

.course-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--bs-warning);
  transition: width 0.3s ease;
}

.course-link:hover::after {
  width: 100%;
}

/* accordeon graducao */
.accordion-button {
  font-weight: 600;
  color: var(--bs-primary);
}

.accordion-button:not(.collapsed) {
  background-color: var(--bs-primary);
  color: #fff;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  line-height: 1.7;
  font-size: 1rem;
}

/* breadcrumb detalhes curso */
.breadcrumb {
  background: transparent;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--bs-primary);
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: var(--bs-warning);
}

.breadcrumb-item.active {
  color: var(--bs-dark);
}

/* pos */
.pos-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.pos-image {
  height: 190px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.pos-card:hover .pos-image {
  transform: scale(1.05);
}

.pos-body {
  padding: 1.5rem;
}

.pos-title {
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

.pos-description {
  font-size: 0.95rem;
  color: #555;
  min-height: 80px;
}

/* ===========================
   HERO INSTITUCIONAL
=========================== */

.hero-institucional {
  position: relative;
  height: 280px;
  background: url("https://faculdadesaojudastadeu.com.br/public/assets/img/institucional-bg.png")
    center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay-color);
  backdrop-filter: blur(3px);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* lista pos  */

.lista-disciplinas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-disciplinas li {
  background: #f8f9fa;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-left: 4px solid #0f3c4c;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.lista-disciplinas li:hover {
  background: #e9ecef;
  transform: translateX(4px);
}

/* btn-pulse effect */
@keyframes pulseEffect {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(25, 135, 84, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
  }
}

.btn-pulse {
  animation: pulseEffect 1.8s infinite;
}

/* ===========================
   BOTÃO WHATSAPP FLUTUANTE
=========================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #1ebe5d;
  color: #fff;
}

/* Efeito pulsante leve */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/*===============================
  EFEITOS
==============================*/
.img-slide {
  display: block;
  border-radius: 12px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Accessibility widget styles (moved from inline) */
.a11y-fab {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
}
.a11y-panel {
  width: 220px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.a11y-panel .row {
  display: flex;
}
.a11y-btn {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
}
.a11y-toggle {
  display: flex;
  gap: 8px;
}
.a11y-hidden {
  display: none;
}
.a11y-contrast {
  filter: contrast(1.2);
}

/* Theme classes for dark/light: basic examples - adjust to taste */
.theme-dark {
  background-color: #0f1720;
  color: #e6eef2;
}
.theme-dark a {
  color: #8cd1ff;
}
.theme-light {
  background-color: #ffffff;
  color: #111;
}

/* efeito hover */
.img-slide:hover {
  transform: translateX(8px); /* desliza para direita */
  box-shadow: -6px 10px 20px rgba(0, 0, 0, 0.18); /* sombra leve */
}

/* busca */
.busca-link {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.busca-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #f39c12;
  transition: width 0.3s ease;
}

.busca-link:hover::after {
  width: 100%;
}

.loading-busca {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(255, 255, 255, 0.85);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.2s ease;
}

.loading-busca.ativo {
  opacity: 1;
  visibility: visible;
}

.lista-sugestoes {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;

  background: #fff;
  border: 1px solid #ddd;
  border-top: none;

  z-index: 1000;

  display: none;
}

.lista-sugestoes {
  position: absolute;

  top: 100%;
  left: 0;

  width: 100%;

  background: #fff;

  border: 1px solid #ddd;

  border-top: none;

  z-index: 1000;

  display: none;
}

.sugestao-item {
  padding: 14px 18px;

  cursor: pointer;

  border-bottom: 1px solid #e9ecef;

  line-height: 1.4;

  transition: background-color 0.2s ease;
}

.sugestao-item:hover {
  background: #f8f9fa;
}

.lista-sugestoes mark {
  background: #fff3cd;
  padding: 0 2px;
  font-weight: 600;
}

/* POS page tweaks */
#buscaCursos::placeholder {
  color: #9aa0a6; /* light gray placeholder */
  opacity: 1;
}

/* pos-card hover subtle shadow */
.pos-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Dark-mode specific hover for pos-card: softer light shadow to lift card */
.theme-dark .pos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.04), 0 6px 18px rgba(0,0,0,0.35);
}

/* Keep existing light-mode hover for contrast consistency */
.pos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(25, 25, 25, 0.08);
}

/* cookies */

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0b2c5e;
  color: white;
  padding: 18px;
  z-index: 9999;
  font-family: Arial;
  border-top: 3px solid #eee;
}

.cookie-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.cookie-text a {
  color: #ffd54f;
  font-weight: bold;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

#cookie-accept {
  background: #28a745;
  color: white;
}

#cookie-decline {
  background: #6c757d;
  color: white;
}

#cookie-config {
  background: #ffc107;
}

#cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background: white;
  padding: 30px;
  max-width: 520px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-option {
  margin: 15px 0;
}

.theme-dark .cookie-option label {
  color: #d4d4d4;
}

.theme-dark .lista-sugestoes {
  background: #141414;
  border-color: #333;
}

.theme-dark .sugestao-item {
  background: #1a1a1a;
  border-bottom-color: #333;
  color: #c0c0c0;
}

.theme-dark .sugestao-item:hover {
  background: #252525;
}

.theme-dark .loading-busca {
  background: rgba(10, 10, 10, 0.85);
}

.cookie-modal-actions {
  text-align: right;
  margin-top: 20px;
}

.cookie-modal-actions button {
  padding: 10px 18px;
  background: #0b2c5e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    margin-top: 10px;
  }
}
