/* Ficha para imprimir (ficha.html): folha A4 com a logo e o contato da Du Ponto. */
.ficha-page { background: #d9d8d4; }
.ficha-bar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 12px var(--gutter); background: var(--coal); color: #fff; }
.fb-back { color: var(--soft-dark); text-decoration: none; font-weight: 700; }
.fb-back::before { content: '← '; }
.fb-back:hover { color: #fff; }
.fb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fb-actions .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.ficha-page main.ficha-wrap { margin-top: 0; padding: 32px 16px 64px; }

/* a folha */
.sheet { width: 210mm; min-height: 297mm; margin: 0 auto; padding: 14mm 15mm 12mm; background: #fff; color: var(--ink);
  display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.sh-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 7mm; border-bottom: 2px solid var(--red); }
.sh-logo { height: 15mm; width: auto; }
.sh-contact { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 10.5pt; line-height: 1.4; color: var(--muted); }
.sh-contact strong { color: var(--ink); font-size: 12pt; }
.sh-kicker { margin-top: 7mm; font-size: 10pt; font-weight: 700; color: var(--red-press); }
.sh-main { margin-top: 4mm; display: grid; grid-template-columns: 78mm 1fr; gap: 9mm; align-items: start; }
.sh-media { margin: 0; aspect-ratio: 1; display: grid; place-items: center; border-radius: 4mm; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff, #ecebe7 72%); }
.sh-media img { width: 88%; height: 88%; object-fit: contain; }
.sh-media.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-badge { display: inline-block; padding: 1.2mm 3mm; border-radius: 99px; font-size: 9pt; font-weight: 700; background: rgba(210, 35, 42, .09); color: var(--red-press); }
.sh-info h1 { margin-top: 3mm; font-size: 26pt; line-height: 1.02; letter-spacing: -0.02em; }
.sh-desc { margin-top: 4mm; font-size: 11pt; line-height: 1.5; color: #33373c; }
.sh-info h2, .sh-why h2 { margin-top: 6mm; font-size: 11pt; letter-spacing: 0; }
.sh-specs { margin-top: 2.5mm; display: grid; gap: 1.6mm; }
.sh-specs li { display: flex; gap: 2.5mm; align-items: baseline; font-size: 10.5pt; }
.sh-specs li::before { content: ''; width: 2mm; height: 2mm; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-.3mm); }
.sh-note { margin-top: 4mm; font-size: 9pt; color: var(--muted); }
.sh-why { margin-top: 9mm; padding: 6mm; border-radius: 4mm; background: #f4f3f1; }
.sh-why h2 { margin-top: 0; }
.sh-why ul { margin-top: 3mm; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5mm; }
.sh-why b { display: block; font-size: 10.5pt; }
.sh-why span { display: block; margin-top: 1mm; font-size: 9.5pt; color: var(--muted); line-height: 1.4; }
.sh-cta { margin-top: auto; padding-top: 8mm; display: flex; align-items: center; gap: 7mm; }
.sh-qr { width: 30mm; height: 30mm; flex: none; }
.sh-qr svg { display: block; width: 100%; height: 100%; }
.sh-cta-t { font-size: 15pt; font-weight: 900; letter-spacing: -0.01em; }
.sh-cta p + p { margin-top: 1.5mm; font-size: 10.5pt; color: var(--muted); }
.sh-foot { margin-top: 7mm; padding-top: 4mm; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2mm 8mm; font-size: 9pt; color: #6b7077; }

/* lista de fichas */
.fi-index { width: min(1100px, 100%); margin: 0 auto; padding: 32px; border-radius: 18px; background: #fff; }
.fi-index h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.fi-index > p { margin-top: 10px; color: var(--muted); }
.fi-index h2 { margin-top: 32px; font-size: 1.2rem; }
.fi-index ul { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fi-index a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; background: var(--ice); transition: background-color .2s ease; }
.fi-index a:hover { background: #ebe9e5; }
.fi-index img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.fi-index b { display: block; font-size: .98rem; }
.fi-index small { color: var(--muted); font-size: .84rem; }

/* tela pequena: a folha vira uma coluna (a impressão continua em A4) */
@media screen and (max-width: 860px) {
  .sheet { width: 100%; min-height: 0; padding: 22px 18px; }
  .sh-main { grid-template-columns: 1fr; }
  .sh-media { width: min(100%, 360px); }
  .sh-why ul { grid-template-columns: 1fr; }
  .sh-head { flex-direction: column; align-items: flex-start; }
  .sh-contact { align-items: flex-start; text-align: left; }
}

@page { size: A4; margin: 0; }
@media print {
  .ficha-page { background: #fff; }
  .ficha-bar { display: none; }
  .ficha-page main.ficha-wrap { padding: 0; }
  .sheet { width: 210mm; height: 297mm; min-height: 0; box-shadow: none; overflow: hidden; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (pointer: coarse) { .fb-back { display: inline-flex; align-items: center; min-height: 44px; } }
