/* ==========================================================================
   Trier Sistemas — trier.css
   Prefixo: .tr- (100% isolado)
   ========================================================================== */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --tr-blue-dark: #0B1E3D;
  --tr-blue-mid: #12305C;
  --tr-green: #D0DE16;
  --tr-green-dark: #6BA82E;
  --tr-blue-accent: #1E5FCC;
  --tr-teal: #16A399;
  --tr-text-dark: #0F1F3D;
  --tr-text-gray: #6B7280;
  --tr-bg-light: #F7F8FA;
  --tr-white: #FFFFFF;
  --tr-border-light: #E5E7EB;

  --tr-font: 'Inter', 'Manrope', sans-serif;

  --tr-bp-mobile: 480px;
  --tr-bp-tablet: 640px;
  --tr-bp-desktop: 968px;
  --tr-bp-xl: 1440px;
}

/* ── Reset Mínimo ──────────────────────────────────────────────────────── */
.tr-page *,
.tr-page *::before,
.tr-page *::after {
  box-sizing: border-box;
}

.tr-page {
  font-family: var(--tr-font);
  color: var(--tr-text-dark);
  -webkit-font-smoothing: antialiased;
  background-color: var(--tr-bg-light);
  margin: 0;
  padding: 0;
}

.tr-page a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.tr-page ul,
.tr-page ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tr-page img {
  max-width: 100%;
  display: block;
}

.tr-page p {
  margin: 0;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ── Elementos Comuns ──────────────────────────────────────────────────── */
.tr-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--tr-font);
}

.tr-btn-primary {
  background: var(--tr-green);
  color: var(--tr-blue-dark);
  border-color: var(--tr-green);
}

.tr-btn-primary:hover {
  background: var(--tr-green-dark);
  border-color: var(--tr-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141, 198, 63, 0.3);
}

/* ── Animações ─────────────────────────────────────────────────────────── */
@keyframes tr-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ── Header ────────────────────────────────────────────────────────────── */
.tr-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 30, 61, 0.85);
  /* Fundo Dark Translúcido para Hero */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tr-header.scrolled {
  background: var(--tr-white);
  border-bottom: 1px solid var(--tr-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tr-header-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

.tr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tr-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.tr-header.scrolled .tr-logo img {
  filter: none;
}

/* Alterar cor do texto da logo/links quando scrollado */
.tr-header.scrolled .tr-nav a,
.tr-header.scrolled .tr-back-link {
  color: var(--tr-text-dark);
}

.tr-header.scrolled .tr-nav a:hover {
  background: rgba(11, 30, 61, 0.05);
}

.tr-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

@media (min-width: 968px) {
  .tr-nav {
    display: flex;
  }
}

.tr-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
}

.tr-nav a:hover {
  color: var(--tr-white);
  background: rgba(255, 255, 255, 0.1);
}

.tr-nav a.active {
  color: var(--tr-green);
  background: rgba(255, 255, 255, 0.1);
}

.tr-nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 16px;
}

.tr-header.scrolled .tr-nav-divider {
  background: var(--tr-border-light);
}

.tr-back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 400;
}

.tr-back-link:hover {
  color: var(--tr-white);
}

.tr-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

@media (min-width: 968px) {
  .tr-hamburger {
    display: none;
  }
}

.tr-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tr-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.tr-header.scrolled .tr-hamburger span {
  background: var(--tr-text-dark);
}

.tr-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--tr-blue-dark);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tr-header.scrolled .tr-mobile-nav {
  background: var(--tr-white);
  border-top-color: var(--tr-border-light);
}

.tr-mobile-nav.open {
  display: flex;
}

