/* ==========================================================================
   S.M. SISTEMAS MODULARES LTDA. - WEBSITE CORPORATIVO
   CSS Moderno, Responsivo e Otimizado para Publicação Online
   ========================================================================== */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-rgb: 15, 23, 42;
  
  --brand: #0284c7;
  --brand-light: #38bdf8;
  --brand-dark: #0369a1;
  --brand-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --brand-cyan: #06b6d4;
  
  --accent: #22b8f0;
  --accent-hover: #0e9cd1;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP UTILITY BAR (CORPORATIVA & LIMPA)
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #cbd5e1;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.top-location i {
  color: var(--brand-light);
}

.top-right-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-schedule {
  color: #94a3b8;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-contact-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.top-contact-link:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-fast);
  width: 100%;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.site-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-wrapper:hover .site-logo {
  transform: scale(1.03);
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-link i {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
  background-color: rgba(2, 132, 199, 0.08);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-input {
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.85rem 0.45rem 2.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-main);
  width: 140px;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--brand);
  width: 175px;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  color: var(--text-muted);
  font-size: 0.825rem;
  pointer-events: none;
}

/* Botão Contato no Header */
.btn-contact-header {
  background: var(--brand-gradient);
  color: #ffffff !important;
  border: none;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-contact-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SLIDESHOW / CAROUSEL
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background-color: #0b1329;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  max-height: 48vh;
  min-height: 280px;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.03);
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 19, 41, 0.85) 0%,
    rgba(11, 19, 41, 0.4) 50%,
    rgba(11, 19, 41, 0.2) 100%
  );
  display: flex;
  align-items: center;
}

.slide-content {
  color: #ffffff;
  max-width: 650px;
  animation: slideContentUp 0.8s ease-out;
}

@keyframes slideContentUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 165, 233, 0.25);
  backdrop-filter: blur(8px);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.slide-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slide-desc {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.slide-btn:hover {
  background: var(--brand-light);
  color: var(--primary);
  transform: translateX(4px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 20;
}

.slider-arrow:hover {
  background: var(--brand);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 1.25rem; }
.slider-arrow.next { right: 1.25rem; }

.slider-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 20;
}

.slider-dot {
  width: 32px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.slider-dot.active {
  background: var(--brand-light);
  width: 50px;
}

/* ==========================================================================
   QUICK SHORTCUTS BAR
   ========================================================================== */
.quick-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.quick-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--text-main);
}

.quick-item:hover {
  background: #ffffff;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.quick-icon.blue { background: rgba(2, 132, 199, 0.12); color: var(--brand); }
.quick-icon.green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.quick-icon.amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.quick-icon.purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }

.quick-info {
  display: flex;
  flex-direction: column;
}

.quick-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.quick-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  max-width: 650px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: var(--radius-full);
}

.filter-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab.active, .filter-tab:hover {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* Interactive Card Item */
.portal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.portal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0f172a;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portal-card:hover .card-thumb {
  transform: scale(1.08);
}

.card-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.4rem;
  transition: color var(--transition-fast);
}

.portal-card:hover .card-title {
  color: var(--brand);
}

.card-excerpt {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: auto;
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--brand);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0;
  transition: all var(--transition-fast);
}

.btn-readmore i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.btn-readmore:hover {
  color: var(--brand-dark);
}

.btn-readmore:hover i {
  transform: translateX(4px);
}

.card-meta-icon {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   BANNER INSTITUCIONAL (ORIGINAL REINVENTADO)
   ========================================================================== */
.support-banner-section {
  padding: 2rem 0 3.5rem;
}

.support-banner-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(2, 132, 199, 0.2);
  min-height: 200px;
  display: flex;
  align-items: center;
  background-color: #0b1329;
}

.support-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: blur(1px);
}

.support-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.support-text-col {
  max-width: 600px;
}

.support-tag {
  color: var(--brand-light);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.support-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.support-description {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.support-actions-col {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-support-primary {
  background: var(--brand);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-support-primary:hover {
  background: var(--brand-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-support-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-support-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   NOVA SEÇÃO DE CONTATO & LOCALIZAÇÕES
   ========================================================================== */
.section-contact {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

/* Coluna de Unidades */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-unit-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-unit-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.unit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.12);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.unit-info {
  display: flex;
  flex-direction: column;
}

.unit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.unit-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.unit-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.unit-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-channels-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.channels-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.channels-title i {
  color: var(--brand);
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.channels-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.channels-list li i {
  color: var(--brand);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.channels-list li div {
  display: flex;
  flex-direction: column;
}

.channels-list li strong {
  color: var(--primary);
  font-size: 0.8rem;
}

.channels-list li span {
  color: var(--text-muted);
}

/* Coluna Formulário */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-title i {
  color: var(--brand);
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-col {
  flex: 1;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 0.9rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-main);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-form-submit {
  width: 100%;
  background: var(--brand-gradient);
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.3);
}

.btn-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -1px rgba(2, 132, 199, 0.4);
}

/* ==========================================================================
   FOOTER (ATUALIZADO & LIMPO)
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--brand);
}

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

.footer-link {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.footer-contact-item i {
  color: var(--brand-light);
  margin-top: 0.2rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.back-to-top {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background: var(--brand);
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL DE DETALHES (LEIA MAIS)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-title-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.12);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-detail-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}

.modal-detail-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

.modal-detail-text p {
  margin-bottom: 0.85rem;
}

.modal-detail-bullets {
  margin-left: 1.2rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.modal-detail-bullets li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.data-table th, .data-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.data-table th {
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.data-table tr:hover td {
  background: #f1f5f9;
}

/* ==========================================================================
   OFFCANVAS MOBILE MENU
   ========================================================================== */
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2010;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.offcanvas-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 2020;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.offcanvas-backdrop.open .offcanvas-drawer {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.offcanvas-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offcanvas-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.offcanvas-link:hover, .offcanvas-link.active {
  background: #f0f9ff;
  color: var(--brand);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .cards-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cards-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .slider-container {
    height: 320px;
  }
  
  .slide-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .cards-grid, .cards-grid-5 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .search-input {
    width: 130px;
  }
  
  .search-input:focus {
    width: 180px;
  }
  
  .slide-title {
    font-size: 1.35rem;
  }
  
  .slide-desc {
    font-size: 0.85rem;
    display: none;
  }
  
  .support-card-content {
    padding: 1.5rem;
  }
  
  .support-heading {
    font-size: 1.4rem;
  }
}
