/* ===================================================
   NTCBR FRAMEWORK v2.0
   Bootstrap-like Core Clone (Lightweight)
   Use junto com normalize.css
   =================================================== */

/* ======================
   NTCBR REBOOT
   Inspired by Bootstrap 5
   ====================== */

/* Box sizing global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Root */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Body */

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Lead **/

.ntcbr-lead{font-size: clamp(1.2rem, 1.4vw, 1.4rem);}

/* Paragraph */

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Lists */

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Images */

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* Links */

a {
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: underline;
}

/* Forms reset */

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  text-transform: none;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

/* Tables */

table {
  border-collapse: collapse;
  caption-side: bottom;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

button,
input {
  overflow: visible;
}

button {
  text-transform: none;
}

/* ======================
   CONTAINER
   ====================== */

.ntcbr-container,
.ntcbr-container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .ntcbr-container { max-width: 540px; }
}
@media (min-width: 768px) {
  .ntcbr-container { max-width: 720px; }
}
@media (min-width: 992px) {
  .ntcbr-container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .ntcbr-container { max-width: 1140px; }
}
@media (min-width: 1400px) {
  .ntcbr-container { max-width: 1320px; }
}


/* ======================
   GRID SYSTEM
   ====================== */

.ntcbr-row {
  --ntcbr-gutter-x: 1.5rem;
  --ntcbr-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--ntcbr-gutter-y));
  margin-right: calc(-.5 * var(--ntcbr-gutter-x));
  margin-left: calc(-.5 * var(--ntcbr-gutter-x));
}

.ntcbr-row > * {
  padding-right: calc(var(--ntcbr-gutter-x) * .5);
  padding-left: calc(var(--ntcbr-gutter-x) * .5);
  margin-top: var(--ntcbr-gutter-y);
}

.ntcbr-col {
  flex: 1 0 0%;
}

.ntcbr-col-auto {
  flex: 0 0 auto;
  width: auto;
}

[class*="ntcbr-col-"] {
  flex: 0 0 auto;
}

/* 12 COLUNAS */

.ntcbr-col-1  { width: 8.333333%; }
.ntcbr-col-2  { width: 16.666667%; }
.ntcbr-col-3  { width: 25%; }
.ntcbr-col-4  { width: 33.333333%; }
.ntcbr-col-5  { width: 41.666667%; }
.ntcbr-col-6  { width: 50%; }
.ntcbr-col-7  { width: 58.333333%; }
.ntcbr-col-8  { width: 66.666667%; }
.ntcbr-col-9  { width: 75%; }
.ntcbr-col-10 { width: 83.333333%; }
.ntcbr-col-11 { width: 91.666667%; }
.ntcbr-col-12 { width: 100%; }

@media (max-width: 767px) {
  [class*="ntcbr-col-"] {
    width: 100% !important;
  }
}

/* ROW COLS */

.ntcbr-row-cols-1 > * { width: 100%; }
.ntcbr-row-cols-2 > * { width: 50%; }
.ntcbr-row-cols-3 > * { width: 33.333333%; }
.ntcbr-row-cols-4 > * { width: 25%; }
.ntcbr-row-cols-5 > * { width: 20%; }
.ntcbr-row-cols-6 > * { width: 16.666667%; }


/* BREAKPOINTS */

