/* ==========================================================================
   Print Styles — Barbearia Sr. & Sra. Carvalho
   Otimizado para impressão: remove elementos interativos, cores econômicas
   ========================================================================== */

@media print {
  /* Reset geral */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Ocultar elementos não impressos */
  .header,
  .whatsapp-float,
  .hero__actions,
  .gallery__nav,
  .gallery__dots,
  .contact__map,
  .footer__social,
  .btn,
  .menu-toggle,
  .skip-link {
    display: none !important;
  }

  /* Body */
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
  }

  .main-wrapper {
    min-height: auto;
  }

  /* Container */
  .container {
    max-width: none;
    padding: 0;
    width: 100%;
  }

  /* Seções */
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
    page-break-after: avoid;
  }

  .hero::before {
    display: none;
  }

  /* Tipografia */
  .heading-1 {
    font-size: 24pt;
    color: #000 !important;
  }

  .heading-2 {
    font-size: 18pt;
    color: #000 !important;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
  }

  .heading-3 {
    font-size: 14pt;
    color: #000 !important;
  }

  .body,
  .body-lg,
  .body-sm {
    color: #333 !important;
  }

  .text-muted,
  .text-dim {
    color: #666 !important;
  }

  .text-accent {
    color: #000 !important;
  }

  /* Cards de serviço */
  .service-card {
    border: 1px solid #ccc !important;
    background: #fff !important;
    box-shadow: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }

  .service-card__icon {
    border-color: #000 !important;
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  .service-card__price {
    color: #000 !important;
  }

  /* Diferenciais */
  .diferencial {
    border: 1px solid #ccc !important;
    background: #fff !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .diferencial__icon {
    border-color: #000 !important;
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  /* Galeria */
  .gallery__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery__slide {
    flex: none;
    padding: 0;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .gallery__image {
    aspect-ratio: auto;
    height: 200px;
    border: 1px solid #ccc !important;
  }

  .gallery__badge {
    display: none;
  }

  /* Depoimentos */
  .testimonial {
    border: 1px solid #ccc !important;
    background: #fff !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .testimonial::before {
    color: #000 !important;
    opacity: 0.3;
  }

  /* Contato */
  .contact {
    border: 1px solid #ccc !important;
    background: #fff !important;
  }

  .contact__icon {
    border-color: #000 !important;
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  .contact__value a {
    color: #000 !important;
    text-decoration: underline;
  }

  .contact__map-placeholder {
    display: flex !important;
  }

  /* Footer */
  .footer {
    border-top: 2px solid #000 !important;
    background: #fff !important;
  }

  .footer__logo {
    color: #000 !important;
  }

  .footer__logo-icon {
    border-color: #000 !important;
  }

  .footer__nav-link {
    color: #333 !important;
  }

  .footer__copyright,
  .footer__disclaimer {
    color: #666 !important;
  }

  .footer__disclaimer a {
    color: #000 !important;
    text-decoration: underline;
  }

  /* Links: mostrar URL após o link */
  a[href^="http"]::after,
  a[href^="tel:"]::after,
  a[href^="mailto:"]::after,
  a[href^="https://wa.me"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
  }

  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
  }

  a[href^="https://wa.me"]::after {
    content: " (WhatsApp)";
  }

  /* Evitar quebras ruins */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  p, li, blockquote {
    orphans: 3;
    widows: 3;
  }

  img {
    page-break-inside: avoid;
  }

  /* Quebra de página forçada se necessário */
  .page-break-before {
    page-break-before: always;
  }

  .page-break-after {
    page-break-after: always;
  }

  .page-break-avoid {
    page-break-inside: avoid;
  }
}