/* =====================================================
   MSCNanotech 2027 - dynamic congress template
   Mantém a paleta padrão do site:
     --bg-padrao: #237fc1   (azul institucional)
     --bg-secundaria: #f58634 (laranja)
     --bg-terciaria:  #ef8901 (laranja escuro)
   ===================================================== */

:root {
  --c-blue:        #075ca8;
  --c-blue-2:      #06477f;
  --c-blue-3:      #052b55;
  --c-orange:      #1aa6d9;
  --c-orange-2:    #0877bd;
  --c-yellow:      #7ddcf5;
  --c-bg:          #ffffff;
  --c-bg-soft:     #f4f9fd;
  --c-bg-alt:      #e8f4fb;
  --c-ink:         #0e1d2a;
  --c-ink-2:       #2a3a4d;
  --c-muted:       #5a6478;
  --c-line:        #e2e9f1;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(14,29,42,.04), 0 4px 14px rgba(14,29,42,.06);
  --shadow-2: 0 8px 30px rgba(14,29,42,.08), 0 2px 6px rgba(14,29,42,.04);
  --shadow-3: 0 18px 60px rgba(14,29,42,.18);
}

/* ===================== HERO INTERNO ===================== */
.cb-hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-2) 60%, var(--c-blue-3) 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.cb-hero::before,
.cb-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
}
.cb-hero::before {
  width: 420px; height: 420px;
  background: var(--c-orange);
  top: -120px; right: -80px;
}
.cb-hero::after {
  width: 360px; height: 360px;
  background: var(--c-yellow);
  bottom: -160px; left: -100px;
}
.cb-hero .container { position: relative; z-index: 2; }
.cb-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  padding: .45rem .9rem;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.cb-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800 !important;
  line-height: 1.1;
  margin: 18px 0 14px;
  color: #fff !important;
  letter-spacing: -0.02em;
}
.cb-hero p.lead {
  font-size: 1.1rem;
  max-width: 720px;
  color: rgba(255,255,255,.92);
  margin-bottom: 0;
}
.cb-hero .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 500;
  font-size: .92rem;
  margin-right: .5rem;
  margin-top: .75rem;
}
.cb-hero .meta-pill i { color: var(--c-yellow); }

/* ===================== SECTION HEAD ===================== */
.cb-section { padding: 80px 0; }
.cb-section.alt { background: var(--c-bg-soft); }
.cb-section-head { margin-bottom: 48px; text-align: center; }
.cb-kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-orange);
  font-weight: 700;
  margin-bottom: 10px;
}
.cb-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--c-blue) !important;
  font-weight: 800 !important;
  margin-bottom: 14px;
}
.cb-lead {
  color: var(--c-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
}

/* ===================== SPEAKER CARDS ===================== */
.cb-speakers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.cb-speaker {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
}
.cb-speaker:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: rgba(35,127,193,.25);
}
.cb-speaker-photo {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-2) 100%);
}
.cb-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.cb-speaker:hover .cb-speaker-photo img { transform: scale(1.05); }
.cb-speaker-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(14,60,97,.55) 100%);
}
.cb-speaker-body { padding: 22px 22px 24px; }
.cb-speaker-name {
  font-size: 1.1rem;
  font-weight: 700 !important;
  color: var(--c-blue) !important;
  margin-bottom: 6px;
  padding-top: 0 !important;
  line-height: 1.25;
}
.cb-speaker-org {
  font-size: .82rem;
  color: var(--c-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: inline-block;
}
.cb-speaker-bio {
  font-size: .92rem;
  color: var(--c-ink-2);
  line-height: 1.55;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cb-speaker-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-blue);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all .2s;
}
.cb-speaker-link:hover { color: var(--c-orange); border-bottom-color: var(--c-orange); }

/* Speaker modal */
.cb-modal-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--c-bg-alt);
  margin: 0 auto 20px;
  display: block;
}
.cb-modal-bio { font-size: 1rem; color: var(--c-ink-2); line-height: 1.65; }
.cb-modal-bio p { margin-bottom: .85rem; }
.cb-modal-bio a { color: var(--c-blue); font-weight: 500; text-decoration: underline; }

/* ===================== PROGRAMAÇÃO TABS ===================== */
.cb-prog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 8px;
  margin: 0 auto 36px;
  box-shadow: var(--shadow-1);
  max-width: 100%;
  overflow-x: auto;
}
.cb-prog-tab {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 12px 18px;
  border: none;
  background: transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all .25s ease;
  color: var(--c-ink-2);
}
.cb-prog-tab:hover { background: var(--c-bg-alt); color: var(--c-blue); }
.cb-prog-tab.active {
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-2));
  color: #fff;
  box-shadow: 0 4px 14px rgba(35,127,193,.25);
}
.cb-prog-tab .ptb-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.cb-prog-tab .ptb-day {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  opacity: .9;
}
.cb-prog-tab .ptb-date {
  font-size: .82rem;
  font-weight: 500;
  opacity: .85;
}

