/* ═══════════════════════════════════════════════════════════════════════════
   Theme Model WordPress — Main CSS
   Design coeso, profissional, dark mode com accent dinamico
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables (overridden by PHP Customizer inline styles) ──────────────── */
:root {
  --tm-bg: #0A0A0A;
  --tm-bg-2: #111111;
  --tm-text: #FFFFFF;
  --tm-text-dim: #B0B0B0;
  --tm-primary: #00D9FF;
  --tm-secondary: #7B61FF;
  --tm-border: #1A1A1A;
  --tm-font-body: 'Montserrat', sans-serif;
  --tm-font-headings: 'Montserrat', sans-serif;
  --tm-font-size: 18px;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --nav-h: 64px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --green: #25D366;

  /* Glow fallbacks — overridden by dynamic CSS from PHP */
  --tm-primary-rgb: 0,217,255;
  --glow-sm: 0 0 10px rgba(var(--tm-primary-rgb),0.5);
  --glow-md: 0 0 20px rgba(var(--tm-primary-rgb),0.5);
  --glow-lg: 0 0 40px rgba(var(--tm-primary-rgb),0.5);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-behavior handled by JS for better PageSpeed */
html { overflow-x: hidden; }
body {
  background: var(--tm-bg);
  color: var(--tm-text);
  font-family: var(--tm-font-body);
  font-size: var(--tm-font-size);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Force theme colors on all elements — prevents mobile browser defaults overriding */
h1, h2, h3, h4, h5, h6, p, span, li, button, summary, label, figcaption {
  color: inherit;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; } /* CLS prevention */
/* Smart image: portrait photos focus on face area (top 30%) */
.tm-about__photo-frame img,
.tm-team-card__photo img { object-position: center 25%; }
.tm-blog-card__thumb img { object-position: center center; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
/* Override WordPress global-styles and Customizer link styles */
a:where(:not(.wp-element-button)) { color: inherit !important; text-decoration: none !important; }
a.customize-unpreviewable { color: inherit !important; text-decoration: none !important; cursor: pointer !important; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ── Skip to Content (Accessibility) ─────────────────────────────────────── */
.tm-skip-link {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--tm-primary); color: var(--tm-primary-contrast, #000); padding: 12px 24px;
  border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  z-index: 99999; transition: top 0.2s;
}
.tm-skip-link:focus { top: 8px; }

/* ── Focus-Visible (Keyboard Nav) ────────────────────────────────────────── */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--tm-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--tm-primary);
  outline-offset: 3px;
}

/* ── Skeleton Loading ────────────────────────────────────────────────────── */
@keyframes tm-skeleton {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.tm-skeleton {
  background: linear-gradient(90deg, var(--tm-bg-2) 25%, rgba(255,255,255,0.05) 50%, var(--tm-bg-2) 75%);
  background-size: 200px 100%;
  animation: tm-skeleton 1.5s infinite;
  border-radius: var(--radius);
}

/* ── Button Micro-interactions ───────────────────────────────────────────── */
.tm-btn { transition: all 0.25s var(--ease); position: relative; }
.tm-btn:active { transform: scale(0.97) !important; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tm-font-headings);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tm-text); /* subtitles/card titles stay text color */
}
/* Section main titles get custom heading color */
.tm-section-head__title,
.tm-section-title,
.tm-contact__title,
.tm-countdown__title,
.tm-about__name {
  color: var(--tm-headings, var(--tm-primary));
}

/* ── Container ───────────────────────────────────────────────────────────── */
.tm-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .tm-container { padding: 0 16px; } }

/* ── Gradient Text with Shimmer ──────────────────────────────────────────── */
.tm-gradient-text {
  background: linear-gradient(135deg, var(--tm-primary) 0%, var(--tm-secondary) 50%, var(--tm-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: tm-shimmer 4s ease infinite;
}
@keyframes tm-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Section Heads ───────────────────────────────────────────────────────── */
.tm-section-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.tm-section-head__tag,
.tm-section-tag {
  display: inline-block;
  font-family: var(--tm-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tm-primary);
  margin-bottom: 16px;
}
.tm-section-head__title,
.tm-section-title {
  font-size: clamp(2em, 5vw, 3.2em);
  margin-bottom: 20px;
  color: var(--tm-headings, var(--tm-primary));
}
.tm-section-head__subtitle,
.tm-section-subtitle {
  font-family: var(--tm-font-body);
  font-size: 1.1em;
  font-weight: 400;
  font-style: normal;
  color: var(--tm-text-dim);
  line-height: 1.7;
}

/* ── Reveal Animation ────────────────────────────────────────────────────── */
.tm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.tm-reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Hero elements visible immediately — no flash of invisible content */
.tm-hero .tm-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--tm-font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
}
.tm-btn--primary {
  background: var(--tm-primary);
  color: var(--tm-primary-contrast, #000) !important;
  border-color: var(--tm-primary);
  box-shadow: 0 4px 16px rgba(var(--tm-primary-rgb),0.3);
  position: relative;
  overflow: hidden;
}
.tm-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.tm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--tm-primary-rgb),0.4);
}
.tm-btn--primary:hover::before {
  transform: translateX(100%);
}
.tm-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(var(--tm-primary-rgb),0.2);
}
.tm-btn--ghost {
  background: transparent;
  color: var(--tm-primary);
  border-color: var(--tm-primary);
}
.tm-btn--ghost:hover {
  background: rgba(var(--tm-primary-rgb),0.08);
  box-shadow: 0 0 0 1px var(--tm-primary);
}
.tm-btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}
.tm-btn--xl {
  padding: 22px 56px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}
.tm-btn--full { width: 100%; }
.tm-btn--sm { padding: 10px 20px; font-size: 1.08rem; }
.tm-btn--whatsapp,
.tm-btn--whatsapp:visited,
.tm-footer .tm-btn--whatsapp,
a.tm-btn--whatsapp {
  background: var(--green);
  color: #fff !important;
  border-color: var(--green);
  gap: 8px;
  text-decoration: none !important;
}
.tm-btn--whatsapp svg { width: 18px; height: 18px; }
.tm-btn--whatsapp:hover { box-shadow: 0 0 30px rgba(37, 211, 102, 0.4); transform: translateY(-2px); }
.tm-btn--whatsapp.tm-btn--full {
  font-size: 1rem; padding: 18px 32px;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* Spin animation */
@keyframes tm-spin { to { transform: rotate(360deg); } }
.tm-spin { animation: tm-spin 1s linear infinite; }


/* ═══════════════════════════════════════════════════════════════════════════
   URGENCY BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-urgency-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  padding: 8px 16px; font-size: 13px; font-weight: 600; text-align: center;
  transition: transform 0.3s var(--ease);
}
.tm-urgency-bar--hidden { transform: translateY(-100%); }
.tm-urgency-bar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: nowrap; }
.tm-urgency-bar__inner > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-urgency-bar__cta { font-weight: 700; text-decoration: underline; white-space: nowrap; flex-shrink: 0; }
.tm-urgency-bar__close { font-size: 20px; opacity: 0.7; padding: 0 4px; line-height: 1; flex-shrink: 0; }
.tm-urgency-bar__close:hover { opacity: 1; }
body.has-urgency-bar { padding-top: calc(var(--nav-h) + 38px) !important; }
body.has-urgency-bar .tm-nav { top: 38px !important; }

@media (max-width: 768px) {
  .tm-urgency-bar { font-size: 11px; padding: 6px 12px; }
  .tm-urgency-bar__inner { gap: 8px; }
  body.has-urgency-bar { padding-top: calc(var(--nav-h) + 32px) !important; }
  body.has-urgency-bar .tm-nav { top: 32px !important; }
}
@media (max-width: 480px) {
  .tm-urgency-bar { font-size: 10px; padding: 5px 8px; }
  .tm-urgency-bar__inner > span { white-space: normal; line-height: 1.3; }
  body.has-urgency-bar { padding-top: calc(var(--nav-h) + 36px) !important; }
  body.has-urgency-bar .tm-nav { top: 36px !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-nav {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 9999 !important;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--tm-bg);
  border-bottom: 1px solid var(--tm-border);
  transition: background 0.3s, box-shadow 0.3s, top 0.3s;
  font-family: var(--tm-font-body);
  font-size: var(--tm-font-size);
}
.tm-nav--scrolled {
  background: var(--tm-bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.tm-nav__inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.tm-nav__logo { display: flex; align-items: center; }
.tm-nav__logo img { height: 36px; width: auto; }
.tm-logo-text { font-size: 1.2em; font-weight: 800; letter-spacing: -0.03em; }
.tm-nav__links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.tm-nav__links li a {
  font-family: var(--tm-font-body);
  font-size: 0.85em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--tm-text-dim); transition: color 0.3s;
}
.tm-nav__links li a:hover { color: var(--tm-text); }
.tm-nav__cta {
  background: var(--tm-primary) !important;
  color: var(--tm-primary-contrast, #000) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
  font-family: var(--tm-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.78em !important;
  letter-spacing: 0.04em !important;
  transition: all 0.3s var(--ease) !important;
  box-shadow: 0 2px 12px rgba(var(--tm-primary-rgb),0.25);
}
.tm-nav__cta:hover {
  box-shadow: 0 4px 20px rgba(var(--tm-primary-rgb),0.35);
  transform: translateY(-1px);
}

/* Burger */
.tm-nav__burger { display: none; width: 32px; height: 24px; position: relative; }
.tm-nav__burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--tm-text); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.tm-nav__burger span:nth-child(1) { top: 0; }
.tm-nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.tm-nav__burger span:nth-child(3) { bottom: 0; }
.tm-nav__burger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.tm-nav__burger.active span:nth-child(2) { opacity: 0; }
.tm-nav__burger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile menu */
.tm-nav__mobile {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: var(--tm-bg); z-index: 9998;
  flex-direction: column; align-items: center; justify-content: center;
}
.tm-nav__mobile.active { display: flex; }
.tm-nav__mobile ul { text-align: center; }
.tm-nav__mobile ul li { margin: 16px 0; }
.tm-nav__mobile ul li a {
  font-size: 1.5rem; font-weight: 700; color: var(--tm-text);
  transition: color 0.3s;
}
.tm-nav__mobile ul li a:hover { color: var(--tm-primary); }


