/* ===================================================
   Buscar Energia — Layout estilo Trivago
   Comparador limpo: hero + busca central + resultados
   =================================================== */

:root {
  --tr-blue:       #007FAD;
  --tr-blue-dark:  #006891;
  --tr-coral:      #CC494D;
  --tr-coral-dark: #B33D41;
  --tr-coral-hover:#E7666A;
  --tr-navy:       #2B3A42;
  --tr-navy-dark:  #1F2A30;
  --tr-bg-hero:    #E8F4FA;
  --tr-text:       #293339;
  --tr-text-muted: #697379;
  --tr-border:     #D9DEE2;
  --tr-shadow:     0 4px 24px rgba(0, 0, 0, 0.12);
  --tr-radius:     8px;
  --tr-max:        1100px;
}

body:has(.tr-layout),
body:has(.tr-header) {
  background: #fff;
  color: var(--tr-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.tr-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* ================================================================
   HEADER
   ================================================================ */
.tr-header {
  background: #fff;
  border-bottom: 1px solid var(--tr-border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.tr-header-inner {
  max-width: var(--tr-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.tr-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tr-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.tr-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.tr-nav-link {
  color: var(--tr-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--tr-radius);
  transition: background 0.15s;
}

.tr-nav-link:hover {
  background: rgba(0, 127, 173, 0.08);
}

.tr-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  background: transparent;
  color: var(--tr-text);
  cursor: pointer;
}

.tr-nav-toggle-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.tr-nav-toggle-icon::before,
.tr-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.tr-nav-toggle-icon::before { top: -6px; }
.tr-nav-toggle-icon::after { top: 6px; }

/* ================================================================
   HERO
   ================================================================ */
.tr-hero {
  position: relative;
  background: var(--tr-bg-hero);
  overflow: hidden;
  padding: 48px 24px 64px;
}

.tr-hero--clean {
  background: linear-gradient(135deg, #E8F4FA 0%, #F7FAFC 45%, #FFFFFF 100%);
}

.tr-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tr-hero--clean .tr-hero-bg {
  background: none;
}

.tr-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
}

.tr-hero-shape--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -40px;
  background: rgba(0, 127, 173, 0.08);
}

.tr-hero-shape--2 {
  width: 180px;
  height: 180px;
  bottom: 24px;
  left: -40px;
  background: rgba(204, 73, 77, 0.07);
}

.tr-hero-shape--3 {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 42%;
  background: rgba(0, 127, 173, 0.05);
}

.tr-hero-inner {
  position: relative;
  max-width: var(--tr-max);
  margin: 0 auto;
  text-align: center;
}

.tr-hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  text-align: left;
}

.tr-hero-copy {
  min-width: 0;
}

.tr-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tr-hero-illustration {
  width: min(100%, 380px);
  height: auto;
}

.tr-hero-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--tr-text);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.tr-hero-subtitle {
  font-size: 16px;
  color: var(--tr-text-muted);
  margin: 0;
  max-width: 560px;
}

.tr-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.tr-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tr-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tr-hero-trust-item svg {
  color: var(--tr-blue);
  flex-shrink: 0;
}

/* ================================================================
   SEARCH CARD
   ================================================================ */
.tr-search-card {
  background: #fff;
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  padding: 4px;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.tr-search-form {
  margin: 0;
}

.tr-search-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.tr-search-field {
  flex: 1 1 140px;
  min-width: 0;
  padding: 12px 16px;
  border-right: 1px solid var(--tr-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tr-search-field:last-of-type {
  border-right: none;
}

.tr-search-field--cep {
  flex: 1.4 1 180px;
}

.tr-search-field--submit {
  flex: 0 0 auto;
  border-right: none;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.tr-search-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tr-search-label-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  display: none;
}

.tr-search-input,
.tr-search-select {
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--tr-text);
  outline: none;
  width: 100%;
  padding: 0;
  font-family: inherit;
}

.tr-search-input::placeholder {
  color: #B0B8BE;
  font-weight: 400;
}

.tr-search-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23697379' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
}

.tr-consumo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tr-consumo-row .tr-search-input {
  flex: 1;
  min-width: 0;
}

.tr-consumo-row .tr-search-select {
  flex: 0 0 auto;
  width: auto;
  font-size: 13px;
}

.tr-search-submit {
  background: var(--tr-coral);
  color: #fff;
  border: none;
  padding: 0 28px;
  min-height: 100%;
  min-width: 140px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 var(--tr-radius) var(--tr-radius) 0;
  transition: background 0.15s;
  white-space: nowrap;
}

.tr-search-submit:hover {
  background: var(--tr-coral-dark);
}

.tr-search-alert {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #B91C1C;
  background: #FEF2F2;
  border-radius: 0 0 var(--tr-radius) var(--tr-radius);
}

/* Compact search (results page) */
.tr-search-bar {
  background: #fff;
  border-bottom: 1px solid var(--tr-border);
  padding: 16px 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tr-search-bar .tr-search-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  max-width: var(--tr-max);
  margin: 0 auto;
}

.tr-search-bar .tr-search-field {
  padding: 8px 14px;
}

.tr-search-bar .tr-search-submit {
  font-size: 14px;
  min-width: 120px;
}

.tr-search-card-region {
  padding: 12px 12px 0;
}

/* Region bar */
.tr-region-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 127, 173, 0.06);
  border-bottom: 1px solid var(--tr-border);
  text-align: left;
}

.tr-search-card .tr-region-bar {
  border: none;
  border-radius: var(--tr-radius) var(--tr-radius) 0 0;
  margin: 0;
}

.tr-region-bar--compact {
  padding: 8px 12px;
}

.tr-region-bar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tr-region-bar-cep {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-text);
}

