/* ====================================================
   MISWYLLTIA ONLINE - GLOBAL STYLES (FOUNDATION & SHARED COMPONENTS)
   ==================================================== */

/* --- FONTS (@font-face local) --- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype-variations'),
       url('../assets/fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf') format('truetype-variations'),
       url('../assets/fonts/IBMPlexSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../assets/fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations'),
       url('../assets/fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* --- CORES PRINCIPAIS (DESIGN SYSTEM MISWYLLTIA) --- */
  --color-teal: #3f9b9c;
  --color-teal-dark: #2c7273;
  --color-teal-light: #eaf5f5;
  --color-red: #F73947;
  --color-red-dark: #C92431;
  --color-off-white: #f2f2f2;
  --color-white: var(--color-off-white);
  --color-dark: #1a1a1a;
  --color-gray-muted: #666666;
  --color-border: #e2e8f0;

  /* --- FONTS --- */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  /* --- ESPAÇAMENTOS --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* --- BORDAS --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* --- ALTURA DO HEADER --- */
  --header-height: 80px;

  /* --- SISTEMA DE DROP SHADOW SIMPLES E UNIFICADO --- */
  --shadow-simple: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: #f2f2f2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Wrapper principal */
#site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  width: 100%;
  margin: 0;
  margin-top: var(--header-height);
  padding: 0;
}

/* ====================================================
   TIPOGRAFIA & SISTEMA DE COMPONENTES DE UI (GLOBAL)
   ==================================================== */

/* --- HEADINGS (TÍTULOS) --- */
.heading-xl,
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.heading-lg,
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}

.heading-md,
.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.heading-sm,
.infobox-title,
.idents-subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

/* --- ESPAÇAMENTO ENTRE O FIM DE UM PARÁGRAFO/TEXTO E O HEADING SEGUINTE --- */
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6,
p + .section-title, p + .heading-xl, p + .heading-lg, p + .heading-md, p + .heading-sm,
.text-body + h1, .text-body + h2, .text-body + h3, .text-body + h4, .text-body + h5, .text-body + h6,
.text-body + .section-title, .text-body + .heading-lg, .text-body + .heading-md, .text-body + .heading-sm,
.page-subtitle + h1, .page-subtitle + h2, .page-subtitle + h3, .page-subtitle + h4, .page-subtitle + h5, .page-subtitle + h6,
.page-subtitle + .section-title, .page-subtitle + .heading-lg, .page-subtitle + .heading-md, .page-subtitle + .heading-sm,
.section-description + h1, .section-description + h2, .section-description + h3, .section-description + h4, .section-description + h5, .section-description + h6,
.section-description + .section-title, .section-description + .heading-lg, .section-description + .heading-md, .section-description + .heading-sm {
  margin-top: var(--space-10);
}

/* --- TEXTOS DE CORPO (BODY TEXT) --- */
.text-lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.6;
}

.text-body,
.page-subtitle,
.section-description {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  max-width: 840px;
}

.text-muted {
  color: var(--color-gray-muted);
}

.text-sm,
.text-caption,
.infobox-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.text-xs,
.infobox-label,
.meta-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* --- BOTÕES & CONTROLES DE UI --- */
.btn-ui,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background-color: var(--color-teal);
  color: #f5f5f5;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-simple);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-ui:hover,
.btn-primary:hover {
  background-color: var(--color-teal-dark);
}

.btn-ui:active,
.btn-primary:active {
  transform: scale(0.96);
}

.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: currentColor;
  border: 1.5px solid currentColor;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover,
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:active,
.btn-outline:active {
  transform: scale(0.96);
}

/* --- BADGES & ELEMENTOS MENORES --- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  line-height: 1;
}

.page-header-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-8) var(--space-10) var(--space-8);
}

@media (max-width: 768px) {
  .page-header-section {
    padding: var(--space-10) var(--space-4) var(--space-6) var(--space-4);
  }
}

/* ====================================================
   HEADER BRANCO / INSTITUCIONAL (GLOBAL)
   ==================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #f2f2f2;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  height: 62px;
  background-color: rgba(242, 242, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-simple);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1002;
}

.header-logo img {
  height: 58px;
  width: auto;
  display: block;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .header-logo img {
  height: 42px;
}

.header-right,
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  position: relative;
  padding: var(--space-2) 0;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link:active,
.nav-link.active {
  color: var(--color-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  border-radius: var(--radius-full);
  background-color: var(--color-red);
  transition: width 0.25s cubic-bezier(0.25, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link:active::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* --- MOBILE HAMBURGER BUTTON --- */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  z-index: 1002;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.mobile-nav-toggle:hover {
  background-color: transparent;
}