/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 120px 0 80px;
}
.tm-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  /* background set via inline style from Customizer overlay setting */
}
.tm-hero__noise {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none;
}
.tm-hero__glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; pointer-events: none;
}
.tm-hero__glow--1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: var(--tm-primary);
}
.tm-hero__glow--2 {
  width: 400px; height: 400px; bottom: -100px; left: -100px;
  background: var(--tm-secondary);
}
.tm-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.tm-hero__inner {
  position: relative; z-index: 1;
}

/* When hero has image background AND "clean" mode, kill visual noise so the image breathes */
.tm-hero--clean .tm-hero__noise,
.tm-hero--clean .tm-hero__grid {
  display: none;
}
.tm-hero--clean .tm-hero__glow--1,
.tm-hero--clean .tm-hero__glow--2 {
  opacity: 0.08;
}
/* Even without clean mode, tone down effects on photo backgrounds */
.tm-hero--has-bg .tm-hero__noise { opacity: 0.15; }
.tm-hero--has-bg .tm-hero__grid { opacity: 0.3; }

/* Hero Logo */
.tm-hero__logo {
  margin-bottom: 28px;
  text-align: center;
}
.tm-hero__logo img {
  height: auto; width: auto;
  max-height: 160px; max-width: 420px;
  display: inline-block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}
.tm-hero--has-bg .tm-hero__logo img {
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

/* Hero Badge */
.tm-hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--tm-font-body);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tm-text-dim);
  padding: 8px 20px;
  border: 1px solid var(--tm-border);
  border-radius: 100px;
  background: var(--tm-bg-2);
  margin-bottom: 32px;
}
.tm-badge-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tm-primary);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--tm-primary-rgb), 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(var(--tm-primary-rgb), 0); }
}

/* Hero Title — force white when hero has bg image (overlay is always dark) */
.tm-hero__title {
  font-size: clamp(2.8em, 7vw, 5em);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--tm-text);
}
/* When hero has background image, force white text + text-shadow for contrast */
.tm-hero--has-bg .tm-hero__title,
.tm-hero--has-bg .tm-hero__subtitle,
.tm-hero--has-bg .tm-hero__badge,
.tm-hero--has-bg .tm-hero__stat-label,
.tm-hero--has-bg .tm-btn--ghost {
  color: #FFFFFF !important;
}
.tm-hero--has-bg .tm-hero__title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
}
.tm-hero--has-bg .tm-hero__subtitle {
  text-shadow: 0 1px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
/* Silver text for hero highlight (e.g. "Por Edney Santos") */
/* Gradient text in hero — premium shimmer effect */
.tm-hero--has-bg .tm-hero__title .tm-gradient-text,
.tm-hero .tm-hero__title .tm-gradient-text {
  background: linear-gradient(135deg, var(--tm-secondary) 0%, var(--tm-primary) 40%, var(--tm-secondary) 80%, var(--tm-primary) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  background-size: 200% 200%;
  animation: tm-shimmer 5s ease infinite;
  text-shadow: none !important;
}
.tm-hero--has-bg .tm-hero__stats {
  background: rgba(0,0,0,0.5) !important;
  border-color: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tm-hero--has-bg .tm-hero__stats-sep {
  background: rgba(255,255,255,0.2) !important;
}
.tm-hero--has-bg .tm-hero__stat-number,
.tm-hero--has-bg .tm-hero__stat-suffix {
  color: #FFFFFF !important;
}
.tm-hero--has-bg .tm-hero__badge {
  background: rgba(0,0,0,0.45) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.tm-hero--has-bg .tm-hero__ctas .tm-btn--ghost {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.3) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Hero Subtitle */
.tm-hero__subtitle {
  font-family: var(--tm-font-body);
  font-size: clamp(1em, 2vw, 1.15em);
  font-weight: 400;
  font-style: normal;
  color: var(--tm-text);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Hero CTAs */
.tm-hero__ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Stats */
/* Stats bar — flex layout matching original theme */
.tm-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  padding: 32px 40px;
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  max-width: 100%;
  margin: 0 auto;
}
.tm-hero__stats-sep {
  width: 1px;
  height: 40px;
  background: var(--tm-border);
  flex-shrink: 0;
}
.tm-hero__stat {
  text-align: center;
}
.tm-hero__stat-value {
  margin-bottom: 4px;
}
.tm-hero__stat-number {
  font-family: var(--tm-font-headings);
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: 700;
  color: var(--tm-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  /* clean text, no shadow */
}
.tm-hero__stat-suffix {
  font-family: var(--tm-font-headings);
  font-size: 1.4em;
  font-weight: 700;
  color: var(--tm-primary);
  /* clean text, no shadow */
}
.tm-hero__stat-label {
  display: block;
  font-family: var(--tm-font-body);
  font-size: 12px;
  color: var(--tm-text-dim);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* Scroll Hint */
.tm-hero__scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--tm-text-dim); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.tm-hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--tm-primary), transparent);
  animation: scroll-pulse 2s ease infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 24px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-video { padding: 100px 0; }
.tm-video__wrapper { margin-top: 32px; }
.tm-video__responsive {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--tm-border);
}
.tm-video__responsive iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}


/* ═══════════════════════════════════════════════════════════════════════════
   REELS / VIDEO VERTICAL
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-reels { padding: 60px 0; }

.tm-reels__device {
  position: relative;
  width: 260px;
  margin: 32px auto 0;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.1),
    0 20px 50px rgba(0,0,0,0.3);
}

/* Dynamic Island style notch */
.tm-reels__notch {
  width: 72px;
  height: 22px;
  background: #1C1C1E;
  border-radius: 14px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
  top: 6px;
}

.tm-reels__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
}

.tm-reels__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play button — transparent bg, no darkening filter */
.tm-reels__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.3s var(--ease);
  z-index: 2;
}
.tm-reels__play svg {
  width: 56px; height: 56px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
  transition: transform 0.2s var(--ease);
}
.tm-reels__play:hover svg { transform: scale(1.1); }
.tm-reels__play[hidden] { display: none; }

/* Volume toggle button */
.tm-reels__mute {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s var(--ease);
}
.tm-reels__mute:hover { background: rgba(0,0,0,0.7); }
.tm-reels__mute[hidden] { display: none; }
.tm-reels__mute svg { width: 18px; height: 18px; }

.tm-reels__error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  text-align: center;
  padding: 20px;
  z-index: 3;
}
.tm-reels__error[hidden] { display: none; }
.tm-reels__error p { font-size: 14px; line-height: 1.5; margin: 0; }
.tm-reels__error small { opacity: 0.7; }

/* Home bar (iPhone style) */
.tm-reels__bar {
  width: 60px;
  height: 4px;
  background: #555;
  border-radius: 2px;
  margin: 8px auto 4px;
}

.tm-reels__cta {
  text-align: center;
  margin-top: 24px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES / DIFFERENTIALS
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-authority { padding: 100px 0; }
.tm-authority__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 960px; margin: 0 auto;
}
/* Container Queries */
.tm-services__grid { container-type: inline-size; }
.tm-testimonials__grid { container-type: inline-size; }
.tm-blog__grid { container-type: inline-size; }

.tm-authority-item {
  position: relative;
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.tm-authority-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--tm-primary);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.tm-authority-item:hover {
  border-color: rgba(var(--tm-primary-rgb), 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.tm-authority-item:hover::before { opacity: 1; }
.tm-authority-item__number {
  font-family: var(--tm-font-headings);
  font-size: 1.1em;
  color: var(--tm-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.6;
}
.tm-authority-item__title {
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tm-text);
  line-height: 1.3;
}
.tm-authority-item__text {
  font-size: 1em;
  color: var(--tm-text-dim);
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-services { padding: 100px 0; }
.tm-services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

.tm-service-card {
  position: relative;
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.tm-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--tm-primary-rgb), 0.4);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.tm-service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.tm-service-card__num {
  font-family: var(--tm-font-headings);
  font-size: 1.1em;
  font-weight: 600;
  color: var(--tm-text-dim);
  opacity: 0.4;
  letter-spacing: 0.05em;
}
.tm-service-card__icon {
  width: 40px; height: 40px;
  color: var(--tm-primary);
  flex-shrink: 0;
}
.tm-service-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.tm-service-card__title {
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.tm-service-card__text {
  font-size: 1.1em;
  color: var(--tm-text-dim);
  line-height: 1.7;
  flex: 1;
}
.tm-service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1.08em; font-weight: 600; color: var(--tm-primary);
  transition: gap 0.3s var(--ease);
  margin-top: 16px;
}
.tm-service-card__link:hover { gap: 10px; }


/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-about { padding: 100px 0; }
.tm-about__grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
.tm-about__photo-frame {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--tm-bg-2);
  position: relative;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.05),
    0 24px 60px -12px rgba(var(--tm-primary-rgb), 0.15);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tm-about__photo-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.08),
    0 32px 80px -12px rgba(var(--tm-primary-rgb), 0.25);
}
/* Subtle gradient overlay at bottom for depth */
.tm-about__photo-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0,0,0,0.2) 0%,
    transparent 40%
  );
  border-radius: inherit;
  pointer-events: none;
}
.tm-about__photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-about__photo-placeholder {
  width: 100%; height: 100%; color: var(--tm-text-dim); padding: 20%;
}
.tm-about__name { font-size: clamp(2em, 4.5vw, 3em); margin-bottom: 8px; }
.tm-about__role { font-size: 1em; color: var(--tm-primary); font-weight: 600; margin-bottom: 32px; letter-spacing: 0.02em; }
.tm-about__text { font-size: 1.1em; color: var(--tm-text-dim); line-height: 1.9; }
.tm-about__text p { margin-bottom: 1.2em; }
.tm-about__text p:last-child { margin-bottom: 0; }


