:root {
  --ocre-claro: #d4a574;
  --ocre-dourado: #c8963e;
  --ocre-escuro: #b8860b;
  --verde-claro: #8a9a5b;
  --verde-medio: #697d3b;
  --verde-escuro: #4a5d23;
  --marrom-medio: #8b4513;
  --marrom-escuro: #3e2723;
  --bege-trigo: #f5deb3;
  --bege-tan: #d2b48c;

  --bg: #fbf5e8;
  --bg-2: #f5e8d0;
  --bg-paper: #fff9ed;
  --ink: #2a1810;
  --ink-soft: #6b4423;
  --line: rgba(107, 68, 35, 0.15);
  --line-strong: rgba(107, 68, 35, 0.3);

  --green: #4a5d23;
  --yellow: #b8860b;
  --neutral: #6b4423;

  --display: 'Cinzel', serif;
  --script: 'Pinyon Script', cursive;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 232, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-paper);
  padding: 3px;
  border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--marrom-escuro);
  letter-spacing: 0.05em;
}
.brand-tag {
  font-family: var(--script);
  font-size: 13px;
  color: var(--ocre-dourado);
  margin-top: 2px;
}
.nav { display: flex; gap: 24px; }
.nav a {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--ocre-dourado);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--marrom-escuro); }
.nav a:hover::after { width: 100%; }
@media (max-width: 760px) { .nav { display: none; } }

/* HERO */
.hero {
  position: relative;
  padding: 90px 28px 70px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, var(--bg-paper) 0%, var(--bg) 60%, var(--bg-2) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(184, 134, 11, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 93, 35, 0.08) 0%, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ocre-escuro);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--ocre-claro); }

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--marrom-escuro);
  margin-bottom: 16px;
}
.hero h1 em {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--ocre-dourado);
  letter-spacing: 0;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero-hint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 760px) { .hero-stats { grid-template-columns: 1fr; gap: 12px; } }