.mobile-nav-toggle:active {
  transform: scale(0.92);
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.mobile-nav-toggle .hamburger-bar {
  width: 22px;
  height: 2.5px;
  background-color: var(--color-teal-dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background-color 0.25s ease;
  transform-origin: center;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--color-red);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--color-red);
}

/* --- MOBILE NAVIGATION DRAWER --- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(242, 242, 242, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid var(--color-teal-light);
  padding: calc(var(--header-height) + 12px) var(--space-6) var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav-item {
  width: 100%;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  min-height: 48px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link.active {
  background-color: var(--color-teal-light);
  color: var(--color-red);
  transform: translateX(4px);
}

.mobile-nav-link .nav-arrow {
  opacity: 0.5;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .site-header {
    height: 58px;
  }
  .header-container {
    padding: 0 var(--space-4);
  }
  .header-logo img {
    height: 34px !important;
  }
  .site-header.scrolled {
    height: 52px;
  }
  .site-header.scrolled .header-logo img {
    height: 28px !important;
  }
  .header-right {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
}

/* ====================================================
   COMPONENTES GLOBAIS: BOTÕES PILL SHAPED
   ==================================================== */
.btn-pill,
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  align-self: flex-start;
  padding: 8px 10px 8px 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
  user-select: none;
  cursor: pointer;
}

.btn-pill:active,
.btn-explore:active {
  transform: scale(0.94);
}

.btn-pill .btn-text,
.btn-explore .btn-text {
  letter-spacing: 0.01em;
}

.btn-pill .btn-icon,
.btn-explore .btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-red-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-pill .btn-icon svg,
.btn-explore .btn-icon svg {
  stroke: var(--color-white);
  display: block;
}

/* ====================================================
   COMPONENTES GLOBAIS: EYEBROWS (PILL BADGES)
   ==================================================== */
.eyebrow,
.eyebrow-teal,
.eyebrow-white {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5f5f5;
  background-color: var(--color-teal-dark);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-top: var(--space-4);
  margin-bottom: var(--space-3);
}

/* ====================================================
   SITEMAP / ALL PAGES CATEGORY CARDS
   ==================================================== */
.all-pages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
  margin-bottom: var(--space-16);
}

@media (max-width: 860px) {
  .all-pages-grid {
    grid-template-columns: 1fr;
  }
}

.sitemap-card {
  background-color: #f5f5f5;
  border-radius: 32px;
  padding: var(--space-8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-simple);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
}

.sitemap-card-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2.5px solid var(--color-teal-light);
  letter-spacing: -0.015em;
}