.cb-prog-panel { display: none; }
.cb-prog-panel.active { display: block; animation: cb-fade-in .35s ease; }
@keyframes cb-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cb-prog-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin-bottom: 14px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.cb-prog-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-orange), var(--c-orange-2));
  opacity: 0;
  transition: opacity .25s;
}
.cb-prog-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-1);
  border-color: rgba(245,134,52,.35);
}
.cb-prog-row:hover::before { opacity: 1; }
.cb-prog-time {
  font-weight: 700;
  color: var(--c-blue);
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cb-prog-time i { color: var(--c-orange); }
.cb-prog-body h4 {
  font-size: 1.05rem;
  color: var(--c-ink) !important;
  font-weight: 600 !important;
  margin: 0 0 4px;
  padding-top: 0 !important;
}
.cb-prog-body .desc {
  color: var(--c-muted);
  font-size: .92rem;
  margin: 0;
}
.cb-prog-tag {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-orange);
  font-weight: 700;
  margin-top: 8px;
}

@media (max-width: 575px) {
  .cb-prog-row { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .cb-prog-time { font-size: .92rem; }
}

/* ===================== HOME — PROGRAMAÇÃO GERAL ===================== */
.cb-schedule {
  background: linear-gradient(135deg, #fff 0%, var(--c-bg-soft) 100%);
}
.cb-day-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 22px 22px 18px;
  height: 100%;
  transition: all .35s;
  position: relative;
  overflow: hidden;
}
.cb-day-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-orange));
}
.cb-day-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(35,127,193,.25);
}
.cb-day-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px dashed var(--c-line);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.cb-day-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
}
.cb-day-info { flex: 1; }
.cb-day-info .dow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-orange);
  font-weight: 700;
}
.cb-day-info .date {
  display: block;
  font-weight: 600;
  color: var(--c-ink-2);
  font-size: .92rem;
}
.cb-day-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226,233,241,.6);
}
.cb-day-row:last-child { border-bottom: 0; }
.cb-day-row .hour {
  font-weight: 700;
  color: var(--c-blue);
  white-space: nowrap;
  font-size: .88rem;
  min-width: 110px;
}
.cb-day-row .activity {
  color: var(--c-ink-2);
  font-size: .92rem;
  line-height: 1.35;
}

/* ===================== BUTTONS / EXTRAS ===================== */
.btn-cb-cta {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange-2));
  color: #fff !important;
  border: none;
  font-weight: 600;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(245,134,52,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-cb-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245,134,52,.45);
  color: #fff !important;
}
.btn-cb-ghost {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff !important;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all .2s;
}
.btn-cb-ghost:hover {
  background: #fff;
  color: var(--c-blue) !important;
  border-color: #fff;
}

/* Highlight cards (informações importantes) */
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-orange));
  transform: scaleX(.2);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  border-color: rgba(35,127,193,.3);
  box-shadow: var(--shadow-1);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h5 { color: var(--c-blue) !important; padding-top: 0 !important; }

/* Countdown */
.cb-countdown {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cb-countdown-label {
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  margin-bottom: 12px;
}
.cb-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cb-cd-cell {
  background: rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 14px 6px;
  text-align: center;
}
.cb-cd-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-yellow);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cb-cd-unit {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* ===================== HOME palestrantes preview ===================== */
.cb-speakers-preview .cb-speaker { background: #fff; }

/* Section title alignment helpers (left-aligned) */
.cb-section-head.left { text-align: left; }
.cb-section-head.left .cb-lead { margin: 0; }

/* Improved page-link header */
.cb-page-banner {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-2) 100%);
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cb-page-banner::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,134,52,.3), transparent 70%);
  top: -250px; right: -200px;
}
.cb-page-banner h1 {
  color: #fff !important;
  font-weight: 800 !important;
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  position: relative;
  z-index: 1;
}
.cb-breadcrumb {
  position: relative;
  z-index: 1;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.cb-breadcrumb a { color: rgba(255,255,255,.85); }
.cb-breadcrumb a:hover { color: var(--c-yellow); }

/* WhatsApp float refinement (existente) — apenas reforço de stacking */
.cb-fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: grid; gap: 10px; }

/* =====================================================================
   HEADER / TOPO
   ===================================================================== */
