/* =========================================================
   EZ2FLIP — UI
   Identidade: setas neon (roxo ↑ / ciano ↓) e letras prata
   sobre preto quase puro. Glassmorphism leve, dark premium.
   Mobile-first: o layout base é o do celular; media queries
   apenas ampliam a partir de 720px e 1024px.
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Superfícies — preto neutro com leve tinta violeta */
  --bg:            #0A0A10;
  --bg-elev:       #12121A;
  --glass:         rgba(190, 170, 255, .045);
  --glass-strong:  rgba(190, 170, 255, .08);
  --stroke:        rgba(195, 180, 255, .11);
  --stroke-strong: rgba(195, 180, 255, .22);

  /* Texto */
  --txt:      #ECECF4;
  --txt-dim:  #9C9CB0;
  --txt-mute: #6E6E82;

  /* Neon da marca */
  --purple:      #B026FF;
  --purple-soft: #D48CFF;
  --cyan:        #00D9FF;
  --cyan-soft:   #7FEBFF;

  /* Gradiente-assinatura: roxo → ciano, como as setas da logo */
  --neon: linear-gradient(135deg, #C77DFF 0%, #B026FF 38%, #00D9FF 100%);

  /* Prata das letras do logotipo */
  --silver: #D7DBE2;

  /* Feedback */
  --ok:   #43D6A0;
  --warn: #F0B429;

  /* Forma e movimento */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, strong, .btn, .tab {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

img { max-width: 100%; display: block; }

code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .86em;
  color: var(--cyan-soft);
  background: rgba(0, 217, 255, .09);
  padding: .1em .4em;
  border-radius: 5px;
}

a { color: var(--cyan-soft); text-underline-offset: 3px; }

/* Foco visível e consistente em toda a interface */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 18px;
}

/* Halo ambiente: roxo à esquerda, ciano à direita — as duas setas */
.ambient {
  position: fixed;
  inset: -30% -30% auto -30%;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(44% 54% at 20% 14%, rgba(176, 38, 255, .17), transparent 70%),
    radial-gradient(42% 52% at 82% 8%,  rgba(0, 217, 255, .13),  transparent 72%);
  filter: blur(14px);
}

body > * { position: relative; z-index: 1; }

/* ---------- 4. Cabeçalho / marca ---------- */
.site-header { padding: 28px 0 18px; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Seletor de idioma (EN ↔ PT) */
.lang-link {
  padding: 8px 13px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: transparent;
  color: var(--txt-dim);
  font: 600 12px/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.lang-link:hover {
  color: var(--txt);
  border-color: var(--stroke-strong);
  background: rgba(195, 180, 255, .07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo oficial em imagem (inserida por JS quando o arquivo existe) */
.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(176, 38, 255, .35));
}

/* Fallback: wordmark tipográfico com as setas em SVG inline */
.brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font: 800 26px/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .06em;
  color: var(--silver);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .18), 0 3px 14px rgba(0, 0, 0, .6);
}

.brand-arrows {
  width: 22px;
  height: 30px;
  margin-inline: 3px;
  filter:
    drop-shadow(0 0 6px rgba(176, 38, 255, .55))
    drop-shadow(0 0 6px rgba(0, 217, 255, .45));
}

.tagline {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--txt-mute);
}

/* ---------- 5. Abas ---------- */
.tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 20px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--txt-dim);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s var(--ease);
}

.tab:hover { color: var(--txt); }

.tab.is-active { color: #0A0A10; }

.tab-ico { font-size: 13px; opacity: .75; }

/* Pílula deslizante posicionada por JS */
.tab-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 10px;
  background: var(--neon);
  box-shadow: 0 4px 18px rgba(176, 38, 255, .35), 0 4px 24px rgba(0, 217, 255, .18);
  transition: transform .35s var(--ease), width .35s var(--ease);
  will-change: transform, width;
}

/* ---------- 6. Painéis e cards ---------- */
.panel { animation: rise .35s var(--ease) both; }
.panel[hidden] { display: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.card {
  padding: 22px 18px 26px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: var(--shadow);
}

.card-head { margin-bottom: 22px; }

.card-head h1 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.card-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--txt-dim);
  max-width: 62ch;
}

/* ---------- 7. Dropzone ---------- */
.dropzone {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 34px 18px;
  margin-bottom: 24px;
  border: 1.5px dashed var(--stroke-strong);
  border-radius: var(--r-md);
  background: rgba(190, 170, 255, .02);
  text-align: center;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: rgba(176, 38, 255, .6);
  background: rgba(176, 38, 255, .06);
}

/* Estado aplicado por JS enquanto o arquivo paira sobre a área */
.dropzone.is-over {
  border-color: var(--cyan);
  background: rgba(0, 217, 255, .08);
  transform: scale(1.01);
  box-shadow: inset 0 0 40px rgba(0, 217, 255, .1);
}

.dz-icon {
  width: 34px;
  height: 34px;
  color: var(--purple-soft);
  margin-bottom: 6px;
}