/* ═══════════════════════════════════════════════════════════════════════════
   PARTNERS LOGOS
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-logos { padding: 80px 0; overflow: hidden; }
.tm-logos__carousel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tm-logos__track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 30s linear infinite;
}
.tm-logos__item { flex-shrink: 0; height: 80px; opacity: 0.5; transition: opacity 0.3s; filter: grayscale(1); }
.tm-logos__item:hover { opacity: 1; filter: none; }
.tm-logos__item img { height: 100%; width: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ═══════════════════════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-portfolio { padding: 100px 0; overflow: hidden; }
.tm-portfolio__carousel {
  overflow: hidden; margin-top: 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  touch-action: pan-y; /* Allow vertical scroll, JS handles horizontal */
}
.tm-portfolio__track {
  display: flex; gap: 24px; width: max-content;
  /* animation controlled by JS */
}
.tm-portfolio__item {
  flex-shrink: 0; width: 320px;
  border-radius: var(--radius-xl); overflow: hidden;
  position: relative;
}
.tm-portfolio__item img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
}


/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */
/* Testimonials — shared */
.tm-testimonials { padding: 100px 0; }

/* Text testimonial cards */
.tm-testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tm-testimonial-card {
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.tm-testimonial-card:hover {
  border-color: var(--tm-primary);
  box-shadow: 0 0 30px rgba(var(--tm-primary-rgb),0.12);
}
.tm-testimonial-card__stars {
  display: flex; gap: 2px; margin-bottom: 20px;
}
.tm-testimonial-card__text {
  font-size: 1em; line-height: 1.7; color: var(--tm-text-dim);
  margin-bottom: 24px; font-style: italic;
}
.tm-testimonial-card__author {
  display: flex; align-items: center; gap: 14px; margin-top: 20px;
}
.tm-testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tm-primary); color: var(--tm-primary-contrast, #000);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1em;
  flex-shrink: 0;
}
.tm-testimonial-card__info {
  display: flex; flex-direction: column; align-items: flex-start;
}
.tm-testimonial-card__name {
  display: block; font-size: 1.1em; font-weight: 700; color: var(--tm-text); line-height: 1.3;
}
.tm-testimonial-card__role {
  display: block; font-size: 0.95em; color: var(--tm-text-dim); margin-top: 2px; line-height: 1.3;
}

/* WhatsApp image slider */
.tm-testimonials-whatsapp { padding: 100px 0; }
.tm-whatsapp-slider { position: relative; max-width: 400px; margin: 48px auto 0; padding: 0 56px; }
.tm-whatsapp-track { position: relative; overflow: hidden; }
.tm-whatsapp-slide { display: none; opacity: 0; transition: opacity 0.5s var(--ease); }
.tm-whatsapp-slide--active { display: block; opacity: 1; }
.tm-whatsapp-slide img {
  width: 100%; height: auto; display: block; border-radius: var(--radius-lg);
  border: 1px solid rgba(37,211,102,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.tm-whatsapp-slider .tm-whatsapp-nav__btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tm-bg-2); border: 1px solid var(--tm-border);
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  transition: all 0.3s; cursor: pointer; color: var(--tm-text);
}
.tm-whatsapp-slider #tmWhatsappPrev { left: 0; }
.tm-whatsapp-slider #tmWhatsappNext { right: 0; }
.tm-whatsapp-nav__btn:hover { border-color: var(--tm-primary); color: var(--tm-primary); }
.tm-whatsapp-nav { display: flex; justify-content: center; margin-top: 20px; }
.tm-whatsapp-dots { display: flex; gap: 8px; }
.tm-whatsapp-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tm-border); border: none; cursor: pointer;
  transition: all 0.3s;
}
.tm-whatsapp-dot.active { background: var(--tm-primary); width: 24px; border-radius: 5px; }