.cb-topbar {
  background: linear-gradient(90deg, var(--c-blue-3) 0%, var(--c-blue-2) 100%);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cb-topbar a { color: rgba(255,255,255,.92); text-decoration: none; transition: color .2s; }
.cb-topbar a:hover { color: var(--c-yellow); }
.cb-topbar .cb-topbar-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cb-topbar .cb-topbar-info i {
  color: var(--c-yellow);
  margin-right: 6px;
}
.cb-topbar .cb-lang {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.cb-topbar .cb-lang button {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s;
}
.cb-topbar .cb-lang button:hover,
.cb-topbar .cb-lang button.active {
  background: var(--c-yellow);
  color: var(--c-blue-3);
  border-color: var(--c-yellow);
}

.cb-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .3s ease;
}
.cb-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(14,29,42,.08);
}
.cb-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.cb-brand img {
  display: block;
  max-width: 360px;
  height: auto;
  transition: transform .25s;
}
.cb-brand:hover img { transform: scale(1.02); }
.cb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cb-header-actions .btn-search {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.cb-header-actions .btn-search:hover {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.cb-header-actions .btn-inscricao {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange-2));
  color: #fff !important;
  font-weight: 600;
  padding: .65rem 1.4rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 18px rgba(245,134,52,.3);
  transition: all .2s;
  white-space: nowrap;
}
.cb-header-actions .btn-inscricao:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245,134,52,.4);
}

/* Navbar (linha azul) */
.cb-navbar {
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-blue-2) 100%);
}
.cb-navbar .cb-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  align-items: center;
}
.cb-navbar .cb-nav-item { position: relative; }
.cb-navbar .cb-nav-link {
  color: #fff;
  text-decoration: none;
  padding: 12px 12px;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .2s;
  position: relative;
  white-space: nowrap;
}
.cb-navbar .cb-nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

@media (min-width: 1200px) {
  .cb-navbar .cb-nav-link { padding: 13px 14px; font-size: .86rem; }
  .cb-navbar .cb-nav-link::after { left: 14px; right: 14px; }
}
.cb-navbar .cb-nav-link:hover,
.cb-navbar .cb-nav-link.active {
  color: var(--c-yellow);
}
.cb-navbar .cb-nav-link:hover::after,
.cb-navbar .cb-nav-link.active::after {
  transform: scaleX(1);
}
.cb-navbar .cb-nav-link .bi-chevron-down {
  font-size: .7rem;
  opacity: .8;
  transition: transform .2s;
}
.cb-navbar .cb-nav-item:hover .cb-nav-link .bi-chevron-down {
  transform: rotate(180deg);
}
.cb-navbar .cb-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: 0 12px 32px rgba(14,29,42,.18);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  z-index: 100;
  border-top: 3px solid var(--c-orange);
}
.cb-navbar .cb-nav-item:hover .cb-dropdown,
.cb-navbar .cb-nav-item:focus-within .cb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cb-navbar .cb-dropdown a {
  display: block;
  padding: 8px 16px;
  color: var(--c-ink-2);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .2s;
}
.cb-navbar .cb-dropdown a:hover {
  background: var(--c-bg-soft);
  color: var(--c-blue);
  border-left-color: var(--c-orange);
}

/* Hamburger mobile button */
.cb-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.cb-hamburger:hover { background: rgba(255,255,255,.25); }

@media (max-width: 991px) {
  .cb-navbar .cb-nav-list { display: none; }
  .cb-hamburger { display: inline-flex; }
  .cb-navbar { padding: 8px 0; }
  .cb-brand img { max-width: 260px; }
}

/* =====================================================================
   BANNER / CAROUSEL HERO PROFISSIONAL
   ===================================================================== */
.cb-banner {
  position: relative;
  background: linear-gradient(135deg, var(--c-blue-3) 0%, var(--c-blue) 100%);
  overflow: hidden;
}
.cb-banner .carousel-inner { position: relative; }
.cb-banner .carousel-item {
  height: clamp(420px, 70vh, 720px);
  position: relative;
}
.cb-banner .carousel-item picture,
.cb-banner .carousel-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.cb-banner .cb-banner-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,60,97,0) 0%, rgba(14,60,97,.45) 65%, rgba(14,60,97,.85) 100%),
    linear-gradient(90deg, rgba(14,60,97,.78) 0%, rgba(14,60,97,.4) 55%, rgba(14,60,97,0) 100%);
  z-index: 1;
}
.cb-banner-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.cb-banner-caption .container { max-width: 1200px; }
.cb-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 18px;
}
.cb-banner-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--c-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,183,77,.25);
  animation: cb-pulse 2s infinite;
}
@keyframes cb-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,183,77,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(255,183,77,.05); }
}
.cb-banner-caption h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 820px;
  text-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.cb-banner-caption h1 a { color: #fff !important; text-decoration: none; }
.cb-banner-caption .lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.95);
  max-width: 720px;
  margin: 0 0 28px;
  font-weight: 400;
}
.cb-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-bottom: 28px;
  padding: 0;
}
.cb-banner-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: .92rem;
  color: rgba(255,255,255,.92);
  font-weight: 400;
  backdrop-filter: none;
}
.cb-banner-meta .pill i {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
}
.cb-banner-meta .pill + .pill {
  position: relative;
  padding-left: 26px;
}
.cb-banner-meta .pill + .pill::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: rgba(255,255,255,.25);
}
@media (max-width: 575px) {
  .cb-banner-meta { gap: 8px 0; }
  .cb-banner-meta .pill + .pill { padding-left: 0; }
  .cb-banner-meta .pill + .pill::before { display: none; }
  .cb-banner-meta .pill { width: 100%; }
}
.cb-banner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cb-banner-ctas .btn {
  font-weight: 600;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-size: 1rem;
  transition: all .25s ease;
}
.cb-banner-ctas .btn-cta {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange-2));
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 24px rgba(245,134,52,.4);
}
.cb-banner-ctas .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245,134,52,.55);
}
.cb-banner-ctas .btn-ghost {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff !important;
}
.cb-banner-ctas .btn-ghost:hover {
  background: #fff;
  color: var(--c-blue) !important;
}

