/*
Theme Name: Megap CRM
Theme URI: https://megapcrm.com.br
Author: Megap
Author URI: https://megapcrm.com.br
Description: Tema claro do blog do Megap CRM — design original criado no Anima, adaptado para fundo branco. Grid de artigos automático (compatível com AutomArticles), busca, categorias, depoimentos e rodapé. Responsivo, leve e com animações sutis.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: megap-crm
Tags: blog, light, one-column, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   Tokens — modo claro
========================================================= */
:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --card: #ffffff;
  --card-2: #f4f4f5;
  --line: #ececee;
  --line-2: #e6e6e8;
  --line-3: #dfdfe2;
  --line-hover: #c4c4c9;
  --accent: #f26722;
  --accent-hover: #ff7b3b;
  --text: #1a1a1a;
  --text-strong: #0f0f0f;
  --muted: #66666b;
  --muted-2: #77777c;
  --muted-3: #9a9aa0;
  --muted-4: #a8a8ad;
  --font-display: 'Sora', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  --radius-pill: 99px;
  --radius-xl: 32px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(15, 15, 15, 0.08);
  --shadow-glow: 0 8px 32px rgba(15, 15, 15, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Base
========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(242, 103, 34, 0.22); }

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   Logo (SVG oficial)
========================================================= */
.logo-img { display: block; width: auto; }
.logo-img--header { height: 38px; max-width: 46vw; }
.logo-img--hero { height: clamp(44px, 7vw, 64px); }
.logo-img--footer { height: 36px; }

/* =========================================================
   Reveal animations (JS adiciona .is-visible)
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(15, 15, 15, 0.08); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.site-header__logo img.custom-logo { width: 205px; max-width: 48vw; height: auto; display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: scale(0.97); }

.btn--outline {
  padding: 16px 20px;
  border: 1px solid var(--line-3);
  background: transparent;
  color: var(--text-strong);
}
.btn--outline:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(242, 103, 34, 0.18);
}
.btn--outline .btn__icon { width: 18px; height: 18px; color: var(--accent); }

/* =========================================================
   Hero
========================================================= */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 72px 0 0;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  color: var(--muted-3);
  letter-spacing: -0.5px;
}
.hero__title strong { font-weight: 600; color: var(--text-strong); }

.hero__subtitle {
  margin: 20px auto 0;
  max-width: 670px;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.3;
  color: var(--muted);
}

/* Busca */
.hero__search {
  display: flex;
  align-items: center;
  width: min(674px, 100%);
  padding-left: 28px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.hero__search:focus-within {
  border-color: rgba(242, 103, 34, 0.5);
  box-shadow: 0 10px 34px rgba(242, 103, 34, 0.22);
}

.hero__search-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--text-strong); }

.hero__search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 24px 16px 24px 12px;
  background: transparent;
  border: 0;
  color: var(--text-strong);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
}
.hero__search input::placeholder { color: var(--muted-3); }
.hero__search input:focus { outline: none; }
.hero__search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.hero__search-btn {
  padding: 24px 32px;
  border: 0;
  background: var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.hero__search-btn:hover { background: var(--accent-hover); }
.hero__search-btn:active { transform: scale(0.97); }

/* Categorias */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin-top: 32px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-3);
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.1;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.cat-pill:hover { border-color: var(--muted-3); color: var(--text-strong); transform: translateY(-1px); }
.cat-pill.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* Hero compacto (busca / arquivo) */
.hero--compact { padding-top: 56px; gap: 24px; }
.hero--compact .hero__title { font-size: clamp(26px, 4vw, 40px); }

/* =========================================================
   Grid de artigos
========================================================= */
.section { padding: 82px 0 0; }
.section:last-of-type { padding-bottom: 32px; }

.section__title {
  margin: 0 0 52px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
  color: var(--text-strong);
}

.cards-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.row-divider {
  border: 0;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 430 / 234;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-2);
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.06);
  transition: box-shadow 0.35s ease;
}
.card:hover .card__media { box-shadow: var(--shadow-soft); }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }

