/* ============================================================
   GRUPO CONNEXUS & BEBÊ BOMBOM — CSS COMPARTILHADO DE PÁGINAS INTERNAS
   Design System "Encontro das Águas" · Manaus, AM
   ============================================================ */

:root {
  /* ---------- TIPOGRAFIA ---------- */
  --font-bb: 'Baloo 2', 'Segoe UI Rounded', system-ui, sans-serif;
  --font-cx: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', Consolas, monospace;

  /* ---------- CORES · BEBÊ BOMBOM ---------- */
  --bb-tinta-950: #0E1C30;
  --bb-tinta-800: #1A3257;
  --bb-azul-500: #2C5492;
  --bb-vermelho-600: #CA333A;
  --bb-vermelho-500: #E0483E;
  --bb-coral-500: #FF6F5E;
  --bb-coral-600: #F0503E;
  --bb-morango-500: #F2557A;
  --bb-amarelo-400: #FFD166;
  --bb-verde-400: #6FCF97;
  --bb-creme-100: #FFF6E9;
  --bb-creme-50: #FFFBF3;
  --bb-card-bg: rgba(255, 255, 255, 0.85);

  /* ---------- CORES · CONNEXUS ---------- */
  --cx-negro-950: #0A0E17;
  --cx-negro-900: #10182A;
  --cx-indigo-700: #1E3A5F;
  --cx-azul-600: #2E5E92;
  --cx-azul-500: #3E82C4;
  --cx-laranja-600: #E6680B;
  --cx-laranja-500: #F58634;
  --cx-laranja-400: #F2B07E;
  --cx-laranja-texto: #BF5609;
  --cx-branco-100: #F3F6FA;
  --cx-texto-secundario: #9FB4CC;
  --cx-card-bg: rgba(16, 24, 42, 0.75);

  /* ---------- CORES · GRUPO / ACENTOS ---------- */
  --grupo-ouro-500: #DE9A49;
  --grupo-ouro-600: #C67C24;
  --grupo-ouro-400: #F2B872;
  --grupo-marinho-900: #142F48;

  /* ---------- NEUTROS ---------- */
  --neutro-950: #1B1B1D;
  --neutro-800: #33322F;
  --neutro-600: #6B6864;
  --neutro-400: #A6A29C;
  --neutro-200: #E4E0D8;
  --neutro-100: #F1EEE7;
  --neutro-0: #FFFFFF;

  /* ---------- GRADIENTES ---------- */
  --grad-bb: linear-gradient(135deg, #FF6F5E 0%, #F2557A 100%);
  --grad-bb-hero: linear-gradient(165deg, #FFFBF3 0%, #FFF3E3 60%, #FFE8D6 100%);
  --grad-cx-hero: linear-gradient(165deg, #0A0E17 0%, #10182A 50%, #16263D 100%);
  --grad-conexao: linear-gradient(90deg, #CA333A 0%, #F58634 50%, #3E82C4 100%);
  --grad-ouro: linear-gradient(135deg, #DE9A49 0%, #F58634 100%);

  /* ---------- SOMBRAS & BORDAS ---------- */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
  --shadow-cx-card: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-bb-card: 0 14px 35px rgba(202, 51, 58, 0.08);

  --radius-bb: 22px;
  --radius-cx: 14px;
  --radius-pill: 9999px;

  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--neutro-950);
  background: var(--neutro-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================================
   PAGE THEMES (Bebê Bombom vs Connexus)
   ============================================================ */
body.theme-bb {
  background: var(--bb-creme-50);
  color: var(--bb-tinta-950);
}

body.theme-cx {
  background: var(--cx-negro-950);
  color: var(--cx-branco-100);
}

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.page-container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ============================================================
   HEADER INTERNO
   ============================================================ */
.internal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s var(--ease-soft);
  padding: 0.85rem 0;
}

body.theme-bb .internal-header {
  background: rgba(255, 251, 243, 0.92);
  border-bottom: 1px solid rgba(202, 51, 58, 0.12);
}

body.theme-cx .internal-header {
  background: rgba(10, 14, 23, 0.92);
  border-bottom: 1px solid rgba(159, 180, 204, 0.15);
}

.internal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-soft);
}

body.theme-bb .btn-back-home {
  color: var(--bb-vermelho-600);
  background: rgba(202, 51, 58, 0.08);
  border: 1px solid rgba(202, 51, 58, 0.2);
}
body.theme-bb .btn-back-home:hover {
  background: var(--bb-vermelho-600);
  color: #FFFFFF;
  transform: translateX(-3px);
}

body.theme-cx .btn-back-home {
  color: var(--cx-azul-500);
  background: rgba(62, 130, 196, 0.12);
  border: 1px solid rgba(62, 130, 196, 0.25);
}
body.theme-cx .btn-back-home:hover {
  background: var(--cx-azul-500);
  color: #FFFFFF;
  transform: translateX(-3px);
}

.internal-header-nav-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-switch-school {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s var(--ease-soft);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  padding: 0;
  background: #FFFFFF;
}

body.theme-bb .btn-switch-school {
  border: 1.5px solid rgba(62, 130, 196, 0.35);
}
body.theme-bb .btn-switch-school:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: var(--cx-azul-500);
  box-shadow: 0 4px 14px rgba(62, 130, 196, 0.35);
}

body.theme-cx .btn-switch-school {
  border: 1.5px solid rgba(202, 51, 58, 0.35);
}
body.theme-cx .btn-switch-school:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: var(--bb-vermelho-600);
  box-shadow: 0 4px 14px rgba(202, 51, 58, 0.35);
}

.btn-switch-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.brand-lockup-internal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-avatar-internal {
  height: 38px;
  min-width: 38px;
  max-width: 56px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  padding: 2px 5px;
}

body.theme-bb .brand-avatar-internal {
  border: 1px solid rgba(202, 51, 58, 0.15);
}

body.theme-cx .brand-avatar-internal {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-avatar-internal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-title-internal {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
}
body.theme-bb .brand-title-main { font-family: var(--font-bb); color: var(--bb-vermelho-600); }
body.theme-cx .brand-title-main { font-family: var(--font-cx); color: #FFFFFF; }

.brand-title-sub {
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.internal-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.header-action-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

body.theme-bb .header-action-quick {
  background: var(--bb-vermelho-600);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(202, 51, 58, 0.3);
}
body.theme-bb .header-action-quick:hover {
  background: var(--bb-vermelho-500);
  transform: translateY(-1px);
  color: #FFFFFF;
}

body.theme-cx .header-action-quick {
  background: var(--cx-azul-500);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(62, 130, 196, 0.35);
}
body.theme-cx .header-action-quick:hover {
  background: var(--cx-azul-600);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.header-action-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

body.theme-bb .header-action-sec {
  color: var(--bb-vermelho-600);
  background: rgba(202, 51, 58, 0.08);
  border: 1px solid rgba(202, 51, 58, 0.25);
}
body.theme-bb .header-action-sec:hover {
  background: rgba(202, 51, 58, 0.16);
  color: var(--bb-vermelho-600);
  transform: translateY(-1px);
}

body.theme-cx .header-action-sec {
  color: var(--cx-laranja-400);
  background: rgba(245, 134, 52, 0.12);
  border: 1px solid rgba(245, 134, 52, 0.3);
}
body.theme-cx .header-action-sec:hover {
  background: rgba(245, 134, 52, 0.22);
  color: #FFFFFF;
  border-color: var(--cx-laranja-500);
  transform: translateY(-1px);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb-nav {
  padding: 1rem 0 0.5rem;
  font-size: 0.84rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a {
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.breadcrumb-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.4;
  font-size: 0.75rem;
}

.breadcrumb-item[aria-current="page"] {
  font-weight: 700;
  opacity: 1;
}

body.theme-bb .breadcrumb-item[aria-current="page"] { color: var(--bb-vermelho-600); }
body.theme-cx .breadcrumb-item[aria-current="page"] { color: var(--cx-laranja-500); }

/* ============================================================
   HERO INTERNO COMPACTO
   ============================================================ */
.hero-internal {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

body.theme-bb .hero-pill {
  background: rgba(202, 51, 58, 0.08);
  color: var(--bb-vermelho-600);
  border: 1px solid rgba(202, 51, 58, 0.2);
}

body.theme-cx .hero-pill {
  background: rgba(245, 134, 52, 0.12);
  color: var(--cx-laranja-500);
  border: 1px solid rgba(245, 134, 52, 0.3);
}

.hero-internal-title {
  margin: 0 0 1.25rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

body.theme-bb .hero-internal-title {
  font-family: var(--font-bb);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  color: var(--bb-vermelho-600);
}

body.theme-cx .hero-internal-title {
  font-family: var(--font-cx);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  color: #FFFFFF;
}

.hero-internal-lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  max-width: 850px;
  margin: 0 0 1.5rem;
  opacity: 0.92;
}

/* ============================================================
   ÍNDICE EDITORIAL / IN-PAGE NAV
   ============================================================ */
.topic-nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}

.topic-nav-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-right: 0.5rem;
}

.topic-pill-link {
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

body.theme-bb .topic-pill-link {
  background: rgba(44, 84, 146, 0.06);
  color: var(--bb-azul-500);
  border: 1px solid rgba(44, 84, 146, 0.15);
}
body.theme-bb .topic-pill-link:hover {
  background: var(--bb-azul-500);
  color: #FFFFFF;
}

body.theme-cx .topic-pill-link {
  background: rgba(62, 130, 196, 0.1);
  color: var(--cx-texto-secundario);
  border: 1px solid rgba(62, 130, 196, 0.2);
}
body.theme-cx .topic-pill-link:hover {
  background: var(--cx-azul-500);
  color: #FFFFFF;
}

/* ============================================================
   SEÇÕES EDITORIAIS & TIPOGRAFIA INTERNA
   ============================================================ */
.editorial-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

body.theme-bb .section-eyebrow { color: var(--bb-azul-500); }
body.theme-cx .section-eyebrow { color: var(--cx-laranja-500); }

.section-h2 {
  font-size: clamp(1.65rem, 1.4rem + 1vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

body.theme-bb .section-h2 { font-family: var(--font-bb); color: var(--bb-tinta-950); }
body.theme-cx .section-h2 { font-family: var(--font-cx); color: #FFFFFF; }

.section-p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card-editorial {
  padding: 1.75rem;
  border-radius: var(--radius-bb);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
  position: relative;
  display: flex;
  flex-direction: column;
}

body.theme-bb .card-editorial {
  background: var(--bb-card-bg);
  border: 1px solid rgba(202, 51, 58, 0.12);
  box-shadow: var(--shadow-bb-card);
}
body.theme-bb .card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(202, 51, 58, 0.14);
}

body.theme-cx .card-editorial {
  background: var(--cx-card-bg);
  border: 1px solid rgba(62, 130, 196, 0.2);
  box-shadow: var(--shadow-cx-card);
  border-radius: var(--radius-cx);
}
body.theme-cx .card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-color: rgba(245, 134, 52, 0.4);
}

.card-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

body.theme-bb .card-icon-wrap {
  background: rgba(202, 51, 58, 0.08);
  color: var(--bb-vermelho-600);
}

body.theme-cx .card-icon-wrap {
  background: rgba(62, 130, 196, 0.15);
  color: var(--cx-azul-500);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
body.theme-bb .card-title { font-family: var(--font-bb); color: var(--bb-tinta-950); }
body.theme-cx .card-title { font-family: var(--font-cx); color: #FFFFFF; }

.card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

/* ============================================================
   TIMELINES
   ============================================================ */
.timeline-list {
  position: relative;
  padding-left: 2rem;
  margin: 2.5rem 0;
}
.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(128, 128, 128, 0.25);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid;
}
body.theme-bb .timeline-dot {
  background: var(--bb-creme-50);
  border-color: var(--bb-vermelho-600);
}
body.theme-cx .timeline-dot {
  background: var(--cx-negro-950);
  border-color: var(--cx-laranja-500);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
body.theme-bb .timeline-year { color: var(--bb-vermelho-600); }
body.theme-cx .timeline-year { color: var(--cx-laranja-500); }

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.timeline-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.88;
  margin: 0;
}

/* ============================================================
   DIAGRAMAS PEDAGÓGICOS (Palavras Geradoras & Avaliação)
   ============================================================ */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2.5rem 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-bb);
  position: relative;
}

body.theme-bb .flow-step {
  background: #FFFFFF;
  border: 1px solid rgba(202, 51, 58, 0.15);
  box-shadow: var(--shadow-sm);
}

body.theme-cx .flow-step {
  background: rgba(16, 24, 42, 0.85);
  border: 1px solid rgba(62, 130, 196, 0.25);
  border-radius: var(--radius-cx);
}

.flow-step-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.theme-bb .flow-step-num {
  background: var(--bb-vermelho-600);
  color: #FFFFFF;
}

body.theme-cx .flow-step-num {
  background: var(--cx-azul-500);
  color: #FFFFFF;
}

.flow-step-content h4 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
body.theme-bb .flow-step-content h4 { font-family: var(--font-bb); color: var(--bb-tinta-950); }
body.theme-cx .flow-step-content h4 { font-family: var(--font-cx); color: #FFFFFF; }

.flow-step-content p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.85;
}

/* ============================================================
   PARCERIA POLIEDRO — PRESENÇA ANTECIPADA (DOBRA 2)
   ============================================================ */
.cx-poliedro-early-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.4rem;
  margin: 2.25rem 0 0;
  background: rgba(16, 24, 42, 0.7);
  border: 1px solid rgba(62, 130, 196, 0.25);
  border-radius: var(--radius-cx);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cx-early-badge-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cx-early-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cx-laranja-400);
  background: rgba(245, 134, 52, 0.12);
  border: 1px solid rgba(245, 134, 52, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.cx-early-badge-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cx-texto-secundario);
}

.cx-early-badge-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cx-early-poliedro-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0.98);
  transition: opacity 0.25s, filter 0.25s;
}

.cx-early-poliedro-logo:hover {
  opacity: 1;
  filter: brightness(1.1);
}

/* ============================================================
   HOME — DOBRA 2 — BADGE POLIEDRO COMPACTO
   ============================================================ */
.d2-poliedro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  margin: 0.85rem 0 0.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: fit-content;
  transition: all 0.25s ease;
}

.d2-poliedro-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 134, 52, 0.4);
}

