/*!
 * RN Engenharia — tema escuro corporativo (verde/preto)
 * Sobrescreve o styles.css compilado do template Business Casual.
 * Carregar SEMPRE depois de css/styles.css.
 */

:root {
  --rn-green: #2ec887;
  --rn-green-strong: #1ca96d;
  --rn-green-soft: #9fe8c3;
  --rn-highlight: rgba(46, 200, 135, 0.18);
  --rn-green-hover: #24b173;
  --rn-bg: #000000;
  --rn-panel: #0a0f0c;
  --rn-panel-border: rgba(46, 200, 135, 0.28);
  --rn-text: #edf8f2;
  --rn-text-muted: #9eb9aa;
  --rn-shadow: rgba(0, 0, 0, 0.45);

  /* Bootstrap tokens usados diretamente pelo template */
  --bs-primary: var(--rn-green);
  --bs-primary-rgb: 46, 200, 135;
  --bs-secondary: #0a0d0c;
  --bs-secondary-rgb: 10, 13, 12;
  --bs-link-color: var(--rn-green);
  --bs-link-hover-color: var(--rn-green-soft);
  --bs-body-color: var(--rn-text);
  --bs-body-bg: var(--rn-bg);
  --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

/* Fundo geral: gradiente escuro + grade sutil no lugar da foto de fundo */
body {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.96)),
    repeating-linear-gradient(0deg, rgba(46, 200, 135, 0.04) 0, rgba(46, 200, 135, 0.04) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(46, 200, 135, 0.04) 0, rgba(46, 200, 135, 0.04) 1px, transparent 1px, transparent 48px),
    radial-gradient(ellipse at top, rgba(46, 200, 135, 0.14) 0%, rgba(0, 0, 0, 0.2) 22%, #000000 72%);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--rn-text);
}

/* Painéis de texto (antes bege claro, agora cartão escuro com borda verde) */
.text-faded {
  color: var(--rn-text-muted);
}

.bg-faded {
  background-color: rgba(10, 15, 12, 0.88);
  border: 1px solid var(--rn-panel-border);
  backdrop-filter: blur(3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.bg-faded p,
.bg-faded h2 {
  color: var(--rn-text);
}

.intro,
.product-item,
.about-heading-content .row,
.cta-inner {
  position: relative;
}

.intro-text,
.product-item-description,
.about-heading-content .bg-faded,
.cta-inner {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

/* Cabeçalho de topo (site-heading) */
header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 1rem;
  background: #000;
  overflow: hidden;
}

.site-header-logo {
  display: block;
  width: min(100%, 64rem);
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 0;
  filter: none;
}

.site-heading .site-heading-upper.text-primary {
  color: var(--rn-green) !important;
}

/* Navbar */
#mainNav {
  position: relative;
  z-index: 2;
  min-height: 4.8rem;
  background-color: rgba(9, 12, 11, 0.94);
  border-bottom: 1px solid var(--rn-panel-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

#mainNav .container {
  gap: 1rem;
}

.site-heading-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 10rem;
}

.site-heading-home-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
}

.site-heading-home-link .site-heading {
  margin: 5rem 0;
}

.site-heading-home-link .site-heading-logo {
  flex: 0 0 auto;
}

.site-heading-logo {
  display: block;
  width: clamp(4.5rem, 9vw, 7rem);
  height: clamp(4.5rem, 9vw, 7rem);
  object-fit: contain;
}

#mainNav .navbar-brand {
  color: var(--rn-green);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0;
}

.navbar-brand-logo {
  width: clamp(9rem, 18vw, 12.5rem);
  height: 3.25rem;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  mix-blend-mode: screen;
}

.navbar-brand-label {
  color: var(--rn-text);
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  max-width: none;
  white-space: nowrap;
  text-transform: none;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(46, 200, 135, 0.45);
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: rgba(238, 245, 241, 0.75);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#mainNav .navbar-nav .nav-item.active .nav-link {
  color: var(--rn-green);
  background: rgba(34, 181, 115, 0.08);
}

#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: var(--rn-text);
  background: rgba(255, 255, 255, 0.03);
}