.card__media--empty {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(242, 103, 34, 0.2), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(242, 103, 34, 0.1), transparent 55%),
    var(--card-2);
}
.card__media--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23f26722' stroke-width='1.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 38%;
  opacity: 0.7;
}

/* Overlay de metadados: continua escuro, pois fica sobre a foto */
.card__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card__meta-left { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.card__author,
.card__date,
.card__cat {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.56px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.card__author { font-weight: 700; color: #fff; }
.card__date { font-weight: 600; color: #d6d6d6; }
.card__cat { font-weight: 700; color: #ffa46b; text-align: right; flex-shrink: 0; }

.card__body { display: flex; flex-direction: column; gap: 16px; }

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.35px;
  color: var(--text-strong);
}
.card__title a { transition: color 0.25s ease; }
.card__title a:hover { color: var(--accent); }

.card__excerpt {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted-2);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.6px;
  color: var(--text-strong);
}
.card__read svg {
  width: 12px; height: 12px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.card__read:hover svg { transform: translate(3px, -3px); }

.card__stats {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 11.6px;
  color: var(--muted-3);
}
.card__stats svg { width: 15px; height: 15px; color: var(--muted-3); }
.card__stats .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-hover);
}

/* =========================================================
   Paginação
========================================================= */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}
.pagination-wrap .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--card);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.1;
  color: var(--muted);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.2s var(--ease);
}
.pagination-wrap .page-numbers:hover { border-color: var(--line-hover); transform: translateY(-1px); }
.pagination-wrap .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination-wrap .page-numbers.dots {
  border: 0;
  background: transparent;
  cursor: default;
}
.pagination-wrap .page-numbers.dots:hover { transform: none; }
.pagination-wrap .page-numbers.next,
.pagination-wrap .page-numbers.prev { padding: 12px 24px; }

/* =========================================================
   Depoimentos
========================================================= */
.reviews__grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
}

.review-summary__score {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-summary__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  color: var(--text-strong);
}
.review-summary__count {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--muted);
}

.review-summary__sep { width: 1px; align-self: stretch; background: var(--line-2); }

.review-summary__dist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.review-summary__dist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.review-summary__dist-row dt { color: var(--text-strong); width: 14px; text-align: center; }
.review-summary__dist-row dd { margin: 0; color: var(--muted-4); }
.review-summary__dist-row svg { width: 16px; height: 16px; color: var(--accent); }

.stars { display: inline-flex; gap: 6px; }
.stars svg { width: 20px; height: 20px; }
.stars .star-on { color: var(--accent); }
.stars .star-off { color: var(--line-3); }

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-3);
  box-shadow: var(--shadow-soft);
}
.review-card .stars svg { width: 18px; height: 18px; }

.review-card__text {
  margin: 24px 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: #45454a;
}

.review-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-card__who { display: inline-flex; align-items: center; gap: 10px; }
.review-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1a2a3a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.review-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-strong);
}
.review-card__date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted-3);
}

.reviews__cta {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}
.btn--pill {
  flex: 1;
  padding: 20px 32px;
  border-radius: var(--radius-pill);
  background: var(--card-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #45454a;
}
.btn--pill:hover { background: #ebebed; }
.btn--pill svg { width: 20px; height: 20px; }
.btn--pill-accent {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
}
.btn--pill-accent:hover { background: var(--accent-hover); }
.btn--pill-accent svg { color: #fff; }

/* =========================================================
   Rodapé
========================================================= */
.site-footer { padding: 82px 0 32px; }

.site-footer__card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 460px; }
.site-footer__about { margin: 0; font-size: 16px; line-height: 1.35; color: #55555a; }

.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.badges li {
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: #55555a;
  white-space: nowrap;
}

.site-footer__nav { display: flex; gap: 52px; flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 20px; }
.site-footer__col h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-strong);
}
.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-footer__col a,
.site-footer__col p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
  transition: color 0.25s ease;
}
.site-footer__col a:hover { color: var(--text-strong); }
.site-footer__col address { font-style: normal; display: flex; flex-direction: column; gap: 20px; max-width: 290px; }