.d2-poliedro-logo-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.d2-poliedro-logo {
  height: 14px;
  width: auto;
  object-fit: contain;
}

.d2-poliedro-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cx-branco-100);
  letter-spacing: 0.01em;
}

/* ============================================================
   SEÇÃO ENRIQUECIDA: SISTEMA POLIEDRO NO COLÉGIO CONNEXUS
   ============================================================ */
.poliedro-editorial-section {
  position: relative;
  background: linear-gradient(175deg, rgba(16, 24, 42, 0.95) 0%, rgba(20, 35, 60, 0.95) 50%, rgba(10, 14, 23, 0.98) 100%);
  border: 1px solid rgba(62, 130, 196, 0.3);
  border-radius: 20px;
  padding: clamp(2.25rem, 5vw, 3.75rem);
  margin: 3.5rem 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.poliedro-editorial-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 134, 52, 0.12) 0%, rgba(62, 130, 196, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ABERTURA SPLIT: ESQUERDA (65%) + DIREITA (35%) */
.poliedro-opening-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

@media (min-width: 900px) {
  .poliedro-opening-split {
    grid-template-columns: 1.65fr 1fr;
    gap: 3rem;
  }
}

.poliedro-opening-left {
  display: flex;
  flex-direction: column;
}

.poliedro-brand-showcase {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 248, 252, 0.92) 100%);
  border: 1px solid rgba(222, 154, 73, 0.35);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 35px rgba(62, 130, 196, 0.15);
  overflow: hidden;
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}

