/* ==========================================================================
   Estilos de Impressao e Exportacao em PDF (Curriculo Profissional)
   ========================================================================== */

@media print {
  @page {
    margin: 1.5cm;
    size: A4 portrait;
  }

  body {
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  /* Ocultar elementos de navegacao e controles interativos */
  .header,
  .header-controls,
  .skip-link,
  .btn,
  .timeline-action-hint,
  .drawer,
  .drawer-overlay,
  .footer-back-to-top,
  .mobile-menu-btn {
    display: none !important;
  }

  .hero {
    padding-top: 0 !important;
    min-height: auto !important;
    margin-bottom: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 140px !important;
    gap: 1.5rem !important;
    text-align: left !important;
  }

  .photo-card {
    max-width: 140px !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .photo-badge {
    display: none !important;
  }

  .photo-wrapper {
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px !important;
  }

  .section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .section-alt {
    background: transparent !important;
  }

  .section-header {
    margin-bottom: 1rem !important;
  }

  .section-title {
    font-size: 14pt !important;
    color: #0f172a !important;
    border-bottom: 1.5px solid #059669;
    padding-bottom: 4px;
    margin-bottom: 0.5rem;
  }

  .section-tag {
    display: none !important;
  }

  .timeline::before {
    left: 8px !important;
    background-color: #cbd5e1 !important;
  }

  .timeline-item {
    padding-left: 28px !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .timeline-marker {
    left: 0 !important;
    width: 12px !important;
    height: 12px !important;
    border-color: #059669 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
  }

  .timeline-card,
  .project-card,
  .pillar-card,
  .service-card,
  .education-card,
  .skill-category-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    padding: 1rem !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .project-impact {
    color: #059669 !important;
  }

  .skill-tag,
  .tech-tag {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
  }

  .contact-card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
  }

  a[href]::after {
    content: "" !important;
  }
}