.tr-mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tr-header.scrolled .tr-mobile-nav a {
  color: var(--tr-text-dark);
  border-bottom-color: var(--tr-border-light);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.tr-hero {
  position: relative;
  background: url('img/background_trier_hero.png') center center / cover no-repeat, var(--tr-blue-dark);
  overflow: hidden;
  padding: 40px 0 0;
  color: var(--tr-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}



.tr-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Content */
.tr-hero-content .tr-hero-h1 {
  color: var(--tr-white);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.15;
  max-width: 560px;
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.tr-text-yellow {
  color: #D0DE16;
}

.tr-text-white {
  color: #FFFFFF;
  font-weight: 700;
}

.tr-hero-content .tr-hero-desc {
  color: #C4CEDD;
  font-size: 16px;
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 1.75rem;
  margin-top: 0;
}

.tr-hero-content .tr-hero-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.tr-hero-content .tr-hero-list-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--tr-white);
  font-size: 16px;
}

.tr-hero-list-icon {
  color: #D0DE16;
  display: flex;
}

.tr-btn-primary {
  background: #D0DE16;
  color: #0B1E3D;
  font-weight: 700;
  font-size: 16px;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  width: fit-content;
}

.tr-btn-primary:hover {
  background: #7DB635;
  transform: translateY(-2px);
}

.tr-btn-icon-wrapper {
  display: flex;
}

/* Stats */

.tr-hero-stats {
  margin-top: 3.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.tr-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tr-stat-icon {
  color: #D0DE16;
}

.tr-stat-text strong {
  display: block;
  color: var(--tr-white);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

.tr-stat-text span {
  color: var(--tr-white);
  font-size: 11px;
  display: block;
  opacity: 0.9;
}


/* Visual Column */
.tr-hero-visual {
  position: relative;
  width: 100%;
  height: 620px;
}

/* Floating Cards */

.tr-flt-card {
  position: absolute;
  z-index: 3;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 200px;
}

.tr-flt-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-flt-icon i {
  width: 28px;
  height: 28px;
}


.tr-flt-icon-green {
  background: #E7F4D9;
  color: #D0DE16;
}

.tr-flt-icon-blue {
  background: #E5F0FF;
  color: #3B82F6;
}

.tr-flt-icon-lime {
  background: #E7F4D9;
  color: #D0DE16;
}


.tr-flt-text strong {
  display: block;
  font-size: 18px;
  color: #0F1F3D;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
}

.tr-flt-text span {
  display: block;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.4;
}



.tr-flt-1 {
  top: 5%;
  left: -15%;
}

.tr-flt-2 {
  top: 15%;
  right: -5%;
}

.tr-flt-3 {
  bottom: 25%;
  left: -20%;
}

.tr-flt-4 {
  bottom: 15%;
  right: -5%;
}


/* Media Queries (Responsive) */
@media (max-width: 1200px) {
  .tr-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
  }

  .tr-hero-h1 {
    font-size: 36px;
  }
}

@media (max-width: 968px) {
  .tr-hero {
    background-position: 80% center;
  }
  .tr-hero-inner {
    grid-template-columns: 1fr;
  }
  
  .tr-hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    max-width: 100%;
  }

  .tr-stat-item:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }

  .tr-hero-visual {
    height: 450px;
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  .tr-hero {
    background: linear-gradient(to right, rgba(11, 30, 61, 0.95) 0%, rgba(11, 30, 61, 0.7) 100%), url('img/background_trier_hero.png') right center / cover no-repeat, var(--tr-blue-dark);
  }
  .tr-hero-h1 {
    font-size: 32px;
  }

  .tr-hero-visual {
    height: 350px;
  }

  .tr-flt-card {
    display: none;
  }
}


/* ── Seção: Solução Completa ───────────────────────────────────────────── */
.tr-solution {
  position: relative;
  background-color: var(--tr-bg-light);
  padding: 80px 0;
  overflow: hidden;
}

.tr-solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at top left, rgba(141, 198, 63, 0.05) 0%, transparent 40%),
    radial-gradient(circle at bottom right, rgba(30, 95, 204, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.tr-sol-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

@media (min-width: 968px) {
  .tr-sol-top {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
  }
}

.tr-sol-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--tr-blue-dark);
  line-height: 1.2;
  margin: 0 0 24px 0;
  letter-spacing: -1px;
}

.tr-sol-text h2 span {
  color: var(--tr-green);
}

.tr-sol-text p {
  font-size: 16px;
  color: var(--tr-text-gray);
  line-height: 1.6;
}