/* Indicadores e setas do carousel */
.cb-banner .carousel-indicators {
  bottom: 24px;
  margin: 0;
  z-index: 5;
}
.cb-banner .carousel-indicators [data-bs-target] {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.45);
  border: 0;
  margin: 0 4px;
  transition: all .3s;
}
.cb-banner .carousel-indicators .active {
  background: var(--c-yellow);
  width: 56px;
}
.cb-banner .carousel-control-prev,
.cb-banner .carousel-control-next {
  width: 6%;
  z-index: 5;
  opacity: 0;
  transition: opacity .3s;
}
.cb-banner:hover .carousel-control-prev,
.cb-banner:hover .carousel-control-next {
  opacity: 1;
}
.cb-banner .carousel-control-prev-icon,
.cb-banner .carousel-control-next-icon {
  background-color: rgba(255,255,255,.25);
  border-radius: 50%;
  padding: 22px;
  background-size: 50%;
  backdrop-filter: blur(6px);
}

/* Scroll-down indicator */
.cb-banner-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.cb-banner-scroll::before {
  content: "";
  width: 4px; height: 8px;
  background: var(--c-yellow);
  border-radius: 4px;
  animation: cb-scrollAnim 1.6s infinite;
}
@keyframes cb-scrollAnim {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 575px) {
  .cb-banner .carousel-item { height: 70vh; min-height: 480px; }
  .cb-banner-caption { padding: 40px 0 80px; }
  .cb-banner-eyebrow { font-size: .68rem; padding: .45rem .9rem; }
  .cb-banner-meta .pill { font-size: .82rem; }
  .cb-banner-scroll { display: none; }
}