.stat {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
}
.stat--win { border-color: var(--verde-medio); background: linear-gradient(135deg, var(--bg-paper) 0%, rgba(74, 93, 35, 0.06) 100%); }
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  color: var(--marrom-escuro);
  line-height: 1;
}
.stat--win .stat-num { color: var(--verde-medio); }
.stat-lbl {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.stat-lbl strong { color: var(--marrom-escuro); }

/* VERDICT STRIP */
.verdict-strip {
  background: linear-gradient(90deg, var(--marrom-escuro) 0%, var(--verde-escuro) 100%);
  color: var(--bege-trigo);
  padding: 18px 28px;
}
.verdict-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.verdict-icon {
  background: var(--ocre-claro);
  color: var(--marrom-escuro);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.verdict-inner p { font-size: 14px; letter-spacing: 0.02em; }
.verdict-inner strong { color: var(--ocre-claro); font-weight: 700; }

/* SECTIONS */
.section {
  padding: 80px 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.section--alt { background: var(--bg-2); max-width: none; }
.section--alt > * { max-width: 1400px; margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 32px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--marrom-escuro);
  margin-bottom: 8px;
}
.section-head h2 em {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18em;
  color: var(--ocre-dourado);
  letter-spacing: 0;
}
.section-sub { font-size: 15px; color: var(--ink-soft); max-width: 720px; }

/* TABLE */
.table-wrap {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(62, 39, 35, 0.18);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.comp-table th, .comp-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.comp-table thead {
  background: var(--marrom-escuro);
  color: var(--ocre-claro);
}
.comp-table th {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.comp-table td { color: var(--ink); }
.comp-table tbody tr:hover { background: var(--bg-2); }
.comp-table tbody tr:last-child td { border-bottom: none; }

.row-highlight {
  background: linear-gradient(90deg, rgba(74, 93, 35, 0.08) 0%, rgba(212, 165, 116, 0.06) 100%);
  border-left: 4px solid var(--verde-medio);
}
.row-highlight td:first-child { padding-left: 14px; }

.cell-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  padding: 4px 8px;
  margin: -4px -8px;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}
a.cell-brand:hover {
  background: rgba(212, 165, 116, 0.18);
  transform: translateX(2px);
}
a.cell-brand:hover .cell-link { opacity: 1; transform: translate(0, 0); }
.cell-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cell-info strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--marrom-escuro);
  letter-spacing: 0.02em;
}
.cell-info small {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.cell-link {
  font-size: 14px;
  color: var(--ocre-dourado);
  opacity: 0;
  transform: translate(-4px, 0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 700;
  flex-shrink: 0;
}
.cell-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocre-dourado) 0%, var(--ocre-escuro) 100%);
  color: var(--bg-paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cell-mark--alt {
  background: var(--bg);
  color: var(--marrom-escuro);
  border: 1px solid var(--line);
}
.cell-mark--warn {
  background: linear-gradient(135deg, #c8161d 0%, #8a0d12 100%);
  color: var(--bege-trigo);
  animation: warn-pulse 2.4s ease-in-out infinite;
}
@keyframes warn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 22, 29, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(200, 22, 29, 0); }
}

.num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--marrom-escuro);
}
.num--big {
  color: #c8161d;
  font-size: 19px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--green { background: rgba(74, 93, 35, 0.15); color: var(--verde-escuro); border: 1px solid rgba(74, 93, 35, 0.3); }
.tag--yellow { background: rgba(184, 134, 11, 0.15); color: var(--ocre-escuro); border: 1px solid rgba(184, 134, 11, 0.3); }
.tag--neutral { background: rgba(107, 68, 35, 0.1); color: var(--ink-soft); border: 1px solid var(--line-strong); }
.tag--red { background: rgba(200, 22, 29, 0.12); color: #c8161d; border: 1px solid rgba(200, 22, 29, 0.4); }

.table-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding: 0 4px;
}
.table-note strong { color: var(--marrom-escuro); }

@media (max-width: 980px) {
  .table-wrap { overflow-x: auto; }
  .comp-table { min-width: 880px; }
}

/* PATTERNS */
.patterns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .patterns { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .patterns { grid-template-columns: 1fr; } }

.pattern {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pattern:hover { transform: translateY(-4px); border-color: var(--ocre-dourado); }
.pattern-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  color: var(--ocre-dourado);
  line-height: 1;
  margin-bottom: 12px;
}
.pattern h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--marrom-escuro);
  margin-bottom: 8px;
  line-height: 1.3;
}
.pattern p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* REASONS */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.reason {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.reason:hover {
  transform: translateY(-4px);
  border-color: var(--verde-medio);
  box-shadow: 0 16px 32px -12px rgba(74, 93, 35, 0.25);
}
.reason::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde-medio) 0%, var(--ocre-dourado) 100%);
  border-radius: 16px 16px 0 0;
}
.reason-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ocre-escuro);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.reason h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--marrom-escuro);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.reason p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* CLOSING */
.closing {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--marrom-escuro) 100%);
  color: var(--bege-trigo);
  padding: 100px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(200, 150, 62, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(74, 93, 35, 0.18) 0%, transparent 50%);
}
.closing-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.closing-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  color: var(--bege-trigo);
  margin-bottom: 18px;
}
.closing-title em {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--ocre-claro);
}
.closing-sub {
  font-size: 16px;
  color: rgba(245, 222, 179, 0.78);
  margin-bottom: 32px;
}
.closing-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ocre-dourado) 0%, var(--ocre-escuro) 100%);
  color: var(--bg-paper);
  box-shadow: 0 8px 24px -6px rgba(184, 134, 11, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(184, 134, 11, 0.7); }
.btn-secondary {
  background: rgba(245, 222, 179, 0.08);
  color: var(--bege-trigo);
  border: 1px solid var(--ocre-claro);
}
.btn-secondary:hover { background: rgba(245, 222, 179, 0.16); transform: translateY(-2px); }

/* FOOTER */
.foot {
  background: #1a0e08;
  padding: 28px;
  border-top: 1px solid rgba(212, 165, 116, 0.18);
  color: var(--bege-trigo);
}
.foot-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bege-trigo);
  padding: 3px;
}
.foot-name { display: block; color: rgba(245, 222, 179, 0.85); font-size: 13px; }
.foot-tag {
  display: block;
  font-family: var(--script);
  font-size: 14px;
  color: var(--ocre-claro);
  margin-top: 2px;
}
.foot-source {
  font-size: 11px;
  color: rgba(245, 222, 179, 0.5);
  letter-spacing: 0.04em;
  max-width: 360px;
  text-align: right;
  line-height: 1.5;
}
@media (max-width: 760px) { .foot-source { text-align: left; } }