/* ═══════════════════════════════════════════════════════════════════════════
   TANTRA EDUCATION — O que e o Tantra de Verdade
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-tantra-edu { padding: 100px 0; }
.tm-tantra-edu__intro {
  max-width: 800px; margin: 0 auto 60px; text-align: center;
  font-size: 1.1em; line-height: 1.85; color: var(--tm-text-dim);
}
.tm-tantra-edu__intro p { margin-bottom: 1.2em; }
.tm-tantra-edu__intro p:last-child { margin-bottom: 0; }
.tm-tantra-edu__columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 900px; margin: 0 auto;
}
.tm-tantra-edu__col {
  padding: 36px 32px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.tm-tantra-edu__col--is {
  background: rgba(var(--tm-primary-rgb), 0.08);
  border-color: rgba(var(--tm-primary-rgb), 0.2);
}
.tm-tantra-edu__col--isnot {
  background: var(--tm-bg-2);
  border-color: var(--tm-border);
}
.tm-tantra-edu__col-title {
  font-size: 1.25em; font-weight: 700; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  color: var(--tm-text);
}
.tm-tantra-edu__icon {
  width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1em; font-weight: 700; margin-top: 2px;
}
.tm-tantra-edu__icon--check {
  background: var(--tm-primary); color: #000;
}
.tm-tantra-edu__icon--x {
  background: rgba(255,80,80,0.2); color: #ff6b6b;
}
.tm-tantra-edu__col-title .tm-tantra-edu__icon {
  width: 32px; height: 32px; min-width: 32px; font-size: 1em;
}
.tm-tantra-edu__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.tm-tantra-edu__list li {
  font-size: 1.1em; line-height: 1.7; color: var(--tm-text-dim);
  padding-left: 0;
  display: flex; align-items: flex-start; gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRANSFORMATIONS — O que esperar
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-transformations { padding: 100px 0; }
.tm-transformations__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 900px; margin: 0 auto;
}
.tm-transformations__card {
  padding: 36px 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tm-transformations__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.tm-transformations__icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  color: var(--tm-primary);
}
.tm-transformations__icon svg { width: 100%; height: 100%; }
.tm-transformations__title {
  font-size: 1.2em; font-weight: 700; margin-bottom: 12px;
  color: var(--tm-text);
}
.tm-transformations__text {
  font-size: 1.1em; line-height: 1.7; color: var(--tm-text-dim);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — Como Funciona
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-how-works { padding: 100px 0; }
.tm-how-works__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1000px; margin: 0 auto;
}
.tm-how-works__card {
  padding: 36px 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: transform 0.4s var(--ease);
}
.tm-how-works__card:hover { transform: translateY(-4px); }
.tm-how-works__icon {
  width: 48px; height: 48px; margin: 0 auto 20px;
  color: var(--tm-primary);
}
.tm-how-works__icon svg { width: 100%; height: 100%; }
.tm-how-works__title {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 12px;
  color: var(--tm-text);
}
.tm-how-works__text {
  font-size: 1.08rem; line-height: 1.7; color: var(--tm-text-dim);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPOTS COUNTER — Vagas Restantes
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-spots { padding: 80px 0; }
.tm-spots__card {
  max-width: 640px; margin: 0 auto;
  padding: 48px 40px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tm-spots__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tm-primary), var(--tm-secondary, #8B6F9E));
}
.tm-spots--critical .tm-spots__card::before {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  animation: urgencyPulse 2s ease-in-out infinite;
}
@keyframes urgencyPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Number */
.tm-spots__number-wrap { margin-bottom: 32px; }
.tm-spots__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 3px solid var(--tm-primary);
  margin-bottom: 16px;
  position: relative;
}
.tm-spots--critical .tm-spots__number { border-color: #e74c3c; }
.tm-spots--warning .tm-spots__number { border-color: #f39c12; }
.tm-spots__digit {
  font-family: var(--tm-font-headings);
  font-size: 3.5em; font-weight: 700;
  color: var(--tm-text);
  line-height: 1;
  transition: color 0.3s;
}
.tm-spots--critical .tm-spots__digit { color: #e74c3c; }
.tm-spots--warning .tm-spots__digit { color: #f39c12; }
.tm-spots__number--done {
  animation: numberPop 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes numberPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.tm-spots__label {
  font-size: 1.1em; font-weight: 600;
  color: var(--tm-text); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 4px;
}
.tm-spots__of {
  font-size: 1.1em; color: var(--tm-text-dim);
}

/* Progress bar */
.tm-spots__bar-wrap { margin-bottom: 28px; }
.tm-spots__bar {
  width: 100%; height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px; overflow: hidden;
  margin-bottom: 10px;
}
.tm-spots__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tm-primary), #D4A574);
  border-radius: 4px;
  transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tm-spots--critical .tm-spots__bar-fill {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}
.tm-spots--warning .tm-spots__bar-fill {
  background: linear-gradient(90deg, #f39c12, #e67e22);
}
.tm-spots__bar-labels {
  display: flex; justify-content: center; align-items: center;
}
.tm-spots__bar-badge {
  font-size: 1em; font-weight: 700;
  color: var(--tm-primary);
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(var(--tm-primary-rgb), 0.12);
}
.tm-spots--critical .tm-spots__bar-badge {
  color: #e74c3c; background: rgba(231,76,60,0.12);
}
.tm-spots--warning .tm-spots__bar-badge {
  color: #f39c12; background: rgba(243,156,18,0.12);
}

/* Text */
.tm-spots__text {
  font-size: 1.1em; line-height: 1.7;
  color: var(--tm-text-dim);
  max-width: 480px; margin: 0 auto 28px;
}

/* CTA */
.tm-spots__cta {
  display: inline-flex; gap: 10px;
  width: 100%; max-width: 380px;
  justify-content: center;
}
.tm-spots__cta svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-pricing { padding: 100px 0; }
.tm-pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.tm-pricing-card {
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-xl); padding: 40px 32px;
  text-align: center; position: relative;
  transition: all 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.tm-pricing-card__cta { margin-top: auto; }
.tm-pricing-card:hover { transform: translateY(-4px); }
.tm-pricing-card--featured {
  border-color: var(--tm-primary);
  box-shadow: 0 0 40px rgba(var(--tm-primary-rgb),0.1);
  transform: scale(1.05);
}
.tm-pricing-card--featured:hover { transform: scale(1.05) translateY(-4px); }
.tm-pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--tm-primary); color: var(--tm-bg);
  padding: 5px 18px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.tm-pricing-card__name { font-size: 1.1em; color: var(--tm-text-dim); font-weight: 700; margin-bottom: 16px; }
.tm-pricing-card__price { margin-bottom: 8px; }
.tm-pricing-card__amount { font-size: 2.8em; font-weight: 800; }
.tm-pricing-card__period { font-size: 1em; color: var(--tm-text-dim); margin-bottom: 32px; display: block; }
.tm-pricing-card__features { list-style: none; text-align: left; margin-bottom: 32px; }
.tm-pricing-card__features li {
  padding: 10px 0; border-bottom: 1px solid var(--tm-border);
  font-size: 1em; color: var(--tm-text-dim);
}
.tm-pricing-card__features li::before { content: '\2713\0020'; color: var(--tm-primary); font-weight: 700; }
.tm-pricing-card__cta {
  display: block; width: 100%; text-align: center;
  padding: 14px; background: var(--tm-primary); color: #000 !important;
  border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 2px 12px rgba(var(--tm-primary-rgb),0.2);
  text-decoration: none !important;
}
.tm-pricing-card__cta:hover { box-shadow: 0 6px 24px rgba(var(--tm-primary-rgb),0.35); transform: translateY(-2px); }


/* ═══════════════════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-team { padding: 100px 0; }
.tm-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tm-team-card {
  text-align: center;
  padding: 28px 20px 32px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tm-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.tm-team-card__photo {
  width: 180px; height: 220px; border-radius: var(--radius-lg); overflow: hidden;
  margin: 0 auto 24px;
  border: 2px solid transparent;
  background: linear-gradient(var(--tm-bg-2), var(--tm-bg-2)) padding-box,
              linear-gradient(135deg, var(--tm-primary), #E8C9A0, var(--tm-primary), #D4A574) border-box;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 0 20px rgba(var(--tm-primary-rgb), 0.15);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.tm-team-card:hover .tm-team-card__photo {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 30px rgba(var(--tm-primary-rgb), 0.25);
  transform: scale(1.05);
}
.tm-team-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tm-team-card:hover .tm-team-card__photo img {
  transform: scale(1.08);
}
.tm-team-card__placeholder { width: 100%; height: 100%; padding: 20%; color: var(--tm-text-dim); }
.tm-team-card__name {
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tm-text);
  line-height: 1.2;
}
.tm-team-card__role {
  font-size: 1.08em;
  color: var(--tm-text-dim);
  margin-bottom: 16px;
  line-height: 1.65;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.tm-team-card__social { display: flex; gap: 12px; justify-content: center; }
.tm-team-card__social a { color: var(--tm-text-dim); transition: color 0.3s; }
.tm-team-card__social a:hover { color: var(--tm-primary); }
.tm-team-card__social a svg { width: 20px; height: 20px; }


/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-faq { padding: 100px 0; }
.tm-faq__list { max-width: 800px; margin: 0 auto; }
.tm-faq__item {
  border-bottom: 1px solid var(--tm-border);
}
.tm-faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; text-align: left; cursor: pointer;
  font-size: 1.1em; font-weight: 600; color: var(--tm-text) !important;
  background: none; border: none;
}
.tm-faq__chevron {
  flex-shrink: 0; width: 24px; height: 24px; color: var(--tm-primary);
  transition: transform 0.3s var(--ease);
}
.tm-faq__item.active .tm-faq__chevron { transform: rotate(180deg); }
.tm-faq__answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.tm-faq__answer p {
  padding: 0 0 24px; color: var(--tm-text-dim); line-height: 1.7; font-size: 1.1em;
}
.tm-faq__item.active .tm-faq__answer { max-height: 400px; }


/* ═══════════════════════════════════════════════════════════════════════════
   GUARANTEE
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-guarantee { padding: 100px 0; text-align: center; }
.tm-guarantee__content { max-width: 600px; margin: 0 auto; }
.tm-guarantee__icon { width: 80px; height: 80px; margin: 0 auto 24px; color: var(--tm-primary); }
.tm-guarantee__icon img { width: 100%; height: 100%; object-fit: contain; }
.tm-guarantee__title { font-size: 2em; margin-bottom: 12px; }
.tm-guarantee__period {
  display: inline-block; background: var(--tm-primary); color: var(--tm-bg);
  padding: 6px 20px; border-radius: 100px; font-weight: 700; font-size: 1.1em;
  margin-bottom: 16px;
}
.tm-guarantee__text { color: var(--tm-text-dim); line-height: 1.7; }


/* ═══════════════════════════════════════════════════════════════════════════
   BEFORE / AFTER
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-before-after { padding: 100px 0; }
.tm-before-after__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.tm-before-after__card {
  background: var(--tm-bg-2); border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg); padding: 32px;
}
.tm-before-after__card-title { font-size: 1.1em; margin-bottom: 20px; text-align: center; }
.tm-before-after__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tm-before-after__col { padding: 16px; border-radius: var(--radius); }
.tm-before-after__col--before { background: rgba(255,59,48,0.06); border: 1px solid rgba(255,59,48,0.15); }
.tm-before-after__col--after { background: rgba(52,199,89,0.06); border: 1px solid rgba(52,199,89,0.15); }
.tm-before-after__label { font-size: 1em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.tm-before-after__col--before .tm-before-after__label { color: #FF3B30; }
.tm-before-after__col--after .tm-before-after__label { color: #34C759; }
.tm-before-after__content { font-size: 1em; color: var(--tm-text-dim); line-height: 1.6; }
.tm-before-after__content p { margin-top: 8px; }
.tm-before-after__icon { display: inline-block; margin-bottom: 4px; }


/* ═══════════════════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════════════════ */
/* CTA Banner — High-impact conversion section */
.tm-cta-banner {
  padding: 140px 0; position: relative; text-align: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.tm-cta-banner__overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.tm-cta-banner__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  opacity: 0.7; z-index: 1;
  filter: blur(120px); pointer-events: none;
}
.tm-cta-banner__content {
  position: relative; z-index: 2; max-width: 780px; margin: 0 auto;
}
.tm-cta-banner__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  margin-bottom: 28px;
}
.tm-cta-banner__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tm-primary);
  animation: pulse-dot 2s ease infinite;
}
.tm-cta-banner__title {
  font-size: clamp(2.2em, 6vw, 3.5em); margin-bottom: 20px;
  letter-spacing: -0.03em; line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.tm-cta-banner__subtitle {
  margin-bottom: 40px;
  font-size: 1.15em; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}


/* ═══════════════════════════════════════════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-countdown { padding: 100px 0; text-align: center; }
.tm-countdown__title { font-size: clamp(1.8em, 4vw, 2.5em); margin-bottom: 8px; }
.tm-countdown__subtitle { color: var(--tm-text-dim); margin-bottom: 48px; }
.tm-countdown__timer { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.tm-countdown__box {
  background: var(--tm-bg-2); border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg); padding: 24px 28px; min-width: 100px;
}
.tm-countdown__value {
  display: block; font-size: 2.8em; font-weight: 800; color: var(--tm-primary);
  line-height: 1; font-variant-numeric: tabular-nums;
  /* clean text, no shadow */
}
.tm-countdown__label { font-size: 1em; color: var(--tm-text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; display: block; }
.tm-countdown__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 48px; background: var(--tm-primary); color: #000;
  border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(var(--tm-primary-rgb),0.3);
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.tm-countdown__cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.tm-countdown__cta:hover {
  box-shadow: 0 8px 28px rgba(var(--tm-primary-rgb),0.4);
  transform: translateY(-2px);
}
.tm-countdown__cta:hover::before { transform: translateX(100%); }
.tm-countdown__expired { display: none; font-size: 1.3em; font-weight: 700; color: var(--tm-text-dim); padding: 40px 0; }
.tm-countdown__expired.active { display: block; }


/* ═══════════════════════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-blog { padding: 100px 0; }
.tm-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tm-blog-card {
  background: var(--tm-bg-2); border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.tm-blog-card:hover { transform: translateY(-4px); }
.tm-blog-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--tm-bg-2); }
.tm-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tm-blog-card:hover .tm-blog-card__thumb img { transform: scale(1.05); }
.tm-blog-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--tm-text-dim); }
.tm-blog-card__body { padding: 24px; }
.tm-blog-card__date { font-size: 1.08em; color: var(--tm-text-dim); margin-bottom: 8px; }
.tm-blog-card__title { font-size: 1.1em; margin-bottom: 8px; }
.tm-blog-card__title a:hover { color: var(--tm-primary); }
.tm-blog-card__excerpt { font-size: 1.1em; color: var(--tm-text-dim); margin-bottom: 16px; line-height: 1.6; }
.tm-blog-card__link { color: var(--tm-primary); font-weight: 600; font-size: 1.1em; }


/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-contact { padding: 100px 0; }

/* Mode: CTA Button */
.tm-contact__cta-mode { text-align: center; }
.tm-contact__cta-action { margin-bottom: 48px; }
.tm-contact__info-row {
  display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.tm-contact__info-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--tm-text-dim); font-size: 1em; transition: color 0.3s;
}
.tm-contact__info-item:hover { color: var(--tm-primary); }
.tm-contact__info-item svg { flex-shrink: 0; color: var(--tm-primary); }

/* Mode: Form */
.tm-contact__form-mode {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start;
}
.tm-contact__title { font-size: clamp(1.8em, 4vw, 2.5em); margin-bottom: 16px; color: var(--tm-headings, var(--tm-primary)); }
.tm-contact__subtitle { color: var(--tm-text-dim); line-height: 1.7; margin-bottom: 40px; }
.tm-contact__items { display: flex; flex-direction: column; gap: 20px; }
.tm-contact__item { display: flex; align-items: center; gap: 14px; color: var(--tm-text-dim); font-size: 1.1em; }
.tm-contact__item a:hover { color: var(--tm-primary); }
.tm-contact__item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--tm-primary-rgb),0.06); border: 1px solid rgba(var(--tm-primary-rgb),0.1);
  border-radius: var(--radius); color: var(--tm-primary);
}