.poliedro-brand-showcase:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 45px rgba(245, 134, 52, 0.2);
}

.poliedro-brand-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 134, 52, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.poliedro-showcase-logo {
  max-width: 230px;
  width: 100%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.poliedro-showcase-badge {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cx-indigo-700);
  background: rgba(30, 58, 95, 0.08);
  border: 1px solid rgba(30, 58, 95, 0.18);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

.poliedro-lead-box {
  background: rgba(10, 14, 23, 0.5);
  border-left: 4px solid var(--cx-laranja-500);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-cx) var(--radius-cx) 0;
  margin-top: 1.25rem;
}

.poliedro-lead-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cx-branco-100);
}

/* GRID DE NÚMEROS DO POLIEDRO */
.poliedro-stats-container {
  margin: 2.5rem 0;
}

.poliedro-stats-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cx-laranja-400);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.poliedro-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.poliedro-stat-card {
  background: rgba(10, 14, 23, 0.7);
  border: 1px solid rgba(62, 130, 196, 0.22);
  border-radius: var(--radius-cx);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.poliedro-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--cx-azul-500);
}

.poliedro-stat-number {
  font-family: var(--font-cx);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cx-laranja-500);
  margin-bottom: 0.4rem;
}

.poliedro-stat-label {
  font-size: 0.9rem;
  color: var(--cx-texto-secundario);
  line-height: 1.4;
  margin: 0;
}