.tr-region-bar-region {
  font-size: 12px;
  color: var(--tr-text-muted);
  line-height: 1.4;
}

.tr-region-bar-form {
  margin: 0;
  flex-shrink: 0;
}

.tr-region-bar-clear {
  background: #fff;
  border: 1px solid var(--tr-blue);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tr-blue);
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--tr-radius);
  transition: background 0.15s, color 0.15s;
}

.tr-region-bar-clear:hover {
  background: var(--tr-blue);
  color: #fff;
}

.tr-search-cep-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tr-search-cep-wrap .tr-search-input {
  padding-right: 28px;
}

.tr-search-cep-clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--tr-text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.tr-search-cep-clear:hover {
  color: var(--tr-coral);
  background: rgba(204, 73, 77, 0.08);
}

.tr-search-cep-clear[hidden] {
  display: none;
}

/* Waitlist / empty state */
.tr-waitlist-section {
  padding: 32px 24px 64px;
  background: #F5F7F8;
}

.tr-waitlist-inner {
  max-width: 560px;
  margin: 0 auto;
}

.tr-waitlist-card {
  background: #fff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  padding: 40px 36px;
  text-align: center;
}

.tr-waitlist-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 127, 173, 0.1);
  color: var(--tr-blue);
  border-radius: 50%;
}