.tr-sol-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tr-sol-monitor {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.tr-sol-pos {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 180px;
  z-index: 3;
}

@media (min-width: 968px) {
  .tr-sol-pos {
    width: 220px;
    right: 0;
    bottom: -40px;
  }
}

/* Cards de Solução */
.tr-sol-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .tr-sol-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 968px) {
  .tr-sol-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tr-sol-card {
  background: var(--tr-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tr-sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.tr-sol-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr-icon-green {
  background: rgba(141, 198, 63, 0.15);
  color: var(--tr-green-dark);
}

.tr-icon-blue {
  background: rgba(30, 95, 204, 0.15);
  color: var(--tr-blue-accent);
}

.tr-icon-teal {
  background: rgba(22, 163, 153, 0.15);
  color: var(--tr-teal);
}

.tr-icon-lime {
  background: rgba(171, 222, 102, 0.3);
  color: var(--tr-green-dark);
}

.tr-sol-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--tr-blue-dark);
  margin: 0;
}

.tr-sol-card p {
  font-size: 13px;
  color: var(--tr-text-gray);
  line-height: 1.5;
  margin: 0;
}

/* Banner de Estatísticas */
.tr-sol-banner {
  background: linear-gradient(90deg, #023c7f 0%, #16A399 100%);
  border-radius: 16px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

@media (min-width: 768px) {
  .tr-sol-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tr-sol-banner {
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
  }
}

.tr-banner-item {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.tr-banner-item:not(:last-child)::after {
  content: '';
  display: none;
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--tr-green);
}

@media (min-width: 1024px) {
  .tr-banner-item:not(:last-child)::after {
    display: block;
  }
}

.tr-banner-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tr-white);
  opacity: 0.9;
}

.tr-banner-text {
  color: var(--tr-white);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.tr-banner-text strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 2px;
}

/* ── Seção: Funcionalidades ────────────────────────────────────────────── */
.tr-features {
  background-color: #FDFDFD;
  padding: 80px 0;
  position: relative;
}

.tr-feat-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

@media (min-width: 968px) {
  .tr-feat-top {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.tr-feat-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--tr-blue-dark);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -1px;
}

.tr-feat-title span {
  color: var(--tr-green);
}

.tr-feat-desc {
  font-size: 16px;
  color: var(--tr-text-dark);
  line-height: 1.6;
  margin: 0;
}

.tr-feat-desc strong {
  color: var(--tr-green-dark);
  font-weight: 700;
}

/* Grid de Funcionalidades */
.tr-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 80px;
}

@media (min-width: 640px) {
  .tr-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 968px) {
  .tr-feat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tr-feat-card {
  background: var(--tr-white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tr-feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0,0,0,0.08);
}

.tr-feat-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.tr-feat-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tr-white);
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.tr-badge-green {
  background-color: var(--tr-green-dark);
  box-shadow: 0 8px 16px rgba(105, 158, 38, 0.25);
}

.tr-badge-teal {
  background-color: var(--tr-teal);
  box-shadow: 0 8px 16px rgba(49, 151, 149, 0.25);
}

.tr-badge-blue {
  background-color: var(--tr-blue-accent);
  box-shadow: 0 8px 16px rgba(49, 130, 206, 0.25);
}

.tr-badge-lime {
  background-color: var(--tr-green);
  box-shadow: 0 8px 16px rgba(141, 198, 63, 0.25);
}

.tr-feat-card-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--tr-blue-dark);
  margin: 0;
  line-height: 1.2;
  position: relative;
  padding-bottom: 12px;
}

/* Underlines coloridos para cada card */
.tr-feat-card-header h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.tr-feat-card:hover .tr-feat-card-header h3::after {
  width: 48px;
}

.tr-feat-card:nth-child(1) .tr-feat-card-header h3::after { background-color: var(--tr-green-dark); }
.tr-feat-card:nth-child(2) .tr-feat-card-header h3::after { background-color: var(--tr-teal); }
.tr-feat-card:nth-child(3) .tr-feat-card-header h3::after { background-color: var(--tr-blue-accent); }
.tr-feat-card:nth-child(4) .tr-feat-card-header h3::after { background-color: var(--tr-green); }