.poliedro-disclaimer-note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cx-texto-secundario);
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-cx);
  border: 1px dashed rgba(159, 180, 204, 0.25);
  margin-top: 0.75rem;
}

/* CARDS DE MATERIAIS: LUMEN E TETRA */
.materials-section-title {
  font-family: var(--font-cx);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  color: #FFFFFF;
}

.materials-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.material-card-full {
  background: rgba(10, 14, 23, 0.75);
  border: 1px solid rgba(62, 130, 196, 0.28);
  border-radius: var(--radius-cx);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.material-card-full:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.material-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.85rem;
}

.badge-lumen {
  color: #5FA3E6;
  background: rgba(62, 130, 196, 0.15);
  border: 1px solid rgba(62, 130, 196, 0.35);
}

.badge-tetra {
  color: var(--cx-laranja-400);
  background: rgba(245, 134, 52, 0.15);
  border: 1px solid rgba(245, 134, 52, 0.35);
}

.material-card-title {
  font-family: var(--font-cx);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.85rem;
}

.material-card-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--cx-texto-secundario);
  margin-bottom: 1.5rem;
}

/* TRÍADE LUMEN: APLICAR -> CONSOLIDAR -> SUPERAR */
.lumen-triad-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.lumen-step-pill {
  flex: 1 1 90px;
  background: rgba(62, 130, 196, 0.12);
  border: 1px solid rgba(62, 130, 196, 0.25);
  border-radius: var(--radius-cx);
  padding: 0.65rem 0.75rem;
  text-align: center;
}