/* Form Styles */
.tm-contact__right {
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.tm-contact__form { display: flex; flex-direction: column; gap: 20px; }
.tm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tm-form-row > :only-child { grid-column: 1 / -1; }
.tm-contact__field { display: flex; flex-direction: column; gap: 8px; }
.tm-contact__field label {
  font-size: 1em; font-weight: 600; color: var(--tm-text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.tm-contact__field label span { color: var(--tm-primary); }
.tm-contact__field input,
.tm-contact__field textarea,
.tm-contact__field select {
  width: 100%; padding: 14px 18px;
  background: var(--tm-bg-2);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius);
  color: var(--tm-text); font-size: 1.1em;
  transition: all 0.3s var(--ease); outline: none;
  -webkit-appearance: none;
}
.tm-contact__field input::placeholder,
.tm-contact__field textarea::placeholder { color: var(--tm-text-dim); opacity: 0.5; }
.tm-contact__field input:focus,
.tm-contact__field textarea:focus,
.tm-contact__field select:focus {
  border-color: var(--tm-primary);
  box-shadow: 0 0 0 3px rgba(var(--tm-primary-rgb),0.15);
}
.tm-contact__field textarea { resize: vertical; min-height: 120px; }
.tm-contact__field select option { background: var(--tm-bg); }

/* Multi-step form */
.tm-form-step { display: none; }
.tm-form-step--active { display: flex; flex-direction: column; gap: 20px; animation: tm-fadeIn 0.3s var(--ease); }
@keyframes tm-fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.tm-form-step__header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.tm-form-step__indicator {
  font-size: 1.1em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--tm-primary); background: rgba(var(--tm-primary-rgb),0.1);
  padding: 4px 10px; border-radius: 100px;
}
.tm-form-step__label { font-size: 1.1em; font-weight: 600; color: var(--tm-text-dim); }
.tm-form-back {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--tm-border); color: var(--tm-text-dim);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.tm-form-back:hover { border-color: var(--tm-primary); color: var(--tm-primary); }

.tm-contact__submit {
  position: relative; overflow: hidden;
}
.tm-contact__submit-text { display: inline-flex; align-items: center; gap: 8px; }
.tm-contact__submit-loader { display: none; }
.tm-contact__submit.loading .tm-contact__submit-text { visibility: hidden; }
.tm-contact__submit.loading .tm-contact__submit-loader { display: flex; align-items: center; justify-content: center; position: absolute; inset: 0; }

.tm-contact__message {
  padding: 16px; border-radius: var(--radius); text-align: center; font-size: 1em; font-weight: 600;
}
.tm-contact__message.success { background: rgba(52,199,89,0.1); border: 1px solid rgba(52,199,89,0.2); color: #34C759; }
.tm-contact__message.error { background: rgba(255,59,48,0.1); border: 1px solid rgba(255,59,48,0.2); color: #FF3B30; }

/* ── Alternative WhatsApp (below form) ── */
.tm-contact__alt-wa {
  text-align: center;
  margin-top: 40px;
}
.tm-contact__alt-wa-divider {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.tm-contact__alt-wa-divider::before,
.tm-contact__alt-wa-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--tm-border);
}
.tm-contact__alt-wa-divider span {
  font-size: 1.1em; color: var(--tm-text-dim);
  white-space: nowrap; text-transform: lowercase;
}


/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-footer { padding: 48px 0 0; border-top: 1px solid var(--tm-border); font-family: var(--tm-font-body); font-size: 14px; }
.tm-footer__top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; padding: 0 0 40px; align-items: start;
  max-width: 960px; margin: 0 auto;
}
.tm-footer__logo { display: inline-block; margin-bottom: 14px; }
.tm-footer__logo img { height: auto; width: auto; max-height: 48px; max-width: 180px; }
.tm-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.tm-footer__brand p { font-size: 0.88em; color: var(--tm-text-dim); line-height: 1.6; max-width: 260px; }
.tm-footer__info { font-size: 0.85em; color: var(--tm-text-dim); margin-top: 6px; line-height: 1.6; }
.tm-footer__social { display: flex; gap: 8px; margin-top: 16px; margin-bottom: 24px; }
.tm-social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--tm-bg-2); border: 1px solid var(--tm-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--tm-text-dim); transition: all 0.3s;
}
.tm-social-icon:hover { color: var(--tm-primary); border-color: var(--tm-primary); }
.tm-footer__col h4 {
  font-family: var(--tm-font-body);
  font-size: 0.88em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 20px; color: var(--tm-text);
}
.tm-footer__col ul li { margin-bottom: 8px; }
.tm-footer__col ul li a { font-size: 0.9em; color: var(--tm-text-dim); transition: color 0.3s; }
.tm-footer__col ul li a:hover { color: var(--tm-primary); }
.tm-footer__contact-text p { font-size: 0.9em; color: var(--tm-text-dim); margin-bottom: 8px; line-height: 1.6; }
.tm-footer__bottom {
  border-top: 1px solid var(--tm-border);
  padding: 20px 0;
}
.tm-footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.tm-footer__bottom p { font-size: 0.85em; color: var(--tm-text-dim); }
.tm-footer__bottom a { color: var(--tm-primary); }


/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tm-floating-cta:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(0,0,0,0.4); }
.tm-floating-cta__text {
  position: absolute; right: 72px; background: #fff; color: #333;
  padding: 8px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.tm-floating-cta:hover .tm-floating-cta__text { opacity: 1; }
.tm-floating-cta::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: inherit; opacity: 0.4; z-index: -1;
  animation: float-pulse 2s ease-out infinite;
}
@keyframes float-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONTAINER QUERIES — Cards adapt to container width
   ═══════════════════════════════════════════════════════════════════════════ */
/* Service cards always vertical layout */


/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-single { padding: 120px 0 80px; }
.tm-single__header { text-align: center; max-width: 800px; margin: 0 auto 48px; }
.tm-single__date { font-size: 1.1em; color: var(--tm-text-dim); display: block; margin-bottom: 16px; }
.tm-single__title { font-size: clamp(2em, 5vw, 3em); color: var(--tm-headings, var(--tm-primary)); margin-bottom: 16px; }
.tm-single__excerpt { font-size: 1.1em; color: var(--tm-text-dim); line-height: 1.7; }
.tm-single__thumb { max-width: 900px; margin: 0 auto 48px; border-radius: var(--radius-lg); overflow: hidden; }
.tm-single__thumb img { width: 100%; height: auto; }
.tm-single__content { max-width: 760px; margin: 0 auto; font-size: 1.1em; line-height: 1.85; color: var(--tm-text); }
.tm-single__content p { margin-bottom: 1.5em; }
.tm-single__content h2 { font-size: 1.6em; margin: 2em 0 0.8em; color: var(--tm-headings, var(--tm-primary)); }
.tm-single__content h3 { font-size: 1.3em; margin: 1.5em 0 0.6em; }
.tm-single__content img { border-radius: var(--radius); margin: 2em 0; }
.tm-single__content blockquote {
  border-left: 3px solid var(--tm-primary); padding: 16px 24px; margin: 2em 0;
  background: var(--tm-bg-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--tm-text-dim);
}
.tm-single__content a { color: var(--tm-primary); text-decoration: underline; }
.tm-single__content ul, .tm-single__content ol { padding-left: 24px; margin-bottom: 1.5em; }
.tm-single__content li { margin-bottom: 0.5em; }
.tm-related { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--tm-border); }
@media (max-width: 768px) {
  .tm-single { padding: 80px 0 48px; }
  .tm-single__title { font-size: clamp(1.5em, 6vw, 2em); }
  .tm-single__content { font-size: 1em; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT VARIATIONS — Customizer-driven layout options
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero Layouts ──────────────────────────────────────────────────────── */
.tm-hero--left .tm-hero__inner { text-align: left; }
.tm-hero--left .tm-hero__title { margin-left: 0; margin-right: auto; }
.tm-hero--left .tm-hero__subtitle { margin-left: 0; margin-right: auto; }
.tm-hero--left .tm-hero__ctas { justify-content: flex-start; }
.tm-hero--left .tm-hero__badge { margin-left: 0; }
.tm-hero--left .tm-hero__stats { justify-content: flex-start; margin-left: 0; }

.tm-hero--split .tm-hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  text-align: left; align-items: center;
}
.tm-hero--split .tm-hero__title { margin-left: 0; max-width: 100%; }
.tm-hero--split .tm-hero__subtitle { margin-left: 0; max-width: 100%; }
.tm-hero--split .tm-hero__ctas { justify-content: flex-start; }
.tm-hero--split .tm-hero__stats {
  grid-column: 1 / -1; margin-top: 24px;
}

/* ── Features Layouts ──────────────────────────────────────────────────── */
.tm-authority--grid-4 .tm-authority__grid { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
.tm-authority--grid-3 .tm-authority__grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
.tm-authority--grid-2 .tm-authority__grid { grid-template-columns: repeat(2, 1fr); }
.tm-authority--list .tm-authority__grid {
  grid-template-columns: 1fr; max-width: 640px; margin: 0 auto;
}

/* ── Services Layouts ──────────────────────────────────────────────────── */
.tm-services--grid-2 .tm-services__grid { grid-template-columns: repeat(2, 1fr); }
.tm-services--list .tm-services__grid {
  grid-template-columns: 1fr; max-width: 640px; margin: 0 auto;
}

/* ── About Layouts ─────────────────────────────────────────────────────── */
.tm-about--photo-right .tm-about__grid {
  grid-template-columns: 1.2fr 1fr;
}
.tm-about--photo-right .tm-about__photo { order: 2; }
.tm-about--photo-right .tm-about__content { order: 1; }

.tm-about--centered .tm-about__grid {
  grid-template-columns: 1fr; text-align: center;
}
.tm-about--centered .tm-about__photo-frame {
  max-width: 300px; max-height: 300px;
  aspect-ratio: 1/1; border-radius: 50%;
  margin: 0 auto 32px;
}

/* ── Testimonials Layouts ──────────────────────────────────────────────── */
.tm-testimonials--grid-2 .tm-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
/* ── Text Testimonials Slider ─────────────────────────────────────────── */
.tm-text-slider {
  max-width: 700px; margin: 0 auto; position: relative;
  padding: 0 56px; /* space for side arrows */
}
.tm-text-slider__track { position: relative; overflow: hidden; }
.tm-text-slider__slide {
  display: none; opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.tm-text-slider__slide--active {
  display: block; opacity: 1;
}
.tm-text-slider .tm-testimonial-card {
  text-align: center; padding: 40px 36px;
  border: 1px solid var(--tm-border); border-radius: var(--radius-lg);
  background: var(--tm-bg-2);
}
.tm-text-slider .tm-testimonial-card__author { justify-content: center; }
.tm-text-slider .tm-testimonial-card__info { align-items: flex-start; }
.tm-text-slider .tm-testimonial-card__stars { justify-content: center; }
.tm-text-slider__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 24px;
}
/* Side arrows — positioned on sides of card */
.tm-text-slider__btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tm-bg-2); border: 1px solid var(--tm-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--tm-text-dim); transition: all 0.3s;
  position: absolute; top: 50%; transform: translateY(-70%);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#tmTextSliderPrev { left: 0; }
#tmTextSliderNext { right: 0; }
.tm-text-slider__btn:hover { color: var(--tm-primary); border-color: var(--tm-primary); }
.tm-text-slider__dots { display: flex; gap: 8px; }
.tm-text-slider__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--tm-border); border: none; cursor: pointer;
  transition: all 0.3s;
}
.tm-text-slider__dot.active {
  background: var(--tm-primary); transform: scale(1.2);
}

