/* DDS.TEC - Estilos para impressão */
/* Otimizado para impressão em papel */

@media print {
  /* Reset para impressão */
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Configurações da página */
  @page {
    margin: 2cm;
    size: A4;
  }
  
  /* Elementos a ocultar */
  .header,
  .footer,
  .btn,

  .menu-toggle,
  .cookie-banner,
  .hero__actions,
  nav,
  .breadcrumbs,
  .cta,
  form,
  .form {
    display: none !important;
  }
  
  /* Layout principal */
  body {
    font-family: "Times New Roman", serif;
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .main {
    margin-top: 0;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  /* Tipografia para impressão */
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
    font-weight: bold;
  }
  
  h1 {
    font-size: 18pt;
    margin-bottom: 12pt;
  }
  
  h2 {
    font-size: 16pt;
    margin-bottom: 10pt;
  }
  
  h3 {
    font-size: 14pt;
    margin-bottom: 8pt;
  }
  
  h4, h5, h6 {
    font-size: 12pt;
    margin-bottom: 6pt;
  }
  
  p {
    margin-bottom: 8pt;
    orphans: 3;
    widows: 3;
  }
  
  /* Links */
  a {
    color: black;
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  
  a[href^="mailto"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  
  /* Listas */
  ul, ol {
    margin-bottom: 8pt;
  }
  
  li {
    margin-bottom: 4pt;
  }
  
  /* Tabelas */
  table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 12pt;
  }
  
  th, td {
    border: 1px solid black;
    padding: 4pt 8pt;
    text-align: left;
  }
  
  th {
    background: #f0f0f0;
    font-weight: bold;
  }
  
  /* Imagens */
  img {
    max-width: 100%;
    height: auto;
    page-break-inside: avoid;
  }
  
  /* Cards e seções */
  .card,
  .section {
    page-break-inside: avoid;
    margin-bottom: 12pt;
  }
  
  /* Grid para impressão */
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    display: block;
  }
  
  .grid > *,
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > * {
    margin-bottom: 12pt;
    page-break-inside: avoid;
  }
  
  /* Quebras de página */
  .page-break {
    page-break-before: always;
  }
  
  .no-break {
    page-break-inside: avoid;
  }
  
  /* Cabeçalho da empresa para impressão */
  .print-header {
    display: block !important;
    text-align: center;
    margin-bottom: 20pt;
    padding-bottom: 10pt;
    border-bottom: 2px solid black;
  }
  
  .print-header h1 {
    font-size: 20pt;
    margin-bottom: 4pt;
  }
  
  .print-header p {
    font-size: 10pt;
    margin-bottom: 2pt;
  }
  
  /* Rodapé para impressão */
  .print-footer {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10pt;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 4pt;
  }
  
  /* Numeração de páginas */
  @page {
    @bottom-right {
      content: "Página " counter(page) " de " counter(pages);
      font-size: 10pt;
      color: #666;
    }
  }
  
  /* Estilos específicos para conteúdo */
  .hero__title {
    text-align: center;
    margin-bottom: 16pt;
  }
  
  .service-card,
  .testimonial,
  .stat-card {
    margin-bottom: 12pt;
    padding-bottom: 8pt;
    border-bottom: 1px solid #ccc;
  }
  
  .service-card__title,
  .testimonial__author,
  .stat-card__label {
    font-weight: bold;
  }
  
  /* Ocultar elementos decorativos */
  .service-card__icon,
  .process-step__number,
  .badge,
  .hero__badge {
    display: none !important;
  }
  
  /* Ajustes para listas de features */
  .service-card__features {
    margin-left: 12pt;
  }
  
  .service-card__features li::before {
    content: "• ";
    font-weight: bold;
  }
}