.dz-title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.dz-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--txt-mute);
}

.link {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 8. Campos de formulário ---------- */
.field { margin-bottom: 20px; }

.field > label,
.field-head label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-dim);
}

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--txt-mute);
}

.hint.center { text-align: center; }

.pill {
  padding: 3px 11px;
  border: 1px solid rgba(0, 217, 255, .35);
  border-radius: 999px;
  background: rgba(0, 217, 255, .1);
  color: var(--cyan-soft);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Estado "qualidade não se aplica" (PNG selecionado) */
.field.is-off input[type="range"],
.field.is-off .pill {
  opacity: .35;
  pointer-events: none;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .34);
  color: var(--txt);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.input:hover { border-color: var(--stroke-strong); }

.input:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(0, 0, 0, .48);
  box-shadow: 0 0 0 3px rgba(176, 38, 255, .16);
}

.input-sm {
  padding: 9px 11px;
  font-size: 13px;
  text-transform: uppercase;
}

select.input {
  appearance: none;
  cursor: pointer;
  /* Seta customizada em SVG inline, sem dependência externa */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%237FEBFF' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px;
  padding-right: 36px;
}

select.input option {
  background: var(--bg-elev);
  color: var(--txt);
}

.grid-2 { display: grid; gap: 0 14px; }

/* ---------- 9. Slider de qualidade ---------- */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(195, 180, 255, .14);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #0A0A10;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 3px 14px rgba(176, 38, 255, .5);
  transition: transform .18s var(--ease);
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #0A0A10;
  border-radius: 50%;
  background: #B026FF;
  box-shadow: 0 3px 14px rgba(176, 38, 255, .5);
}

/* ---------- 10. Seletores de cor ---------- */
.color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 46px;
  width: 46px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper { padding: 4px; }
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
input[type="color"]::-moz-color-swatch { border: 0; border-radius: 6px; }

.color-row .input { flex: 1 1 auto; min-width: 0; }

/* ---------- 11. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn:active { transform: translateY(1px); }

/* Ação primária: gradiente neon com texto escuro */
.btn-primary {
  background: var(--neon);
  color: #0A0A10;
  box-shadow: 0 6px 20px rgba(176, 38, 255, .25), 0 6px 24px rgba(0, 217, 255, .12);
}

.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(176, 38, 255, .45), 0 10px 36px rgba(0, 217, 255, .25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 217, 255, .4);
  color: var(--cyan-soft);
}

.btn-outline:hover {
  background: rgba(0, 217, 255, .1);
  border-color: var(--cyan);
}

.btn-ghost {
  background: rgba(195, 180, 255, .06);
  border-color: var(--stroke);
  color: var(--txt-dim);
}

.btn-ghost:hover {
  background: rgba(195, 180, 255, .11);
  color: var(--txt);
}

.btn-sm { padding: 9px 14px; font-size: 12.5px; }

.btn-block { width: 100%; }

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-x {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: transparent;
  color: var(--txt-dim);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.btn-x:hover { color: #FF8080; border-color: rgba(255, 128, 128, .5); }

/* ---------- 12. Barra de lote + resultados ---------- */
.batch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  background: rgba(195, 180, 255, .035);
}

.batch-stats {
  margin: 0;
  font-size: 13px;
  color: var(--txt-dim);
}

.batch-stats b { color: var(--ok); font-weight: 600; }

.batch-actions { display: flex; gap: 8px; }

.results { display: grid; gap: 14px; }

.result {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  background: rgba(195, 180, 255, .035);
  animation: rise .3s var(--ease) both;
}

.result-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-sm);
  border: 1px solid var(--stroke);
  object-fit: cover;
  /* Xadrez para revelar transparência preservada */
  background-color: #14141C;
  background-image:
    linear-gradient(45deg, #1E1E28 25%, transparent 25%, transparent 75%, #1E1E28 75%),
    linear-gradient(45deg, #1E1E28 25%, transparent 25%, transparent 75%, #1E1E28 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
}

.result-body { min-width: 0; }

.result-name {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--txt-mute);
  font-variant-numeric: tabular-nums;
}

.result-meta .arrow { color: var(--txt-dim); margin: 0 5px; }
.result-meta .new   { color: var(--txt); font-weight: 600; }

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.tag.good { background: rgba(67, 214, 160, .13); color: var(--ok); }
.tag.bad  { background: rgba(240, 180, 41, .13); color: var(--warn); }

.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.empty {
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
  color: var(--txt-mute);
}