.site-footer__sep { border: 0; height: 1px; width: 100%; background: var(--line-2); margin: 0; }

.site-footer__copy {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  color: #55555a;
  text-align: center;
}

/* =========================================================
   Artigo (single)
========================================================= */
.single-hero { padding: 64px 0 0; }

.single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--muted-3);
}
.single-hero__meta .cat { color: var(--accent); font-weight: 700; }
.single-hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-hover); }

.single-hero__title {
  margin: 20px 0 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-strong);
}

.single-hero__img {
  margin: 40px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.single-hero__img img { width: 100%; display: block; }

.entry-content {
  max-width: 760px;
  margin: 48px auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: #2c2c31;
}
.entry-content > * { margin: 0 0 1.4em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2em 0 0.7em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-strong);
  letter-spacing: -0.3px;
}
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }
.entry-content a { color: var(--accent); border-bottom: 1px solid rgba(242, 103, 34, 0.35); transition: border-color 0.2s ease; }
.entry-content a:hover { border-color: var(--accent); }
.entry-content strong { color: var(--text-strong); }
.entry-content img { border-radius: 12px; }
.entry-content blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}
.entry-content ul,
.entry-content ol { padding-left: 26px; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li::marker { color: var(--accent); }
.entry-content code {
  padding: 2px 6px;
  background: var(--card-2);
  border-radius: 6px;
  font-size: 0.9em;
}
.entry-content pre {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow-x: auto;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  text-align: left;
}
.entry-content th { background: var(--card-2); color: var(--text-strong); font-family: var(--font-display); }
.entry-content figcaption { font-size: 13px; color: var(--muted-3); text-align: center; margin-top: 8px; }
.entry-content iframe { max-width: 100%; border-radius: 12px; }

.entry-tags {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.entry-tags a {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.entry-tags a:hover { border-color: var(--accent); color: var(--text-strong); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s ease;
}
.back-link:hover { color: var(--text-strong); }
.back-link svg { width: 14px; height: 14px; }

/* Página comum */
.page-content-wrap { padding: 64px 0; }

/* 404 */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 16vw, 160px);
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 14px 50px rgba(242, 103, 34, 0.3);
}
.error-404 h1 { font-family: var(--font-display); font-weight: 600; color: var(--text-strong); }
.error-404 .hero__search { margin: 40px auto 0; }

.no-results { text-align: center; padding: 60px 0; color: var(--muted); }
.no-results h2 { font-family: var(--font-display); color: var(--text-strong); }

/* =========================================================
   Responsivo
========================================================= */
@media (max-width: 1024px) {
  .cards-row { grid-template-columns: repeat(2, 1fr); }
  .row-divider { display: none; }
  .cards-row + .cards-row { margin-top: 24px; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review-summary { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding-top: 56px; }
  .section__title { margin-bottom: 32px; }

  .hero { padding-top: 48px; gap: 24px; }

  .hero__search { padding-left: 18px; }
  .hero__search input[type="search"] { padding: 18px 10px 18px 10px; font-size: 15px; }
  .hero__search-btn { padding: 18px 20px; font-size: 15px; }
  .hero__search-icon { width: 20px; height: 20px; }

  .cat-nav { gap: 10px; }
  .cat-pill { padding: 10px 16px; font-size: 13px; }

  .cards-row { grid-template-columns: 1fr; }

  .reviews__grid { grid-template-columns: 1fr; }
  .review-summary { flex-direction: column; align-items: flex-start; gap: 24px; }
  .review-summary__sep { display: none; }
  .reviews__cta { flex-direction: column; }
  .btn--pill-accent { flex: 1; }

  .site-footer__card { padding: 32px 24px; border-radius: 20px; }
  .site-footer__top { flex-direction: column; gap: 36px; }
  .site-footer__nav { gap: 36px; }

  .btn--outline { padding: 12px 16px; font-size: 14px; }

  .pagination-wrap .page-numbers.next,
  .pagination-wrap .page-numbers.prev { padding: 12px 16px; }
}