.tr-feat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tr-feat-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--tr-text-dark);
  font-weight: 600;
}

.tr-feat-check {
  color: var(--tr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tr-green);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(141, 198, 63, 0.4);
}

/* Ilustrações de fundo dos cards */
.tr-feat-bg-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.06;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
}

.tr-feat-card:hover .tr-feat-bg-icon {
  opacity: 0.12;
  transform: scale(1.08) rotate(-5deg);
}

/* ── Parceiros (Wordmarks) ─────────────────────────────────────────────── */
.tr-partners {
  background: var(--tr-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.tr-part-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .tr-part-top {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.tr-part-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--tr-blue-dark);
  line-height: 1.3;
  margin: 0;
}

.tr-part-title span {
  color: var(--tr-green-dark);
}

.tr-part-desc {
  font-size: 14px;
  color: var(--tr-text-dark);
  margin: 0;
  line-height: 1.6;
}

.tr-part-desc strong {
  color: var(--tr-green-dark);
}

.tr-part-carousel-wrap {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}

.tr-part-carousel-wrap::before,
.tr-part-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.tr-part-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--tr-white) 0%, transparent 100%);
}
.tr-part-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--tr-white) 0%, transparent 100%);
}

.tr-part-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.tr-part-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 20px)); }
}

.tr-part-logo {
  flex: 0 0 auto;
  width: 180px;
  height: 90px;
  background: var(--tr-white);
  border: 1px solid var(--tr-border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tr-part-logo:hover {
  transform: translateY(-4px);
  border-color: var(--tr-green);
  box-shadow: 0 8px 24px rgba(141, 198, 63, 0.15);
}

.tr-part-logo img {
  max-width: 90%;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(100%) opacity(70%);
  transition: filter 0.3s ease;
}

.tr-part-logo:hover img {
  filter: grayscale(0%) opacity(100%);
}

/* ── Seção: FAQ ────────────────────────────────────────────────────────── */
.tr-faq {
  padding: 80px 0;
  background-color: var(--tr-bg-light);
  position: relative;
  overflow: hidden;
}

/* Dotted curve background */
.tr-faq::before {
  content: '';
  position: absolute;
  top: 0;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px dashed rgba(141, 198, 63, 0.4);
  pointer-events: none;
}

.tr-faq::after {
  content: '';
  position: absolute;
  top: 190px;
  right: 15%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--tr-green);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.2);
  pointer-events: none;
}

.tr-faq-header {
  margin-bottom: 48px;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.tr-faq-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  color: var(--tr-blue-dark);
  margin: 0;
  line-height: 1.1;
}

.tr-faq-divider {
  width: 40px;
  height: 4px;
  background-color: var(--tr-green);
  border-radius: 2px;
  margin: 16px 0 24px;
}

.tr-faq-desc {
  font-size: 18px;
  color: var(--tr-text-dark);
  line-height: 1.5;
  margin: 0;
}

.tr-faq-desc span {
  color: var(--tr-green-dark);
  font-weight: 700;
}

/* Grid do FAQ */
.tr-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .tr-faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

.tr-faq-item {
  background: var(--tr-white);
  border: 1px solid var(--tr-border-light);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tr-faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tr-faq-question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tr-faq-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tr-green);
  color: var(--tr-white);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-faq-question h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-blue-dark);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.tr-faq-icon {
  color: var(--tr-blue-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.tr-faq-item.active .tr-faq-icon {
  transform: rotate(180deg);
}

.tr-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tr-faq-answer-inner {
  padding-top: 12px;
  padding-left: 44px;
  /* Align with text, 28px num + 16px gap */
  font-size: 14px;
  color: var(--tr-text-gray);
  line-height: 1.6;
}

/* ── Seção: Contato / Formulário ───────────────────────────────────────── */
.tr-contact {
  background-color: var(--tr-white);
  position: relative;
  overflow: hidden;
}

.tr-contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

@media (min-width: 968px) {
  .tr-contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.tr-contact-left {
  padding: 80px 0 0 0;
  display: flex;
  flex-direction: column;
}

.tr-contact-title {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  color: var(--tr-blue-dark);
  line-height: 1.1;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
}

.tr-contact-title span {
  color: var(--tr-green-dark);
}

.tr-contact-desc {
  font-size: 16px;
  color: var(--tr-text-dark);
  line-height: 1.6;
  margin: 0 0 40px 0;
}

.tr-contact-desc strong {
  color: var(--tr-green-dark);
}


.tr-contact-img-wrap .tr-contact-badges {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  margin: 0;
}

.tr-contact-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--tr-white);
  border: none;
  padding: 12px 24px 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  width: fit-content;
}

.tr-cbadge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tr-green);
  color: var(--tr-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr-cbadge-icon i {
  width: 24px;
  height: 24px;
}

.tr-contact-badge span {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-blue-dark);
  line-height: 1.3;
}