/* Legacy single layout fallback */
.tm-testimonials--single .tm-testimonials__grid {
  grid-template-columns: 1fr; max-width: 600px; margin: 0 auto;
}
.tm-testimonials--single .tm-testimonial-card {
  text-align: center; padding: 48px 40px;
}
.tm-testimonials--single .tm-testimonial-card__author { justify-content: center; }
.tm-testimonials--single .tm-testimonial-card__stars { justify-content: center; }

/* ── Contact Layouts ───────────────────────────────────────────────────── */
.tm-contact--form-left .tm-contact__form-mode {
  grid-template-columns: 1.2fr 1fr;
}
.tm-contact--form-left .tm-contact__right { order: 1; }
.tm-contact--form-left .tm-contact__left { order: 2; }

.tm-contact--centered .tm-contact__form-mode {
  grid-template-columns: 1fr;
  max-width: 700px; margin: 0 auto;
}
.tm-contact--centered .tm-contact__left { text-align: center; }
.tm-contact--centered .tm-contact__items {
  flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 24px;
}

/* ── CTA Banner Layouts ────────────────────────────────────────────────── */
.tm-cta-banner--left .tm-cta-banner__content { text-align: left; margin: 0; }
.tm-cta-banner--left .tm-cta-banner__subtitle { margin-left: 0; }

/* ── Spacing Variants ──────────────────────────────────────────────────── */
.tm-spacing-compact .tm-authority,
.tm-spacing-compact .tm-services,
.tm-spacing-compact .tm-about,
.tm-spacing-compact .tm-testimonials,
.tm-spacing-compact .tm-pricing,
.tm-spacing-compact .tm-team,
.tm-spacing-compact .tm-faq,
.tm-spacing-compact .tm-guarantee,
.tm-spacing-compact .tm-before-after,
.tm-spacing-compact .tm-cta-banner,
.tm-spacing-compact .tm-countdown,
.tm-spacing-compact .tm-blog,
.tm-spacing-compact .tm-contact,
.tm-spacing-compact .tm-video,
.tm-spacing-compact .tm-reels { padding: 60px 0; }
.tm-spacing-compact .tm-section-head { margin-bottom: 40px; }

.tm-spacing-spacious .tm-authority,
.tm-spacing-spacious .tm-services,
.tm-spacing-spacious .tm-about,
.tm-spacing-spacious .tm-testimonials,
.tm-spacing-spacious .tm-pricing,
.tm-spacing-spacious .tm-team,
.tm-spacing-spacious .tm-faq,
.tm-spacing-spacious .tm-guarantee,
.tm-spacing-spacious .tm-before-after,
.tm-spacing-spacious .tm-cta-banner,
.tm-spacing-spacious .tm-countdown,
.tm-spacing-spacious .tm-blog,
.tm-spacing-spacious .tm-contact,
.tm-spacing-spacious .tm-video,
.tm-spacing-spacious .tm-reels { padding: 140px 0; }
.tm-spacing-spacious .tm-section-head { margin-bottom: 80px; }