.lumen-step-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #5FA3E6;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.lumen-step-sub {
  font-size: 0.72rem;
  color: var(--cx-texto-secundario);
  line-height: 1.2;
}

.lumen-step-arrow {
  color: var(--cx-azul-500);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* NÚMEROS DA COLEÇÃO TETRA */
.tetra-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.tetra-number-box {
  background: rgba(245, 134, 52, 0.08);
  border: 1px solid rgba(245, 134, 52, 0.2);
  border-radius: var(--radius-cx);
  padding: 0.75rem 1rem;
}

.tetra-val {
  font-family: var(--font-cx);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cx-laranja-400);
  line-height: 1.1;
}

.tetra-lbl {
  font-size: 0.78rem;
  color: var(--cx-texto-secundario);
  line-height: 1.3;
}

/* SISTEMA DE AVALIAÇÃO EDROS */
.evaluation-feature-card {
  background: rgba(10, 14, 23, 0.75);
  border: 1px solid rgba(62, 130, 196, 0.28);
  border-radius: var(--radius-cx);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2.5rem;
}

.evaluation-feature-header {
  margin-bottom: 1.5rem;
}

.edros-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.edros-flow-step {
  flex: 1 1 180px;
  background: rgba(20, 35, 60, 0.6);
  border: 1px solid rgba(62, 130, 196, 0.25);
  border-radius: var(--radius-cx);
  padding: 1rem 1.15rem;
  text-align: center;
  position: relative;
}

.edros-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cx-laranja-400);
  background: rgba(245, 134, 52, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.edros-step-label {
  font-family: var(--font-cx);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.25rem;
}

.edros-step-desc {
  font-size: 0.78rem;
  color: var(--cx-texto-secundario);
  line-height: 1.35;
  margin: 0;
}

.edros-flow-arrow {
  color: var(--cx-azul-400);
  font-size: 1.1rem;
  opacity: 0.6;
}

/* CARD DE TECNOLOGIA P+ E CTA */
.poliedro-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(62, 130, 196, 0.2);
}