.tr-waitlist-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tr-text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.tr-waitlist-desc {
  font-size: 15px;
  color: var(--tr-text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.tr-waitlist-context {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.tr-waitlist-chip {
  display: inline-block;
  padding: 6px 12px;
  background: #F0F3F5;
  border: 1px solid var(--tr-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tr-text);
}

.tr-waitlist-chip--muted {
  font-weight: 500;
  color: var(--tr-text-muted);
}

.tr-waitlist-form {
  text-align: left;
}

.tr-waitlist-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.tr-waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tr-waitlist-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tr-waitlist-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--tr-text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.tr-waitlist-input:focus {
  border-color: var(--tr-blue);
  box-shadow: 0 0 0 3px rgba(0, 127, 173, 0.12);
}

.tr-waitlist-input::placeholder {
  color: #B0B8BE;
}

.tr-waitlist-submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--tr-coral);
  color: #fff;
  border: none;
  border-radius: var(--tr-radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.tr-waitlist-submit:hover {
  background: var(--tr-coral-dark);
}

.tr-waitlist-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--tr-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ================================================================
   ACOMPANHAR SOLICITAÇÃO (acesso / verificação)
   ================================================================ */
.tr-access-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  width: 100%;
  box-sizing: border-box;
}

.tr-access-page--wide {
  max-width: 560px;
}

.tr-access-breadcrumb {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin-bottom: 20px;
}

.tr-access-breadcrumb a {
  color: var(--tr-blue);
  font-weight: 600;
  text-decoration: none;
}

.tr-access-breadcrumb a:hover {
  text-decoration: underline;
}

.tr-access-breadcrumb-sep {
  color: var(--tr-border);
  margin: 0 6px;
}

.tr-access-card {
  background: #fff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  box-shadow: var(--tr-shadow);
  padding: 28px 28px 24px;
}

.tr-access-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.tr-access-step {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--tr-text-muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tr-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.tr-access-step--active {
  color: var(--tr-coral);
  border-bottom-color: var(--tr-coral);
}

.tr-access-step--done {
  color: var(--tr-text);
  border-bottom-color: var(--tr-blue);
}

.tr-access-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: rgba(0, 127, 173, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tr-blue);
}

.tr-access-head {
  margin-bottom: 24px;
  text-align: center;
}

.tr-access-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tr-text);
  margin: 0 0 8px;
  line-height: 1.25;
}

.tr-access-desc {
  font-size: 14px;
  color: var(--tr-text-muted);
  margin: 0;
  line-height: 1.55;
}

.tr-access-flash {
  margin-bottom: 16px;
  text-align: left;
}

.tr-access-form {
  margin-top: 0;
}

.tr-access-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.tr-access-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tr-access-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--tr-text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.tr-access-input:focus {
  border-color: var(--tr-blue);
  box-shadow: 0 0 0 3px rgba(0, 127, 173, 0.12);
}

.tr-access-input::placeholder {
  color: #B0B8BE;
}

.tr-access-input--code {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.35em;
  font-variant-numeric: tabular-nums;
}

.tr-access-hint {
  font-size: 12px;
  color: var(--tr-text-muted);
  margin: 0;
  line-height: 1.5;
}

.tr-access-submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  margin-top: 4px;
  background: var(--tr-coral);
  color: #fff;
  border: none;
  border-radius: var(--tr-radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.tr-access-submit:hover {
  background: var(--tr-coral-dark);
}

.tr-access-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--tr-border);
  text-align: center;
}

.tr-access-foot-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--tr-blue);
  text-decoration: none;
}

.tr-access-foot-link:hover {
  text-decoration: underline;
}

.tr-access-trust {
  margin: 20px auto 0;
  max-width: 320px;
  text-align: center;
  font-size: 12px;
  color: var(--tr-text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.tr-access-trust svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--tr-text-muted);
}

.tr-access-resend {
  margin-top: 14px;
  text-align: center;
}

.tr-access-link-btn {
  background: none;
  border: none;
  color: var(--tr-blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.tr-access-card--center {
  text-align: center;
}

.tr-access-badge {
  display: inline-block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.tr-access-lead {
  font-size: 15px;
  color: var(--tr-text);
  margin: 0 0 6px;
  line-height: 1.45;
}

.tr-access-offer {
  text-align: left;
  padding: 16px;
  background: #F5F7F8;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  margin-bottom: 16px;
}

.tr-access-offer-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--tr-coral);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.tr-access-offer-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.tr-access-offer-meta {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin: 0;
}

.tr-access-note {
  font-size: 14px;
  color: var(--tr-text-muted);
  line-height: 1.55;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: rgba(0, 127, 173, 0.06);
  border: 1px solid rgba(0, 127, 173, 0.15);
  border-radius: var(--tr-radius);
  text-align: left;
}

.tr-access-submit--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* Region bar (legacy override) */
.tr-layout .mp-region-bar {
  max-width: var(--tr-max);
  margin: 12px auto 0;
  border-radius: var(--tr-radius);
  background: rgba(0, 127, 173, 0.08);
  border: 1px solid rgba(0, 127, 173, 0.2);
}

.tr-layout .mp-region-bar-clear {
  color: var(--tr-blue);
}

/* ================================================================
   RESULTS
   ================================================================ */
.tr-results {
  flex: 1;
  padding: 32px 24px 64px;
  background: #F5F7F8;
}

.tr-results-inner {
  max-width: var(--tr-max);
  margin: 0 auto;
}

.tr-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.tr-results-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tr-text);
  margin: 0;
}