#mainNav .navbar-toggler {
  width: 4.8rem;
  height: 3.6rem;
  display: inline-grid;
  place-items: center;
  padding: 0.65rem;
  margin-left: auto;
  border-color: rgba(34, 181, 115, 0.5);
  background: rgba(34, 181, 115, 0.06);
  border-radius: 12px;
}

#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(34, 181, 115, 0.2);
}

#mainNav .navbar-toggler-icon {
  filter: drop-shadow(0 0 6px rgba(34, 181, 115, 0.4));
}

#mainNav .navbar-collapse {
  border-radius: 18px;
}

@media (min-width: 992px) {
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: rgba(238, 245, 241, 0.45);
  }

  #mainNav .navbar-nav .nav-item.active .nav-link:hover {
    color: var(--rn-green);
  }
}

@media (max-width: 991px) {
  .site-heading-brand {
    gap: 0.75rem;
    min-height: 6rem;
  }

  .site-heading-home-link .site-heading-logo {
    width: 5.5rem;
    height: 5.5rem;
  }

  #mainNav {
    overflow-x: hidden;
  }

  #mainNav .navbar-collapse {
    margin-top: 0.85rem;
    background: rgba(15, 18, 17, 0.94);
    border: 1px solid rgba(34, 181, 115, 0.18);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    padding: 0.75rem 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  #mainNav .navbar-nav {
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  #mainNav .navbar-nav .nav-item {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #mainNav .navbar-nav .nav-item.active .nav-link {
    background: rgba(34, 181, 115, 0.12);
  }
}

@media (max-width: 480px) {
  #mainNav .navbar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  #mainNav .navbar-nav .nav-item {
    width: 100%;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.65rem 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
}

.signature-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.25rem;
}

.signature-modal.hidden {
  display: none;
}

.signature-card {
  width: min(100%, 620px);
  background: #0a0f0c;
  border: 1px solid rgba(34, 181, 115, 0.25);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.signature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#signatureCanvas {
  width: 100%;
  height: 180px;
  background: #fff;
  border: 1px solid rgba(34, 181, 115, 0.25);
  border-radius: 12px;
  cursor: crosshair;
  display: block;
}

.signature-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contract-wrap {
  margin-top: 2rem;
}

.mini-btn.muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--rn-text-muted);
  cursor: default;
}