@media (min-width: 576px) {
  .ntcbr-col-sm-1 { width: 8.333333%; }
  .ntcbr-col-sm-2 { width: 16.666667%; }
  .ntcbr-col-sm-3 { width: 25%; }
  .ntcbr-col-sm-4 { width: 33.333333%; }
  .ntcbr-col-sm-5 { width: 41.666667%; }
  .ntcbr-col-sm-6 { width: 50%; }
  .ntcbr-col-sm-7 { width: 58.333333%; }
  .ntcbr-col-sm-8 { width: 66.666667%; }
  .ntcbr-col-sm-9 { width: 75%; }
  .ntcbr-col-sm-10 { width: 83.333333%; }
  .ntcbr-col-sm-11 { width: 91.666667%; }
  .ntcbr-col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
  .ntcbr-col-md-1 { width: 8.333333%; }
  .ntcbr-col-md-2 { width: 16.666667%; }
  .ntcbr-col-md-3 { width: 25%; }
  .ntcbr-col-md-4 { width: 33.333333%; }
  .ntcbr-col-md-5 { width: 41.666667%; }
  .ntcbr-col-md-6 { width: 50%; }
  .ntcbr-col-md-7 { width: 58.333333%; }
  .ntcbr-col-md-8 { width: 66.666667%; }
  .ntcbr-col-md-9 { width: 75%; }
  .ntcbr-col-md-10 { width: 83.333333%; }
  .ntcbr-col-md-11 { width: 91.666667%; }
  .ntcbr-col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  .ntcbr-col-lg-1 { width: 8.333333%; }
  .ntcbr-col-lg-2 { width: 16.666667%; }
  .ntcbr-col-lg-3 { width: 25%; }
  .ntcbr-col-lg-4 { width: 33.333333%; }
  .ntcbr-col-lg-5 { width: 41.666667%; }
  .ntcbr-col-lg-6 { width: 50%; }
  .ntcbr-col-lg-7 { width: 58.333333%; }
  .ntcbr-col-lg-8 { width: 66.666667%; }
  .ntcbr-col-lg-9 { width: 75%; }
  .ntcbr-col-lg-10 { width: 83.333333%; }
  .ntcbr-col-lg-11 { width: 91.666667%; }
  .ntcbr-col-lg-12 { width: 100%; }
}

@media (min-width: 1200px) {
  .ntcbr-col-xl-1 { width: 8.333333%; }
  .ntcbr-col-xl-2 { width: 16.666667%; }
  .ntcbr-col-xl-3 { width: 25%; }
  .ntcbr-col-xl-4 { width: 33.333333%; }
  .ntcbr-col-xl-5 { width: 41.666667%; }
  .ntcbr-col-xl-6 { width: 50%; }
  .ntcbr-col-xl-7 { width: 58.333333%; }
  .ntcbr-col-xl-8 { width: 66.666667%; }
  .ntcbr-col-xl-9 { width: 75%; }
  .ntcbr-col-xl-10 { width: 83.333333%; }
  .ntcbr-col-xl-11 { width: 91.666667%; }
  .ntcbr-col-xl-12 { width: 100%; }
}

@media (min-width: 1400px) {
  .ntcbr-col-xxl-1 { width: 8.333333%; }
  .ntcbr-col-xxl-2 { width: 16.666667%; }
  .ntcbr-col-xxl-3 { width: 25%; }
  .ntcbr-col-xxl-4 { width: 33.333333%; }
  .ntcbr-col-xxl-5 { width: 41.666667%; }
  .ntcbr-col-xxl-6 { width: 50%; }
  .ntcbr-col-xxl-7 { width: 58.333333%; }
  .ntcbr-col-xxl-8 { width: 66.666667%; }
  .ntcbr-col-xxl-9 { width: 75%; }
  .ntcbr-col-xxl-10 { width: 83.333333%; }
  .ntcbr-col-xxl-11 { width: 91.666667%; }
  .ntcbr-col-xxl-12 { width: 100%; }
}


/* OFFSETS */

.ntcbr-offset-1 { margin-left: 8.333333%; }
.ntcbr-offset-2 { margin-left: 16.666667%; }
.ntcbr-offset-3 { margin-left: 25%; }
.ntcbr-offset-4 { margin-left: 33.333333%; }
.ntcbr-offset-5 { margin-left: 41.666667%; }
.ntcbr-offset-6 { margin-left: 50%; }


/* ORDER */

.ntcbr-order-0 { order: 0; }
.ntcbr-order-1 { order: 1; }
.ntcbr-order-2 { order: 2; }
.ntcbr-order-3 { order: 3; }
.ntcbr-order-4 { order: 4; }
.ntcbr-order-5 { order: 5; }


/* GUTTERS */

.ntcbr-g-0 { --ntcbr-gutter-x: 0; --ntcbr-gutter-y: 0; }
.ntcbr-g-1 { --ntcbr-gutter-x: .25rem; --ntcbr-gutter-y: .25rem; }
.ntcbr-g-2 { --ntcbr-gutter-x: .5rem; --ntcbr-gutter-y: .5rem; }
.ntcbr-g-3 { --ntcbr-gutter-x: 1rem; --ntcbr-gutter-y: 1rem; }
.ntcbr-g-4 { --ntcbr-gutter-x: 1.5rem; --ntcbr-gutter-y: 1.5rem; }
.ntcbr-g-5 { --ntcbr-gutter-x: 3rem; --ntcbr-gutter-y: 3rem; }


/* BUTTONS */