.tr-results-count {
  font-size: 14px;
  color: var(--tr-text-muted);
}

.tr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
}

.tr-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tr-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--tr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.tr-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--tr-border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tr-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}

.tr-filter-chip:has(input:checked) {
  border-color: var(--tr-blue);
  background: rgba(0, 127, 173, 0.08);
  color: var(--tr-blue);
  font-weight: 600;
}

.tr-filter-chip input {
  display: none;
}

.tr-filter-clear {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--tr-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
}

.tr-filter-clear:hover {
  text-decoration: underline;
}

.tr-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-result-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 0;
  background: #fff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.tr-result-card:hover {
  box-shadow: var(--tr-shadow);
  border-color: #C5CDD3;
}

.tr-result-card--featured {
  border-color: var(--tr-blue);
}

.tr-result-visual {
  position: relative;
  height: 100%;
  min-height: 160px;
  background: #EEF1F3;
}

.tr-result-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tr-result-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--tr-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tr-result-type {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
}

.tr-result-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.tr-result-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--tr-text);
  margin: 0;
  line-height: 1.3;
}

.tr-result-headline {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-coral);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.tr-result-supplier {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin: 4px 0 0;
}

.tr-result-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.tr-result-stars {
  font-weight: 700;
  color: var(--tr-text);
}

.tr-result-stars::before {
  content: "\2605 ";
  color: #F59E0B;
}

.tr-result-reviews {
  color: var(--tr-text-muted);
}

.tr-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tr-result-tag {
  font-size: 12px;
  color: var(--tr-text-muted);
  background: #F0F3F5;
  padding: 4px 10px;
  border-radius: 4px;
}

.tr-result-side {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  border-left: 1px solid var(--tr-border);
  min-width: 180px;
}

.tr-result-discount {
  text-align: right;
}

.tr-result-discount-val {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--tr-coral);
  line-height: 1;
}

.tr-result-discount-lbl {
  font-size: 12px;
  color: var(--tr-text-muted);
}

.tr-result-cta {
  background: var(--tr-coral);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--tr-radius);
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s;
}

.tr-result-card:hover .tr-result-cta {
  background: var(--tr-coral-dark);
}

.tr-results-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
}

.tr-results-empty-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.tr-results-empty-desc {
  font-size: 15px;
  color: var(--tr-text-muted);
  margin: 0;
}

.tr-layout .mp-filter-submit {
  background: var(--tr-coral);
  border-radius: var(--tr-radius);
}

.tr-layout .mp-filter-submit:hover {
  background: var(--tr-coral-dark);
}

/* Flash messages */
.tr-flash-wrap {
  max-width: var(--tr-max);
  margin: 0 auto;
  padding: 0 24px;
}