.poliedro-pmais-brief {
  flex: 1 1 360px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cx-texto-secundario);
}

.poliedro-pmais-brief strong {
  color: #FFFFFF;
}

.btn-poliedro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  background: linear-gradient(135deg, var(--cx-azul-500) 0%, var(--cx-azul-600) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(62, 130, 196, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s var(--ease-soft);
  cursor: pointer;
  white-space: nowrap;
}

.btn-poliedro-cta:hover {
  background: linear-gradient(135deg, var(--cx-azul-400) 0%, var(--cx-azul-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(62, 130, 196, 0.45);
  color: #FFFFFF;
}

/* ============================================================
   TABELAS ACADÊMICAS (Connexus)
   ============================================================ */
.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-cx);
  border: 1px solid rgba(62, 130, 196, 0.25);
  box-shadow: var(--shadow-cx-card);
}

.academic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.academic-table th {
  background: rgba(30, 58, 95, 0.8);
  color: var(--grupo-ouro-400);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(62, 130, 196, 0.3);
}

.academic-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(62, 130, 196, 0.15);
}

.academic-table tr:last-child td {
  border-bottom: none;
}

.academic-table tr:hover td {
  background: rgba(62, 130, 196, 0.08);
}

/* ============================================================
   HIGHLIGHT CALLOUT / CITAÇÕES
   ============================================================ */
.quote-banner {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-bb);
  margin: 2.5rem 0;
  position: relative;
}

body.theme-bb .quote-banner {
  background: linear-gradient(135deg, rgba(202, 51, 58, 0.06), rgba(255, 111, 94, 0.12));
  border-left: 4px solid var(--bb-vermelho-600);
}

body.theme-cx .quote-banner {
  background: linear-gradient(135deg, rgba(62, 130, 196, 0.1), rgba(245, 134, 52, 0.1));
  border-left: 4px solid var(--cx-laranja-500);
  border-radius: var(--radius-cx);
}