.sitemap-links-list {
  list-style-type: disc;
  padding-left: var(--space-6);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sitemap-link-item {
  color: var(--color-teal);
}

.sitemap-link-item a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.sitemap-link-item a:hover {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ====================================================
   TEMA TEAL (PARA ALL PAGES E OUTRAS PÁGINAS)
   ==================================================== */
body.teal-theme {
  background-color: var(--color-teal-dark);
  color: #f5f5f5;
}

body.teal-theme .page-header-section {
  background-color: transparent;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: var(--space-8);
}

body.teal-theme .page-header-top {
  background-color: var(--color-teal);
  width: 100%;
  padding: var(--space-12) 0 var(--space-8) 0;
}

body.teal-theme .page-header-top.john-header-top {
  background-color: #fbb03b;
  background-image: url('../assets/johnpattern.svg');
  background-repeat: repeat;
  background-size: 400px 200px;
  background-position: top left;
}

body.teal-theme .page-header-top.vera-header-top {
  background-color: #6e2ba0;
  background-image: url('../assets/verapattern.svg');
  background-repeat: repeat;
  background-size: 400px 200px;
  background-position: top left;
}

body.teal-theme .header-divider {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  margin-bottom: var(--space-8);
}

body.teal-theme .page-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  color: #f5f5f5;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
  text-align: left;
}

body.teal-theme .page-subtitle,
body.teal-theme .section-description,
body.teal-theme .text-body {
  max-width: 840px;
  margin: 0 0 var(--space-4) 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* John & Page Intro Container & Horizontal Infobox */
.john-intro-container,
.page-intro-container {
  max-width: 1200px;
  margin: 0 auto var(--space-8) auto;
  padding: 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

body.teal-theme .john-intro-main .page-subtitle,
body.teal-theme .page-intro-main .page-subtitle {
  max-width: 840px;
  margin: 0 0 var(--space-4) 0;
  padding: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.94);
  text-align: left;
}

/* Keep wide tables inside the mobile layout while allowing horizontal scrolling. */
.john-intro-main {
  min-width: 0;
}

body.teal-theme .john-intro-main .page-subtitle:last-child,
body.teal-theme .page-intro-main .page-subtitle:last-child {
  margin-bottom: 0;
}

/* Brand Logo Section Layout (Side-by-side) */
.brand-logo-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-8);
  max-width: 860px;
  margin-bottom: var(--space-8);
}

.brand-logo-text {
  flex: 1 1 0%;
  min-width: 0;
}

body.teal-theme .john-intro-main .brand-logo-text .page-subtitle {
  max-width: 100%;
}

.brand-logo-media {
  flex: 0 0 340px;
  width: 340px;
  max-width: 100%;
}

.brand-logo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-simple);
}

@media (max-width: 768px) {
  .brand-logo-section {
    flex-direction: column;
  }
  .brand-logo-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
  .about-right,
  .about-question-mark {
    display: none !important;
  }
}

.john-infobox {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: var(--space-6);
  backdrop-filter: blur(10px);
  color: #f5f5f5;
  box-shadow: var(--shadow-simple);
}

.infobox-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--space-4) 0;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: #f5f5f5;
  letter-spacing: -0.01em;
  text-align: left;
}

.infobox-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
}

.infobox-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.infobox-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.infobox-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  line-height: 1.4;
}

/* Idents Presentation & Carousel Gallery (Left Aligned) */
.idents-carousel-container {
  max-width: 840px;
  height: 460px;
  margin: var(--space-4) 0 0 0;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-simple);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.idents-carousel-container .carousel-wrapper,
.idents-carousel-container .carousel-track-container,
.idents-carousel-container .slide-image-card,
.idents-carousel-container .slide-image-card img {
  border-radius: 32px !important;
}

.idents-subtitle-box {
  text-align: left;
  margin: var(--space-6) 0 var(--space-2) 0;
}

.idents-subtitle {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #f5f5f5;
  margin: 0;
  text-align: left;
}

.idents-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 var(--space-8) 0;
  max-width: 840px;
}

.idents-list li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.idents-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-teal);
  flex-shrink: 0;
}

body.teal-theme .idents-list li {
  color: rgba(255, 255, 255, 0.9);
}

body.teal-theme .idents-list li::before {
  background-color: rgba(255, 255, 255, 0.6);
}

.ident-slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #f5f5f5;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  z-index: 5;
  box-shadow: var(--shadow-simple);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .idents-carousel-container {
    height: 320px;
  }
}



body.teal-theme .section-title {
  color: #f5f5f5;
}

body.teal-theme .section-description {
  color: rgba(255, 255, 255, 0.85);
}

body.teal-theme .sitemap-card {
  background-color: var(--color-teal);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  box-shadow: var(--shadow-simple);
  transition: border-color 0.2s ease;
}

body.teal-theme .sitemap-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

