/* ==========================================================================
   FONTES — servidas do próprio domínio (self-hosted).
   Antes vinham do Google Fonts e bloqueavam a renderização por ~2 segundos.
   São fontes variáveis: um arquivo cobre todos os pesos.
   ========================================================================== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   REAL DOG LAB — folha de estilo única do site
   Criada em 28/08/2026
   Nome do site é PROVISÓRIO. Para trocar: procure "Real Dog Lab" nos HTMLs.
   Para trocar as CORES: mexa só nas variáveis do bloco :root abaixo.
   ========================================================================== */

:root {
  /* ---- PALETA (proposta — trocar aqui muda o site inteiro) ---- */
  --bg:        #FAF8F5;   /* fundo geral, off-white quente */
  --surface:   #FFFFFF;   /* cartões e caixas */
  --ink:       #1C1B19;   /* texto principal */
  --ink-soft:  #55524D;   /* texto secundário */
  --faint:     #726E69;   /* disclosure e legendas — contraste 4.77:1 (WCAG AA) */
  --line:      #E6E1DA;   /* bordas e filetes */

  --brand:     #2F5D50;   /* verde profundo — calma e confiança */
  --brand-dk:  #23473D;
  --brand-lt:  #EAF1EE;

  --accent:    #B45312;   /* laranja queimado — contraste 5.02:1 (WCAG AA) */
  --accent-dk: #96440C;

  --star:      #F5B400;   /* AMARELO — regra fixa: estrela é sempre amarela */
  --good:      #2E7D5B;   /* prós */
  --bad:       #B4462F;   /* contras */

  /* ---- MEDIDAS ---- */
  --col:       1000px;    /* coluna de leitura */
  --wide:      1240px;    /* faixa larga */
  --gap:       56px;      /* respiro entre seções */
  --radius:    14px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;              /* piso: nunca menos */
  line-height: 1.7;             /* respiro */
  font-weight: 400;
}

/* ---- TIPOGRAFIA ---- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.1rem); margin: var(--gap) 0 18px; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); margin: 36px 0 12px; }
p  { margin-bottom: 20px; }
p + h2, ul + h2, ol + h2 { margin-top: var(--gap); }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dk); }

ul, ol { margin: 0 0 20px 1.15em; }
li { margin-bottom: 10px; }

strong { font-weight: 650; }

/* ---- ESTRUTURA ---- */
.wrap  { width: 100%; max-width: var(--col);  margin: 0 auto; padding: 0 22px; }
.wrap-wide { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 22px; }