.ntcbr-btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  transition: all .15s ease-in-out;
}

.ntcbr-btn-lg { padding:.75rem 1.25rem; font-size:1.25rem; }
.ntcbr-btn-sm { padding:.25rem .5rem; font-size:.875rem; }


/* BUTTON GROUP */

.ntcbr-btn-group { display:inline-flex; }
.ntcbr-btn-group > .ntcbr-btn:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0;}
.ntcbr-btn-group > .ntcbr-btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;}


/* CARDS */

.ntcbr-card { border:1px solid #dee2e6;border-radius:.375rem;background:#fff; height: 100% }
.ntcbr-card-header { padding:1rem;border-bottom:1px solid #dee2e6;background:#f8f9fa;font-weight:600; }
.ntcbr-card-body { padding:1rem; }
.ntcbr-card-footer { padding:1rem;border-top:1px solid #dee2e6;background:#f8f9fa; }
.ntcbr-card-img-top {width: 100%; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; display: block;}
.ntcbr-card-title { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 500;}
.ntcbr-card-text { margin-bottom: 1rem;}
.ntcbr-card-text:last-child { margin-bottom: 0;}


/* ALERTS */

.ntcbr-alert { padding:1rem;border-radius:.375rem;margin-bottom:1rem; }
.ntcbr-alert-primary { background:#cfe2ff;color:#084298; }
.ntcbr-alert-success { background:#d1e7dd;color:#0f5132; }
.ntcbr-alert-danger { background:#f8d7da;color:#842029; }

/* PAGINATION */

.ntcbr-pagination{ display:flex; justify-content:center; margin:60px 0;}
.ntcbr-pagination-list{ display:flex; list-style:none; padding:0; margin:0;}
.ntcbr-page-item{ margin:0 4px; }
.ntcbr-page-link{ display:block; padding:8px 14px; font-size:14px; text-decoration:none; border:1px solid #dee2e6; border-radius:4px; background:#fff; color:#333; transition:all .2s ease;}
.ntcbr-page-link:hover{ background:#f1f1f1;}
.ntcbr-page-item.ntcbr-active .ntcbr-page-link{ background:#333; border-color:#333; color:#fff;}


/* TABLE */

.ntcbr-table { width:100%;border-collapse:collapse;margin-bottom:1rem; }
.ntcbr-table th,.ntcbr-table td { padding:.75rem;border-top:1px solid #dee2e6; }
.ntcbr-table-striped tbody tr:nth-child(odd){background:rgba(0,0,0,.05);}


/* FORMS */

.ntcbr-form-group{margin-bottom:1rem;}
.ntcbr-label{display:inline-block;margin-bottom:.5rem;font-weight:500;}

.ntcbr-form-control{
  display:block;width:100%;padding:.5rem .75rem;
  border:1px solid #ced4da;border-radius:.375rem;
}

.ntcbr-form-control:focus{
  border-color:#0d6efd;outline:0;
}

.ntcbr-input-group{display:flex;width:100%;}
.ntcbr-input-group > .ntcbr-form-control{flex:1 1 auto;}

.ntcbr-form-floating{position:relative;}
.ntcbr-form-floating > .ntcbr-form-control{padding:1rem .75rem .25rem;}
.ntcbr-form-floating > label{
  position:absolute;top:0;left:0;padding:.75rem;
  transition:.1s ease;opacity:.65;
}

.ntcbr-form-control:focus ~ label,
.ntcbr-form-control:not(:placeholder-shown) ~ label{
  transform:scale(.85) translateY(-.5rem);
  opacity:1;
}

/* ======================
   BORDERS
   ====================== */

/* Base */

.ntcbr-border {
  border: 1px solid #dee2e6 !important;
}

.ntcbr-border-0 {
  border: 0 !important;
}

/* Direcionais */

.ntcbr-border-top {
  border-top: 1px solid #dee2e6 !important;
}

.ntcbr-border-end {
  border-right: 1px solid #dee2e6 !important;
}

.ntcbr-border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.ntcbr-border-start {
  border-left: 1px solid #dee2e6 !important;
}

.ntcbr-border-top-0 { border-top: 0 !important; }
.ntcbr-border-end-0 { border-right: 0 !important; }
.ntcbr-border-bottom-0 { border-bottom: 0 !important; }
.ntcbr-border-start-0 { border-left: 0 !important; }

/* Larguras */

.ntcbr-border-1 { border-width: 1px !important; }
.ntcbr-border-2 { border-width: 2px !important; }
.ntcbr-border-3 { border-width: 3px !important; }
.ntcbr-border-4 { border-width: 4px !important; }
.ntcbr-border-5 { border-width: 5px !important; }

/* Cores */

.ntcbr-border-primary { border-color: #0d6efd !important; }
.ntcbr-border-secondary { border-color: #6c757d !important; }
.ntcbr-border-success { border-color: #198754 !important; }
.ntcbr-border-danger { border-color: #dc3545 !important; }
.ntcbr-border-warning { border-color: #ffc107 !important; }
.ntcbr-border-light { border-color: #f8f9fa !important; }
.ntcbr-border-dark { border-color: #212529 !important; }

/* Rounded */

.ntcbr-rounded {
  border-radius: 0.375rem !important;
}

.ntcbr-rounded-0 {
  border-radius: 0 !important;
}

.ntcbr-rounded-sm {
  border-radius: 0.25rem !important;
}

.ntcbr-rounded-lg {
  border-radius: 0.5rem !important;
}

.ntcbr-rounded-circle {
  border-radius: 50% !important;
}

.ntcbr-rounded-pill {
  border-radius: 50rem !important;
}

/* ======================
   FLEX UTILITIES
   ====================== */

.ntcbr-justify-content-start   { justify-content: flex-start !important; }
.ntcbr-justify-content-center  { justify-content: center !important; }
.ntcbr-justify-content-end     { justify-content: flex-end !important; }
.ntcbr-justify-content-between { justify-content: space-between !important; }
.ntcbr-justify-content-around  { justify-content: space-around !important; }
.ntcbr-justify-content-evenly  { justify-content: space-evenly !important; }

.ntcbr-align-items-start   { align-items: flex-start !important; }
.ntcbr-align-items-center  { align-items: center !important; }
.ntcbr-align-items-end     { align-items: flex-end !important; }
.ntcbr-align-items-stretch { align-items: stretch !important; }

.ntcbr-align-self-start  { align-self: flex-start !important; }
.ntcbr-align-self-center { align-self: center !important; }
.ntcbr-align-self-end    { align-self: flex-end !important; }

/* ======================
   IMAGES
   ====================== */

.ntcbr-img-fluid {
  max-width: 100%;
  height: auto;
}

.ntcbr-mx-auto{margin: 0 auto; display: block;}

/* ===================================================
   NTCBR NAVBAR OFFCANVAS - FINAL
   =================================================== */

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

.ntcbr-navbar {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  position: relative;
  z-index: 1000;
}

.ntcbr-navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

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

.ntcbr-navbar-brand img {
  /* height: 40px; */
  display: block;
}

/* ======================
   MENU DESKTOP
   ====================== */

.ntcbr-navbar-menu {
  display: flex;
}

.ntcbr-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ntcbr-nav li {
  list-style: none;
}

.ntcbr-nav li a {
  text-decoration: none;
  color: #212529;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ntcbr-nav li a:hover {
  color: #0d6efd;
}

.ntcbr-nav-link:hover {
  color: #0d6efd;
}

/* ======================
   HAMBURGER BUTTON
   ====================== */

.ntcbr-navbar-toggler {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* BARRAS */

.ntcbr-navbar-toggler span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #212529;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* POSIÇÃO INICIAL */

.ntcbr-navbar-toggler span:nth-child(1) {
  top: 0;
}

.ntcbr-navbar-toggler span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.ntcbr-navbar-toggler span:nth-child(3) {
  bottom: 0;
}

/* ======================
   OVERLAY
   ====================== */

.ntcbr-nav-overlay {
  display: none;
}

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

@media (max-width: 991px) {

  .ntcbr-navbar-toggler {
    display: block;
  }

  .ntcbr-navbar-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
    z-index: 1001;
  }

  .ntcbr-navbar-menu.active {
    left: 0;
  }

  .ntcbr-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .ntcbr-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1000;
    height: 100vh;
  }

  .ntcbr-nav-overlay.active {
    display: block;
  }

  /* ======================
     HAMBURGER → X
     ====================== */

  .ntcbr-navbar-toggler.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .ntcbr-navbar-toggler.active span:nth-child(2) {
    opacity: 0;
  }

  .ntcbr-navbar-toggler.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }

}

/* ======================
   SCROLL LOCK
   ====================== */

.ntcbr-no-scroll {
  overflow: hidden;
}