.page-section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-heading-upper {
  display: block;
  color: var(--rn-green) !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.section-heading-lower {
  display: block;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--rn-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-heading,
.section-heading {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.03em;
}

h1,
.site-heading .site-heading-lower {
  font-weight: 800;
}

h2,
.section-heading .section-heading-lower,
.service-card h3,
.info-panel h3,
.list-panel h3,
.quote-form-wrap h3,
.hero-panel h2,
.login-card h2,
.client-panel h2 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: var(--rn-text);
}

h3,
.service-card h3,
.info-panel h3,
.list-panel h3,
.quote-form-wrap h3 {
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
}

h2,
.hero-panel h2,
.login-card h2,
.client-panel h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

h1,
.site-heading .site-heading-lower {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.site-heading {
  margin-top: 4rem;
  margin-bottom: 3rem;
  text-transform: none;
}

.site-heading .site-heading-upper {
  display: block;
  color: var(--rn-green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading .section-heading-upper {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.section-heading .section-heading-lower {
  display: block;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-capa {
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 18px 8px;
}

.container-capa {
  width: min(100%, 560px);
  text-align: center;
}

.img-destaque-capa {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(34, 181, 115, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(34, 181, 115, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  opacity: 0.98;
}

.img-destaque-capa:hover {
  transform: translateY(-1px) scale(1.005);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), 0 0 22px rgba(34, 181, 115, 0.12);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

body.nav-open .floating-actions {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.floating-btn {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.floating-btn svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 18px rgba(34, 181, 115, 0.2);
  color: #fff;
  filter: brightness(1.08);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  position: relative;
}

.floating-btn.whatsapp::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-btn.whatsapp svg {
  position: relative;
  z-index: 1;
}

.floating-btn.login {
  background: linear-gradient(135deg, #2ec887, #12694d);
  position: relative;
}

.floating-btn.login::after,
.floating-btn.email::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-btn.login svg,
.floating-btn.email svg,
.floating-btn.whatsapp svg {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.floating-btn.login span,
.floating-btn.email span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floating-btn.email {
  background: linear-gradient(135deg, #19231f, #0b1210);
  position: relative;
}

.floating-btn.email .email-glyph {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #cfe7da;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-btn.email .email-envelope {
  stroke: inherit;
}

/* Botões primários */
.btn-primary {
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(34, 181, 115, 0.22);
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

--bs-btn-color: #06110c;
--bs-btn-bg: var(--rn-green);
--bs-btn-border-color: var(--rn-green);
--bs-btn-hover-color: #06110c;
--bs-btn-hover-bg: #35c684;
--bs-btn-hover-border-color: #35c684;
--bs-btn-active-color: #06110c;
--bs-btn-active-bg: var(--rn-green-hover);
--bs-btn-active-border-color: var(--rn-green-hover);
--bs-btn-disabled-color: #06110c;
--bs-btn-disabled-bg: var(--rn-green);
--bs-btn-disabled-border-color: var(--rn-green);
}

/* Seção de destaque (CTA / Nosso Compromisso) */
.cta {
  background: linear-gradient(135deg, rgba(9, 18, 14, 0.97), rgba(15, 58, 42, 0.92));
}

.cta .cta-inner:before {
  border-color: rgba(34, 181, 115, 0.5);
}

/* Rodapé */
.footer {
  background-color: rgba(9, 12, 11, 0.97);
  border-top: 1px solid var(--rn-panel-border);
}

/* Bloco de contato (substitui a lista de horário de loja) */
.contact-list .contact-item {
  border-bottom: 1px solid rgba(34, 181, 115, 0.25);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.contact-list .contact-item .contact-label {
  color: var(--rn-text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  display: block;
}

.contact-list .contact-item .contact-value {
  color: var(--rn-text);
  font-weight: 700;
}

body {
  transition: background-color .25s ease, color .25s ease;
}

.theme-toggle {
  align-items: center;
  background: transparent;
  appearance: none;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  color: #22b573;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  margin-left: 1rem;
  padding: 0;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
  width: 2.25rem;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background-color: rgba(34, 181, 115, .18);
  color: #fff;
}

.theme-toggle:focus-visible {
  outline: 2px solid #22b573;
  outline-offset: 3px;
}

.theme-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon-sun {
  color: #f0c875;
}

.theme-icon-moon,
.theme-light .theme-icon-sun {
  display: none;
}

.theme-light .theme-icon-moon {
  display: inline;
  color: #183027;
  fill: currentColor;
  stroke: none;
}

.theme-light {
  background-color: #f4f8f5;
  background-image: linear-gradient(rgba(247, 250, 248, .94), rgba(247, 250, 248, .94));
  color: #183027;
}

.theme-light #mainNav,
.theme-light .footer {
  background-color: rgba(255, 255, 255, .94);
}

.theme-light #mainNav .nav-link {
  color: rgba(24, 48, 39, .78);
}

.theme-light .cta {
  background: linear-gradient(135deg, rgba(220, 240, 229, .96), rgba(243, 249, 245, .96));
}

.theme-light .bg-faded {
  background-color: #fff;
  border-color: rgba(19, 117, 72, .25);
}

.social-links {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-link {
  align-items: center;
  border: 1px solid rgba(34, 181, 115, .55);
  border-radius: 50%;
  color: #22b573;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  height: 2.75rem;
  justify-content: center;
  text-decoration: none;
  width: 2.75rem;
}

.social-link:hover,
.social-link:focus-visible {
  background-color: #22b573;
  color: #0a0d0c;
}

.social-link svg {
  fill: currentColor;
  height: 1.3rem;
  width: 1.3rem;
}

.social-link.social-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link.social-instagram svg .cx-dot {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 991.98px) {
  .theme-toggle {
    margin: 1rem auto 0;
  }
}

/* Light mode keeps surfaces bright and removes dark-theme shadows. */
body.theme-light {
  --rn-bg: #f4f8f5;
  --rn-panel: #ffffff;
  --rn-panel-soft: #eef5f1;
  --rn-text: #183027;
  --rn-text-muted: #547266;
  --rn-shadow: rgba(25, 67, 48, 0.12);
}

body.theme-light .navbar,
body.theme-light .card,
body.theme-light .modal-content,
body.theme-light .dropdown-menu,
body.theme-light .list-group-item,
body.theme-light .table,
body.theme-light .cta-inner,
body.theme-light .form-control,
body.theme-light .form-select,
body.theme-light textarea,
body.theme-light input {
  background-color: #ffffff;
  color: #183027;
}

body.theme-light .navbar,
body.theme-light .card,
body.theme-light .modal-content,
body.theme-light .dropdown-menu,
body.theme-light .cta-inner {
  border-color: rgba(19, 117, 72, 0.2);
}

body.theme-light .card,
body.theme-light .modal-content,
body.theme-light .dropdown-menu,
body.theme-light .product-item,
body.theme-light .product-item-img,
body.theme-light .cta-inner,
body.theme-light .floating-btn {
  box-shadow: 0 8px 24px rgba(25, 67, 48, 0.10) !important;
}

body.theme-light .text-white,
body.theme-light .text-light,
body.theme-light .navbar-dark .navbar-nav .nav-link,
body.theme-light .navbar-dark .navbar-brand {
  color: #183027 !important;
}

body.theme-light .btn-dark,
body.theme-light .bg-dark,
body.theme-light .alert-dark,
body.theme-light .table-dark,
body.theme-light .footer {
  background-color: #eaf3ed !important;
  border-color: rgba(19, 117, 72, 0.2);
  color: #183027 !important;
}

body.theme-light .btn-dark:hover,
body.theme-light .btn-dark:focus-visible {
  background-color: #d9ecdf !important;
  color: #183027 !important;
}

body.theme-light .btn-primary,
body.theme-light .btn-success,
body.theme-light .social-link:hover,
body.theme-light .social-link:focus-visible {
  color: #ffffff !important;
}

body.theme-light .form-control::placeholder,
body.theme-light .form-select,
body.theme-light .form-label {
  color: #547266;
}

body.theme-light .form-control:focus,
body.theme-light .form-select:focus,
body.theme-light input:focus,
body.theme-light textarea:focus,
body.theme-light .theme-toggle:focus-visible {
  border-color: #22b573;
  box-shadow: 0 0 0 0.2rem rgba(34, 181, 115, 0.18) !important;
}

body.theme-light * {
  box-shadow: none !important;
}

body.theme-light .form-control:focus,
body.theme-light .form-select:focus,
body.theme-light input:focus,
body.theme-light textarea:focus,
body.theme-light .theme-toggle:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(34, 181, 115, 0.18) !important;
}

body.theme-light header,
body.theme-light #mainNav {
  background: #ffffff !important;
  color: #183027;
  box-shadow: none !important;
}

body.theme-light .site-heading .site-heading-lower,
body.theme-light .site-heading .site-heading-upper,
body.theme-light .navbar-brand-label,
body.theme-light #mainNav .navbar-nav .nav-item .nav-link {
  color: #183027 !important;
}

body.theme-light .navbar-toggler {
  border-color: rgba(19, 117, 72, 0.35);
}

body.theme-light .navbar-toggler-icon {
  filter: invert(22%) sepia(16%) saturate(800%) hue-rotate(105deg) brightness(82%);
}

body.theme-light .login-card,
body.theme-light .client-panel,
body.theme-light .quote-form-wrap,
body.theme-light .summary-card,
body.theme-light .list-panel,
body.theme-light .info-panel,
body.theme-light .service-card,
body.theme-light .hero-panel,
body.theme-light .stat-item,
body.theme-light .authority-item {
  background: #ffffff !important;
  border-color: rgba(19, 117, 72, 0.2);
  color: #183027;
  box-shadow: none !important;
}

body.theme-light .client-panel h2,
body.theme-light .login-card h2,
body.theme-light .quote-form-wrap h3,
body.theme-light .summary-card .value,
body.theme-light .list-panel h3,
body.theme-light .info-panel h3,
body.theme-light .service-card h3,
body.theme-light .hero-panel h2,
body.theme-light .hero-title {
  color: #183027 !important;
}

body.theme-light .client-panel p,
body.theme-light .summary-card .label,
body.theme-light .service-card p,
body.theme-light .service-card ul,
body.theme-light .hero-list li,
body.theme-light .stat-item span,
body.theme-light .authority-item .label {
  color: #547266 !important;
}

body.theme-light .form-floating>.form-control,
body.theme-light .form-floating>.form-control:focus,
body.theme-light .quote-form .form-control,
body.theme-light .quote-form .form-select,
body.theme-light .quick-form input,
body.theme-light .quick-form select,
body.theme-light .quick-form textarea {
  background: #ffffff !important;
  border-color: rgba(19, 117, 72, 0.25);
  color: #183027 !important;
}

body.theme-light .service-icon,
body.theme-light .floating-btn,
body.theme-light .theme-toggle {
  background: #eaf3ed !important;
  border-color: rgba(19, 117, 72, 0.28);
  color: #137548 !important;
  box-shadow: none !important;
}

body.theme-light .floating-btn svg,
body.theme-light .service-icon svg {
  filter: none;
}

@media (max-width: 991px) {
  body.theme-light #mainNav .navbar-collapse {
    background: #f4faf6 !important;
    border-color: rgba(19, 117, 72, 0.22);
    box-shadow: 0 10px 24px rgba(25, 67, 48, 0.08) !important;
  }

  body.theme-light #mainNav .navbar-nav .nav-item .nav-link {
    background: #ffffff !important;
    border: 1px solid rgba(19, 117, 72, 0.12);
    color: #183027 !important;
  }

  body.theme-light #mainNav .navbar-nav .nav-item .nav-link:hover,
  body.theme-light #mainNav .navbar-nav .nav-item.active .nav-link {
    background: #e0f1e7 !important;
    border-color: rgba(19, 117, 72, 0.25);
    color: #137548 !important;
  }
}

/* Cards de serviço com destaque de borda verde no hover */
.product-item-img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.product-item-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(34, 181, 115, 0.14);
}

/* Landing page oficial: Eletrônica, Sistemas & BGA */
.landing-hero {
  padding-top: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 181, 115, 0.12);
  border: 1px solid rgba(34, 181, 115, 0.25);
  color: var(--rn-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: #f4fbf8;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.7;
  color: rgba(238, 245, 241, 0.88);
  margin-bottom: 1rem;
}

body.theme-light .hero-title {
  color: #183027;
}

body.theme-light .hero-lead {
  color: #365448;
}

.hero-copy {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--rn-text-muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-xl {
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--rn-text);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(34, 181, 115, 0.45);
  color: var(--rn-text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 1rem;
  max-width: 540px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(34, 181, 115, 0.18);
  border-radius: 16px;
  padding: 1rem 0.9rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  color: var(--rn-green);
  font-size: 1.5rem;
  line-height: 1.2;
}

.stat-item span {
  display: block;
  color: var(--rn-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(10, 15, 12, 0.95), rgba(17, 22, 20, 0.9));
  border: 1px solid rgba(34, 181, 115, 0.2);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.mini-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--rn-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-panel h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--rn-text-muted);
  line-height: 1.6;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rn-green);
  font-size: 1.3rem;
  line-height: 1;
}

.panel-footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(34, 181, 115, 0.15);
  color: var(--rn-text-muted);
  font-size: 0.8rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
}

.service-card {
  height: 100%;
  background: rgba(10, 15, 12, 0.7);
  border: 1px solid rgba(34, 181, 115, 0.18);
  border-radius: 22px;
  padding: 2rem 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 181, 115, 0.42);
  box-shadow: 0 22px 48px rgba(34, 181, 115, 0.12);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: rgba(34, 181, 115, 0.12);
  border: 1px solid rgba(34, 181, 115, 0.22);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--rn-text-muted);
  line-height: 1.7;
}

.service-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--rn-text);
  line-height: 1.8;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
  margin: 2rem 0 1.2rem;
}

.authority-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(34, 181, 115, 0.18);
  border-radius: 18px;
  padding: 1rem 0.9rem;
}

