:root {
  --blue-dark: #1e3a8a;
  --blue-light: #3b82f6;
  --white: #ffffff;
  --text-dark: #1f2937;
  --font-family: "Poppins", sans-serif;
  --sidebar-bg: #f8fafc;
  --sidebar-hover: #3b82f6;
  --sidebar-active: #1e3a8a;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #fff;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blue-dark);
  padding: 1%;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  object-fit: contain;
}

.logo-text {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  padding: 10px 10px; 
  align-items: center;
}


div.nav-links div {
  margin-right: 50px;
}

div.nav-links div:last-child {
  margin-right: 10px;
}

div.nav-links div a {
  color: var(--white);
  text-decoration: none;
  padding: 8px;
  border-radius: 0.3rem;
  transition: background-color 0.3s ease;
}

div.nav-links div a:hover {
  background-color: var(--blue-light);
}


/* ========================= */
/*        MEDIA QUERY        */
/* ========================= */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 3%;
  }

  .logo-area {
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
    width: 100%;
  }

  div.nav-links div {
    margin: 10px 0;
  }

  div.nav-links div:last-child {
    margin-right: 0;
  }

  div.nav-links div a {
    display: block;
    width: 100%;
    padding: 10px;
  }
}



.content {
  padding: 100px 20px 0;
  padding-bottom: 19rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content h1 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 30px;
  border-left: 5px solid #3b82f6;
  padding-left: 10px;
}

.modulo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.modulo-card {
  background-color: #f3f4f6;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.modulo-card a {
  display: block;
  font-weight: bold;
  font-size: 1.1rem;
  color: #1e3a8a;
  text-decoration: none;
  margin-bottom: 10px;
}

.modulo-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.modulo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.progresso {
  font-size: 20px !important;
  font-style: bold !important;
  text-shadow:2px 2px 2px lightgreen;
  color:green !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  
}

.page-container {
  display: flex;
  margin-top: 70px;
  min-height: calc(100vh - 110px);
}

