/* Institutional blue glassmorphism style sheet */
:root {
  --primary: #1d4ed8;
  --primary-glow: rgba(29, 78, 216, 0.15);
  --secondary: #3b82f6;
  --secondary-glow: rgba(59, 130, 246, 0.15);
  --accent: #dc2626;
  --accent-glow: rgba(220, 38, 38, 0.1);
  --warning: #d97706;
  --warning-glow: rgba(217, 119, 6, 0.1);
  --success: #059669;
  --success-glow: rgba(5, 150, 105, 0.1);
  --bg-color: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(148, 163, 184, 0.22);
  --card-hover-bg: rgba(255, 255, 255, 0.92);
  --card-hover-border: rgba(59, 130, 246, 0.35);
  --text-color: #1e293b;
  --text-muted: #64748b;
  --font-title: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  color-scheme: light;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image: linear-gradient(rgba(241, 245, 249, 0.88), rgba(241, 245, 249, 0.94)), url('assets/bookshelf_bg.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: var(--primary);
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: 100px;
  right: -50px;
  background: var(--secondary);
}

/* Links & Typography */
a {
  color: inherit;
  transition: all 0.2s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  border-radius: 0 0 16px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.brand-dot {
  color: var(--secondary);
}

nav {
  display: flex;
  gap: 0.5rem;
}

nav a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
  background: rgba(29, 78, 216, 0.08);
}

/* Main Container */
main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* Glass Panels */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-2px);
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(85vh - 5rem);
  padding: 3rem 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.2);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #0f172a, #1d4ed8, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.6);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--card-border);
  color: var(--text-color);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.button-full {
  width: 100%;
}

/* Step list */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  width: 100%;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.step-num {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
}

.step-list li strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.step-list li span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Media - Dashboard Widget */
.hero-media-wrapper {
  position: relative;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.visual-portal-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mode-indicator {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { opacity: 0.8; box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.portal-status-display {
  margin-bottom: 2rem;
}

.status-num {
  display: block;
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

.status-lbl {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.quick-status-tip {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections Global Styling */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--card-border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

/* Incident Board Layout */
.incident-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.incident-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* History List Card */
.incident-list-card {
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

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

.incident-list-header h3 {
  font-size: 1.25rem;
}

.incident-stats-badge {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.incident-list-container {
  flex-grow: 1;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Scrollbar Customization */
.incident-list-container::-webkit-scrollbar {
  width: 6px;
}

.incident-list-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
}

.incident-list-container::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 3px;
}

.incident-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.incident-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.incident-placeholder {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 4rem 1rem;
}

.incident-item {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--card-border);
  border-left-width: 4px;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.incident-item:hover {
  background: rgba(255, 255, 255, 0.8);
}

.incident-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.incident-protocol {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
}

.incident-status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Status specific coloring */
.incident-item.status-pendente {
  border-left-color: var(--warning);
}
.incident-item.status-pendente .incident-status-pill {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--warning);
}

.incident-item.status-em-manutenção {
  border-left-color: var(--primary);
}
.incident-item.status-em-manutenção .incident-status-pill {
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.3);
  color: var(--primary);
}

.incident-item.status-resolvido {
  border-left-color: var(--success);
  opacity: 0.85;
}
.incident-item.status-resolvido .incident-status-pill {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: var(--success);
}

.incident-item-body strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.incident-category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.incident-desc-preview {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.incident-item-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.65rem;
}

/* Voting Grid Layout */
.voting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.voting-card h3,
.voting-results h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.vote-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.voting-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vote-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.option-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.option-details strong {
  font-size: 1rem;
  color: #0f172a;
}

.option-details span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vote-action-btn {
  min-width: 100px;
}

/* Results Progress Bars */
.result-bar-group {
  display: flex;
  flex-direction: column;
}

.result-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.result-progress-bg {
  height: 10px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.result-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 6px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-count-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  align-self: flex-end;
}

/* Tips / Notices feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
}

.feature-index {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover-bg);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-card:hover::before {
  opacity: 1;
}

.member-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.08);
  background-color: var(--bg-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-img {
  border-color: var(--secondary);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-avatar-placeholder {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #060913;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-avatar-placeholder {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-card span {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.member-card strong {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.member-card:hover strong {
  opacity: 0.8;
  transform: translateY(0);
}

/* Footer Section */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
}

footer a:hover {
  color: var(--secondary);
}

/* MODAL OVERLAY & INCIDENT RECEIPT STYLING */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.ticket-modal-card {
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  font-family: monospace;
}

.modal-overlay.active .ticket-modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #666666;
  line-height: 1;
}

.modal-close:hover {
  color: #111111;
}

.ticket-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 2px dashed #cccccc;
}

.ticket-title {
  display: block;
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: #222222;
}

.ticket-logo {
  font-size: 0.85rem;
  color: #888888;
}

.ticket-body {
  padding: 1.5rem 0;
}

.ticket-serial {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.ticket-serial strong {
  color: var(--primary);
}

.ticket-details {
  margin-bottom: 1.5rem;
}

.ticket-details p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.ticket-details strong {
  color: #555555;
}

.ticket-desc-box {
  margin-top: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
  border-radius: 6px;
}

.ticket-desc-box p {
  margin-top: 0.25rem;
  margin-bottom: 0;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-all;
}

.ticket-divider {
  border-top: 1px dashed #dddddd;
  margin: 1.25rem 0;
}

.ticket-footer {
  text-align: center;
}

.ticket-instruction {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
  text-align: justify;
}

/* Responsive Styling */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-copy {
    align-items: center;
  }
  
  .hero-media-wrapper {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
  
  .incident-layout {
    grid-template-columns: 1fr;
  }
  
  .voting-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
  }
  
  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .step-list {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

/* Insumos & Apoio Sections Styles */
.insumos-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.insumos-form-card h3, .insumos-stock-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--card-border);
}

.insumos-stock-card {
  display: flex;
  flex-direction: column;
}

.stock-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stock-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--card-border);
  font-size: 0.95rem;
}

.stock-list li:last-child {
  border-bottom: none;
}

.badge-tag-stock {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-tag-stock.instock {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.badge-tag-stock.lowstock {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid var(--warning);
  color: var(--warning);
}

.badge-tag-stock.outstock {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.stock-warning-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
}

/* Apoio Central Grid */
.apoio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.apoio-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  min-height: 280px;
  transition: all 0.3s ease;
}

.apoio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.3);
}

.subject-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.apoio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.apoio-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.apoio-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* Responsive adjustments for Insumos and Apoio */
@media (max-width: 992px) {
  .insumos-layout {
    grid-template-columns: 1fr;
  }
  
  .apoio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