.quote-banner-text {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

body.theme-bb .quote-banner-text {
  font-family: var(--font-bb);
  color: var(--bb-vermelho-600);
}

body.theme-cx .quote-banner-text {
  font-family: var(--font-cx);
  color: #FFFFFF;
}

/* ============================================================
   NAVEGAÇÃO CONTEXTUAL (Institucional <-> Proposta)
   ============================================================ */
.nav-contextual-box {
  margin: 3.5rem 0 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-bb);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

body.theme-bb .nav-contextual-box {
  background: #FFFFFF;
  border: 1px solid rgba(202, 51, 58, 0.18);
  box-shadow: var(--shadow-bb-card);
}

body.theme-cx .nav-contextual-box {
  background: rgba(16, 24, 42, 0.9);
  border: 1px solid rgba(62, 130, 196, 0.3);
  box-shadow: var(--shadow-cx-card);
  border-radius: var(--radius-cx);
}

.nav-contextual-content {
  flex: 1 1 340px;
}

.nav-contextual-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
body.theme-bb .nav-contextual-title { font-family: var(--font-bb); color: var(--bb-tinta-950); }
body.theme-cx .nav-contextual-title { font-family: var(--font-cx); color: #FFFFFF; }

.nav-contextual-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
}

.btn-nav-contextual {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s var(--ease-soft);
  flex-shrink: 0;
}

body.theme-bb .btn-nav-contextual {
  background: var(--bb-azul-500);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(44, 84, 146, 0.25);
}
body.theme-bb .btn-nav-contextual:hover {
  background: var(--bb-tinta-800);
  transform: translateX(4px);
}

body.theme-cx .btn-nav-contextual {
  background: var(--cx-laranja-500);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(245, 134, 52, 0.3);
}
body.theme-cx .btn-nav-contextual:hover {
  background: var(--cx-laranja-600);
  transform: translateX(4px);
}

/* ============================================================
   CARD DE CONTATO FINAL (Single Centered Card)
   ============================================================ */
.contact-section-internal {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.contact-card-centered {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: 26px;
  position: relative;
  text-align: center;
}

body.theme-bb .contact-card-centered {
  background: #FFFFFF;
  border: 1px solid rgba(202, 51, 58, 0.25);
  box-shadow: 0 20px 50px rgba(202, 51, 58, 0.12);
}

body.theme-cx .contact-card-centered {
  background: linear-gradient(165deg, #1A3C5C 0%, #142F48 60%, #0E2238 100%);
  border: 1px solid rgba(222, 154, 73, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  border-radius: 20px;
}

.contact-card-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-avatar-glow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 4px;
}

body.theme-bb .contact-avatar-glow {
  box-shadow: 0 0 20px rgba(202, 51, 58, 0.3);
}

body.theme-cx .contact-avatar-glow {
  box-shadow: 0 0 20px rgba(62, 130, 196, 0.4);
}

.contact-avatar-glow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-card-stage {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}
body.theme-bb .contact-card-stage { color: var(--bb-azul-500); }
body.theme-cx .contact-card-stage { color: var(--grupo-ouro-400); }

.contact-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.25rem 0 0;
}
body.theme-bb .contact-card-title { font-family: var(--font-bb); color: var(--bb-vermelho-600); }
body.theme-cx .contact-card-title { font-family: var(--font-cx); color: #FFFFFF; }

.contact-card-lead {
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  opacity: 0.9;
}

.contact-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .contact-card-actions {
    flex-direction: row;
  }
}

.btn-contact-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s var(--ease-soft);
}

/* Agenda Buttons */
body.theme-bb .btn-contact-agenda {
  background: var(--bb-vermelho-600);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(202, 51, 58, 0.25);
}
body.theme-bb .btn-contact-agenda:hover {
  background: var(--bb-vermelho-500);
  transform: translateY(-2px);
}

body.theme-cx .btn-contact-agenda {
  background: var(--cx-azul-500);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(62, 130, 196, 0.35);
}
body.theme-cx .btn-contact-agenda:hover {
  background: var(--cx-azul-600);
  transform: translateY(-2px);
}

/* WhatsApp Buttons */
.btn-contact-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.btn-contact-whatsapp:hover {
  background: #20BA5C;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER INTERNO
   ============================================================ */
.internal-footer {
  background: #0A0E17;
  color: #FFFFFF;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid-internal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col-internal h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grupo-ouro-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.footer-col-internal p, .footer-col-internal address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

.footer-col-internal a {
  color: var(--cx-texto-secundario);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.footer-col-internal a:hover {
  color: #FFFFFF;
}

.footer-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom-internal {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVIDADE, ACESSIBILIDADE & AJUSTES MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .btn-back-home span {
    display: none;
  }
  .btn-back-home {
    padding: 0.5rem;
    min-width: 38px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .internal-header-inner {
    gap: 0.5rem;
  }
  .header-action-quick,
  .header-action-sec {
    font-size: 0.78rem;
    padding: 0.45rem 0.8rem;
  }
  .topic-nav-wrap {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }
  .topic-pill-link {
    white-space: nowrap;
  }
  .cx-poliedro-early-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .edros-flow-container {
    flex-direction: column;
  }
  .edros-flow-step {
    width: 100%;
  }
  .edros-flow-arrow {
    transform: rotate(90deg);
    margin: -0.25rem 0;
  }
  .nav-contextual-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-nav-contextual {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .brand-title-sub {
    display: none;
  }
  .internal-header-actions {
    gap: 0.35rem;
  }
  .header-action-quick span,
  .header-action-sec span {
    font-size: 0.75rem;
  }
  .materials-cards-grid {
    grid-template-columns: 1fr;
  }
  .tetra-numbers-grid {
    grid-template-columns: 1fr;
  }
  .poliedro-footer-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-poliedro-cta {
    width: 100%;
  }
}

/* ============================================================
   CLICKABILITY & FOCUS AUDIT REINFORCEMENTS
   ============================================================ */
a.btn-back-home,
a.brand-lockup-internal,
a.header-action-quick,
a.header-action-sec,
a.topic-pill-link,
a.btn-nav-contextual,
a.btn-contact-action,
a.btn-poliedro-cta {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cx-laranja-500);
  outline-offset: 3px;
}

body.theme-bb a:focus-visible,
body.theme-bb button:focus-visible {
  outline: 2px solid var(--bb-vermelho-600);
  outline-offset: 3px;
}

/* Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
