/* Minimalista: muito respiro, uma família tipográfica, um único azul de ação. */
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --line: #d2d2d7;
  --text: #1a1d24;
  --muted: #6e6e73;
  /* Marca: laranja do logo #FF5F00 + grafite #1A1D24. --accent é o tom legível para botões e links. */
  --brand: #ff5f00;
  --ink: #1a1d24;
  --accent: #d24600;
  --accent-hover: #b93d00;
  --on-accent: #ffffff;
  --btn-vivo: #ff5f00;
  --btn-vivo-hover: #f05000;
  --ok: #248a3d;
  --warn: #c9341f;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --measure: 64ch;
  color-scheme: light dark;
}
/* Tema: claro por padrão; o botão do topo troca para escuro (data-theme="dark") e a escolha fica salva. */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #000000;
    --surface: #1c1c1e;
    --line: #38383a;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #ff7a1a;
    --accent-hover: #ff8a33;
    --on-accent: #1a1d24;
    --btn-vivo: #ff6a10;
    --btn-vivo-hover: #ff7a1a;
    --ok: #30d158;
    --warn: #ff6961;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.5 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(980px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--text); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.brand:hover { text-decoration: none; }
.brand__logo { display: block; height: 40px; width: auto; }
.brand__logo--escuro { display: none; }
:root[data-theme="dark"] .brand__logo { display: none; }
:root[data-theme="dark"] .brand__logo--escuro { display: block; }
.top nav { display: flex; gap: 2rem; font-size: .9375rem; }
.top nav a { color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 2rem; text-align: center; }
.swap { margin: 0 0 1rem; font-size: 1.0625rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.swap__ext { position: relative; display: inline-block; min-width: 2.6em; text-align: left; }
.swap__old, .swap__new { display: inline-block; }
.swap__new { position: absolute; left: 0; top: 0; color: var(--text); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .swap__old { animation: out 2.4s ease 1s forwards; }
  .swap__new { animation: in 2.4s ease 1s forwards; }
  @keyframes out { 0%, 40% { opacity: 1; filter: blur(0); } 60%, 100% { opacity: 0; filter: blur(4px); } }
  @keyframes in { 0%, 50% { opacity: 0; filter: blur(4px); } 70%, 100% { opacity: 1; filter: blur(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .swap__old { display: none; }
  .swap__new { position: static; opacity: 1; }
}
.hero h1 {
  margin: 0 auto;
  font-size: clamp(2.6rem, 7vw, 4.75rem); line-height: 1.04; font-weight: 700; letter-spacing: -.045em;
  max-width: 13ch;
}
.lede { margin: 1.25rem auto 0; max-width: 40ch; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.4; color: var(--muted); letter-spacing: -.01em; }

/* ---------- área de soltar ---------- */
.tool { margin-top: clamp(2.5rem, 6vw, 4rem); }
/* Área de soltar: borda tracejada azul e fundo levemente azulado, para
   ler de cara como "o lugar onde as fotos entram". */
.drop {
  position: relative;
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
  border: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 28px;
  min-height: 340px;
  display: grid; place-content: center; justify-items: center; gap: .75rem;
  padding: 3rem 1.5rem; text-align: center;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.drop:hover { border-color: color-mix(in srgb, var(--accent) 75%, transparent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.drop.is-over { border-style: solid; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, var(--bg)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.drop:has(input:focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.drop__icon { width: 44px; height: 44px; color: var(--muted); margin-bottom: .25rem; }
.drop__title { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.drop__hint { margin: 0; color: var(--muted); font-size: 1rem; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }

.btn {
  appearance: none; cursor: pointer; border: 0;
  font: 500 1.0625rem/1 var(--font); letter-spacing: -.01em;
  padding: .8rem 1.4rem; border-radius: 980px;
  background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:disabled { opacity: .4; cursor: default; }
.btn--plain { background: transparent; color: var(--accent); padding-inline: .6rem; }
.btn--plain:hover { background: transparent; text-decoration: underline; }
.drop .btn {
  margin-top: .75rem; pointer-events: none;
  /* Laranja vivo da marca: com 19 px em negrito o texto branco conta como texto grande (contraste 3:1). */
  background: var(--btn-vivo); color: var(--on-accent);
  font-size: 1.1875rem; font-weight: 700; padding: 1rem 1.85rem; gap: .55rem;
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--btn-vivo) 75%, transparent);
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.drop .btn::before {
  content: ""; width: 1.15em; height: 1.15em; background: currentColor;
  -webkit-mask: var(--ico-upload) center / contain no-repeat; mask: var(--ico-upload) center / contain no-repeat;
}
.drop:hover .btn, .drop.is-over .btn { background: var(--btn-vivo-hover); transform: translateY(-2px); box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--btn-vivo) 85%, transparent); }
@media (prefers-reduced-motion: reduce) { .drop .btn { transition: none; } .drop:hover .btn, .drop.is-over .btn { transform: none; } }
:root { --ico-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M7.5 8.5 12 4l4.5 4.5M5 14v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4'/%3E%3C/svg%3E"); }

/* ---------- opções (controles segmentados) ---------- */
/* Trilho mais escuro que o fundo e opção marcada "saltando" dele, como no iOS. */
:root { --seg-track: #e8e8ed; --seg-on: #ffffff; }
:root[data-theme="dark"] { --seg-track: #1c1c1e; --seg-on: #4a4a4e; }
.options { margin: 1.75rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 1.5rem; font-size: .9375rem; }
.opt { display: flex; align-items: center; gap: .65rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt__label { color: color-mix(in srgb, var(--text) 72%, var(--bg)); font-weight: 500; padding: 0; float: left; }
.seg { display: inline-flex; background: var(--seg-track); border-radius: 12px; padding: 3px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 5%, transparent); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: .5rem .85rem; border-radius: 9px; color: color-mix(in srgb, var(--text) 82%, var(--bg)); font-weight: 500; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg input:not(:checked):not(:disabled):hover + span { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.seg input:checked + span { background: var(--seg-on); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 3px 10px -3px rgba(0, 0, 0, .18); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg input:disabled + span { opacity: .4; }
.toggles { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.75rem; }
.check { display: inline-flex; gap: .55rem; align-items: center; cursor: pointer; color: var(--text); }
.check input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
.check:has(input:disabled) { opacity: .4; cursor: default; }
.note { width: 100%; text-align: center; color: var(--muted); font-size: .8125rem; margin: -.25rem 0 0; }
.dest { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1rem; }
.dir-name { color: var(--muted); }

/* ---------- resultados ---------- */
.tray { margin-top: 3.5rem; scroll-margin-top: 90px; text-align: left; }
.tray__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.tray__bar h2 { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.summary { margin: .2rem 0 0; color: var(--muted); font-size: .9375rem; }
.tray__actions { display: flex; gap: .25rem; align-items: center; }
.sheet { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.shot { display: grid; gap: .6rem; align-content: start; }
.shot__frame { position: relative; aspect-ratio: 1; background: var(--surface); border-radius: 14px; overflow: hidden; display: grid; place-items: center; padding: 10px; }
.shot__img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; border-radius: 4px; }
.shot__num { display: none; }
.shot[data-status=working] .shot__frame::after, .shot[data-status=waiting] .shot__frame::after {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--muted);
}
.shot[data-status=waiting] .shot__frame::after { border-top-color: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .shot[data-status=working] .shot__frame::after { animation: spin .7s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
.shot__info { display: grid; gap: .1rem; font-size: .8125rem; }
.shot__name { margin: 0; font-weight: 600; font-size: .875rem; overflow-wrap: anywhere; }
.shot__status { margin: 0; color: var(--muted); }
.shot[data-status=error] .shot__status, .shot[data-status=skip] .shot__status { color: var(--warn); }
.shot__dl { justify-self: start; margin-top: .2rem; font-weight: 500; }
.shot__zipped { justify-self: start; margin-top: .2rem; color: var(--muted); }
/* sem miniatura (as antigas saem da tela para poupar memória): mostra o número */
.shot[data-status=done] .shot__frame:not(:has(.shot__img)) .shot__num { display: block; font-size: 1.25rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tray__hint { margin: -.5rem 0 1.5rem; padding: .85rem 1.1rem; border-radius: 12px; background: var(--surface); font-size: .9375rem; color: var(--muted); }
.tray__hint strong { color: var(--text); font-weight: 600; }
.partbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin: -.5rem 0 1.5rem; padding: 1rem 1.1rem 1rem 1.25rem; border-radius: 14px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.partbar p { margin: 0; flex: 1 1 18rem; font-size: .9375rem; }

/* ---------- conteúdo ---------- */
.section { padding: clamp(5rem, 10vw, 8rem) 0 0; }
.section__head { text-align: center; margin-bottom: 3rem; }
.section h2 { margin: 0 auto; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; max-width: 18ch; text-wrap: balance; }
.section__head p { margin: 1rem auto 0; color: var(--muted); font-size: 1.1875rem; max-width: 46ch; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.feature h3 { margin: 0 0 .5rem; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
.feature svg { width: 28px; height: 28px; color: var(--text); margin-bottom: 1rem; }

.specs { margin: 0 auto; max-width: 720px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.faq { margin: 0 auto; max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: .35rem; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: .65rem; }
.faq details p { margin: 0 0 1.25rem; color: var(--muted); max-width: var(--measure); }

.studio { margin-top: clamp(5rem, 10vw, 7rem); text-align: center; color: var(--muted); font-size: .9375rem; }
.studio p { margin: 0; }

.ad-slot:empty { display: none; }

/* ---------- rodapé ---------- */
.foot { margin-top: 5rem; padding: 1.5rem 0 2.5rem; background: var(--surface); font-size: .75rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.foot p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.foot__mark { width: 20px; height: 20px; flex: none; }
::selection { background: color-mix(in srgb, var(--brand) 24%, transparent); }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ---------- páginas de texto ---------- */
.page { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.page h1 { margin: 0 0 1.5rem; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -.04em; max-width: 18ch; text-wrap: balance; }
.page h2 { margin: 2.75rem 0 .75rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .45rem; }
.updated { color: var(--muted); font-size: .875rem; }
.cta-box { margin: 2.5rem 0; padding: 2rem; background: var(--surface); border-radius: 20px; text-align: center; }
.cta-box p { margin: 0 0 1.1rem; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; }

/* ---------- cota grátis ---------- */
.quota { margin: 1rem 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.quota[data-plan="on"] .quota__text { color: var(--ok); font-weight: 500; }
.quota[data-plan="on"] a { display: none; }
.shot[data-status=locked] .shot__status { color: var(--muted); }
.shot[data-status=locked] .shot__frame::after { content: ""; width: 18px; height: 22px; border: 2px solid var(--line); border-radius: 4px; border-top-width: 9px; }

/* ---------- aviso de limite ---------- */
.paywall { width: min(520px, 100% - 2rem); border: 0; border-radius: 24px; padding: 2rem; background: var(--bg); color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, .35); }
.paywall::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.paywall__close { position: absolute; top: .75rem; right: .75rem; }
.paywall__close .btn { font-size: .875rem; }
.paywall h2 { margin: 0 2.5rem .5rem 0; font-size: 1.5rem; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.paywall > p { margin: 0 0 1.25rem; color: var(--muted); font-size: .9375rem; }
.paywall > p#paywallCount { margin-bottom: .9rem; }
.paywall__perks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .4rem; font-size: .9375rem; font-weight: 500; }
.paywall__perks li { display: flex; gap: .55rem; align-items: baseline; }
.paywall__perks li::before { content: ""; flex: none; width: .7em; height: .38em; border: solid var(--ok); border-width: 0 0 2px 2px; transform: translateY(-.2em) rotate(-45deg); }
.paywall__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.plan-btn { appearance: none; cursor: pointer; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid transparent; border-radius: 14px; padding: 1rem .5rem; display: grid; gap: .2rem; text-align: center; transition: border-color .15s; }
.plan-btn:hover { border-color: var(--accent); }
.plan-btn strong { font-size: .9375rem; font-weight: 600; }
.plan-btn span { color: var(--muted); font-size: .875rem; }
.paywall .paywall__fine { font-size: .8125rem; margin-bottom: 1.5rem; }
.paywall__msg { min-height: 1.3em; margin: .75rem 0 0 !important; font-size: .875rem; color: var(--text) !important; }

.code-form { display: grid; gap: .45rem; }
.code-form label { font-size: .875rem; font-weight: 600; }
.code-form__row { display: flex; gap: .5rem; }
.code-form input { flex: 1; min-width: 0; font: 500 1rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; padding: .75rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.code-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.code-form .btn { padding: .75rem 1.2rem; font-size: 1rem; }

/* ---------- página de planos ---------- */
.plans-hero { padding: clamp(3.5rem, 8vw, 5.5rem) 0 2.5rem; text-align: center; }
.plans-hero h1 { margin: 0 auto; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; font-weight: 700; letter-spacing: -.045em; max-width: 26ch; text-wrap: balance; }
.plans-hero p { margin: 1.1rem auto 0; max-width: 46ch; color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.plan { background: var(--surface); border-radius: 24px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.plan--best { outline: 2px solid var(--accent); outline-offset: -2px; }
.plan__tag { position: absolute; top: 1rem; right: 1rem; font-size: .75rem; font-weight: 600; color: var(--accent); }
.plan h2 { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em; }
.plan__price { margin: 0; font-size: 2.25rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan__price small { font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__per { margin: -.4rem 0 0; color: var(--muted); font-size: .875rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; font-size: .9375rem; flex: 1; }
.plan .btn { white-space: nowrap; }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 600; }
.plan__for { margin: 0; flex: 1; font-size: .9375rem; line-height: 1.5; }
.plans__includes { grid-column: 2 / -1; grid-row: 2; padding: 1rem 1.25rem; border-radius: 16px; border: 1px dashed var(--line); font-size: .9375rem; color: var(--muted); }
.plans__includes p { margin: 0; }
.plans__includes strong { color: var(--text); font-weight: 600; }
.plan .btn { justify-content: center; }
.plan .btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.plan .btn--ghost:hover { background: var(--bg); }
.plans-note { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .875rem; min-height: 1.4em; }
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.promise h3 { margin: 0 0 .4rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.promise p { margin: 0; color: var(--muted); font-size: .9375rem; }
.activate { max-width: 520px; margin: 0 auto; background: var(--surface); border-radius: 24px; padding: 2rem; }
.activate h2 { max-width: none; margin: 0 0 .4rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -.025em; }
.activate > p { margin: 0 0 1.25rem; color: var(--muted); font-size: .9375rem; }
.activate .code-form input { background: var(--bg); }
.activate__status { margin: .9rem 0 0; font-size: .9375rem; min-height: 1.4em; }
.activate__status[data-on] { color: var(--ok); font-weight: 500; }

/* ---------- ferramentas: menu, grade e rodapé ---------- */
.top nav { align-items: center; }
.tmenu { position: relative; }
.tmenu summary { list-style: none; cursor: pointer; color: var(--text); font-weight: 500; display: flex; align-items: center; gap: .35rem; }
.tmenu summary::-webkit-details-marker { display: none; }
.tmenu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.tmenu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.tmenu__panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 340px; padding: .5rem; display: grid; gap: .1rem; background: color-mix(in srgb, var(--bg) 97%, var(--surface)); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); }
/* seletor de idioma */
.lmenu { position: relative; }
.lmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .3rem; color: var(--muted); font-weight: 500; font-size: .8125rem; }
.lmenu summary::-webkit-details-marker { display: none; }
.lmenu summary svg { width: 17px; height: 17px; }
.lmenu summary:hover, .lmenu[open] summary { color: var(--text); }
.lmenu__panel { position: absolute; z-index: 20; top: calc(100% + 14px); right: -.5rem; min-width: 168px; padding: .35rem; display: grid; gap: .1rem; background: color-mix(in srgb, var(--bg) 97%, var(--surface)); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); }
.lmenu__panel a { padding: .5rem .75rem; border-radius: 9px; font-size: .875rem; color: var(--text); }
.lmenu__panel a:hover { background: var(--surface); text-decoration: none; }
.lmenu__panel a[aria-current] { background: var(--surface); font-weight: 600; }
.tlink { display: flex; gap: .8rem; align-items: flex-start; padding: .65rem .7rem; border-radius: 12px; color: var(--text); }
.tlink:hover { background: var(--surface); text-decoration: none; }
.tlink[aria-current] { background: var(--surface); }
.tlink__icon { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.tlink__icon svg { width: 19px; height: 19px; }
.tlink__text { display: grid; gap: .1rem; }
.tlink__text strong { font-size: .875rem; font-weight: 600; }
.tlink__text span { font-size: .8125rem; line-height: 1.35; color: var(--muted); }

/* Faixa levemente contrastada no fim da página: cartões brancos sobre cinza claro */
/* Seção "Mais ferramentas": azul-noite com um brilho azul no alto, cartões brancos. */
.hub-sec { margin-top: clamp(5rem, 10vw, 8rem); padding: clamp(3.5rem, 7vw, 5rem) 0; background: radial-gradient(70% 60% at 50% 0%, rgba(255, 95, 0, .22), transparent 70%), var(--ink); }
.hub-sec .section__head h2 { color: #fff; }
.hub-sec .section__head p { color: rgba(255, 255, 255, .82); }
.hub-sec .hubcard { background: rgba(255, 255, 255, .045); color: #fff; border: 1px solid rgba(255, 255, 255, .1); }
.hub-sec .hubcard:hover, .hub-sec .hubcard:focus-visible { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.hub-sec .hubcard__text span { color: rgba(255, 255, 255, .62); }
.hub-sec .hubcard__icon { color: #ff8a3d; background: rgba(255, 95, 0, .14); box-shadow: inset 0 0 0 1px rgba(255, 95, 0, .34); }
.hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hub.is-collapsed li:nth-child(n+7) { display: none; }
.hubcard { position: relative; height: 100%; display: grid; align-content: start; gap: 1.1rem; padding: 1.25rem 1.25rem 1.4rem; border-radius: 18px; background: var(--surface); color: var(--text); border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.hubcard:hover { text-decoration: none; }
.hubcard__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.hubcard__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, var(--bg)); }
.hubcard__icon svg { width: 22px; height: 22px; }
.hubcard__fmts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .3rem; }
.hubcard__text { display: grid; gap: .3rem; padding-right: 1.5rem; }
.hubcard__text strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.015em; }
.hubcard__text span { font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.hubcard__go { position: absolute; right: 1.25rem; bottom: 1.4rem; width: 18px; height: 18px; color: #ff8a3d; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.hubcard:hover .hubcard__go, .hubcard:focus-visible .hubcard__go { opacity: 1; transform: none; }
/* Etiquetas de formato, cada formato com sua cor */
.fmt { --c: #a1a1a6; font: 700 .6875rem/1 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace; letter-spacing: .02em; padding: .3rem .45rem; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.fmt--heic { --c: #4ade80; } .fmt--jpg { --c: #facc15; } .fmt--png { --c: #60a5fa; } .fmt--pdf { --c: #f87171; }
.fmt--webp { --c: #c084fc; } .fmt--jfif { --c: #fb923c; } .fmt--avif { --c: #2dd4bf; }
.fmt__arrow { width: 14px; height: 14px; color: rgba(255, 255, 255, .45); }
/* Título à esquerda e "Ver todas as ferramentas" à direita */
.hub-sec .section__head.hub-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; text-align: left; margin-bottom: 2.25rem; }
.hub-sec .hub-head h2 { margin: 0; }
.hub-sec .hub-head p { margin: .75rem 0 0; flex-basis: 100%; order: 2; max-width: 52ch; }
.hub-head > :first-child { flex: 1 1 auto; }
.hub-all { appearance: none; cursor: pointer; border: 0; background: none; padding: .4rem 0; display: inline-flex; align-items: center; gap: .45rem; font: 600 1rem/1 var(--font); color: #ff8a3d; }
.hub-all svg { width: 16px; height: 16px; transition: transform .2s; }
.hub-all:hover svg { transform: translateX(3px); }
.hub-all[aria-expanded="true"]:hover svg { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .hubcard__go, .hub-all svg { transition: none; } }
/* Botão de tema no topo */
.themebtn { appearance: none; cursor: pointer; border: 0; background: transparent; color: var(--muted); width: 40px; height: 40px; margin: -.4rem -.4rem -.4rem 0; border-radius: 50%; display: grid; place-items: center; }
.themebtn:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.themebtn svg { width: 20px; height: 20px; }
.hub-note { margin: 1.25rem 0 0; text-align: center; color: var(--muted); font-size: .875rem; }

.foot__tools { width: 100%; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-bottom: 1rem; margin-bottom: .25rem; border-bottom: 1px solid var(--line); }
.foot__tools a[aria-current], .foot nav a[aria-current] { color: var(--text); }
.foot__formats { padding-top: .25rem; }

/* Formatos no menu e atalhos embaixo da grade */
.tmenu__formats { margin-top: .3rem; padding: .75rem .7rem .35rem; border-top: 1px solid var(--line); }
.tmenu__formats p { margin: 0 0 .4rem; font-size: .75rem; font-weight: 500; color: var(--muted); }
.tmenu__formats div { display: grid; grid-template-columns: 1fr 1fr; gap: .05rem .5rem; }
.tmenu__formats a { margin-left: -.45rem; padding: .35rem .45rem; border-radius: 8px; font-size: .8125rem; color: var(--text); }
.tmenu__formats a:hover, .tmenu__formats a[aria-current] { background: var(--surface); text-decoration: none; }
.fmt-links { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; }
.fmt-links span { flex-basis: 100%; margin-bottom: .35rem; text-align: center; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.fmt-links a { padding: .45rem .9rem; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--text); background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.fmt-links a:hover { color: var(--accent); text-decoration: none; }

/* ---------- páginas de ferramenta ---------- */
.tool-hero h1 { max-width: 15ch; text-wrap: balance; }
.drop__icon { width: 46px; height: 46px; color: var(--accent); }
.field { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.field input, .field select { font: 500 .9375rem/1.2 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: .42rem .6rem; }
.field input { width: 5.6rem; text-align: right; font-variant-numeric: tabular-nums; }
.field select { padding-right: 1.6rem; max-width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.opt-row { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.5rem; }
.privacy-line { margin: 1rem 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.big-action { display: flex; justify-content: center; margin-top: 1.75rem; }
.btn--big { font-size: 1.125rem; padding: 1rem 1.8rem; }
.shot__page { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 7px; background: var(--bg); color: var(--text); font-variant-numeric: tabular-nums; }
.shot__order { display: flex; gap: .15rem; margin-top: .25rem; }
.icon-btn { appearance: none; cursor: pointer; border: 0; background: var(--surface); color: var(--text); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 600 .9375rem/1 var(--font); }
.icon-btn:hover { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn--remove { margin-left: auto; color: var(--warn); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- avaliação (assets/avaliar.js) ---------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rate { position: relative; max-width: 560px; margin: 3rem auto 0; padding: 2rem 1.5rem 1.75rem; border-radius: 24px; background: var(--surface); text-align: center; display: grid; justify-items: center; gap: .6rem; }
.rate__close { position: absolute; top: .75rem; right: .75rem; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: 400 1.4rem/1 var(--font); cursor: pointer; }
.rate__close:hover { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
.rate__face { font-size: 2.75rem; line-height: 1; height: 2.75rem; }
.rate__face.is-pop { animation: rate-pop .35s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes rate-pop { from { transform: scale(.6); } to { transform: scale(1); } }
.rate__title { margin: .25rem 0 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -.025em; }
.rate__stars { display: flex; gap: .3rem; margin-top: .25rem; }
.rate__stars label { position: relative; display: block; cursor: pointer; padding: .15rem; border-radius: 10px; }
.rate__stars input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.rate__stars svg { display: block; width: 42px; height: 42px; fill: color-mix(in srgb, var(--text) 16%, var(--surface)); transition: fill .12s, transform .15s; }
.rate__stars label:hover svg { transform: scale(1.12); }
.rate__stars label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.rate__stars input:disabled { cursor: default; }
.rate[aria-disabled] .rate__stars label, .rate__stars[aria-disabled] label { cursor: default; }
.rate__stars[aria-disabled] label:hover svg { transform: none; }
.rate:not([data-hover])[data-score="1"] .rate__stars label:nth-child(-n+1) svg, .rate[data-hover="1"] .rate__stars label:nth-child(-n+1) svg,
.rate:not([data-hover])[data-score="2"] .rate__stars label:nth-child(-n+2) svg, .rate[data-hover="2"] .rate__stars label:nth-child(-n+2) svg,
.rate:not([data-hover])[data-score="3"] .rate__stars label:nth-child(-n+3) svg, .rate[data-hover="3"] .rate__stars label:nth-child(-n+3) svg,
.rate:not([data-hover])[data-score="4"] .rate__stars label:nth-child(-n+4) svg, .rate[data-hover="4"] .rate__stars label:nth-child(-n+4) svg,
.rate:not([data-hover])[data-score="5"] .rate__stars label:nth-child(-n+5) svg, .rate[data-hover="5"] .rate__stars label:nth-child(-n+5) svg { fill: var(--brand); }
.rate__word { margin: 0; min-height: 1.5em; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.rate[data-score] .rate__word, .rate[data-hover] .rate__word { color: var(--accent); font-weight: 600; }
.rate__form { width: 100%; display: grid; gap: .75rem; justify-items: center; margin-top: .5rem; }
.rate__ask { font-weight: 600; font-size: 1.0625rem; }
.rate__form textarea { width: 100%; resize: vertical; min-height: 92px; font: 400 1rem/1.45 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; }
.rate__form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.rate__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rate__done { display: grid; gap: .35rem; justify-items: center; }
.rate__thanks { margin: .25rem 0 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.rate__sub { margin: 0; max-width: 42ch; color: var(--muted); font-size: .9375rem; }
.rate__share { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .75rem; }
.rate__share a, .rate__share button { appearance: none; cursor: pointer; border: 0; font: 500 .9375rem/1 var(--font); padding: .65rem 1.1rem; border-radius: 999px; background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.rate__share a:hover, .rate__share button:hover { text-decoration: none; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
@media (prefers-reduced-motion: reduce) { .rate__face.is-pop { animation: none; } .rate__stars svg { transition: none; } .rate__stars label:hover svg { transform: none; } }
@media (max-width: 420px) { .rate__stars svg { width: 36px; height: 36px; } .rate { padding-inline: 1rem; } }

/* ---------- prova social: nota média e comentários aprovados (assets/avaliar.js) ---------- */
.rate__note { margin: -.25rem 0 0; font-size: .8125rem; color: var(--muted); }
.proof__stars, .dep__stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.proof__stars svg, .dep__stars svg { width: 18px; height: 18px; margin-right: 1px; }
.proof__stars__base svg, .dep__stars__base svg { fill: color-mix(in srgb, var(--text) 16%, var(--bg)); }
.proof__stars__fill, .dep__stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.proof__stars__fill svg, .dep__stars__fill svg { fill: var(--brand); }
.proof { margin: 1.25rem auto 0; display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .75rem; border-radius: 999px; background: var(--surface); font-size: .9375rem; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.deps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dep { display: grid; align-content: start; gap: .8rem; padding: 1.5rem 1.4rem; border-radius: 22px; background: var(--surface); }
.dep blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.01em; overflow-wrap: anywhere; }
.dep blockquote::before { content: "“"; } .dep blockquote::after { content: "”"; }
.dep__meta { margin: 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 900px) { .deps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .deps__grid { grid-template-columns: 1fr; } }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans__includes { grid-column: 1 / -1; grid-row: auto; }
  .hub { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .plans, .promise { grid-template-columns: 1fr; }
  .paywall { padding: 1.5rem; }
  .paywall__plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; gap: 2rem; }
  .specs div { grid-template-columns: 1fr; gap: .2rem; }
  .top nav > a { display: none; }
  .top .wrap { height: 60px; }
  .brand__logo { height: 32px; }
  .top nav { gap: 1.25rem; }
  .tmenu__panel { position: fixed; top: 68px; left: .75rem; right: .75rem; transform: none; width: auto; max-height: calc(100dvh - 84px); overflow-y: auto; }
  .hub { grid-template-columns: 1fr; gap: .6rem; }
  .hubcard { gap: .9rem; padding: 1.1rem; }
  .drop { min-height: 260px; border-radius: 22px; }
  .opt { flex-direction: column; align-items: center; gap: .4rem; }
}
@media (max-width: 420px) {
  .seg span { padding: .38rem .6rem; }
  .sheet { grid-template-columns: repeat(2, 1fr); gap: 1.5rem .75rem; }
}