.authority-item .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rn-text-muted);
  margin-bottom: 0.45rem;
}

.authority-item strong {
  color: var(--rn-text);
  font-size: 1.05rem;
}

.authority-note {
  color: var(--rn-text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-box {
  padding: 2rem 1.25rem;
}

.quick-form {
  max-width: 760px;
  margin: 0 auto;
}

.quick-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--rn-text);
}

.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(34, 181, 115, 0.2);
  background: rgba(7, 14, 11, 0.9);
  color: var(--rn-text);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-form textarea {
  min-height: 140px;
  resize: vertical;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  outline: none;
  border-color: rgba(34, 181, 115, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(34, 181, 115, 0.12);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .hero-stats,
  .authority-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-card,
  .hero-panel,
  .contact-box {
    padding: 1.2rem;
  }
}

}

@media (max-width: 991px) {
  .hero-capa {
    padding-top: 22px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    flex-direction: row;
    gap: 10px;
  }

  .floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.3rem;
  }
}

@media (max-width: 991px) and (max-height: 500px) {
  .floating-actions {
    display: none;
  }
}

/* Área do cliente */
.client-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.login-card,
.client-panel {
  background: rgba(10, 15, 12, 0.9);
  border: 1px solid rgba(34, 181, 115, 0.22);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.login-card {
  max-width: 460px;
  margin: 2rem auto 0;
  padding: 2rem;
}

.login-card h2,
.client-panel h2 {
  color: var(--rn-text);
  margin-bottom: 1rem;
}

.form-floating>.form-control,
.form-floating>.form-control:focus {
  background: rgba(255, 255, 255, 0.02);
  color: var(--rn-text);
  border-color: rgba(34, 181, 115, 0.3);
}

.form-floating>label {
  color: var(--rn-text-muted);
}

.form-floating>.form-control,
.form-floating>.form-select {
  min-height: 3.625rem;
  padding-top: 1.5rem;
}

.form-floating>label {
  background: var(--rn-panel, rgba(10, 15, 12, 0.9));
  border-radius: 0.35rem;
  height: auto;
  max-width: calc(100% - 1rem);
  padding: 0.15rem 0.45rem;
  transform: scale(0.85) translateY(-0.45rem) translateX(0.15rem);
  transform-origin: 0 0;
  opacity: 0.95;
  white-space: nowrap;
  width: fit-content;
}

body.theme-light .form-floating>label {
  background: #ffffff;
  color: #547266;
}

.password-field .form-control {
  padding-right: 3.25rem;
}

.password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rn-text-muted);
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  width: 2.75rem;
  z-index: 5;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--rn-green);
}