.sidebar {
  position: absolute;
  top: 90px;
  left: 0;
  width: 280px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  border-right: 1px solid var(--border-color);
  box-shadow: 4px 0 20px rgba(30, 58, 138, 0.08);
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-bottom-right-radius: 10px;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.sidebar-header {
  background: transparent;
  color: var(--blue-dark);
  padding: 2rem 1.5rem;
  border-bottom: none;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.sidebar-header h2 {
  color: var(--blue-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.sidebar-header p {
  color: var(--blue-light);
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1rem;
}

/* ==================== CORREÇÃO DOS LINKS E CHECKBOXES ==================== */
.sidebar-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sidebar-menu a span {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.sidebar-menu a .link-text {
  flex: 1;
  line-height: 1.3;
  margin-right: 10px;
  word-wrap: break-word;
}

.check {
  flex-shrink: 0;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #3b82f6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.check:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.check:checked::after {
  content: "✔";
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: 0px;
  left: 3px;
}
/* ======================================================================== */

.sidebar-menu a:hover {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--blue-dark);
  transform: translateX(8px);
  border-color: var(--blue-light);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.active {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: var(--blue-dark) !important; 
  transform: translateX(8px) !important;
  border-color: var(--blue-light) !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
}

.artigo {
  flex: 1;
  margin-left: 300px;
  padding: 2rem;
  max-width: 1000px;
  min-height: calc(100vh - 150px);
}

@media(max-width:900px){
  .artigo{
    margin-top: 100px;
  }
}

.titles {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid #3b82f6;
  padding-left: 10px;
}

.text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.artigoListas{
  margin-bottom: 1.2rem;

}

.itemLista{
  margin-bottom: 1.2rem;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.nav-btn {
  background-color: #1e3a8a;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.nav-btn:hover {
  background-color: #3b82f6;
  transform: scale(1.05);
}

.contentlinks {
  background-color: #f3f4f6;
  border-left: 5px solid #3b82f6;
  border-radius: 8px;
  margin: 15px 0;
  padding: 15px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.links{
  text-decoration: none;
  cursor: pointer;
  color: blue;
  transition: text-shadow, 0.3s ease ;
}
.links:hover{
  text-decoration: underline;
  text-shadow: 3px 3px 5px #94a3b8;

}

.contentlinks a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 1rem;
  display: block;
}

.contentlinks:hover {
  background-color: #e0e7ff;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

footer {
  position: relative;
  bottom: 0;
  text-align: center;
  padding: 0.2rem;
  background-color: var(--blue-dark);
  color: var(--white);
  margin-top: auto;
}

@media (max-width: 900px) {
  .sidebar {
    width: 240px;
  }
  .artigo {
    margin-left: 260px;
    padding: 1.5rem;
  }
}

@media (max-width: 700px) {
  .page-container {
    flex-direction: column;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    box-shadow: none;
    border-right: none;
    padding: 0;
  }
  .sidebar-header {
    padding: 1.5rem 1rem;
  }
  .sidebar-menu {
    padding: 1rem;
  }
  .artigo {
    margin-left: 0;
    padding: 1.5rem;
  }
}


.grafico_progrecao{
  width: 100% !important;
  height: 100% !important;
}

.grafico_progresso_total{
  width: 40px;
  height: 40px;
  display: block;
  position: relative;
}


/* Área dos gráficos */
.titulo {
  margin-left: 5%;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}

.area_graficos {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2rem;
  margin: 2rem 5%;
  justify-content: center; 
}

.graficos {
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.graficos:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.graficos canvas {
  width: 100%;
  height: auto;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: block;
}

/* Texto abaixo do gráfico */
.graficos p {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}


@media (max-width: 1024px) {
  .area_graficos {
    grid-template-columns: auto auto;
  }
}

@media (max-width: 600px) {
  .area_graficos {
    grid-template-columns: auto; 
  }

  .titulo {
    font-size: 1.8rem;
    text-align: center;
    margin-left: 0;
  }

  .graficos {
    padding: 1rem;
  }

  .graficos p {
    font-size: 1rem;
  }
}

/*fim área gráficos*/

.marcacao_erro{
  position: absolute;
  padding: 5px 8px;
  background-color: red;
  color:  white;
  border-radius: 4px;
  display: none;
  pointer-events: none;
  z-index: 1000;
  font-size: 14px;
}

.barra_tempo{
  width: 100%;
  height: 10px;
  background-color: white;
  border-radius: 4px;
  display: block;
}

#mensagem-flutuante{
  position: absolute;
  padding: 8px 12px;
  background-color: lightblue;
  color: black;
  border-radius: 4px;
  display: none;
  pointer-events: none;
  z-index: 1000;
  font-size: 14px;
}

/* Estilos para a imagem do Scrum */

.scrum-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.scrum-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsividade para mobile */
@media (max-width: 480px) {
    .scrum-image-container {
        margin: 20px auto;
    }
}



/* CERTIFICADO */
.certificado-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-top: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.certificado-section:not(.certificado-bloqueado) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.0); }
}

/* CABEÇALHO DO CERTIFICADO */
.certificado-header {
    text-align: center;
    margin-bottom: 2rem;
}

.certificado-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.certificado-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.certificado-descricao {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* PROGRESSO VISUAL */
.certificado-progresso-visual {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.progresso-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.progresso-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progresso-numero {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.progresso-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.progresso-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    min-width: 250px;
}

.info-icon {
    font-size: 2rem;
}

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

.info-content strong {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.info-content span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ORIENTAÇÃO */
.certificado-orientacao {
    margin: 2rem 0;
}

.orientacao-card {
    background: rgba(255,255,255,0.1);
    border-radius: 0.8rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    text-align: left;
}

.orientacao-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.orientacao-lista {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.orientacao-lista li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.6;
}

.orientacao-lista li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255,255,255,0.2);
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* DETALHES DOS MÓDULOS */
.modulos-detalhes {
    margin: 2rem 0;
    background: rgba(255,255,255,0.1);
    border-radius: 0.8rem;
    padding: 1rem;
    cursor: pointer;
}

.modulos-detalhes summary {
    font-weight: bold;
    padding: 0.5rem;
    user-select: none;
    list-style: none;
    text-align: center;
}

.modulos-detalhes summary::-webkit-details-marker {
    display: none;
}

.modulos-detalhes summary:hover {
    opacity: 0.8;
}

.modulos-detalhes[open] summary::after {
    content: " ▲";
}

.modulos-detalhes:not([open]) summary::after {
    content: " ▼";
}

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

.modulo-mini {
    background: rgba(255,255,255,0.15);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.2s;
}

.modulo-mini:hover {
    transform: translateY(-2px);
}

.modulo-numero {
    background: rgba(255,255,255,0.2);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.modulo-nome {
    flex: 1;
    font-size: 0.9rem;
}

.modulo-nota {
    font-weight: bold;
    font-size: 1.1rem;
}

/* BOTÃO DO CERTIFICADO */
.btn-certificado {
    width: 100%;
    padding: 1.5rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-top: 2rem;
}

.btn-bloqueado {
    background: rgba(255,255,255,0.2);
    color: white;
    cursor: not-allowed;
}

.btn-certificado:not(:disabled) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    cursor: pointer;
    animation: pulse-button 2s infinite;
}

.btn-certificado:not(:disabled):hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

@keyframes pulse-button {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(251, 191, 36, 0); }
}

.btn-icon {
    font-size: 2rem;
}

.btn-texto {
    font-size: 1.3rem;
}

.btn-subtexto {
    font-size: 0.9rem;
    opacity: 0.8;
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .certificado-section {
        padding: 1.5rem;
    }
    
    .certificado-progresso-visual {
        flex-direction: column;
    }
    
    .progresso-circle {
        width: 150px;
        height: 150px;
    }
    
    .progresso-numero {
        font-size: 2rem;
    }
    
    .info-item {
        min-width: auto;
        width: 100%;
    }
    
    .modulos-grid {
        grid-template-columns: 1fr;
    }
    
    .certificado-title {
        font-size: 1.5rem;
    }
    
    .certificado-descricao {
        font-size: 1rem;
    }
    
    .orientacao-lista li {
        padding-left: 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .certificado-icon {
        font-size: 3rem;
    }
    
    .progresso-circle {
        width: 120px;
        height: 120px;
    }
    
    .progresso-numero {
        font-size: 1.5rem;
    }
    
    .info-content strong {
        font-size: 1.1rem;
    }
    
    .btn-certificado {
        padding: 1.2rem;
    }
    
    .btn-texto {
        font-size: 1.1rem;
    }
}


/* ===== PÁGINA DO CERTIFICADO (VISUALIZAÇÃO E DOWNLOAD) ===== */

.certificado-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.parabens {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid #f59e0b;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.parabens h2 {
    color: #92400e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.parabens p {
    color: #78350f;
    font-size: 1.1rem;
    line-height: 1.6;
}

.input-nome {
    padding: 0.8rem;
    font-size: 1.1rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    margin: 1rem auto;
    display: block;
    text-align: center;
}

.certificado-preview {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 4rem;
    margin: 2rem auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.certificado-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
}

.selo-qualidade {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
    animation: pulse-selo 2s infinite;
}

@keyframes pulse-selo {
    0%, 100% {
        transform: rotate(15deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.05);
    }
}

.certificado-preview .certificado-header {
    color: #1e3a8a;
    margin-bottom: 2rem;
    text-align: center;
}

.certificado-preview .certificado-header h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.certificado-preview .certificado-header h2 {
    font-size: 1.8rem;
    color: #3b82f6;
    font-weight: 300;
}

.certificado-body {
    padding: 2rem 0;
    color: #1f2937;
    line-height: 2;
}

.certificado-body p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.nome-aluno {
    font-size: 2.5rem;
    color: #3b82f6;
    font-weight: bold;
    margin: 2rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.curso-nome {
    font-size: 1.8rem;
    color: #1e3a8a;
    font-weight: bold;
    margin: 1.5rem 0;
}

.data-conclusao {
    font-size: 1rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 2rem;
}

.certificado-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.assinatura {
    text-align: center;
    min-width: 200px;
}

.assinatura-linha {
    width: 200px;
    height: 2px;
    background: #1e3a8a;
    margin: 0 auto 10px;
}

.assinatura p {
    font-size: 0.9rem;
    margin: 5px 0;
    color: #6b7280;
}

.acoes-certificado {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-acao {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-download {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-compartilhar {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-compartilhar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-voltar {
    background: #6b7280;
    color: white;
}

.btn-voltar:hover {
    background: #4b5563;
}

/* RESPONSIVO - PÁGINA DO CERTIFICADO */
@media (max-width: 768px) {
    .certificado-container {
        padding: 1rem;
    }

    .certificado-preview {
        padding: 2rem 1rem;
    }

    .certificado-preview .certificado-header h1 {
        font-size: 2.5rem;
    }

    .certificado-preview .certificado-header h2 {
        font-size: 1.3rem;
    }

    .nome-aluno {
        font-size: 1.8rem;
    }

    .curso-nome {
        font-size: 1.4rem;
    }

    .certificado-footer {
        flex-direction: column;
        gap: 2rem;
    }

    .selo-qualidade {
        top: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }

    .acoes-certificado {
        flex-direction: column;
    }

    .btn-acao {
        width: 100%;
        justify-content: center;
    }
}

@media print {
    .acoes-certificado,
    .parabens,
    .navbar,
    footer {
        display: none !important;
    }
    
    .certificado-preview {
        box-shadow: none;
        page-break-inside: avoid;
    }
}