/* MSCNanotech 2027 home refinements */
.cb-countdown-strip {
  padding: 24px 0;
  background: linear-gradient(90deg, var(--c-blue-3), var(--c-blue), var(--c-blue-2));
}
.cb-label-spaced { letter-spacing: .14em; font-size: .72rem; }
.cb-countdown-cell {
  padding: 9px 6px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.cb-countdown-cell span {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
}
.cb-countdown-cell small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .62rem;
}
.cb-about-home { background: linear-gradient(180deg, #fff, var(--c-bg-soft)); }
.cb-about-visual {
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--c-line);
}
.cb-about-copy { color: var(--c-ink-2); line-height: 1.75; }
.cb-soon-card {
  display: block;
  height: 100%;
  padding: 34px 28px;
  color: var(--c-ink-2);
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cb-soon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(7,92,168,.3); }
.cb-soon-card > i { display: block; color: var(--c-blue); font-size: 2.25rem; margin-bottom: 14px; }
.cb-soon-card h3 { color: var(--c-blue) !important; font-size: 1.15rem; margin: 0 0 10px; }
.cb-soon-card span {
  display: inline-block;
  padding: 5px 12px;
  color: var(--c-blue);
  background: var(--c-bg-alt);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cb-card-link { color: var(--c-blue); font-size: .86rem; font-weight: 700; }
.cb-empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 24px;
  color: var(--c-muted);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #fff, var(--c-bg-soft));
  box-shadow: var(--shadow-1);
}
.cb-empty-state > i { color: var(--c-blue); font-size: 2.8rem; }
.cb-empty-state h3 { color: var(--c-blue) !important; margin: 12px 0 8px; }
.cb-news-strip { padding: 28px 0; color: #fff; background: var(--c-blue-3); }
.cb-news-strip h3, .cb-news-strip p { margin: 0; color: inherit !important; }
.cb-news-label {
  flex: 0 0 auto;
  padding: 6px 12px;
  color: var(--c-blue-3);
  background: var(--c-yellow);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 800;
}
.coming-soon, .important-date-card {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #fff, var(--c-bg-soft));
  text-align: center;
}
.coming-soon p:first-child { color: var(--c-blue); font-size: 1.6rem; }

@media (max-width: 575px) {
  .cb-brand img { max-width: 210px; }
  .cb-countdown-cell small { font-size: .52rem; letter-spacing: .02em; }
  .cb-countdown-cell { padding-inline: 2px; }
}

/* =====================================================================
   MSCNanotech visual language: molecular, editorial and technology-led
   ===================================================================== */
body {
  background: #f3f8fc;
  color: #15293d;
}
h1, h2, h3, h4, h5, h6,
.cb-title, .cb-banner-caption h1, .cb-page-banner h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -.035em;
}

.cb-header { border-bottom: 1px solid rgba(7,92,168,.08); }
.cb-header-row { padding-block: 18px; }
.cb-navbar {
  background: #041f3d;
  border-bottom: 1px solid rgba(125,220,245,.22);
  box-shadow: 0 10px 34px rgba(1,22,45,.18);
}
.cb-navbar .cb-nav-link { letter-spacing: .025em; }
.cb-navbar .cb-nav-link::after {
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #28b8e8, #a6edff);
}
.cb-header-actions .btn-inscricao {
  background: #075ca8;
  box-shadow: 0 10px 28px rgba(7,92,168,.2);
}
.cb-header-actions .btn-inscricao:hover { background: #06477f; }

#home .cb-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(125,220,245,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,220,245,.25) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 64%);
}
#home .cb-banner .cb-banner-overlay {
  background:
    linear-gradient(90deg, rgba(1,24,49,.92) 0%, rgba(3,48,86,.62) 46%, rgba(3,37,70,.05) 78%),
    linear-gradient(0deg, rgba(1,25,50,.7), transparent 55%);
}
#home .cb-banner-caption .container { padding-left: clamp(18px, 7vw, 110px); }
#home .cb-banner-caption h1 { max-width: 700px; font-size: clamp(2.45rem, 5.5vw, 4.7rem); }
#home .cb-banner-eyebrow { border-radius: 8px; background: rgba(5,43,85,.48); }
#home .cb-banner-ctas .btn { border-radius: 12px; }
.cb-countdown-strip {
  position: relative;
  background: #051f3c;
  border-top: 1px solid rgba(125,220,245,.25);
}
.cb-countdown-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 50%, rgba(26,166,217,.14) 50%);
}
.cb-countdown-strip .container { position: relative; z-index: 1; }
.cb-countdown-cell { border-radius: 6px; background: rgba(255,255,255,.045); }

