﻿/* ====== Base (leve e fácil de encaixar no tema atual) ====== */
:root{
  --ceb-bg: #0b1220;
  --ceb-overlay: rgba(11,18,32,.55);
  --ceb-text: #0f172a;
  --ceb-muted: #475569;
  --ceb-border: rgba(15, 23, 42, .12);
  --ceb-surface: #ffffff;
  --ceb-surface-2: #f8fafc;
  --ceb-radius: 16px;
  --ceb-shadow: 0 18px 40px rgba(2,6,23,.10);
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ceb-text);
  background: #ffffff;
  line-height: 1.65;
}

.ceb-container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.ceb-section{
  padding: 38px 0;
}

.ceb-h2{
  margin: 0 0 8px 0;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
}

.ceb-h3{
  margin: 0 0 10px 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.ceb-h4{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.ceb-muted{
  margin: 0 0 18px 0;
  color: var(--ceb-muted);
}

/* ====== HERO ====== */
.ceb-hero{
  position: relative;
  height: min(520px, 72vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ceb-bg);
}

.ceb-hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.ceb-hero__overlay{
  position: absolute;
  inset: 0;
  background: var(--ceb-overlay);
}

.ceb-hero__content{
  position: relative;
  padding: 26px 0;
  color: #fff;
}

.ceb-kicker{
  margin: 0 0 8px 0;
  opacity: .9;
  font-weight: 600;
}

.ceb-title{
  margin: 0 0 6px 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ceb-subtitle{
  margin: 0 0 18px 0;
  opacity: .95;
  text-transform: lowercase; /* conforme pedido de padronização */
  letter-spacing: .08em;
}

.ceb-hero__intro{
  width: min(820px, 92vw);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--ceb-radius);
  padding: 16px 18px;
  backdrop-filter: blur(6px);
}

/* ====== Tabs ====== */
.ceb-tabs{
  border: 1px solid var(--ceb-border);
  border-radius: var(--ceb-radius);
  overflow: hidden;
  background: var(--ceb-surface);
  box-shadow: var(--ceb-shadow);
}

.ceb-tabs__nav{
  display: flex;
  gap: 0;
  background: var(--ceb-surface-2);
  border-bottom: 1px solid var(--ceb-border);
}

.ceb-tab{
  flex: 1;
  padding: 14px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ceb-tab__icon{
  font-size: 18px;
}

.ceb-tab.is-active{
  background: #ffffff;
  box-shadow: inset 0 -2px 0 #0ea5e9;
}

.ceb-tabs__panels{
  padding: 18px;
}

.ceb-panel{
  display: none;
}

.ceb-panel.is-active{
  display: block;
}

.ceb-panel__grid{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}

.ceb-panel__img{
  width: 100%;
  height: 100%;
  /*max-height: 260px;
  object-fit: cover;*/
  border-radius: calc(var(--ceb-radius) - 6px);
  border: 1px solid var(--ceb-border);
  background: var(--ceb-surface-2);
}

/* ====== Listas (respiro nos bullets) ====== */
.ceb-list{
  margin: 12px 0 0 0;
  padding-left: 18px;
}
.ceb-list li{
  margin: 0 0 10px 0; /* “respiro” entre bullets */
}
.ceb-list--compact li{
  margin-bottom: 8px;
}

/* ====== Cards / callouts ====== */
.ceb-callout{
  margin-top: 48px;
  padding: 14px 14px;
  border-radius: var(--ceb-radius);
  border: 1px solid var(--ceb-border);
  background: #f1f5f9;
}

.ceb-card{
  border: 1px solid var(--ceb-border);
  border-radius: var(--ceb-radius);
  padding: 18px 18px;
  background: #ffffff;
  box-shadow: var(--ceb-shadow);
}

/* ====== Responsivo ====== */
@media (max-width: 860px){
  .ceb-panel__grid{
    grid-template-columns: 1fr;
  }
  .ceb-tabs__nav{
    flex-direction: column;
  }
  .ceb-tab{
    justify-content: flex-start;
  }
  .ceb-hero{
    height: auto;
    padding: 40px 0;
  }
}