@media (max-width: 575.98px) {
  .login-card {
    margin-top: 1rem;
    padding: 1.25rem;
  }

  .login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .login-card .btn-group {
    margin-bottom: 1.25rem !important;
  }

  .login-card .form-floating {
    margin-bottom: 0.85rem !important;
  }

  .login-card .form-floating>.form-control,
  .login-card .form-floating>.form-select {
    height: 58px;
    min-height: 58px;
  }
}

.password-toggle svg {
  fill: none;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 1.25rem;
}

.password-toggle svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.password-toggle .password-slash {
  display: none;
}

.password-toggle.is-visible .password-slash {
  display: block;
}

body.theme-light .password-toggle {
  color: #547266;
}

body.theme-light .password-toggle:hover,
body.theme-light .password-toggle:focus-visible {
  color: #137548;
}

.client-panel {
  padding: 2rem;
}

.text-link {
  color: var(--rn-green);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  color: #7be3b2;
  text-decoration: underline;
}

.quote-form-wrap {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(34, 181, 115, 0.18);
  border-radius: 18px;
  padding: 1.25rem;
}

.quote-form-wrap h3 {
  color: var(--rn-text);
  margin-bottom: 1rem;
}

.quote-form .form-label {
  color: var(--rn-text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
}

.quote-form .form-control,
.quote-form .form-select {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(34, 181, 115, 0.28);
  color: var(--rn-text);
}

.quote-form .form-control::placeholder {
  color: rgba(154, 176, 168, 0.75);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.summary-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(34, 181, 115, 0.18);
  border-radius: 16px;
  padding: 1rem;
}

.summary-card .label {
  display: block;
  color: var(--rn-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.summary-card .value {
  display: block;
  color: var(--rn-text);
  font-size: 1.4rem;
  font-weight: 700;
}

.client-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.list-panel,
.info-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(34, 181, 115, 0.18);
  border-radius: 18px;
  padding: 1.25rem;
}

.list-panel h3,
.info-panel h3 {
  color: var(--rn-text);
  margin-bottom: 1rem;
}

.data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.data-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(34, 181, 115, 0.12);
  color: var(--rn-text);
}

.data-list li:last-child {
  border-bottom: 0;
}

.document-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.document-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.document-copy small {
  color: var(--rn-text-muted);
}

.document-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 181, 115, 0.08);
  color: var(--rn-text);
  border: 1px solid rgba(34, 181, 115, 0.2);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-btn:hover {
  color: var(--rn-text);
  text-decoration: none;
  background: rgba(34, 181, 115, 0.14);
}