.tr-contact-badge span {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-blue-dark);
}

.tr-contact-img-wrap {
  position: relative;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.tr-contact-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: bottom center;
}

/* Formulário Card */
.tr-contact-right {
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.tr-form-card {
  background: var(--tr-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  width: 100%;
}

.tr-form-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--tr-blue-dark);
  margin: 0;
}

.tr-form-divider {
  width: 40px;
  height: 4px;
  background-color: var(--tr-green);
  border-radius: 2px;
  margin: 12px 0 32px;
}

.tr-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .tr-form {
    grid-template-columns: 1fr 1fr;
  }

  .tr-form-full {
    grid-column: 1 / -1;
  }
}

.tr-form-group {
  display: flex;
  flex-direction: column;
}

.tr-input,
.tr-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--tr-border-light);
  border-radius: 8px;
  font-family: var(--tr-font);
  font-size: 14px;
  color: var(--tr-text-dark);
  background: #FAFAFA;
  transition: all 0.2s ease;
}

.tr-input::placeholder,
.tr-textarea::placeholder {
  color: #A0AEC0;
}

.tr-input:focus,
.tr-textarea:focus {
  outline: none;
  border-color: var(--tr-green);
  background: var(--tr-white);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.15);
}

.tr-textarea {
  resize: vertical;
  min-height: 100px;
}

.tr-form-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 16px;
}

.tr-form-or {
  text-align: center;
  font-size: 13px;
  color: var(--tr-text-gray);
  margin: 8px 0;
  position: relative;
}

.tr-form-or::before,
.tr-form-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: var(--tr-border-light);
}

.tr-form-or::before {
  left: 0;
}

.tr-form-or::after {
  right: 0;
}

.tr-btn-outline {
  background: transparent;
  color: var(--tr-green-dark);
  border-color: var(--tr-green-dark);
  width: 100%;
}

.tr-btn-outline:hover {
  background: rgba(107, 168, 46, 0.05);
}

/* Badges Base do Form */
.tr-form-base-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--tr-border-light);
}

@media (min-width: 640px) {
  .tr-form-base-badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tr-fbadge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tr-fbadge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tr-green);
  color: var(--tr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-fbadge span {
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-text-dark);
  line-height: 1.2;
}

/* ── CTA Final Banner ──────────────────────────────────────────────────── */
.tr-cta-banner {
  background: linear-gradient(90deg, #1E5FCC 0%, #D0DE16 100%);
  padding: 48px 0;
}

.tr-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

@media (min-width: 968px) {
  .tr-cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.tr-cta-text {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--tr-white);
}

.tr-cta-text h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.tr-btn-white-outline {
  background: transparent;
  color: var(--tr-white);
  border-color: var(--tr-white);
}

.tr-btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.tr-footer {
  background-color: var(--tr-blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 32px;
}

.tr-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .tr-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 968px) {
  .tr-footer-grid {
    grid-template-columns: 2.5fr 1fr 1.5fr 2fr;
  }
}

.tr-footer-brand img {
  height: 48px;
  margin-bottom: 24px;
}

.tr-footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin: 0;
}

.tr-footer-col h4 {
  font-size: 15px;
  color: var(--tr-green);
  font-weight: 700;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tr-footer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tr-footer-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.2s ease;
}