.cb-about-home { position: relative; overflow: hidden; background: #f3f8fc; }
.cb-about-home::before {
  content: "02";
  position: absolute;
  top: 10px;
  right: 3vw;
  color: rgba(7,92,168,.045);
  font-family: "Space Grotesk", sans-serif;
  font-size: min(28vw, 320px);
  font-weight: 700;
  line-height: 1;
}
.cb-about-home .container { position: relative; z-index: 1; }
.cb-about-visual {
  position: relative;
  border: 0;
  border-radius: 10px 90px 10px 10px;
  background: #fff;
  box-shadow: 24px 24px 0 #dceef8, 0 30px 70px rgba(3,51,91,.12);
}
.cb-about-visual::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 82px;
  height: 82px;
  border: 2px solid #1aa6d9;
  border-radius: 50%;
  opacity: .5;
}
.cb-announcements { background: #061f3d !important; }
.cb-announcements .cb-title { color: #fff !important; }
.cb-announcements .cb-lead { color: rgba(255,255,255,.68); }
.cb-announcements .cb-soon-card {
  text-align: left;
  border-color: rgba(125,220,245,.14);
  border-radius: 8px 34px 8px 8px;
  background: rgba(255,255,255,.055);
  box-shadow: none;
}
.cb-announcements .cb-soon-card:hover { background: rgba(255,255,255,.09); border-color: rgba(125,220,245,.42); }
.cb-announcements .cb-soon-card h3 { color: #fff !important; }
.cb-announcements .cb-soon-card p { min-height: 42px; color: rgba(255,255,255,.64); font-size: .88rem; }
.cb-announcements .cb-soon-card span { color: #9ce8ff; background: rgba(26,166,217,.14); }

/* Internal pages */
.page-internal main { overflow: hidden; }
.page-internal .cb-page-banner {
  min-height: 350px;
  padding: 72px 0 118px;
  background:
    radial-gradient(circle at 82% 25%, rgba(35,185,232,.2), transparent 28%),
    linear-gradient(125deg, #031b35 0%, #063e70 64%, #075ca8 100%);
  isolation: isolate;
}
.page-internal .cb-page-banner::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background-image:
    linear-gradient(rgba(125,220,245,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,220,245,.08) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-internal .cb-page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: #f3f8fc;
  clip-path: polygon(0 100%, 100% 18%, 100% 100%);
  z-index: -1;
}
.cb-page-banner-content { position: relative; z-index: 2; max-width: 850px; }
.cb-page-label {
  display: block;
  margin: 24px 0 10px;
  color: #7ddcf5;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 800;
}
.page-internal .cb-page-banner h1 { max-width: 820px; font-size: clamp(2.2rem, 5vw, 4.35rem); line-height: 1.02; }
.page-internal .cb-page-banner-content > p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.65; }
.cb-page-orbit {
  position: absolute;
  right: 7vw;
  top: 50%;
  width: 240px;
  aspect-ratio: 1;
  border: 1px solid rgba(125,220,245,.2);
  border-radius: 50%;
  transform: translateY(-58%);
  z-index: 0;
}
.cb-page-orbit::before, .cb-page-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(125,220,245,.17);
  border-radius: 50%;
  transform: rotate(55deg) scaleY(.45);
}
.cb-page-orbit::after { transform: rotate(-32deg) scaleY(.55); }
.cb-page-orbit span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #7ddcf5; box-shadow: 0 0 22px #28b8e8; }
.cb-page-orbit span:nth-child(1) { top: 16%; left: 18%; }
.cb-page-orbit span:nth-child(2) { right: 8%; top: 52%; }
.cb-page-orbit span:nth-child(3) { bottom: 5%; left: 42%; }
.cb-page-body { position: relative; padding: 0 0 100px; }
.cb-content-shell {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid rgba(7,92,168,.1);
  border-radius: 12px 56px 12px 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(3,43,78,.12);
}
.cb-content-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 5vw, 64px);
  width: 110px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #075ca8, #27bce9);
}
.cb-content-area { color: #334b61; font-size: 1rem; line-height: 1.78; }
.cb-content-area h1, .cb-content-area h2, .cb-content-area h3,
.cb-content-area h4, .cb-content-area h5, .cb-content-area h6 { color: #063e70; font-weight: 700 !important; }
.cb-content-area h2 { margin: 0 0 12px; font-size: 1.35rem; }
.cb-content-area h3 { margin: 0 0 10px; font-size: 1.12rem; }
.cb-content-area a { color: #075ca8; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cb-content-area img { max-width: 100%; height: auto; border-radius: 14px; }
.cb-content-area ul { padding-left: 1.15rem; }
.cb-content-area li { margin-bottom: .55rem; }
.cb-content-area table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #dce8f1; border-radius: 12px; }
.cb-content-area th, .cb-content-area td { padding: 14px 16px; border-right: 1px solid #dce8f1; border-bottom: 1px solid #dce8f1; text-align: left; vertical-align: top; }
.cb-content-area th:last-child, .cb-content-area td:last-child { border-right: 0; }
.cb-content-area tr:last-child td { border-bottom: 0; }
.cb-content-area th { color: #fff; background: #063e70; }
.cb-content-area tbody tr:nth-child(even) { background: #f4f9fc; }
.content-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 22px 24px;
  border-left: 4px solid #1aa6d9;
  border-radius: 4px 18px 18px 4px;
  background: #eaf7fc;
}
.content-note > i { color: #075ca8; font-size: 1.55rem; }
.content-note strong { display: block; color: #063e70; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.content-note p { margin: 5px 0 0; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin: 32px 0; }
.info-block, .hotel-card {
  position: relative;
  padding: 28px;
  border: 1px solid #dce8f1;
  border-radius: 8px 28px 8px 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(3,43,78,.06);
}
.info-block > i { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; color: #fff; border-radius: 12px; background: linear-gradient(145deg,#075ca8,#1aa6d9); font-size: 1.2rem; }
.process-steps { display: grid; gap: 0; margin: 30px 0 44px; }
.process-steps section { display: grid; grid-template-columns: 70px 1fr; gap: 22px; position: relative; padding-bottom: 28px; }
.process-steps section:not(:last-child)::before { content: ""; position: absolute; top: 44px; bottom: 0; left: 25px; width: 1px; background: linear-gradient(#1aa6d9,#dce8f1); }
.process-steps section > span { display: grid; place-items: center; width: 52px; height: 52px; color: #fff; border-radius: 50% 50% 50% 12px; background: #075ca8; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.policy-panel { position: relative; margin: 24px 0; padding: 28px 30px 28px 96px; border: 1px solid #dce8f1; border-radius: 10px; background: #f8fbfd; }
.section-index { position: absolute; top: 26px; left: 26px; color: #1aa6d9; font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; font-weight: 700; }
.hotel-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.hotel-card { overflow: hidden; }
.hotel-card::before { content: ""; position: absolute; top: 0; right: 0; width: 82px; height: 82px; border-radius: 0 0 0 100%; background: #e7f7fc; }
.hotel-card h2 { margin-top: 18px; }
.hotel-card p { margin: 8px 0; font-size: .92rem; }
.hotel-card p i { width: 22px; color: #1aa6d9; }
.hotel-distance { position: relative; z-index: 1; color: #075ca8; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.poster-spec { display: grid; grid-template-columns: minmax(200px,.7fr) 1.3fr; gap: 36px; align-items: center; margin: 38px 0; padding: 32px; border-radius: 8px 32px 8px 8px; color: #fff; background: #052b55; }
.poster-spec h2 { color: #fff !important; }
.poster-size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; text-align: center; }
.poster-size span { color: #7ddcf5; font-family: "Space Grotesk", sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.poster-size small { grid-row: 2; color: rgba(255,255,255,.6); }
.poster-size strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.5rem; }

@media (max-width: 991px) {
  .cb-page-orbit { opacity: .38; right: -80px; }
  .page-internal .cb-page-banner h1 { max-width: 80%; }
}
@media (max-width: 767px) {
  .page-internal .cb-page-banner { min-height: 300px; padding: 52px 0 105px; }
  .page-internal .cb-page-banner h1 { max-width: 100%; font-size: 2.25rem; }
  .cb-page-orbit { display: none; }
  .cb-content-shell { margin-top: -42px; border-radius: 8px 32px 8px 8px; }
  .info-grid, .hotel-grid, .poster-spec { grid-template-columns: 1fr; }
  .policy-panel { padding: 74px 24px 24px; }
  .poster-size { max-width: 300px; }
}

/* Header v3 */
.cb-topbar {
  padding: 6px 0;
  background: #031c36;
  border-bottom-color: rgba(125,220,245,.14);
  font-size: .75rem;
}
.cb-topbar-tools { display: flex; align-items: center; gap: 18px; }
.cb-topbar-contact {
  display: inline-flex;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.14);
  font-weight: 700;
}
.cb-topbar .cb-lang button { min-width: 32px; padding: 2px 8px; border-radius: 6px; }
.cb-topbar .cb-lang button.active { color: #031c36; background: #7ddcf5; }
.cb-header-row { min-height: 104px; padding: 10px 0; transition: min-height .3s ease, padding .3s ease; }
.cb-brand { flex: 0 0 auto; }
.cb-brand img { max-width: 278px; transition: max-width .3s ease, transform .25s ease; }
.cb-header-tagline {
  flex-direction: column;
  margin-right: auto;
  padding-left: 28px;
  border-left: 1px solid #dce8f1;
  color: #063e70;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
.cb-header-tagline small { margin-top: 4px; color: #6d8295; font-family: "Manrope", sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cb-header-actions { margin-left: auto; }
.cb-header-actions .btn-search {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border-color: #d7e5ef;
  background: #f7fbfd;
}
.cb-header-actions .btn-inscricao {
  min-height: 44px;
  padding: .65rem 1.25rem;
  border-radius: 12px;
  background: #075ca8;
  box-shadow: 0 10px 26px rgba(7,92,168,.16);
  font-size: .88rem;
}
.cb-header.is-scrolled .cb-header-row { min-height: 78px; padding: 5px 0; }
.cb-header.is-scrolled .cb-brand img { max-width: 225px; }
.cb-header.is-scrolled .cb-header-tagline { display: none !important; }
.cb-navbar > .container { justify-content: center !important; }
.cb-navbar .cb-nav-list { width: 100%; justify-content: space-between; }
.cb-navbar .cb-nav-link { padding-block: 14px; font-size: .79rem; font-weight: 650; }
.cb-navbar .cb-dropdown {
  top: calc(100% - 1px);
  padding: 10px;
  border: 1px solid #dce8f1;
  border-top: 3px solid #1aa6d9;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 22px 55px rgba(2,30,58,.18);
}
.cb-navbar .cb-dropdown a { padding: 10px 13px; border: 0; border-radius: 8px; }
.cb-navbar .cb-dropdown a:hover,
.cb-navbar .cb-dropdown a.active { color: #075ca8; background: #eaf7fc; }
.cb-hamburger-mobile { display: none; }

.mobile-menu-container {
  width: min(90%, 380px);
  background:
    radial-gradient(circle at 100% 0, rgba(26,166,217,.22), transparent 34%),
    #031f3d;
  box-shadow: -24px 0 70px rgba(0,15,31,.35);
}
.mobile-menu-header { min-height: 104px; border-color: rgba(255,255,255,.12) !important; }
.mobile-menu-header img { max-width: 205px; height: auto; }
.mobile-menu-content .nav-link { color: rgba(255,255,255,.9); font-family: "Space Grotesk", sans-serif; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu-content .dropdown-item { color: rgba(255,255,255,.72); }
.mobile-menu-content .dropdown-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.mobile-menu-content .dropdown-submenu.open { margin-bottom: 10px; border-left: 1px solid rgba(125,220,245,.35); background: transparent; }
.cb-mobile-cta { color: #031f3d !important; border: 0; border-radius: 10px; background: #7ddcf5; }

@media (max-width: 1199px) {
  .cb-brand img { max-width: 250px; }
  .cb-navbar .cb-nav-link { font-size: .72rem; padding-inline: 8px; }
}
@media (max-width: 991px) {
  .cb-header-row { min-height: 82px; padding: 7px 0; }
  .cb-header.is-scrolled .cb-header-row { min-height: 68px; }
  .cb-brand img, .cb-header.is-scrolled .cb-brand img { max-width: 205px; }
  .cb-navbar { display: none; }
  .cb-hamburger-mobile { display: inline-flex; color: #fff; background: #031f3d; }
  .cb-hamburger-mobile:hover { background: #075ca8; }
}
@media (max-width: 575px) {
  .cb-header-row { gap: 9px; }
  .cb-brand img, .cb-header.is-scrolled .cb-brand img { max-width: 190px; }
  .cb-header-actions { gap: 7px; }
  .cb-header-actions .btn-search,
  .cb-header-actions .btn-inscricao,
  .cb-hamburger-mobile { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; border-radius: 10px; }
}

/* =====================================================================
   FOOTER PROFISSIONAL
   ===================================================================== */
.cb-footer {
  background: linear-gradient(180deg, var(--c-blue-2) 0%, var(--c-blue-3) 100%);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.cb-footer::before {
  content: "";
  position: absolute;
  top: -200px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,134,52,.18), transparent 70%);
  pointer-events: none;
}
.cb-footer-top {
  padding: 64px 0 40px;
  position: relative;
  z-index: 1;
}
.cb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  position: relative;
  z-index: 1;
}
.cb-footer h5 {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 22px !important;
  padding-top: 0 !important;
  position: relative;
  display: inline-block;
}
.cb-footer h5::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0;
  width: 32px; height: 3px;
  background: var(--c-orange);
  border-radius: 3px;
}
.cb-footer .footer-logo {
  max-width: 220px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.cb-footer p,
.cb-footer .footer-text {
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  font-size: .92rem;
}
.cb-footer ul.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cb-footer ul.footer-links li {
  margin-bottom: 10px;
}
.cb-footer ul.footer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: .92rem;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cb-footer ul.footer-links a::before {
  content: "›";
  color: var(--c-orange);
  font-weight: 700;
  transition: transform .2s;
}
.cb-footer ul.footer-links a:hover {
  color: var(--c-yellow);
  transform: translateX(4px);
}
.cb-footer ul.footer-links a:hover::before {
  color: var(--c-yellow);
}
.cb-footer .footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cb-footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
}
.cb-footer .footer-contact li i {
  color: var(--c-orange);
  margin-top: 3px;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.cb-footer .footer-contact a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.cb-footer .footer-contact a:hover { color: var(--c-yellow); }
.cb-footer .footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.cb-footer .footer-social a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  transition: all .25s;
  font-size: 1rem;
}
.cb-footer .footer-social a:hover {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
  transform: translateY(-3px);
}
.cb-footer-bottom .credits a {
  color: var(--c-yellow);
  text-decoration: none;
  font-weight: 500;
}
.cb-footer-bottom .credits a:hover { text-decoration: underline; }

/* Newsletter mini form (opcional) */
.cb-footer .footer-newsletter {
  display: flex;
  gap: 0;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
}
.cb-footer .footer-newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  padding: 10px 16px;
  font-size: .9rem;
  outline: none;
}
.cb-footer .footer-newsletter input::placeholder { color: rgba(255,255,255,.6); }
.cb-footer .footer-newsletter button {
  border: none;
  background: var(--c-orange);
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.cb-footer .footer-newsletter button:hover { background: var(--c-orange-2); }

/* Voltar ao topo */
.cb-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(35,127,193,.4);
  z-index: 998;
  transition: all .25s;
  border: none;
}
.cb-back-to-top.visible { display: inline-flex; }
.cb-back-to-top:hover {
  background: var(--c-orange);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cb-footer-top { padding: 48px 0 24px; }
  .cb-footer h5 { margin-bottom: 18px !important; }
}