/* ---- CABEÇALHO ---- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; max-width: var(--wide); margin: 0 auto; }
.logo { font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--brand); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { font-size: 0.95rem; color: var(--ink-soft); text-decoration: none; font-weight: 500; padding: 6px 2px; display: inline-block; min-height: 24px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* ---- MIGALHAS (breadcrumb) ---- */
.crumbs { font-size: 0.85rem; color: var(--faint); margin: 26px 0 18px; }
.crumbs a { color: var(--faint); text-decoration: none; padding: 4px 0; display: inline-block; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs span { margin: 0 7px; }

/* ---- BYLINE + DISCLOSURE ---- */
.byline { display: flex; align-items: center; gap: 13px; margin: 26px 0 10px; }
.byline .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-lt); border: 1px solid var(--line); flex: none; display: grid; place-items: center; font-size: 1.3rem; }
.byline .meta { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.byline .meta b { color: var(--ink); font-weight: 600; }

/* Disclosure: 11px é o PISO legal. Nunca menor, nunca com caixa/ícone/negrito. */
.disclosure { font-size: 11px; line-height: 1.4; color: var(--faint); margin-bottom: 30px; }
.disclosure a { color: var(--faint); text-decoration: underline; text-decoration-thickness: 0.5px; }

/* ---- ANSWER BLOCK (o trecho que a IA copia — SEM rótulo em cima) ---- */
.answer {
  background: var(--brand-lt);
  border-left: 4px solid var(--brand);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 30px 0;
  font-size: 1.06rem;
}
.answer p:last-child { margin-bottom: 0; }

/* ---- ESTRELAS (sempre amarelas) ---- */
.stars { color: var(--star); letter-spacing: 2px; font-size: 1rem; white-space: nowrap; }
.stars .off { opacity: 0.3; }
.score { font-weight: 700; font-size: 1rem; color: var(--ink); }

/* ---- TABELA COMPARATIVA DO TOPO ---- */
.compare-shell { overflow-x: auto; margin: 34px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th { background: var(--brand); color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; padding: 13px 14px; text-align: left; }
table.compare td { padding: 16px 14px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 0.95rem; }
table.compare tr:first-child td { background: #FFFCF3; }   /* destaque do #1 */
table.compare .pname { font-weight: 650; font-size: 1rem; }
table.compare .badge-cell { font-size: 0.8rem; color: var(--brand); font-weight: 600; }

/* ---- CARTÃO DE PRODUTO (o molde padronizado) ---- */
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin: 34px 0;
}
.product.top-pick { border: 2px solid var(--accent); box-shadow: 0 6px 26px rgba(180,83,18,0.12); }
.product-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.rank-num { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 700; color: var(--accent); line-height: 1; }
.product h3 { margin: 0; }
.badge { display: inline-block; background: var(--accent); color: #fff; font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 99px; }
.badge.soft { background: var(--brand-lt); color: var(--brand-dk); }

table.specs { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92rem; }
table.specs td { padding: 9px 0; border-bottom: 1px solid var(--line); }
table.specs td:first-child { color: var(--ink-soft); width: 42%; }
table.specs td:last-child { font-weight: 550; }

/* ---- PRÓS E CONTRAS (duas colunas) ---- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 24px 0; }
.pc h4 { font-family: 'Inter', sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; padding-bottom: 8px; margin-bottom: 13px; }
.pc .pros h4 { color: var(--good); border-bottom: 2px solid var(--good); }
.pc .cons h4 { color: var(--bad);  border-bottom: 2px solid var(--bad); }
.pc ul { list-style: none; margin: 0; font-size: 0.95rem; }
.pc li { padding-left: 25px; position: relative; margin-bottom: 9px; }
.pc .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.pc .cons li::before { content: "✗"; position: absolute; left: 0; color: var(--bad); font-weight: 700; }

/* ---- BOTÕES ---- */
.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  padding: 15px 30px; border-radius: 10px; text-align: center;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-dk); color: #fff !important; }
.btn.sm { padding: 9px 17px; font-size: 0.87rem; border-radius: 8px; }
.btn.ghost { background: transparent; color: var(--brand) !important; border: 1.5px solid var(--brand); }
.btn.ghost:hover { background: var(--brand-lt); }
.btn-row { margin: 22px 0 4px; }

/* ---- SELO "TESTADO EM CASA" ----
   🔴 Usar SOMENTE onde houve teste real com a Vicky. Nunca decorativo.
   Exemplo de uso:
   <div class="tested">
     <span class="tested-tag">Tested at home</span>
     <p>We gave this to Vicky, our Yorkshire Terrier, for three weeks. Here is what happened…</p>
   </div>
*/
.tested {
  background: #F3F8F5;
  border: 1px solid var(--good);
  border-left: 5px solid var(--good);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 30px 0;
}
.tested-tag {
  display: inline-block; background: var(--good); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 11px; border-radius: 99px; margin-bottom: 11px;
}
.tested p:last-child { margin-bottom: 0; }
.tested .photo { margin: 18px 0 0; }

/* ---- FOTOS ---- */
.photo { margin: 32px 0; }
.photo img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  background: var(--brand-lt);   /* cor de espera enquanto carrega */
}
.photo.hero { margin: 34px 0 44px; }
.photo.portrait { max-width: 430px; margin: 32px auto 40px; }
.photo.portrait figcaption { text-align: center; }
.photo figcaption { font-size: 0.85rem; color: var(--faint); margin-top: 10px; line-height: 1.45; }

/* ==========================================================================
   ESPAÇOS RESERVADOS — apagar quando o conteúdo real entrar
   ========================================================================== */

/* Onde um PRODUTO vai entrar depois */
.slot {
  border: 2px dashed var(--accent);
  background: #FFF7F0;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 34px 0;
}
.slot .slot-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.slot h3 { margin-top: 0; color: var(--accent-dk); }
.slot p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 10px; }
.slot ul { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

/* Onde uma FOTO vai entrar depois (já com o nome de arquivo certo) */
.img-slot {
  background: var(--brand-lt);
  border: 1px dashed var(--brand);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  margin: 30px 0;
  color: var(--brand-dk);
}
.img-slot .icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.img-slot .fname { font-family: ui-monospace, 'Courier New', monospace; font-size: 0.85rem; background: #fff; border: 1px solid var(--line); padding: 4px 9px; border-radius: 5px; display: inline-block; margin: 6px 0; }
.img-slot .desc { font-size: 0.88rem; color: var(--ink-soft); max-width: 560px; margin: 6px auto 0; }
.img-slot.hero { padding: 64px 24px; }

/* ---- CARTÕES DE ARTIGO (home e listas) ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; margin: 30px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { background: var(--brand-lt); aspect-ratio: 16/9; display: grid; place-items: center; font-size: 2rem; border-bottom: 1px solid var(--line); }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card .kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.card h3 { font-size: 1.13rem; margin: 0 0 10px; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }
.card .more { font-size: 0.88rem; font-weight: 600; color: var(--brand); text-decoration: none; }

/* ---- CAIXA DE CATEGORIA (home) ---- */
.cat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin: 34px 0; }
.cat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; text-decoration: none; display: block; transition: border-color .15s ease, transform .15s ease;
}
.cat:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat .ico { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.cat b { display: block; color: var(--ink); font-size: 1.03rem; margin-bottom: 5px; font-weight: 650; }
.cat span { font-size: 0.87rem; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq { margin: 30px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 10px; font-size: 1.12rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---- CAIXA DE AUTOR ---- */
.author-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin: var(--gap) 0 30px; display: flex; gap: 20px; align-items: flex-start; }
.author-box .avatar { width: 62px; height: 62px; border-radius: 50%; background: var(--brand-lt); border: 1px solid var(--line); flex: none; display: grid; place-items: center; font-size: 1.7rem; }
.author-box h3 { margin: 0 0 6px; font-size: 1.1rem; }
.author-box p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---- FONTES ---- */
.sources { font-size: 0.9rem; color: var(--ink-soft); }
.sources ol { margin-left: 1.2em; }
.sources li { margin-bottom: 8px; }

/* ---- LEIA TAMBÉM ---- */
.related { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin: var(--gap) 0; }
.related h2 { margin-top: 0; font-size: 1.3rem; }
.related ul { columns: 2; column-gap: 34px; margin: 0 0 0 1.1em; font-size: 0.95rem; }
.related li { break-inside: avoid; margin-bottom: 9px; }

/* ---- AVISO / NOTA ---- */
.note { background: #FFFBEB; border: 1px solid #F2E2B8; border-radius: var(--radius); padding: 20px 24px; margin: 30px 0; font-size: 0.95rem; }
.note b { color: var(--accent-dk); }
.note p:last-child { margin-bottom: 0; }

/* ---- RODAPÉ ---- */
.site-footer { background: var(--brand-dk); color: #DCE7E2; margin-top: 80px; padding: 50px 0 34px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.footer-grid .foot-h { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; font-size: 0.92rem; }
.footer-grid li { margin-bottom: 4px; }
.footer-grid li a { display: inline-block; padding: 5px 0; min-height: 24px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand p { font-size: 0.92rem; color: #B9CCC5; }

/* Avisos legais: 11px, regra fixa em todos os projetos */
.legal { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 38px; padding: 22px 22px 0; max-width: var(--wide); margin-left: auto; margin-right: auto; font-size: 11px; line-height: 1.55; color: #9FB5AD; }
.legal p { margin-bottom: 9px; }

/* ---- CELULAR ---- */
@media (max-width: 780px) {
  :root { --gap: 42px; }
  body { font-size: 17.5px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav { gap: 16px; font-size: 0.9rem; }
  .pc { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .related ul { columns: 1; }
  .product { padding: 22px 20px; }
  .author-box { flex-direction: column; }
}