.tr-footer-list a:hover {
  color: var(--tr-white);
}

.tr-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.tr-footer-contact i {
  color: var(--tr-green);
}

.tr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media (min-width: 768px) {
  .tr-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.tr-footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.tr-footer-bottom a:hover {
  color: var(--tr-white);
}

/* --- GLOBAL RESPONSIVE FIXES --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Touch targets */
.btn, .tr-part-btn, .al-part-btn, .mobile-nav a {
  min-height: 44px;
}

/* ── Bottom Nav (Mobile) ───────────────────────── */
.tr-bottom-nav {
  display: none;
}
.footer-legal {
  margin-top: 8px;
  font-size: 13px;
}
.footer-legal a {
  color: #94A3B8;
  text-decoration: none;
}

@media (max-width: 967px) {
  .tr-hamburger, .tr-mobile-nav, .nav, .tr-nav {
    display: none !important;
  }
  
  body {
    padding-bottom: 64px;
  }

  .tr-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }

  .tr-bottom-nav-track {
    display: flex;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tr-bottom-nav-track::-webkit-scrollbar {
    display: none;
  }

  .tr-bottom-nav-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: #94A3B8;
    font-size: 11px;
    font-weight: 500;
    padding: 0 4px;
    transition: color .2s ease, transform .2s ease;
  }

  .tr-bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
  }

  .tr-bottom-nav-item.is-active {
    color: var(--tr-green);
  }

  .tr-bottom-nav-item.is-active svg {
    transform: translateY(-1px) scale(1.05);
  }

  .tr-bottom-nav-item:active {
    transform: scale(0.92);
  }
}

/* COMPONENTE DE CONTATO RAPIDO */
.tr-quick-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
}

.tr-quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #0B1220;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.tr-quick-contact-item:hover {
  border-color: rgba(96, 165, 250, 0.55);
  transform: translateY(-1px);
}

.tr-quick-contact-item--whatsapp {
  border-color: rgba(74, 222, 128, 0.3);
}

.tr-quick-contact-item--whatsapp:hover {
  border-color: rgba(74, 222, 128, 0.6);
}

.tr-quick-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-icon-blue {
  background: #2563EB;
  color: #fff;
}

.tr-icon-whatsapp {
  background: #22C55E;
  color: #fff;
}

.tr-quick-contact-label {
  color: #E5E7EB;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.tr-quick-contact-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

.tr-quick-contact-value {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}

.tr-quick-contact-value--whatsapp {
  color: #4ADE80;
}

@media (max-width: 480px) {
  .tr-quick-contact-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .tr-quick-contact-divider {
    display: none;
  }
  .tr-quick-contact-label {
    font-size: 13px;
    width: 100%;
  }
  .tr-quick-contact-value {
    font-size: 14px;
    width: 100%;
  }
}

/* ===== Área do Suporte (Modal) ===== */
.tr-support-wrap {
  text-align: center;
  padding: 0 0 1.5rem;
  position: relative;
  z-index: 1;
}
@keyframes trier-support-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.tr-support-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: trier-support-pulse 2s infinite;
}
.tr-support-trigger svg { flex-shrink: 0; }
.tr-support-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  animation: none;
  transform: translateY(-2px);
}
.tr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}
.tr-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.tr-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.tr-modal-overlay.is-open .tr-modal { transform: translateY(0); }
.tr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6B7280;
  padding: 4px;
  line-height: 0;
}
.tr-modal-close:hover { color: #111827; }
.tr-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ECFDF3;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.tr-modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #111827;
}
.tr-modal-text {
  font-size: 14px;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 1.25rem;
}
.tr-modal-text--muted {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 1.25rem;
  margin-bottom: 0;
}
.tr-modal-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #16A34A;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.2s ease;
}
.tr-modal-download-btn:hover {
  transform: translateY(-1px);
  background: #15803D;
}
@media (max-width: 480px) {
  .tr-modal { padding: 1.5rem; }
  .tr-modal-title { font-size: 16px; }
  .tr-modal-download-btn { width: 100%; justify-content: center; }
}