/* ── Layout responsive overrides ───────────────────────────────────────── */
@media (max-width: 768px) {
  .tm-hero--split .tm-hero__inner { grid-template-columns: 1fr; }
  .tm-hero--left .tm-hero__inner { text-align: center; }
  .tm-hero--left .tm-hero__ctas { justify-content: center; }
  .tm-hero--left .tm-hero__title { margin: 0 auto; }
  .tm-hero--left .tm-hero__subtitle { margin: 0 auto 24px; }
  .tm-about--photo-right .tm-about__grid { grid-template-columns: 1fr; }
  .tm-about--photo-right .tm-about__photo,
  .tm-about--photo-right .tm-about__content { order: unset; }
  .tm-contact--form-left .tm-contact__form-mode { grid-template-columns: 1fr; }
  .tm-contact--form-left .tm-contact__right,
  .tm-contact--form-left .tm-contact__left { order: unset; }
  .tm-services--list .tm-service-card { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PERFORMANCE — content-visibility for below-fold sections
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-authority, .tm-services, .tm-about, .tm-testimonials,
.tm-pricing, .tm-team, .tm-faq, .tm-guarantee, .tm-before-after,
.tm-cta-banner, .tm-countdown, .tm-blog, .tm-contact,
.tm-portfolio, .tm-logos, .tm-video, .tm-reels, .tm-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* will-change applied by transition property automatically */


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-First (360-375px base)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (max 1024px) ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tm-authority__grid { grid-template-columns: repeat(2, 1fr) !important; max-width: 100% !important; }
  .tm-services__grid { grid-template-columns: repeat(2, 1fr); }
  .tm-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .tm-pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .tm-pricing-card--featured { transform: none; }
  .tm-team__grid { grid-template-columns: repeat(2, 1fr); }
  .tm-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .tm-contact__form-mode { grid-template-columns: 1fr; gap: 48px; }
  .tm-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tm-about__grid { grid-template-columns: 340px 1fr; gap: 40px; }
  .tm-about__photo-frame { aspect-ratio: 4 / 5; }
}

/* ── Mobile (max 768px) ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 52px; }
  body { padding-top: var(--nav-h); }

  /* Nav */
  .tm-nav__logo img { height: 28px; }
  .tm-nav__links { display: none; }
  .tm-nav__burger { display: block; }
  .tm-nav__mobile ul li a { font-size: 1.1rem; }
  .tm-nav__mobile { top: var(--nav-h); }

  /* ══ KILL content-visibility space on mobile ══ */
  .tm-authority, .tm-services, .tm-about, .tm-testimonials,
  .tm-pricing, .tm-team, .tm-faq, .tm-guarantee, .tm-before-after,
  .tm-cta-banner, .tm-countdown, .tm-blog, .tm-contact,
  .tm-portfolio, .tm-logos, .tm-video, .tm-reels, .tm-footer {
    content-visibility: visible !important;
    contain-intrinsic-size: unset !important;
  }

  /* ══ ALL SECTIONS — uniform mobile spacing ══ */
  .tm-authority, .tm-services, .tm-about, .tm-testimonials,
  .tm-pricing, .tm-team, .tm-faq, .tm-guarantee, .tm-before-after,
  .tm-cta-banner, .tm-countdown, .tm-blog, .tm-contact, .tm-video,
  .tm-reels, .tm-portfolio, .tm-logos { padding: 32px 0; }

  .tm-section-head { margin-bottom: 14px; }
  .tm-section-head__title,
  .tm-section-title { font-size: clamp(1.6em, 6.5vw, 2.2em); text-align: center; }
  .tm-section-head__subtitle,
  .tm-section-subtitle { font-size: 1em; text-align: center; margin-top: 4px; padding: 0 8px; }
  .tm-section-tag { font-size: 1em; margin-bottom: 6px; }

  /* ══ HERO — full screen, content HIGH ══ */
  .tm-hero {
    min-height: 100svh;
    padding: calc(var(--nav-h, 64px) + 24px) 0 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tm-hero__inner { padding: 0 16px; margin-top: 0; }
  .tm-hero__logo { margin-bottom: 20px; }
  .tm-hero__logo img { max-height: 110px; max-width: 300px; }
  .tm-hero__badge { font-size: 9px; padding: 5px 14px; margin-bottom: 12px; }
  .tm-hero__title {
    font-size: clamp(2.1em, 9.5vw, 3.2em) !important;
    margin-bottom: 10px;
    padding: 0;
    line-height: 1.1;
  }
  .tm-hero__subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
    padding: 0 4px;
    line-height: 1.5;
  }
  .tm-hero__ctas {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0 10px;
  }
  .tm-hero__ctas .tm-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .tm-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-lg);
    margin: 0 8px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
  }
  .tm-hero__stats-sep { display: none; }
  .tm-hero__stat {
    padding: 14px 8px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tm-primary-rgb), 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(var(--tm-primary-rgb), 0.2);
  }
  .tm-hero__stat + .tm-hero__stat::before { display: none; }
  .tm-hero__stat-value { margin-bottom: 4px; display: flex; align-items: baseline; justify-content: center; }
  .tm-hero__stat-number { font-size: clamp(1.8em, 7vw, 2.2em); line-height: 1; color: var(--tm-primary); font-weight: 800; }
  .tm-hero__stat-suffix { font-size: clamp(0.9em, 3.5vw, 1.1em); color: var(--tm-primary); font-weight: 700; }
  .tm-hero__stat-label { font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; line-height: 1.2; padding: 0 4px; color: rgba(255,255,255,0.8); }
  .tm-hero__scroll-hint { display: none; }

  /* ══ GRID SECTIONS ══ */
  .tm-authority__grid { grid-template-columns: 1fr !important; gap: 10px; }
  .tm-authority-item { padding: 18px 16px; }
  .tm-authority-item__title { font-size: 1.25em; }
  .tm-authority-item__text { font-size: 1.1em; }

  .tm-services__grid { grid-template-columns: 1fr !important; gap: 10px; }
  .tm-service-card { padding: 20px 18px; border-left: 3px solid var(--tm-primary); }
  .tm-service-card__title { font-size: 1.2em; }
  .tm-service-card__text { font-size: 1.05em; }

  .tm-about { padding: 40px 0 !important; }
  .tm-about__grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .tm-about__photo-frame { margin: 0 auto; max-width: 360px; width: 100%; aspect-ratio: 2 / 3; border-radius: var(--radius); }
  .tm-about__name { font-size: 2em; }
  .tm-about__role { font-size: 1.1em; margin-bottom: 8px; }
  .tm-about__text { font-size: 1em; line-height: 1.7; }

  /* ══ TANTRA EDUCATION ══ */
  .tm-tantra-edu { padding: 40px 0 !important; }
  .tm-tantra-edu__intro { font-size: 1.1em; margin-bottom: 32px; text-align: left; }
  .tm-tantra-edu__columns { grid-template-columns: 1fr; gap: 16px; max-width: 400px; margin: 0 auto; }
  .tm-tantra-edu__col { padding: 24px 20px; text-align: left; }
  .tm-tantra-edu__col-title { font-size: 1.15em; justify-content: center; }
  .tm-tantra-edu__list li { font-size: 1em; }
  .tm-tantra-edu__list li { font-size: 1em; }

  /* ══ TRANSFORMATIONS ══ */
  .tm-transformations { padding: 40px 0 !important; }
  .tm-transformations__grid { grid-template-columns: 1fr; gap: 14px; }
  .tm-transformations__card { padding: 24px 20px; }
  .tm-transformations__icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .tm-transformations__title { font-size: 1.1em; }

  /* ══ HOW IT WORKS ══ */
  .tm-how-works { padding: 40px 0 !important; }
  .tm-how-works__grid { grid-template-columns: 1fr; gap: 14px; }
  .tm-how-works__card { padding: 24px 20px; }
  .tm-how-works__icon { width: 40px; height: 40px; }

  /* ══ TESTIMONIALS ══ */
  .tm-testimonials__grid { grid-template-columns: 1fr; gap: 10px; }
  .tm-testimonial-card { padding: 18px 16px; text-align: center; }
  .tm-testimonial-card__text { font-size: 1.1em; line-height: 1.6; }
  .tm-testimonial-card__author { flex-direction: column; align-items: center; gap: 8px; }
  .tm-testimonial-card__info { align-items: center; }
  .tm-testimonial-card__name { font-size: 1em; }
  .tm-testimonial-card__role { font-size: 1.1em; }

  /* ══ TEXT SLIDER — mobile ══ */
  .tm-text-slider { max-width: 100%; position: relative; padding: 0 32px; }
  .tm-text-slider__track { position: relative; overflow: hidden; }
  .tm-text-slider__slide {
    display: none !important; opacity: 0;
    transition: opacity 0.4s ease;
  }
  .tm-text-slider__slide--active {
    display: block !important; opacity: 1;
  }
  .tm-text-slider .tm-testimonial-card {
    padding: 24px 20px; text-align: center;
  }
  .tm-text-slider .tm-testimonial-card__text {
    font-size: 1em; line-height: 1.6;
  }
  /* Side arrows — Instagram style */
  .tm-text-slider__btn {
    display: flex !important;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--tm-bg-2); border: 1px solid var(--tm-border);
    color: var(--tm-text-dim); z-index: 3;
    align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .tm-text-slider__btn svg { width: 16px; height: 16px; }
  #tmTextSliderPrev { left: 0; }
  #tmTextSliderNext { right: 0; }
  .tm-text-slider__nav { margin-top: 16px; gap: 12px; }
  .tm-text-slider__dots { justify-content: center; }
  .tm-whatsapp-slider { max-width: 100%; padding: 0 36px; }
  .tm-whatsapp-slider .tm-whatsapp-nav__btn { width: 28px; height: 28px; }
  .tm-whatsapp-slider #tmWhatsappPrev { left: 0; }
  .tm-whatsapp-slider #tmWhatsappNext { right: 0; }

  /* ══ LOGOS / PARTNERS ══ */
  .tm-logos__track { gap: 24px; }
  .tm-logos__item { height: 50px; }
  .tm-logos .tm-section-head { margin-bottom: 10px; }

  /* ══ PORTFOLIO ══ */
  .tm-portfolio__carousel {
    margin-top: 16px;
    mask-image: none; -webkit-mask-image: none;
  }
  .tm-portfolio__item {
    width: 70vw; max-width: 280px;
    border-radius: var(--radius-lg);
  }
  .tm-portfolio__item::after, .tm-portfolio__item::before { display: none; }
  .tm-portfolio__track { gap: 12px; }

  /* ══ SPOTS COUNTER ══ */
  .tm-spots { padding: 40px 0 !important; overflow: hidden; }
  .tm-spots__card { padding: 28px 16px; max-width: 100%; }
  .tm-spots__number { width: 90px; height: 90px; }
  .tm-spots__digit { font-size: 2.4em; }
  .tm-spots__label { font-size: 0.9em; }
  .tm-spots__text { font-size: 0.9em; }
  .tm-spots__cta { max-width: 100%; font-size: 0.85rem; }
  .tm-spots__bar-labels { font-size: 0.75em; }
  .tm-spots__bar-wrap { max-width: 100%; padding: 0; }

  /* ══ PRICING ══ */
  .tm-pricing { padding: 28px 0 !important; }
  .tm-pricing__grid { max-width: 100%; gap: 24px; }
  .tm-pricing-card { padding: 24px 18px; }
  .tm-pricing-card__name { font-size: 1.1em; margin-bottom: 10px; }
  .tm-pricing-card__amount { font-size: 2.4em; }
  .tm-pricing-card__period { font-size: 1em; margin-bottom: 20px; }
  .tm-pricing-card__features { margin-bottom: 20px; }
  .tm-pricing-card__features li { font-size: 1.08em; padding: 6px 0; }
  .tm-pricing-card__cta { font-size: 1rem; padding: 14px 24px; }

  /* ══ TEAM ══ */
  .tm-team { padding: 28px 0 !important; }
  .tm-team__grid { grid-template-columns: 1fr; gap: 20px; max-width: 400px; margin: 0 auto; }
  .tm-team-card { padding: 24px 20px 28px; text-align: center; }
  .tm-team-card__photo { width: 200px; height: 245px; margin: 0 auto 20px; border-radius: var(--radius); }
  .tm-team-card__name { font-size: 1.25em; }
  .tm-team-card__role { font-size: 1em; margin-bottom: 12px; line-height: 1.65; max-width: 100%; text-align: center; }
  .tm-team-card__social a svg { width: 18px; height: 18px; }

  /* ══ FAQ ══ */
  .tm-faq__question { font-size: 1em; padding: 14px 0; min-height: 44px; color: var(--tm-text) !important; }
  .tm-faq__answer { font-size: 1.1em; line-height: 1.7; }
  .tm-faq__answer p { color: var(--tm-text-dim) !important; }

  /* ══ BEFORE / AFTER ══ */
  .tm-before-after { padding: 28px 0 !important; }
  .tm-before-after__grid { grid-template-columns: 1fr; gap: 10px; }
  .tm-before-after__columns { grid-template-columns: 1fr; gap: 8px; }
  .tm-before-after__card { padding: 18px 16px; }
  .tm-before-after__card h3 { font-size: 1.1em; }
  .tm-before-after__card p { font-size: 1.08em; }
  .tm-before-after__card li { font-size: 1.08em; }

  /* ══ GUARANTEE ══ */
  .tm-guarantee { padding: 28px 0 !important; }
  .tm-guarantee__title { font-size: 1.5em; }
  .tm-guarantee__text { font-size: 1em; line-height: 1.7; }
  .tm-guarantee__icon { width: 56px; height: 56px; }

  /* ══ CTA BANNER ══ */
  .tm-cta-banner { padding: 40px 0 !important; overflow: hidden; }
  .tm-cta-banner__content { padding: 0 16px; }
  .tm-cta-banner__title { font-size: clamp(1.3em, 5.5vw, 1.8em); margin-bottom: 10px; line-height: 1.3; }
  .tm-cta-banner__subtitle { font-size: 1em; margin-bottom: 16px; line-height: 1.7; }
  .tm-cta-banner__badge { margin-bottom: 10px; font-size: 9px; }
  .tm-cta-banner .tm-btn { font-size: 0.85rem; width: 100%; justify-content: center; }

  /* ══ COUNTDOWN ══ */
  .tm-countdown { padding: 28px 0 !important; overflow: hidden; }
  .tm-countdown__timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 100%; padding: 0 8px; }
  .tm-countdown__box { min-width: 0; padding: 10px 4px; overflow: hidden; }
  .tm-countdown__value { font-size: 1.3em; }
  .tm-countdown__label { font-size: 0.65em; }
  .tm-countdown__title { font-size: 1.4em; }
  .tm-countdown__subtitle { font-size: 1.08em; margin-bottom: 24px; }
  .tm-countdown__cta { padding: 14px 24px; font-size: 1rem; width: 100%; justify-content: center; }

  /* ══ BLOG ══ */
  .tm-blog { padding: 28px 0 !important; }
  .tm-blog__grid { grid-template-columns: 1fr; gap: 12px; }
  .tm-blog-card__body { padding: 16px; }
  .tm-blog-card__title { font-size: 1.1em; }
  .tm-blog-card__excerpt { font-size: 1em; line-height: 1.6; }
  .tm-blog-card__meta { font-size: 1em; }

  /* ══ VIDEO ══ */
  .tm-video { padding: 28px 0 !important; }
  .tm-video__wrapper { margin-top: 14px; }

  /* ══ CONTACT ══ */
  .tm-contact { padding: 16px 0 !important; }
  .tm-contact__title { font-size: 1.5em; text-align: center; margin-bottom: 8px; }
  .tm-contact__subtitle { text-align: center; font-size: 1.1em; margin-bottom: 10px; }
  .tm-form-row { grid-template-columns: 1fr; }
  .tm-contact__right { padding: 16px 14px; }
  .tm-contact__field input,
  .tm-contact__field textarea,
  .tm-contact__field select { min-height: 44px; font-size: 16px; /* prevents iOS zoom */ }
  .tm-contact__info-row { flex-direction: column; gap: 8px; }
  .tm-contact__cta-action .tm-btn { width: 100%; justify-content: center; }

  /* ══ FOOTER — centered ══ */
  .tm-footer { padding: 32px 0 0; }
  .tm-footer__top {
    grid-template-columns: 1fr; gap: 20px;
    text-align: center; justify-items: center;
  }
  .tm-footer__logo { margin-bottom: 12px; }
  .tm-footer__logo img { max-height: 60px; max-width: 200px; }
  .tm-footer__brand { display: flex; flex-direction: column; align-items: center; max-width: 280px; margin: 0 auto; }
  .tm-footer__brand p { text-align: center; font-size: 0.85em; }
  .tm-footer__info { text-align: center; font-size: 0.8em; }
  .tm-footer__social { justify-content: center; margin-top: 12px; }
  .tm-footer__col { text-align: center; width: 100%; }
  .tm-footer__col h4 { text-align: center; margin-bottom: 10px; }
  .tm-footer__col ul { display: flex; flex-direction: column; align-items: center; }
  .tm-footer__col ul li { margin-bottom: 6px; }
  .tm-footer__contact-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .tm-footer__col--contact { display: none; }
  .tm-footer__bottom-inner { flex-direction: column; gap: 4px; text-align: center; font-size: 0.8em; }
  .tm-footer__bottom { padding: 12px 0; }

  /* ══ REELS device — fill mobile screen ══ */
  .tm-reels { padding: 40px 0 !important; }
  .tm-reels__device { width: 80%; max-width: 320px; margin-top: 16px; }
  .tm-reels__screen { border-radius: 32px; }
  .tm-reels__notch { width: 64px; height: 20px; border-radius: 12px; }

  /* ══ BUTTONS ══ */
  .tm-btn { min-height: 44px; font-size: 1rem; }
  .tm-btn--lg { padding: 12px 22px; font-size: 1rem; }
  .tm-btn--xl { padding: 14px 26px; font-size: 1.08rem; }
  .tm-btn--sm { min-height: 38px; font-size: 1.1rem; }

  /* ── Floating CTA ── */
  .tm-floating-cta { width: 46px; height: 46px; bottom: 12px; right: 12px; }
  .tm-floating-cta__text { display: none; }
  .tm-floating-cta svg { width: 22px; height: 22px; }
}