.tr-flash {
  padding: 12px 16px;
  border-radius: var(--tr-radius);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.tr-flash--notice {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.tr-flash--alert {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ================================================================
   FOOTER
   ================================================================ */
.tr-footer {
  background: #293339;
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.tr-footer-inner {
  max-width: var(--tr-max);
  margin: 0 auto;
}

.tr-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.tr-footer-brand .tr-logo-img {
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.tr-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.tr-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.tr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tr-footer-links li {
  margin-bottom: 10px;
}

.tr-footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.tr-footer-links a:hover {
  color: #fff;
}

.tr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.tr-footer-seals {
  display: flex;
  gap: 16px;
}

.tr-footer-seal {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .tr-result-card {
    grid-template-columns: 160px 1fr;
  }

  .tr-result-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid var(--tr-border);
  }

  .tr-result-discount {
    text-align: left;
  }

  .tr-search-row {
    flex-direction: column;
  }

  .tr-search-card {
    overflow-x: clip;
  }

  .tr-search-field {
    border-right: none;
    border-bottom: 1px solid var(--tr-border);
  }

  .tr-search-field--submit {
    border-bottom: none;
  }

  .tr-search-submit {
    width: 100%;
    min-height: 52px;
    border-radius: 0 0 var(--tr-radius) var(--tr-radius);
  }

  .tr-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tr-header,
  .tr-footer {
    max-width: 100%;
    overflow-x: clip;
  }

  .tr-nav-toggle {
    display: flex;
  }

  .tr-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--tr-border);
    flex-direction: column;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .tr-nav.tr-nav--open {
    display: flex;
  }

  .tr-header {
    position: relative;
  }

  .tr-header-inner {
    position: relative;
  }

  .tr-nav-link {
    width: 100%;
    text-align: left;
  }

  .tr-result-card {
    grid-template-columns: 1fr;
  }

  .tr-result-visual {
    min-height: 180px;
  }

  .tr-footer-grid {
    grid-template-columns: 1fr;
  }

  .tr-filters {
    flex-direction: column;
  }

  .tr-waitlist-fields {
    grid-template-columns: 1fr;
  }

  .tr-waitlist-card {
    padding: 28px 20px;
  }

  .tr-access-page {
    padding: 16px 16px 48px;
  }

  .tr-access-card {
    padding: 24px 20px 20px;
  }

  .tr-access-step {
    font-size: 9px;
  }

  .tr-region-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .tr-region-bar-info {
    min-width: 0;
  }

  .tr-region-bar-clear {
    text-align: center;
    align-self: flex-start;
  }

  .tr-search-bar {
    padding: 10px 16px;
    overflow-x: clip;
  }

  .tr-hero-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
    text-align: center;
  }

  .tr-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .tr-hero-visual {
    display: none;
  }

  /* Hero + busca — compacto no mobile */
  .tr-hero {
    padding: 20px 18px 32px;
    overflow-x: clip;
  }

  .tr-hero-bg {
    display: none;
  }

  .tr-hero-inner {
    max-width: 100%;
  }

  .tr-hero-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .tr-hero-subtitle {
    font-size: 14px;
  }

  .tr-hero-trust {
    gap: 8px 12px;
    margin-top: 14px;
  }

  .tr-hero-trust-item {
    font-size: 10px;
  }

  .tr-search-card {
    padding: 0;
    overflow-x: clip;
    max-width: 100%;
  }

  .tr-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
  }

  .tr-search-field {
    padding: 8px 12px;
    gap: 2px;
    border-right: none;
    border-bottom: 1px solid var(--tr-border);
    min-width: 0;
  }

  .tr-search-field--cep {
    grid-column: 1 / -1;
  }

  .tr-search-field:nth-child(2) {
    border-right: 1px solid var(--tr-border);
  }

  .tr-search-field:nth-child(4) {
    grid-column: 1 / -1;
  }

  .tr-search-field--submit {
    grid-column: 1 / -1;
    border-bottom: none;
    padding: 8px 10px 10px;
  }

  .tr-search-label,
  .tr-label-with-tip .tr-search-label {
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .tr-search-input,
  .tr-search-select {
    font-size: 16px;
    line-height: 1.25;
  }

  .tr-consumo-row {
    gap: 6px;
  }

  .tr-consumo-row .tr-search-select {
    flex: 0 0 68px;
    width: 68px;
    font-size: 13px;
    padding-right: 16px;
  }

  .tr-search-submit {
    min-height: 44px;
    border-radius: 6px;
    font-size: 15px;
  }

  .tr-search-input::-webkit-contacts-auto-fill-button,
  .tr-search-input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
  }
}
