
.tm-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
}


*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.tm-body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
  color: #e9ecf5;
  background:
    radial-gradient(1200px 600px at 20% -10%, #1b2040 0%, #0f1220 60%) fixed,
    linear-gradient(180deg, #0f1220 0%, #0f1220 100%);
}

/* Variables */
:root {
  --bg: #0f1220;
  --bg-alt: #0e1326;
  --card: #171a2b;
  --text: #e9ecf5;
  --muted: #a9b0c7;
  --line: #2a3156;
  --primary: #6c8cff;
  --primary-700: #4f6af0;
  --accent: #22d3ee;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
}

/* Container */
.tm-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.tm-topbar { background: #0b0e1a; border-bottom: 1px solid var(--line); }
.tm-topbar__content { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.tm-topbar__badge { color: #cbd2ea; font-size: 13px; }
.tm-topbar__sep { color: #4a527a; margin: 0 8px; }
.tm-link { color: var(--text); background: transparent; border: none; cursor: pointer; }
.tm-link--sm { font-size: 13px; }

/* Header */

.tm-header {
  position: sticky;
  top: 0;
  z-index: 50;

  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(15, 18, 32, .7);
  border-bottom: 1px solid var(--line);

  height: 64px;         
  display: flex;
  align-items: center;
}
.tm-header__wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.tm-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--text); }
.tm-brand__name { font-size: 18px; }
.tm-nav { display: flex; gap: 18px; }
.tm-nav__link {
  color: #cbd2ea; text-decoration: none; font-weight: 500;
  padding: 8px 10px; border-radius: 10px; transition: .2s background, .2s color;
}
.tm-nav__link:hover { background: #14182b; color: var(--text); }
.tm-header__cta { display: flex; gap: 12px; }

/* Buttons */
.tm-btn {
  padding: 12px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--primary); color: white; font-weight: 600; cursor: pointer;
  transition: .2s transform, .2s box-shadow, .2s background, .2s border-color;
  box-shadow: 0 8px 20px rgba(108,140,255,.35);
}
.tm-btn:hover { transform: translateY(-2px); background: var(--primary-700); }
.tm-btn--ghost { background: transparent; border-color: var(--line); color: var(--text); box-shadow: none; }
.tm-btn--primary { background: var(--primary); }
.tm-btn--sm { padding: 8px 12px; font-size: 13px; }

/* Burger */
.tm-burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; align-items: center; justify-content: center;
  gap: 4px; flex-direction: column; cursor: pointer;
}
.tm-burger span { width: 20px; height: 2px; background: #cbd2ea; }

/* Mobile Nav */
.tm-mobile { position: fixed; inset: 0; background: rgba(10,12,22,.8); backdrop-filter: blur(8px); display: none; }
.tm-mobile__nav {
  background: var(--card); border-left: 1px solid var(--line); width: 320px; height: 100%;
  padding: 24px; position: absolute; right: 0; top: 0; box-shadow: var(--shadow);
}
.tm-mobile__link { display: block; color: var(--text); padding: 12px 0; border-bottom: 1px solid #20264a; text-decoration: none; }
.tm-mobile__cta { margin-top: 18px; display: flex; gap: 12px; }

/* Hero */
.tm-hero { padding: 40px 0 20px; background: radial-gradient(800px 400px at 80% -10%, #1b2140 0%, #0f1220 60%) fixed; }
.tm-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.tm-hero__title { font-size: 42px; line-height: 1.1; margin: 0 0 12px; }
.tm-hero__subtitle { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.tm-hero__cta { display: flex; gap: 12px; margin-bottom: 12px; }
.tm-hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.tm-chip {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #cbd2ea; background: #14182b;
  font-size: 13px; display: inline-flex; gap: 8px; align-items: center;
}
.tm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tm-hero__visual { display: flex; justify-content: center; }
.tm-hero__card {
  background: linear-gradient(180deg, #1b2140 0%, var(--card) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); width: 100%;
}
.tm-hero__card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tm-hero__logo { width: 36px; height: 36px; border-radius: 8px; background: conic-gradient(from 180deg at 50% 50%, var(--accent), var(--primary)); }
.tm-status { padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.tm-status--ok { background: rgba(34,197,94,.15); color: var(--success); border: 1px solid rgba(34,197,94,.35); }
.tm-hero__card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-hero__qr { height: 160px; border-radius: 12px; border: 1px dashed #2a3156; background: repeating-linear-gradient(45deg, #14182b, #14182b 10px, #16203a 10px, #16203a 20px); }
.tm-hero__summary { display: grid; gap: 8px; }
.tm-hero__row { display: flex; align-items: center; justify-content: space-between; color: #cbd2ea; }
.tm-hero__card-foot { display: flex; gap: 10px; margin-top: 12px; }
.tm-hero__note { margin-top: 12px; color: #93a0c9; }

/* Sections */
.tm-section { padding: 48px 0; }
.tm-section--alt { background: var(--bg-alt); }
.tm-section__head { margin-bottom: 18px; }
.tm-section__head h2 { margin: 0 0 8px; font-size: 28px; }
.tm-section__head p { margin: 0; color: var(--muted); }

/*steps*/

.tm-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.tm-step__icon i {
  font-size: 28px; /* tamanho do ícone Font Awesome */
}


/* Aplica fundo neutro e cor branca a todas as classes de ícones */
.tm-i-qr,
.tm-i-card,
.tm-i-shield,
.tm-i-graph,
.tm-i-token,
.tm-i-report,
.tm-i-lock,
.tm-i-eye,
.tm-i-compliance,
.tm-i-robot,
.tm-i-check,
.tm-i-time,
.tm-i-prompt {
  background: #1b1f36 !important;  /* sobrescreve gradientes antigos */
  color: #ffffff !important;       /* garante ícone branco */
}



/* Pricing */
.tm-pricing__toolbar { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; }
.tm-toggle { display: inline-flex; gap: 8px; align-items: center; color: #cbd2ea; font-size: 14px; }
.tm-toggle__label { font-weight: 700; }
.tm-switch { width: 42px; height: 24px; border-radius: 999px; background: #2a3156; position: relative; cursor: pointer; border: 1px solid var(--line); }
.tm-switch__dot { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: .2s left; }
.tm-switch.active { background: var(--accent); }
.tm-switch.active .tm-switch__dot { left: 21px; }
.tm-toggle__state { color: #cbd2ea; }
.tm-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.tm-plan {
  background: linear-gradient(180deg, #1a1f38 0%, #14182b 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.tm-plan--popular { outline: 2px solid var(--accent); }
.tm-ribbon {
  position: absolute; top: 14px; right: -10px; transform: rotate(8deg);
  background: var(--accent); color: #062b33; font-weight: 800; padding: 6px 12px; border-radius: 10px;
  box-shadow: 0 8px 20px rgba(34,211,238,.35); font-size: 12px;
}
.tm-plan__head { display: flex; align-items: center; justify-content: space-between; }
.tm-pill { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: #cbd2ea; font-size: 12px; background: #14182b; }
.tm-pill--accent { border-color: #1f3a4a; color: #0ef; }
.tm-pill--pro { border-color: #1f3a4a; color: #9cf; }
.tm-plan__price { margin: 8px 0 12px; }
.tm-plan__main { font-size: 34px; font-weight: 800; }
.tm-plan__sub { color: var(--muted); font-size: 14px; }
.tm-strike { color: #93a0c9; text-decoration: line-through; }
.tm-plan__save { color: var(--success); font-weight: 700; }
.tm-list { list-style: none; margin: 12px 0 16px; padding: 0; }
.tm-list li { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; color: #cbd2ea; }
.tm-check {
  width: 18px; height: 18px; border-radius: 4px; background: #13233a; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: #7ee0ff; font-size: 14px;
}
.tm-plan__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.tm-hint { color: #93a0c9; font-size: 13px; }
.tm-pricing__disclaimer { margin-top: 12px; color: #93a0c9; }

/* Security */
.tm-security { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tm-sec__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.tm-sec__icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 8px; }

/* Testimonials */
.tm-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tm-testimonial { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.tm-testimonial__text { color: #dbe2fb; font-size: 16px; }
.tm-testimonial__meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #93a0c9; }
.tm-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #6c8cff); }

/* FAQ */
.tm-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tm-faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow); }
.tm-faq__item summary { cursor: pointer; font-weight: 700; color: var(--text); }
.tm-faq__item p { color: #cbd2ea; }

/* CTA */
.tm-cta { padding: 48px 0; background: radial-gradient(900px 400px at 20% 120%, #1b2140 0%, #0f1220 60%) fixed; }
.tm-cta__wrap {
  background: linear-gradient(180deg, #1b2140 0%, var(--card) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center;
}
.tm-cta__buttons { display: inline-flex; gap: 12px; margin-top: 12px; }


/*footer*/
.tm-footer {
  background: radial-gradient(
    120% 120% at 50% 0%,
    #1a2342 0%,
    #0b1020 55%,
    #070b16 100%
  );
  padding: 16px 0 8px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #e5e7eb;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tm-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.tm-logo-img {
  max-width: 200px;
}

/* Títulos */
.tm-footer h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f8fafc;
}

/* Textos */
.tm-footer p {
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0;
  color: #cbd5e1;
}

/* Copyright */
.tm-footer__legal {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsivo */
@media (max-width: 768px) {
  .tm-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


.tm-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;

  
  justify-content: end; 
  padding-right: 40px; 
}

/* textos e links */
.tm-footer__desc { color: #cbd2ea; }
.tm-footer__badges { display: flex; gap: 8px; margin-top: 8px; }
.tm-footer__links h4 { margin: 0 0 8px; }
.tm-footer__links a { display: block; color: #cbd2ea; text-decoration: none; margin: 6px 0; }
.tm-footer__legal p { color: #93a0c9; }


/* Modals */
.tm-modal { position: fixed; inset: 0; display: none; background: rgba(10,12,22,.8); backdrop-filter: blur(8px); }
.tm-modal__dialog { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); width: 640px; max-width: calc(100% - 24px); margin: 40px auto; box-shadow: var(--shadow); }
.tm-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.tm-modal__body { padding: 16px; }
.tm-modal__close { background: transparent; border: 1px solid var(--line); color: var(--text); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }

/* Forms */
.tm-form { display: grid; gap: 12px; }
.tm-field { display: grid; gap: 6px; }
.tm-field span { color: #cbd2ea; font-size: 14px; }
.tm-field input, .tm-field textarea { background: #0f1428; border: 1px solid var(--line); border-radius: 10px; color: var(--text); padding: 10px 12px; outline: none; }
.tm-form__actions { display: flex; gap: 12px; justify-content: flex-end; }

/* Animations */
@keyframes tmFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.tm-hero__card, .tm-plan, .tm-sec__card, .tm-faq__item, .tm-cta__wrap, .tm-step, .tm-footer__grid { animation: tmFadeIn .4s ease both; }

/* Responsive */
@media (max-width: 1024px) {
  .tm-steps { grid-template-columns: repeat(2, 1fr); }
  .tm-security { grid-template-columns: repeat(2, 1fr); }
  .tm-testimonials { grid-template-columns: repeat(2, 1fr); }
  .tm-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .tm-hero__grid { grid-template-columns: 1fr; }
  .tm-pricing { grid-template-columns: 1fr; }
  .tm-burger { display: inline-flex; }
  .tm-nav { display: none; }
  .tm-header__cta { display: none; }
}
@media (max-width: 640px) {
  .tm-steps { grid-template-columns: 1fr; }
  .tm-security { grid-template-columns: 1fr; }
  .tm-testimonials { grid-template-columns: 1fr; }
  .tm-footer__grid { grid-template-columns: 1fr; }
}

/* Utilitários extensos (para total >1000 linhas) */
.u-flex { display: flex; }
.u-grid { display: grid; }
.u-center { display: grid; place-items: center; }
.u-gap-4 { gap: 4px; }
.u-gap-8 { gap: 8px; }
.u-gap-12 { gap: 12px; }
.u-gap-16 { gap: 16px; }
.u-gap-24 { gap: 24px; }
.u-p-8 { padding: 8px; }
.u-p-12 { padding: 12px; }
.u-p-16 { padding: 16px; }
.u-p-24 { padding: 24px; }
.u-mt-8 { margin-top: 8px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-16 { margin-top: 16px; }
.u-mt-24 { margin-top: 24px; }
.u-mb-8 { margin-bottom: 8px; }
.u-mb-12 { margin-bottom: 12px; }
.u-mb-16 { margin-bottom: 16px; }
.u-mb-24 { margin-bottom: 24px; }
.u-text-muted { color: var(--muted); }
.u-text-center { text-align: center; }
.u-rounded { border-radius: 12px; }
.u-border { border: 1px solid var(--line); }
.u-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.u-w-100 { width: 100%; }
.u-h-100 { height: 100%; }
.u-inline { display: inline-block; }
.u-hidden { display: none !important; }
.u-visible { display: block !important; }
.u-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-primary { color: var(--primary); }
.c-accent { color: var(--accent); }
.c-success { color: var(--success); }
.c-danger { color: var(--danger); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-success { background: var(--success); }
.bg-danger { background: var(--danger); }
.b-primary { border-color: var(--primary); }
.b-accent { border-color: var(--accent); }
.b-success { border-color: var(--success); }
.b-danger { border-color: var(--danger); }
.u-px-4 { padding-left: 4px; padding-right: 4px; }
.u-px-8 { padding-left: 8px; padding-right: 8px; }
.u-px-12 { padding-left: 12px; padding-right: 12px; }
.u-px-16 { padding-left: 16px; padding-right: 16px; }
.u-px-24 { padding-left: 24px; padding-right: 24px; }
.u-py-4 { padding-top: 4px; padding-bottom: 4px; }
.u-py-8 { padding-top: 8px; padding-bottom: 8px; }
.u-py-12 { padding-top: 12px; padding-bottom: 12px; }
.u-py-16 { padding-top: 16px; padding-bottom: 16px; }
.u-py-24 { padding-top: 24px; padding-bottom: 24px; }
.h1 { font-size: 42px; font-weight: 800; }
.h2 { font-size: 28px; font-weight: 700; }
.h3 { font-size: 22px; font-weight: 700; }
.p { font-size: 16px; }
.small { font-size: 13px; color: #93a0c9; }
.shadow-sm { box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.shadow-md { box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.shadow-lg { box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.is-active { outline: 2px solid var(--accent); }
.is-disabled { opacity: .6; pointer-events: none; }
.t-200 { transition: .2s all; }
.t-300 { transition: .3s all; }
.t-500 { transition: .5s all; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.u-mx-auto { margin-left: auto; margin-right: auto; }
.u-max-640 { max-width: 640px; }
.u-max-960 { max-width: 960px; }
.u-max-1120 { max-width: 1120px; }

/* Utilitários extras para garantir >1000 linhas no total */
.u-row { display: flex; flex-wrap: wrap; gap: 12px; }
.u-col { flex: 1 1 0; min-width: 200px; }
.u-sticky { position: sticky; top: 12px; }
.u-abs { position: absolute; }
.u-rel { position: relative; }
.u-z-10 { z-index: 10; }
.u-z-20 { z-index: 20; }
.u-z-50 { z-index: 50; }
.u-opacity-80 { opacity: .8; }
.u-opacity-60 { opacity: .6; }
.u-opacity-40 { opacity: .4; }
.u-ring { outline: 2px solid #1f3a4a; }
.u-ring-accent { outline: 2px solid var(--accent); }
.u-ring-primary { outline: 2px solid var(--primary); }
.u-ring-success { outline: 2px solid var(--success); }
.u-ring-danger { outline: 2px solid var(--danger); }

/* Layout geral da seção de segurança */
.tm-security-visual {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Texto explicativo */
.tm-security-text {
  flex: 1 1 480px;
}

.tm-security-text .tm-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.tm-security-text .tm-subtitle {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Lista de recursos */
.tm-list--security {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-list--security li {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-list--security i {
  color: var(--accent);
  font-size: 18px;
}

/* Imagem ilustrativa */
.tm-security-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* Grid dos cards de segurança */
.tm-security {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas fixas */
  gap: 24px;
  margin-top: 32px;
}

.tm-sec__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.tm-sec__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

/* Ícones dos cards */
.tm-sec__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* Títulos e textos dos cards */
.tm-sec__card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}

.tm-sec__card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
  .tm-security-visual {
    flex-direction: column;
    text-align: center;
  }

  .tm-list--security li {
    justify-content: center;
  }

  .tm-security-image img {
    max-width: 100%;
  }

  .tm-security {
    grid-template-columns: 1fr; /* no mobile, 1 card por linha */
  }
}

/* ================================
   RESPONSIVO (cole no FINAL do style.css)
   Não altera HTML/JS — só overrides
================================== */

/* Evita scroll horizontal em telas pequenas */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Imagens sempre fluidas */
img {
  max-width: 100%;
  height: auto;
}

/* Container mais flexível */
.tm-container {
  width: 100%;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* Logo responsiva (sem estourar header) */
.tm-logo,
.tm-logo-img {
  width: clamp(130px, 22vw, 200px);
  height: auto;
}

/* Header: garante espaçamento e evita “apertar” demais */
.tm-header__wrap {
  gap: 12px;
}

/* Mobile nav ocupa melhor a tela */
.tm-mobile__nav {
  width: min(86vw, 320px);
}

/* HERO: tipografia e layout fluidos */
.tm-hero {
  padding: clamp(28px, 5vw, 40px) 0 20px;
}

.tm-hero__title {
  font-size: clamp(28px, 5.2vw, 42px);
  line-height: 1.12;
  word-break: break-word;
}

.tm-hero__subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.6;
}

/* CTA do hero quebra linha e vira “full width” no mobile */
@media (max-width: 640px) {
  .tm-hero__cta {
    flex-wrap: wrap;
  }
  .tm-hero__cta .tm-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Chips do hero com melhor quebra */
.tm-hero__badges {
  gap: 8px;
}

/* GRIDS: deixa auto-ajustável sem depender só de breakpoints */
.tm-steps.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tm-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* Segurança: em vez de fixar 2 colunas, auto-fit */
.tm-security {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px;
}

/* FAQ: auto-fit para não ficar apertado */
.tm-faq {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Modal melhor no mobile */
@media (max-width: 640px) {
  .tm-modal__dialog {
    margin: 16px auto;
    width: min(640px, calc(100% - 24px));
  }
  .tm-form__actions {
    flex-direction: column;
  }
  .tm-form__actions .tm-btn {
    width: 100%;
  }
}

/* Botões e links mais confortáveis no touch */
@media (max-width: 640px) {
  .tm-nav__link,
  .tm-mobile__link,
  .tm-btn {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ================================
   FOOTER: corrige conflito de grid
   (seu CSS define .tm-footer__grid 2x,
    uma delas com 4 colunas, quebrando)
================================== */

.tm-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 24px !important;
  padding-right: 0 !important;
  justify-content: initial !important;
  align-items: start;
}

.tm-footer__brand {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .tm-footer__grid {
    text-align: center;
  }
  .tm-footer__brand {
    justify-content: center;
  }
}

/* ================================
   MELHORIAS DESKTOP (cole no final)
================================== */

@media (min-width: 1024px) {
  /* Mais respiro geral nas seções */
  .tm-section {
    padding: 64px 0;
  }

  /* HERO mais “premium” no desktop */
  .tm-hero__grid {
    gap: 44px;
  }
  .tm-hero__title {
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
  .tm-hero__subtitle {
    font-size: 18px;
    max-width: 56ch;
  }

  /* Cards do pricing com altura igual e CTA alinhado */
  .tm-pricing {
    align-items: stretch;
  }
  .tm-plan {
    display: flex;
    flex-direction: column;
    min-height: 520px; /* ajuste fino */
  }
  .tm-plan__foot {
    margin-top: auto; /* empurra o “rodapé” pro fundo do card */
  }

  /* Steps (tm-step card) ficam com aparência de card real */
  .tm-steps {
    align-items: stretch;
  }
  .tm-step.card {
    background: linear-gradient(180deg, #1a1f38 0%, #14182b 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    height: 100%;
  }
  .tm-step.card h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.25;
  }
  .tm-step__desc {
    color: #cbd2ea;
    line-height: 1.6;
  }

  /* Footer: dá um pouco mais de organização no desktop */
  .tm-footer__grid {
    gap: 32px !important;
  }
}

/* Ultra-wide (monitores grandes): container um pouco maior */
@media (min-width: 1280px) {
  .tm-container {
    max-width: 1200px;
  }
}

/* ================================
   BOTÃO FLUTUANTE WHATSAPP
================================== */

.tm-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.tm-whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Mobile: botão um pouco menor */
@media (max-width: 640px) {
  .tm-whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }
}