.pix-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pix-qr summary {
  cursor: pointer;
  list-style: none;
}

.pix-qr summary::-webkit-details-marker {
  display: none;
}

.pix-qr img {
  padding: 0.35rem;
  background: #ffffff;
  border-radius: 0.4rem;
}

.paid-bills {
  margin-top: 1rem;
  border-top: 1px solid rgba(34, 181, 115, 0.18);
  padding-top: 1rem;
}

.paid-bills summary {
  cursor: pointer;
  color: var(--rn-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  list-style: none;
  padding: 0.6rem 0;
}

.paid-bills summary::-webkit-details-marker {
  display: none;
}

.paid-bills summary::before {
  content: '+';
  display: inline-block;
  color: var(--rn-green);
  font-size: 1.1rem;
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}

.paid-bills[open] summary::before {
  transform: rotate(45deg);
}

.paid-bills-list {
  margin-top: 0.5rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(34, 181, 115, 0.12);
  color: var(--rn-green);
  border: 1px solid rgba(34, 181, 115, 0.25);
}

.status-open {
  background: rgba(255, 193, 7, 0.12);
  color: #f7d067;
  border-color: rgba(255, 193, 7, 0.35);
}

.status-overdue {
  background: rgba(255, 89, 94, 0.18);
  color: #ff9b9f;
  border-color: rgba(255, 89, 94, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 89, 94, 0.08);
}

.status-paid {
  background: rgba(32, 201, 151, 0.12);
  color: #71e2b4;
  border-color: rgba(32, 201, 151, 0.35);
}

.status-active {
  background: rgba(77, 123, 255, 0.12);
  color: #90b3ff;
  border-color: rgba(77, 123, 255, 0.35);
}

.status-waiting {
  background: rgba(214, 120, 255, 0.12);
  color: #d7a8ff;
  border-color: rgba(214, 120, 255, 0.35);
}

@media (max-width: 991px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    background-size: auto;
    background-attachment: scroll;
  }

  .site-heading {
    padding-top: 1rem;
  }

  .site-header-logo {
    width: 100%;
    height: auto;
  }

  .hero-capa {
    padding: 16px 12px 8px;
  }

  .container-capa {
    width: 100%;
  }

  .img-destaque-capa {
    max-width: 100%;
    border-radius: 12px;
  }

  .intro,
  .product-item,
  .about-heading-content .row {
    display: block;
  }

  .intro .intro-text,
  .product-item-description,
  .about-heading-content {
    margin-top: 1rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  #mainNav .container {
    gap: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #mainNav .navbar-brand {
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .navbar-brand-logo {
    width: 6.75rem;
    height: 2.35rem;
    flex: 0 0 auto;
  }

  .navbar-brand-label {
    min-width: 0;
    overflow: hidden;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    padding-left: 0.55rem;
    text-overflow: ellipsis;
  }

  #mainNav .navbar-toggler {
    width: 3.8rem;
    height: 3.1rem;
    flex: 0 0 auto;
    padding: 0.45rem;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }

  .floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.15rem;
  }

  @media (max-width: 359px) {
    #mainNav .container {
      gap: 0.35rem;
    }

    .navbar-brand-logo {
      width: 5.7rem;
      height: 2.1rem;
    }

    .navbar-brand-label {
      max-width: 6.2rem;
      font-size: 0.78rem;
      letter-spacing: 0;
      padding-left: 0.35rem;
    }

    #mainNav .navbar-toggler {
      width: 3.4rem;
      height: 2.8rem;
    }
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .login-card,
  .client-panel {
    padding: 1.2rem;
  }

  .data-list li {
    display: block;
    padding: 0.8rem 0;
  }

  .data-list li>*:last-child {
    display: inline-block;
    margin-top: 0.35rem;
  }

  .client-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1rem;
  }
}