/* ---------- 13. QR Code ---------- */
.qr-layout { display: grid; gap: 26px; }

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.file-name {
  flex: 1 1 120px;
  min-width: 0;
  font-size: 12.5px;
  color: var(--txt-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qr-stage {
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  background: rgba(195, 180, 255, .05);
  box-shadow: inset 0 0 60px rgba(176, 38, 255, .06);
  min-height: 260px;
}

/* O canvas é gerado pela biblioteca: mantém-se fluido dentro do palco */
.qr-stage canvas,
.qr-stage svg {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---------- 13b. MONETIZAÇÃO ---------- */

/* --- Blocos de anúncio (AdSense) ---
   Altura mínima reservada = zero layout shift quando o AdSense
   carregar. No plano Pro os nós são removidos do DOM pelo JS;
   a regra body.is-pro é só um cinto de segurança. */
.ad-slot {
  position: relative;
  margin: 0 0 20px;
  border: 1px dashed var(--stroke-strong);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(-45deg,
      rgba(195, 180, 255, .025) 0 12px,
      transparent 12px 24px);
}

.ad-slot--leader .ad-slot-inner { min-height: 100px; }
.ad-slot--box    .ad-slot-inner { min-height: 250px; }
.ad-slot--box    { margin-top: 26px; }

.ad-slot-inner {
  display: grid;
  place-items: center;
}

.ad-slot-inner ins { width: 100%; }

.ad-tag {
  position: absolute;
  top: 7px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-mute);
  opacity: .7;
}

.ad-ph {
  font-size: 12px;
  color: var(--txt-mute);
  opacity: .55;
  user-select: none;
}

body.is-pro .ad-slot { display: none; }

/* Modo 100% free: sem selos de venda enquanto não há plano no ar */
body.free-mode .tab-pro,
body.free-mode .pro-chip { display: none; }

/* --- Botão / selo Pro --- */
.btn-pro {
  background: var(--neon);
  color: #0A0A10;
  box-shadow: 0 4px 16px rgba(176, 38, 255, .3), 0 4px 20px rgba(0, 217, 255, .14);
}

.btn-pro:hover {
  box-shadow: 0 8px 28px rgba(176, 38, 255, .5), 0 8px 32px rgba(0, 217, 255, .28);
  transform: translateY(-1px);
}

.pro-badge {
  padding: 6px 13px;
  border: 1px solid rgba(0, 217, 255, .4);
  border-radius: 999px;
  background: rgba(0, 217, 255, .09);
  color: var(--cyan-soft);
  font: 700 12px/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* Chips "PRO" na aba e no título */
.tab-pro,
.pro-chip {
  display: inline-block;
  padding: 2px 7px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--neon);
  color: #0A0A10;
  font: 700 10px/1.5 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .1em;
  vertical-align: middle;
  transform: translateY(-1px);
}

.pro-chip { font-size: 11px; padding: 3px 9px; }

/* A aba ativa já tem fundo claro: o chip inverte para continuar legível */
.tab.is-active .tab-pro {
  background: #0A0A10;
  color: var(--cyan-soft);
}

/* --- Véu de upsell da ferramenta Pro --- */
.pro-card { position: relative; overflow: hidden; }

/* Conteúdo gated: desfocado e inerte no plano gratuito */
.pro-gate {
  transition: filter .45s var(--ease), opacity .45s var(--ease);
}

.pro-gate.is-locked {
  filter: blur(7px) saturate(.75);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}

.pro-lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  background: radial-gradient(60% 50% at 50% 45%, rgba(10, 10, 16, .25), rgba(10, 10, 16, .72));
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.pro-lock.is-leaving {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.pro-lock[hidden] { display: none; }

.pro-lock-card {
  width: 100%;
  max-width: 430px;
  padding: 26px 22px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(30, 26, 46, .92), rgba(14, 14, 22, .94));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6), 0 0 40px rgba(176, 38, 255, .12);
  text-align: center;
}

.pro-lock-icon {
  width: 38px;
  height: 38px;
  color: var(--purple-soft);
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(176, 38, 255, .5));
}

.pro-lock-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.pro-perks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
  font-size: 13.5px;
  color: var(--txt-dim);
}

.pro-perks li {
  position: relative;
  padding: 5px 0 5px 26px;
}

.pro-perks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.7 10.5 4.6' fill='none' stroke='%230A0A10' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat,
    linear-gradient(135deg, #B026FF, #00D9FF);
}

/* ---------- 14. Rodapé ---------- */
.site-footer {
  padding: 34px 0 40px;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--txt-mute);
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--txt-dim); }
.site-footer a:hover { color: var(--cyan-soft); }

/* ---------- 15. Breakpoints ---------- */
@media (min-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { padding-inline: 28px; }
  .card { padding: 30px 28px 34px; }
  .card-head h1 { font-size: 26px; }
  .tab { padding: 12px 22px; font-size: 14.5px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .dropzone { padding: 48px 24px; }
  .result { grid-template-columns: 92px 1fr auto; }
  .result-thumb { width: 92px; height: 92px; }
  .result-body { padding-right: 10px; }
  .brand-logo { height: 40px; }
  .brand-fallback { font-size: 30px; }
  .brand-arrows { width: 25px; height: 34px; }
}

@media (min-width: 1024px) {
  .site-header { padding: 44px 0 26px; }
  .card-head h1 { font-size: 29px; }
  /* Controles à esquerda, preview fixo à direita */
  .qr-layout { grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
  .qr-preview { position: sticky; top: 24px; }
}

/* ---------- 16. Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