body.teal-theme .sitemap-card-title {
  color: #f5f5f5;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

body.teal-theme .sitemap-link-item {
  color: #f5f5f5;
}

body.teal-theme .sitemap-link-item a {
  color: #f5f5f5;
  transition: color 0.2s ease;
}

body.teal-theme .sitemap-link-item a:hover {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.teal-theme .schedule-table-wrapper {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  box-shadow: var(--shadow-simple);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

body.teal-theme .schedule-table th {
  background-color: rgba(255, 255, 255, 0.22);
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 14px 18px;
}

body.teal-theme .schedule-table td {
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 18px;
}

body.teal-theme .schedule-table tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.07);
}

body.teal-theme .schedule-table tr:hover td {
  background-color: transparent;
}

body.teal-theme .schedule-time {
  color: #7ee2e3;
  font-weight: 700;
}

body.teal-theme .schedule-name {
  color: #f5f5f5;
}

body.teal-theme .film-highlight-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: var(--space-6);
  color: #f5f5f5;
}

body.teal-theme .film-highlight-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.7;
}

body.teal-theme .film-card {
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-simple);
}

body.teal-theme .film-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

body.teal-theme .film-title {
  color: #f5f5f5;
}

body.teal-theme .film-year {
  color: rgba(255, 255, 255, 0.75);
}

/* ====================================================
   FOOTER TEAL (GLOBAL)
   ==================================================== */
.site-footer {
  width: 100%;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: var(--space-12) 0;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease;
}

.footer-logo-img:hover {
  opacity: 0.85;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.copyright-link {
  color: #f5f5f5;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.copyright-link:hover {
  color: #7ee2e3;
  opacity: 1;
}

/* ====================================================
   SCHEDULE TABLES & FILM CATALOG STYLES
   ==================================================== */
.content-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto var(--space-12) auto;
  padding: 0 var(--space-8);
}

@media (max-width: 768px) {
  .content-section {
    padding: 0 var(--space-4);
    margin-bottom: var(--space-8);
  }
  .john-intro-container,
  .page-intro-container {
    padding: 0 var(--space-4);
    margin-bottom: var(--space-6);
  }
  .infobox-list {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .idents-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px 14px;
  }
  .sitemap-card {
    padding: var(--space-6);
    border-radius: 24px;
    min-height: auto;
  }
  .sitemap-card-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-4);
  }
}

.section-heading-box {
  margin-bottom: var(--space-6);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-2);
}

.section-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-gray-muted);
}

/* Tabela de Programação */
.schedule-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  background-color: #f5f5f5;
  border-radius: 20px;
  box-shadow: var(--shadow-simple);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-10);
  overflow-y: hidden;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 620px;
}

@media (max-width: 600px) {
  .schedule-table {
    min-width: 540px;
    font-size: 0.9rem;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
  }
}

.teal-theme .schedule-table-wrapper {
  scrollbar-color: rgba(255, 255, 255, 0.65) transparent;
}

.schedule-table th {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f5f5f5;
  background-color: var(--color-teal);
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.schedule-table td {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-dark);
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: middle;
}

.schedule-table tr:nth-child(even) td {
  background-color: rgba(0, 0, 0, 0.02);
}

.schedule-table tr:hover td {
  background-color: rgba(63, 155, 156, 0.06);
}

.schedule-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-teal-dark);
  white-space: nowrap;
}

.schedule-name {
  font-weight: 600;
  color: var(--color-dark);
}

/* Badges / Text labels */
.badge-res {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0;
  background: none !important;
  border: none !important;
  border-radius: 0;
  white-space: nowrap;
}

.badge-res-720,
.badge-res-360 {
  background: none !important;
  color: inherit;
}

body.teal-theme .badge-res-720,
body.teal-theme .badge-res-360 {
  background: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.85);
}

.badge-tag {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0;
  background: none !important;
  border: none !important;
  border-radius: 0;
  color: inherit;
  margin-left: 6px;
  white-space: nowrap;
}

.badge-tag-indie,
body.teal-theme .badge-tag-indie {
  background: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.75);
}

/* Seção de Filmes */
.film-highlight-card {
  background-color: #f5f5f5;
  border-radius: 28px;
  padding: var(--space-8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-simple);
  margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
  .film-highlight-card {
    padding: var(--space-5);
    border-radius: 20px;
    margin-bottom: var(--space-6);
  }
}

.film-highlight-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-dark);
  margin-bottom: var(--space-4);
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (max-width: 600px) {
  .film-grid {
    grid-template-columns: 1fr;
  }
}

.film-card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-simple);
}

.film-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.film-year {
  font-size: 0.85rem;
  color: var(--color-gray-muted);
}