body.is-mobile {
  .client-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1rem;
  }

  .navbar .container {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .client-section {
    grid-template-columns: 1fr;
  }

  .data-list li {
    display: block;
    padding: 0.8rem 0;
  }

  .data-list li>*:last-child {
    display: inline-block;
    margin-top: 0.35rem;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }
}

/* Cursos */
.course-hero {
  padding: 5rem 1rem 4rem;
  background: linear-gradient(120deg, rgba(7, 25, 19, .95), rgba(17, 53, 41, .72)), url('/assets/img/hero-rede.svg') center/cover;
  border-bottom: 1px solid rgba(91, 224, 158, .2);
}

.course-hero .container {
  max-width: 1100px;
}

.course-hero h1 {
  max-width: 760px;
  color: var(--rn-text);
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin: .75rem 0 1rem;
}

.course-hero p {
  max-width: 680px;
  color: var(--rn-text-muted);
  font-size: 1.08rem;
}

.course-catalog {
  margin-top: 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.course-card {
  overflow: hidden;
  background: rgba(10, 15, 12, .84);
  border: 1px solid rgba(34, 181, 115, .24);
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .2);
}

.course-card>img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}

.course-card-body {
  padding: 1.25rem;
}

.course-eyebrow {
  color: var(--rn-green);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.course-card h2,
.course-card h3 {
  color: var(--rn-text);
  margin: .55rem 0 .7rem;
  line-height: 1.2;
}

.course-card h2 {
  font-size: 1.45rem;
}

.course-card h3 {
  font-size: 1.15rem;
}

.course-card p {
  color: var(--rn-text-muted);
  font-size: .93rem;
  line-height: 1.6;
}

.course-card-footer,
.course-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin: 1.15rem 0;
  color: var(--rn-text-muted);
  font-size: .85rem;
}

.course-card-footer strong {
  color: var(--rn-text);
  font-size: 1.15rem;
}

.course-card-footer span {
  white-space: nowrap;
}

.course-loading {
  color: var(--rn-text-muted);
  padding: 2rem 0;
}

.course-access-panel {
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(34, 181, 115, .18);
}

.course-access-lead {
  color: var(--rn-text-muted);
  max-width: 720px;
}

.course-card-client {
  display: flex;
  flex-direction: column;
}

.course-card-client .course-card-body {
  flex: 1;
}

.course-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  overflow: hidden;
  background: #06110d;
}

.course-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

.course-locked {
  display: grid;
  gap: .45rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(240, 200, 117, .45);
  color: var(--rn-text-muted);
}

.course-locked strong {
  color: var(--rn-text);
}

.course-lock {
  color: #f0c875;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.theme-light .course-card {
  background: rgba(255, 255, 255, .92);
}

@media (max-width: 991.98px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-hero {
    padding-top: 3.5rem;
  }
}