/* ── Small Mobile — 360px and below ──────────────────────────────────────── */
@media (max-width: 374px) {
  .tm-container { padding: 0 12px; }
  .tm-hero__title { font-size: 1.4em !important; }
  .tm-hero__stat-number { font-size: 1.3em; }
  .tm-hero__stat-label { font-size: 8px; }
  .tm-hero__ctas { padding: 0 8px; }
  .tm-authority-item { padding: 18px 16px; }
  .tm-team__grid { grid-template-columns: 1fr; }
  .tm-portfolio__item { width: 60vw; max-width: 220px; }
  .tm-countdown__value { font-size: 1.3em; }
  .tm-section-head__title, .tm-section-title { font-size: 1.3em; }
}

/* ── Reduced Motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .tm-reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DARK MODE — Auto (follows system preference)
   When user's OS is in light mode and theme bg is dark, or vice versa,
   the theme adapts. Variables are set by PHP Customizer, so this media query
   Dark Mode removido — site usa cores definidas no Customizer
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   JOURNEY / PROGRAMACAO — Timeline
   ═══════════════════════════════════════════════════════════ */
.tm-journey { padding: clamp(60px, 10vw, 120px) 0; }

.tm-journey__timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 48px;
}

/* Vertical line */
.tm-journey__timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--tm-primary), transparent);
  opacity: 0.3;
}

.tm-journey__day {
  position: relative;
  padding-bottom: 40px;
  animation-delay: var(--delay, 0ms);
}
.tm-journey__day:last-child { padding-bottom: 0; }

/* Circle marker */
.tm-journey__marker {
  position: absolute;
  left: -48px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary, var(--tm-primary)));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 20px rgba(var(--tm-primary-rgb, 196,149,106), 0.3);
}

.tm-journey__number {
  font-family: var(--tm-font-headings);
  font-weight: 700;
  font-size: 1.1em;
  color: #fff;
}

.tm-journey__connector { display: none; }

/* Content card */
.tm-journey__content {
  background: var(--tm-bg-2, rgba(255,255,255,0.03));
  border: 1px solid var(--tm-border, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 24px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tm-journey__day:hover .tm-journey__content {
  border-color: rgba(var(--tm-primary-rgb, 196,149,106), 0.3);
  box-shadow: 0 4px 24px rgba(var(--tm-primary-rgb, 196,149,106), 0.08);
}

.tm-journey__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.08em;
  color: var(--tm-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tm-journey__title {
  font-family: var(--tm-font-headings);
  font-size: clamp(1.1em, 2.5vw, 1.4em);
  font-weight: 700;
  color: var(--tm-headings, var(--tm-text));
  margin-bottom: 8px;
  line-height: 1.3;
}

.tm-journey__desc {
  font-size: 1.08em;
  color: var(--tm-text-dim);
  line-height: 1.7;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .tm-journey__timeline { padding-left: 40px; }
  .tm-journey__timeline::before { left: 17px; }
  .tm-journey__marker { left: -40px; width: 36px; height: 36px; }
  .tm-journey__number { font-size: 1em; }
  .tm-journey__content { padding: 18px 20px; }
  .tm-journey__day { padding-bottom: 28px; }
}

@media (max-width: 480px) {
  .tm-journey__timeline { padding-left: 32px; }
  .tm-journey__timeline::before { left: 13px; }
  .tm-journey__marker { left: -32px; width: 28px; height: 28px; }
  .tm-journey__number { font-size: 1em; }
  .tm-journey__desc { font-size: 1.1em; }
}

/* ═══════════════════════════════════════════════════════════
   VIDEO TESTIMONIALS — Reels-style multiple phones
   ═══════════════════════════════════════════════════════════ */
.tm-vtest { padding: clamp(60px, 10vw, 120px) 0; }

.tm-vtest__scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--tm-primary-rgb, 196,149,106), 0.3) transparent;
}
.tm-vtest__scroll::-webkit-scrollbar { height: 6px; }
.tm-vtest__scroll::-webkit-scrollbar-track { background: transparent; }
.tm-vtest__scroll::-webkit-scrollbar-thumb { background: rgba(var(--tm-primary-rgb, 196,149,106), 0.3); border-radius: 3px; }

.tm-vtest__item {
  flex: 0 0 auto;
  text-align: center;
  animation-delay: var(--delay, 0ms);
}

/* Phone device frame */
.tm-vtest__device {
  position: relative;
  width: 220px;
  background: #1a1a1a;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.08);
}

.tm-vtest__notch {
  width: 80px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin: 4px auto 8px;
}

.tm-vtest__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.tm-vtest__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tm-vtest__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  border: none;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s;
  z-index: 2;
}
.tm-vtest__play:hover { background: rgba(0,0,0,0.5); }
.tm-vtest__play[hidden] { display: none; }

.tm-vtest__mute {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  z-index: 3;
}
.tm-vtest__mute[hidden] { display: none; }

.tm-vtest__bar {
  width: 48px;
  height: 4px;
  background: #444;
  border-radius: 2px;
  margin: 8px auto 4px;
}

/* Author info below phone */
.tm-vtest__info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tm-vtest__name {
  font-family: var(--tm-font-headings);
  font-size: 1.1rem;
  color: var(--tm-text);
}
.tm-vtest__role {
  font-size: 1.08rem;
  color: var(--tm-text-dim);
}

/* Center items when fewer than viewport width */
/* Layout variants — desktop */
@media (min-width: 1024px) {
  /* Grid 3 columns (default) */
  .tm-vtest--grid-3 .tm-vtest__scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 0;
  }

  /* Grid 2 columns */
  .tm-vtest--grid-2 .tm-vtest__scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 0;
  }

  /* Scroll — keep horizontal scroll on desktop too */
  .tm-vtest--scroll .tm-vtest__scroll {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .tm-vtest__item.tm-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tm-vtest__scroll {
    gap: 12px;
    padding: 16px 0 24px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .tm-vtest__device { width: 75vw; max-width: 300px; border-radius: 28px; padding: 8px; }
  .tm-vtest__screen { border-radius: 20px; }
  .tm-vtest__notch { width: 60px; height: 4px; margin: 3px auto 8px; }
  .tm-vtest__item:first-child { margin-left: 12vw; }
  .tm-vtest__item:last-child { margin-right: 12vw; }
}
@media (max-width: 480px) {
  .tm-vtest__device { width: 78vw; max-width: 280px; }
  .tm-vtest__scroll { gap: 10px; }
  .tm-vtest__item:first-child { margin-left: 10vw; }
  .tm-vtest__item:last-child { margin-right: 10vw; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AGE GATE — Verificacao de Idade
   ═══════════════════════════════════════════════════════════════════════════ */
.tm-age-gate {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.tm-age-gate__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.tm-age-gate__modal {
  position: relative; z-index: 1;
  background: var(--tm-bg-2, #111);
  border: 1px solid var(--tm-border, #222);
  border-radius: var(--radius-lg, 16px);
  padding: 48px 40px;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: tm-age-gate-in 0.4s ease;
}
@keyframes tm-age-gate-in {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.tm-age-gate__logo {
  max-width: 120px; height: auto;
  margin: 0 auto 24px;
  display: block;
}
.tm-age-gate__title {
  font-family: var(--tm-font-headings, sans-serif);
  font-size: clamp(1.5em, 4vw, 2em);
  font-weight: 800;
  color: var(--tm-text, #fff);
  margin-bottom: 16px;
}
.tm-age-gate__text {
  font-size: 1.05em;
  color: var(--tm-text-dim, #999);
  line-height: 1.7;
  margin-bottom: 32px;
}
.tm-age-gate__buttons {
  display: flex; flex-direction: column; gap: 12px;
}
.tm-age-gate__buttons .tm-btn {
  width: 100%; justify-content: center;
  font-size: 1.05em; padding: 16px 24px;
}
@media (max-width: 480px) {
  .tm-age-gate__modal { padding: 32px 24px; }
  .tm-age-gate__title { font-size: 1.4em; }
}
