/* =========================================================
   TotalLoc — Landing Page
   Tokens extraídos do Figma (variáveis do arquivo)
   ========================================================= */
:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --white: #ffffff;
  --cerulean-200: #81c1fb; /* seta dos botões de vidro no hover */
  --cerulean-300: #2da7f2; /* borda dos botões no hover */
  --cerulean-400: #248ccc;
  --cerulean-950: #011220;
  --apple-400: #0fb24b;
  --apple-500: #0c9d41;
  --scarlet-500: #ed1c24;

  --font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout fluido: 1520px de conteúdo com 200px de margem em 1920px */
  --gutter: clamp(16px, 5vw, 200px);
  --container: min(1520px, 100% - (var(--gutter) * 2));

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1); /* entradas: rápida no começo, assenta devagar */
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

.tl-page {
  margin: 0;
  background: var(--gray-950);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* :where() zera a especificidade, para os componentes sobrescreverem o reset */
:where(.tl-page) :where(img, svg) { display: block; max-width: 100%; }

:where(.tl-page) :where(a) { color: inherit; text-decoration: none; }

:where(.tl-page) :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }

:where(.tl-page) :where(ul) { list-style: none; }

/* Equilibra as linhas: títulos com balance, textos corridos sem palavra sozinha (pretty) */
:where(.tl-page) :where(h1, h2, h3) { text-wrap: balance; }
:where(.tl-page) :where(p) { text-wrap: pretty; }

.tl-page :focus-visible {
  outline: 2px solid var(--cerulean-400);
  outline-offset: 3px;
}

.tl-container {
  width: var(--container);
  margin-inline: auto;
}

.tl-icon-arrow {
  width: 17px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform .3s var(--ease);
}

/* ---------- Botão ---------- */
.tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font: 500 18px/1.5 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.tl-btn:hover .tl-icon-arrow { transform: translate(2px, -2px); }

.tl-btn--glass {
  height: 53px;
  padding: 0 32px;
  color: var(--white);
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(36.4px);
  backdrop-filter: blur(36.4px);
  border: 1px solid var(--gray-600);
  border-bottom-width: 3px;
  border-radius: 12px;
}

/* hover de todos os botões (componentes do Figma): fundo azul, borda azul-clara */
.tl-btn--glass:hover {
  background: var(--cerulean-400);
  border-color: var(--cerulean-300);
}

/* =========================================================
   HEADER
   ========================================================= */
/* O símbolo decorativo (391px) passa da altura do header e invade o hero, como no Figma */
.tl-header {
  position: relative;
  z-index: 2;
  padding-top: clamp(20px, 4.7vw, 90px);
  background: var(--gray-950);
}

.tl-header__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(140px, 19.5vw, 374px);
  height: auto;
  opacity: .16;
  pointer-events: none;
}

.tl-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 56px;
}

.tl-menu-toggle {
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  width: 54px;
  height: 56px;
  padding: 0;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}

.tl-menu-toggle span {
  display: block;
  height: 5px;
  background: var(--white);
  transition: width .3s var(--ease);
}

.tl-menu-toggle span:first-child { width: 100%; border-radius: 3px 3px 0 0; }
.tl-menu-toggle span:last-child { width: 70%; border-radius: 0 0 3px 3px; }
.tl-menu-toggle:hover span:last-child { width: 100%; }

.tl-header__logo { margin-block: -8px; }

.tl-header__logo img {
  width: clamp(140px, 18.4vw, 353px);
  height: auto;
}

.tl-header__cta {
  justify-self: end;
  width: 256px;
}

/* =========================================================
   MENU LATERAL
   ========================================================= */
.tl-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0s linear .4s;
}

.tl-menu.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.tl-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, .7);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.tl-menu__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  --menu-pad: clamp(24px, 12.5vw, 64px);
  width: min(514px, 100vw);
  padding: clamp(32px, 7vh, 72px) var(--menu-pad) 0;
  overflow: hidden auto;
  background: var(--gray-950);
  border-right: 1px solid var(--gray-800);
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
}

.tl-menu.is-open .tl-menu__overlay { opacity: 1; }
.tl-menu.is-open .tl-menu__panel { transform: none; }

/* logo do Figma (259px) com o "fechar" alinhado à direita */
.tl-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tl-menu__logo img { width: clamp(200px, 60vw, 259px); height: auto; }

.tl-menu__close {
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.tl-menu__close svg {
  width: 100%;
  height: 100%;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke .25s var(--ease);
}

.tl-menu__close:hover svg { stroke: var(--cerulean-200); }

.tl-menu__list {
  display: grid;
  gap: clamp(20px, 3.2vh, 32px);
  margin-top: clamp(48px, 10vh, 101px);
}

.tl-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-700);
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

/* seta para baixo-direita (a mesma do botão, espelhada) */
.tl-menu__arrow {
  flex: none;
  width: 17px;
  height: 18px;
  fill: currentColor;
  transform: scaleY(-1);
  transition: transform .3s var(--ease);
}

.tl-menu__list a:hover { color: var(--cerulean-200); border-color: var(--cerulean-300); }
.tl-menu__list a:hover .tl-menu__arrow { transform: scaleY(-1) translate(2px, -2px); }

/* botão + símbolo no fim do painel; o símbolo continua para baixo e é cortado pela borda */
.tl-menu__foot {
  position: relative;
  margin: auto calc(var(--menu-pad) * -1) 0;
  padding: clamp(48px, 9vh, 138px) var(--menu-pad) clamp(140px, 27vh, 336px);
  overflow: hidden;
}

.tl-menu__symbol {
  position: absolute;
  top: calc(clamp(48px, 9vh, 138px) - 37px);
  left: var(--menu-pad);
  width: 814px;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.tl-menu__cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 133px;
  padding: 32px;
  border: 1px solid rgba(129, 193, 251, .12);
  border-bottom-width: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .37);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.tl-menu__cta span { max-width: 7em; text-wrap: balance; }

.tl-menu__cta .tl-icon-arrow {
  position: absolute;
  top: 31px;
  right: 31px;
  fill: var(--cerulean-400);
  transition: transform .3s var(--ease), fill .3s var(--ease);
}

.tl-menu__cta:hover { background: var(--cerulean-400); border-color: var(--cerulean-300); }
.tl-menu__cta:hover .tl-icon-arrow { fill: var(--cerulean-200); transform: translate(2px, -2px); }

.tl-lock { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.tl-hero {
  position: relative;
  padding: clamp(48px, 6.25vw, 120px) 0 clamp(64px, 6.25vw, 120px);
  background: var(--gray-950);
  overflow: hidden;
}

.tl-hero > * { position: relative; z-index: 3; }

.tl-hero__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.tl-hero__title {
  max-width: 10em; /* 758px em 76px, como no Figma */
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
}

.tl-hero__title span { color: var(--gray-400); }

.tl-hero__text {
  max-width: 519px;
  padding-bottom: 8px;
  font-size: clamp(1rem, .9rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--gray-400);
}

.tl-hero__text strong { font-weight: 600; color: var(--gray-50); }

/* ---------- Carrossel ---------- */
.tl-slider {
  --card-w: clamp(280px, 31.77vw, 610px);
  --card-gap: 20px;
  --slider-pad: 24px;
  margin-top: clamp(40px, 6.25vw, 120px);
  padding-left: var(--slider-pad);
  /* esconde a sobra do card clonado à esquerda, mantendo o recuo do Figma */
  clip-path: inset(0 0 0 var(--slider-pad));
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.tl-slider.is-dragging { cursor: grabbing; }

.tl-slider__track {
  display: flex;
  gap: var(--card-gap);
  width: max-content;
  will-change: transform;
}

.tl-slider__track.is-animating { transition: transform .7s var(--ease); }

.tl-card {
  position: relative;
  flex: 0 0 var(--card-w);
  aspect-ratio: 610 / 428;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  /* textos do card escalam com a largura do próprio card (cqi) */
  container-type: inline-size;
}

.tl-card__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.tl-card__body {
  position: absolute;
  top: 50%;
  left: 9.35%;
  width: 41%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-50%);
}

.tl-card__title {
  font-size: clamp(18px, 5.08cqi, 31px);
  font-weight: 500;
  line-height: 1.2;
}

/* quebra de linha usada só no mobile */
.tl-card__br { display: none; }

.tl-card__text {
  margin-top: clamp(8px, 3.44cqi, 21px);
  font-size: clamp(12px, 2.3cqi, 14px);
  line-height: 1.5;
}

.tl-card__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(16px, 13.1cqi, 80px);
  padding-bottom: 8px;
  font-size: clamp(13px, 2.62cqi, 16px);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid;
}

.tl-card__link:hover .tl-icon-arrow { transform: translate(2px, -2px); }

/* Card estreito: some o texto de apoio para o título e o link respirarem */
@container (max-width: 520px) {
  .tl-card__body { width: 52%; }
  .tl-card__text { display: none; }
  /* sem subtítulo: título mais forte e sempre em duas linhas */
  .tl-card__title {
    font-size: clamp(18px, 6.6cqi, 26px);
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
  }
  .tl-card__br { display: inline; }
  .tl-card__link { margin-top: clamp(16px, 7cqi, 32px); gap: 10px; font-size: 14px; }
}

/* Cards com fundo claro x escuro */
.tl-card--light .tl-card__title,
.tl-card--light .tl-card__link { color: var(--cerulean-950); }
.tl-card--light .tl-card__text { color: var(--gray-800); }
.tl-card--light .tl-card__link { border-color: rgba(1, 18, 32, .45); }

.tl-card--dark .tl-card__title,
.tl-card--dark .tl-card__link { color: var(--white); }
.tl-card--dark .tl-card__text { color: var(--gray-200); }
.tl-card--dark .tl-card__link { border-color: rgba(255, 255, 255, .55); }

/* ---------- Diferenciais ---------- */
.tl-hero__features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 4.7vw, 90px);
}

.tl-feature {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.67vw, 32px);
  max-width: 322px;
}

.tl-feature img {
  width: clamp(44px, 2.8vw, 54px);
  height: auto;
  flex-shrink: 0;
}

.tl-feature p {
  font-size: clamp(1rem, .9rem + .3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
}

.tl-feature__plus svg {
  width: 17px;
  height: 17px;
  fill: var(--gray-300);
}

/* =========================================================
   SOBRE — Desde 2011
   ========================================================= */
.tl-about {
  position: relative;
  padding: clamp(72px, 7.3vw, 140px) 0 clamp(56px, 4.7vw, 90px);
  background: #12161f;
  overflow: hidden;
}

/* Encaixe em "V" que liga o hero à seção */
.tl-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(140px, 12.45vw, 239px);
  height: auto;
  fill: var(--gray-950);
  transform: translateX(-50%);
}

.tl-about__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.tl-about__title {
  max-width: 11.4em; /* 554px em 49px */
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  text-wrap: pretty; /* mantém a quebra natural do Figma, só evita palavra sozinha */
}

.tl-about__title span { color: var(--gray-400); }

.tl-about__text {
  display: grid;
  gap: 24px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-200);
}

.tl-about__text strong { font-weight: 500; color: var(--white); }

/* ---------- Imagem + números ----------
   Os números ficam sempre dentro da foto. O layout muda conforme a
   largura da própria foto (container query), não da tela. */
.tl-about__media {
  margin-top: clamp(40px, 4.7vw, 90px);
  container-type: inline-size;
}

.tl-about__box {
  position: relative;
  aspect-ratio: 1520 / 717;
  border-radius: 16px;
  overflow: hidden;
}

.tl-about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* reforço de contraste sob os números quando a foto fica mais alta */
.tl-about__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 22, 31, .95) 0%, rgba(18, 22, 31, .75) 30%, rgba(18, 22, 31, 0) 60%);
  opacity: 0;
  pointer-events: none;
}

.tl-stats {
  position: absolute;
  z-index: 1;
  left: 5.92%;
  right: 5.92%;
  bottom: 12.7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px solid #555;
}

.tl-stats__logo {
  flex-shrink: 0;
  width: 151px;
  height: auto;
}

.tl-stats__item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 32px;
  padding: 32px 32px 0;
  border-left: 1.5px solid #555;
}

.tl-stats__num {
  font-size: 61px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.tl-stats__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray-300);
}

/* larguras do Figma: cada texto sempre em 2 linhas */
.tl-stats__item:nth-of-type(1) .tl-stats__label { width: 9.7em; }
.tl-stats__item:nth-of-type(2) .tl-stats__label { width: 12.6em; }

/* Sem espaço para o logo: ele sai antes de os textos apertarem */
@container (max-width: 1200px) {
  .tl-stats__logo { display: none; }
  .tl-stats { justify-content: flex-start; }
  .tl-stats__item { flex: 1 1 0; }
  .tl-stats__item:first-of-type { border-left: 0; padding-left: 0; }
}

/* Tablet: foto mais alta, número em cima do texto */
@container (max-width: 960px) {
  .tl-about__box { aspect-ratio: 16 / 10; }
  .tl-about__box::after { opacity: 1; }
  .tl-stats { bottom: 8%; }
  .tl-stats__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 24px 0;
  }
  .tl-stats__num { font-size: 48px; }
}

/* Celular: números em duas linhas, cada uma com número + texto lado a lado */
@container (max-width: 600px) {
  .tl-about__box { aspect-ratio: 4 / 5; border-radius: 12px; }
  .tl-stats {
    left: 20px;
    right: 20px;
    bottom: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-top: 0;
  }
  .tl-stats__item,
  .tl-stats__item:first-of-type {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1.5px solid #555;
  }
  .tl-stats__num { min-width: 3.2em; font-size: 36px; }
  .tl-stats__item:nth-of-type(n) .tl-stats__label {
    width: auto;
    font-size: 14px;
    text-wrap: balance;
  }
}

/* Celulares bem estreitos (320px) */
@container (max-width: 340px) {
  .tl-stats { left: 16px; right: 16px; bottom: 16px; }
  .tl-stats__item,
  .tl-stats__item:first-of-type { gap: 12px; }
  .tl-stats__num { min-width: 3.1em; font-size: 30px; }
  .tl-stats__item:nth-of-type(n) .tl-stats__label { font-size: 13px; }
}

/* ---------- Clientes ---------- */
.tl-clients { margin-top: clamp(56px, 6.25vw, 120px); }

.tl-clients__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: clamp(16px, 1.04vw, 20px);
  font-weight: 500;
  color: var(--white);
}

.tl-clients__lines {
  width: 25px;
  height: 7px;
  stroke: var(--white);
  fill: none;
}

.tl-clients__lines--l { transform: scaleX(-1); }

.tl-marquee {
  margin-top: 32px;
  overflow: hidden;
  opacity: .4;
  /* suaviza a entrada e a saída dos logos nas bordas */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tl-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tl-marquee var(--marquee-duration, 40s) linear infinite;
}

.tl-marquee:hover .tl-marquee__track { animation-play-state: paused; }

.tl-clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(180px, 13.54vw, 260px);
  height: clamp(64px, 4.43vw, 85px);
  padding: 0 clamp(24px, 2.08vw, 40px);
  background: rgba(255, 255, 255, .2);
  border-radius: 12px;
}

.tl-clients__item img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* deixa qualquer logo de cliente branco, para a faixa ficar uniforme */
  filter: brightness(0) invert(1);
}

@keyframes tl-marquee {
  to { transform: translateX(calc(-50% - 10px)); }
}

@media (max-width: 1023px) {
  .tl-about__head {
    flex-direction: column;
    gap: 24px;
  }

  .tl-about__title { max-width: 14em; }
}

@media (max-width: 767px) {
  .tl-clients__label { gap: 16px; }
  .tl-marquee__track { gap: 12px; }

  @keyframes tl-marquee {
    to { transform: translateX(calc(-50% - 6px)); }
  }
}

/* =========================================================
   TIPOS DE EVENTOS — lista interativa + card
   ========================================================= */
.tl-events {
  padding: clamp(72px, 6.25vw, 120px) 0;
  background: var(--gray-100);
  color: var(--gray-950);
}

.tl-events__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.tl-events__title {
  max-width: 8.3em; /* 403px em 49px: duas linhas, como no Figma */
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--gray-950);
}

.tl-events__title em {
  font-style: oblique 10deg;
  color: var(--gray-500);
}

.tl-events__text {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-600);
}

.tl-events__text strong { font-weight: 500; color: var(--gray-950); }

.tl-events__body {
  display: grid;
  grid-template-columns: minmax(0, 640fr) minmax(0, 820fr);
  gap: clamp(32px, 3.125vw, 60px);
  margin-top: clamp(40px, 3.55vw, 68px);
}

/* ---------- Lista (abas) ---------- */
.tl-events__list {
  display: flex;
  flex-direction: column;
}

.tl-events__tab {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 72px;
  padding: 12px 24px;
  border: 0;
  border-bottom: 1px solid var(--gray-300);
  border-radius: 0;
  background: transparent;
  color: var(--gray-950);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.tl-events__num {
  flex: none;
  width: 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gray-500);
  transition: color .25s var(--ease);
}

.tl-events__name {
  flex: 1;
  font-size: clamp(18px, 1rem + .35vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.tl-events__arrow {
  flex: none;
  width: 17px;
  height: 18px;
  fill: none;
  stroke: var(--gray-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s var(--ease), transform .25s var(--ease);
}

.tl-events__tab:hover { background: rgba(3, 7, 18, .04); }
.tl-events__tab:hover .tl-events__arrow { stroke: var(--gray-950); transform: translate(2px, -2px); }

.tl-events__tab[aria-selected="true"] {
  border-bottom-color: transparent;
  border-radius: 12px;
  background: var(--gray-950);
  color: var(--white);
}

.tl-events__tab[aria-selected="true"] .tl-events__num { color: var(--cerulean-400); }
.tl-events__tab[aria-selected="true"] .tl-events__arrow { stroke: var(--white); }

.tl-events__tab:focus-visible {
  outline: 2px solid var(--cerulean-400);
  outline-offset: 2px;
}

/* Troca automática: uma barra de progresso corre na base da aba ativa (pílula preta).
   Quando ela enche, o JS passa para a próxima aba. */
.tl-events__tab { position: relative; }

.tl-events__tab::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 9px;
  left: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--cerulean-400);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.tl-events__tab.is-loading::after {
  animation: tl-tab-progress var(--tab-duration, 3s) linear forwards;
}

/* fora da tela, com o mouse em cima ou com a aba do navegador oculta: a barra para onde está */
.tl-events__body.is-paused .tl-events__tab.is-loading::after { animation-play-state: paused; }

@keyframes tl-tab-progress {
  to { transform: scaleX(1); }
}

/* ---------- Card ----------
   Os 9 cards ficam empilhados na mesma célula: a troca é só um fade,
   e a altura do palco é a do card mais alto (nada pula ao trocar). */
.tl-events__stage {
  container-type: inline-size;
  display: grid;
  touch-action: pan-y;
}

.tl-ev-card {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  min-height: 100%;
  padding: clamp(20px, 4.88cqi, 40px) clamp(20px, 4.88cqi, 40px) clamp(24px, 6.95cqi, 57px);
  background: var(--gray-950);
  color: var(--white);
  /* cantos chanfrados do Figma (100×70 em cima à direita, 44×31 embaixo à esquerda, em 820px) */
  clip-path: polygon(0 0, calc(100% - 12.2cqi) 0, 100% 8.54cqi, 100% 100%, 5.37cqi 100%, 0 calc(100% - 3.78cqi));
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}

.tl-ev-card.is-active { opacity: 1; visibility: visible; }

.tl-ev-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .9s var(--ease);
}

.tl-ev-card.is-active .tl-ev-card__img { transform: none; }

.tl-ev-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, .15) 0%, rgba(3, 7, 18, .25) 35%, rgba(3, 7, 18, .78) 62%, rgba(3, 7, 18, .96) 100%);
}

.tl-ev-card__badge,
.tl-ev-card__content { position: relative; z-index: 1; }

.tl-ev-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(3, 7, 18, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13px;
  line-height: 1.4;
}

.tl-ev-card__badge::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--hex, var(--cerulean-400));
  clip-path: polygon(50% 6.7%, 87.5% 28.3%, 87.5% 71.7%, 50% 93.3%, 12.5% 71.7%, 12.5% 28.3%);
}

.tl-ev-card__badge--green { --hex: var(--apple-400); }
.tl-ev-card__badge--red { --hex: var(--scarlet-500); }

.tl-ev-card__content { padding-left: clamp(0px, 1.95cqi, 16px); }

.tl-ev-card__count {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, .6);
}

.tl-ev-card__title {
  margin-top: 12px;
  font-size: clamp(26px, 4.88cqi, 40px);
  font-weight: 500;
  line-height: 1.15;
}

.tl-ev-card__text {
  max-width: 520px;
  margin-top: 12px;
  font-size: clamp(14px, 1.95cqi, 16px);
  line-height: 1.5;
  color: var(--gray-300);
}

.tl-ev-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin-top: 24px;
}

.tl-ev-card__chips li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

/* Card estreito: selo, chips e espaços menores */
@container (max-width: 480px) {
  .tl-ev-card { gap: 16px; }
  .tl-ev-card__badge { padding: 6px 12px; font-size: 12px; }
  .tl-ev-card__title { margin-top: 8px; }
  .tl-ev-card__text { margin-top: 8px; }
  .tl-ev-card__chips { gap: 6px; margin-top: 16px; }
  .tl-ev-card__chips li { padding: 5px 12px; font-size: 13px; }
}

/* Tablet e celular: tipos viram uma faixa de pílulas que rola de lado, card embaixo */
@media (max-width: 1023px) {
  .tl-events__head {
    flex-direction: column;
    gap: 24px;
  }

  .tl-events__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .tl-events__list {
    flex-direction: row;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 4px;
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }

  .tl-events__list::-webkit-scrollbar { display: none; }

  .tl-events__tab {
    flex: none;
    gap: 8px;
    width: auto;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    white-space: nowrap;
  }

  .tl-events__tab[aria-selected="true"] { border-color: var(--gray-950); border-radius: 999px; }

  /* na pílula, a barra corre por dentro, rente à borda de baixo */
  .tl-events__tab::after {
    right: 18px;
    bottom: 5px;
    left: 18px;
  }

  .tl-events__num { width: auto; font-size: 13px; }
  .tl-events__name { font-size: 16px; }
  .tl-events__arrow { display: none; }

  /* altura mínima (4:3 da largura) em vez de aspect-ratio: se o conteúdo não couber, o card cresce em vez de cortar */
  .tl-events__stage { min-height: calc((100vw - var(--gutter) * 2) * .75); }
}

@media (max-width: 600px) {
  .tl-events__stage { min-height: calc((100vw - var(--gutter) * 2) * 1.25); }

  /* no card vertical o texto ocupa mais altura: o escuro começa antes, para manter a leitura */
  .tl-ev-card::after {
    background: linear-gradient(180deg, rgba(3, 7, 18, .2) 0%, rgba(3, 7, 18, .4) 22%, rgba(3, 7, 18, .86) 45%, rgba(3, 7, 18, .96) 100%);
  }
}

/* =========================================================
   CATEGORIAS DE SERVIÇOS — cards empilhados no scroll
   ========================================================= */
.tl-cats {
  padding: clamp(72px, 6.25vw, 120px) 0;
  background: var(--white);
  color: var(--gray-950);
}

.tl-cats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tl-cats__title {
  max-width: 14em; /* 684px em 49px */
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--gray-950);
}

.tl-cats__text {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-600);
}

/* ---------- Pilha ----------
   Cada card gruda no topo um pouco abaixo do anterior (--stack-step);
   o JS reduz e desfoca os que vão ficando por baixo. */
.tl-stack {
  --stack-top: 24px;
  --stack-step: clamp(12px, 2.1vw, 40px);
  container-type: inline-size;
  margin-top: clamp(40px, 4.7vw, 90px);
}

.tl-stack__track {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 48px);
}

.tl-stack__card {
  position: sticky;
  top: calc(var(--stack-top) + var(--i) * var(--stack-step));
  transform-origin: 50% 0;
}

/* ---------- Card ---------- */
.tl-cat {
  --ch-x: clamp(28px, 5.53cqi, 84px); /* chanfro: 84×66 em 1520px */
  --ch-y: clamp(22px, 4.34cqi, 66px);
  --pad: clamp(24px, 5.92cqi, 90px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 508px) minmax(0, 520px);
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  min-height: 42.5cqi; /* proporção 1520×646; com overflow hidden, aspect-ratio não deixaria crescer */
  padding: var(--pad);
  overflow: hidden;
  border-radius: clamp(16px, 1.58cqi, 24px);
  background: var(--gray-950);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - var(--ch-x)) 0, 100% var(--ch-y), 100% 100%, var(--ch-x) 100%, 0 calc(100% - var(--ch-y)));
}

.tl-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-cat__main,
.tl-cat__panel { position: relative; z-index: 1; }

.tl-cat__title {
  font-size: clamp(26px, 2.57cqi, 39px);
  font-weight: 500;
  line-height: 1.2;
}

.tl-cat__text {
  max-width: 481px;
  margin-top: clamp(16px, 2.1cqi, 32px);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-300);
}

/* Botão de vidro (button-secundary do Figma) */
.tl-cat__btn {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: min(351px, 100%);
  min-height: clamp(96px, 8.75cqi, 133px);
  margin-top: clamp(28px, 4.2cqi, 64px);
  padding: clamp(20px, 2.1cqi, 32px);
  border: 1px solid rgba(129, 193, 251, .12);
  border-bottom-width: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

/* sempre 2 linhas equilibradas, como no Figma (nenhuma palavra sozinha embaixo).
   218px: a linha mais longa ("tecnológica para meu evento") ocupa 216px e
   "Solicitar estrutura audiovisual" (220px) precisa quebrar */
.tl-cat__btn span {
  max-width: 218px;
  text-wrap: balance;
}

.tl-cat__btn svg {
  position: absolute;
  top: clamp(20px, 2.04cqi, 31px);
  right: clamp(20px, 2.04cqi, 31px);
  width: 17px;
  height: 18px;
  fill: var(--cerulean-400);
  transition: transform .3s var(--ease), fill .3s var(--ease);
}

.tl-cat__btn:hover { background: var(--cerulean-400); border-color: var(--cerulean-300); }
.tl-cat__btn:hover svg { fill: var(--cerulean-200); transform: translate(3px, -3px); }

.tl-cat__btn:focus-visible {
  outline: 2px solid var(--cerulean-400);
  outline-offset: 3px;
}

/* Painel branco com a lista */
.tl-cat__panel {
  padding: clamp(24px, 2.63cqi, 40px);
  border-radius: 16px;
  background: var(--white);
  color: var(--gray-950);
}

.tl-cat__panel-title {
  margin: 0;
  font-size: clamp(20px, 1.64cqi, 25px);
  font-weight: 500;
  line-height: 1.2;
}

.tl-cat__list {
  display: grid;
  gap: 6px;
  margin-top: clamp(20px, 2.1cqi, 32px);
}

.tl-cat__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.tl-cat__list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: url("https://totalloc.com.br/wp-content/uploads/html-canvas/paginas/pagina-818/sessoes/20261029-230849-147cb875/assets/icons/check-hex.svg") center / contain no-repeat;
}

/* Desktop menor: painel um pouco mais estreito */
@container (max-width: 1180px) {
  .tl-cat { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
}

/* Tablet e celular: texto em cima, lista embaixo, foto escurecida no fundo */
@container (max-width: 960px) {
  .tl-cat {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
  }

  .tl-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, .5) 0%, rgba(3, 7, 18, .78) 45%, rgba(3, 7, 18, .92) 100%);
  }

  .tl-cat__title { font-size: clamp(24px, 4.4cqi, 34px); }
}

/* Tablet: painel largo, lista em duas colunas para o card não ficar comprido */
@container (min-width: 600px) and (max-width: 960px) {
  .tl-cat__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (max-width: 1023px) {
  .tl-cats__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* miniatura da foto, subtítulo curto e CTA único: só existem no celular */
.tl-cat__thumb,
.tl-cat__text--short,
.tl-cats__foot { display: none; }

/* Celular: sem pilha nem efeitos. Os cards ficam um embaixo do outro.
   Sem foto de fundo: ela vira uma miniatura no topo do painel branco. */
@media (max-width: 767px) {
  .tl-stack { margin-top: 40px; }

  .tl-stack__track { gap: 20px; }

  .tl-stack__card {
    position: relative;
    top: auto;
  }

  /* margem igual (14px) em volta do painel branco: esquerda, direita e base */
  .tl-cat {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 14px;
    border-radius: 16px;
    background: var(--gray-950);
  }

  .tl-cat__img,
  .tl-cat::after,
  .tl-cat__btn,
  .tl-cat__text { display: none; }

  .tl-cat__main { padding: 28px 14px 0; }

  .tl-cat__title {
    font-size: 22px;
    line-height: 1.25;
    text-wrap: pretty; /* balance quebrava em 4 linhas curtas */
  }

  .tl-cat .tl-cat__text--short {
    display: block;
    max-width: none;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
  }

  /* painel repete, menor, o chanfro de baixo à esquerda do card preto */
  .tl-cat__panel {
    padding: 12px 12px 24px;
    border-radius: 12px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 14px));
  }

  .tl-cat__thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    margin-bottom: 22px;
    border-radius: 8px;
    object-fit: cover;
  }

  .tl-cat__panel-title { padding-inline: 8px; font-size: 20px; }

  .tl-cat__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-inline: 8px;
  }

  .tl-cat__list li {
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
  }

  .tl-cat__list li::before { width: 18px; height: 18px; margin-top: 1px; }

  .tl-cats__foot {
    display: block;
    margin-top: 28px;
  }

  .tl-cats__cta {
    display: flex;
    width: 100%;
    height: 60px;
    padding: 0 24px;
    border-bottom: 3px solid var(--cerulean-400);
    border-radius: 12px;
    background: var(--gray-950);
    color: var(--white);
    font-size: 17px;
  }

  .tl-cats__cta .tl-icon-arrow { fill: var(--cerulean-400); transition: transform .3s var(--ease), fill .3s var(--ease); }

  .tl-cats__cta:hover { background: var(--cerulean-400); border-bottom-color: var(--cerulean-300); }
  .tl-cats__cta:hover .tl-icon-arrow { fill: var(--white); }
}

/* =========================================================
   DIFERENCIAIS — texto + acordeão
   ========================================================= */
/* a seção anterior (também branca) já dá o respiro de cima */
.tl-diff {
  padding: 0 0 clamp(72px, 6.25vw, 120px);
  background: var(--white);
  color: var(--gray-950);
}

.tl-diff__grid {
  display: grid;
  grid-template-columns: minmax(0, 568px) minmax(0, 611px);
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.tl-diff__title {
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.1;
}

/* "Mais controle" em itálico cinza, sozinho na 1ª linha (como no Figma) */
.tl-diff__title em {
  display: block;
  font-style: oblique 10deg;
  color: var(--gray-500);
}

.tl-diff__text {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-600);
}

.tl-diff__text strong { font-weight: 500; color: var(--gray-950); }

/* ---------- Acordeão ---------- */
.tl-acc {
  display: grid;
  gap: 20px;
}

.tl-acc__item {
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: var(--white);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.tl-acc__item.is-open { background: var(--gray-50); }
.tl-acc__item:not(.is-open):hover { border-color: var(--gray-300); }

.tl-acc__head { margin: 0; }

.tl-acc__btn {
  display: flex;
  align-items: center;
  gap: 42px;
  width: 100%;
  padding: 20px 32px;
  border: 0;
  border-radius: 24px;
  background: none;
  color: var(--gray-950);
  font: 500 20px/1.5 var(--font);
  text-align: left;
  cursor: pointer;
  transition: color .3s var(--ease);
}

.tl-acc__item.is-open .tl-acc__btn { color: var(--cerulean-400); }

.tl-acc__btn:focus-visible {
  outline: 2px solid var(--cerulean-400);
  outline-offset: -2px;
}

/* "+" que gira e vira "×" ao abrir.
   Medidas inteiras (caixa par, barras de 2px no centro exato): com meio pixel,
   depois de girar, o navegador arredondava as duas hastes com espessuras diferentes. */
.tl-acc__icon {
  --bar: 2px;
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gray-300);
  transition: transform .35s var(--ease), color .3s var(--ease);
}

.tl-acc__icon::before,
.tl-acc__icon::after {
  content: "";
  position: absolute;
  top: calc(50% - var(--bar) / 2);
  left: 0;
  width: 100%;
  height: var(--bar);
  border-radius: 1px;
  background: currentColor;
}

.tl-acc__icon::after { transform: rotate(90deg); }

.tl-acc__item.is-open .tl-acc__icon {
  color: var(--cerulean-400);
  transform: rotate(45deg);
}

/* altura animada: a linha da grade vai de 0fr a 1fr */
.tl-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease), margin-top .4s var(--ease);
}

/* aberto: sobe 12px para o texto ficar a 8px do título, como no Figma */
.tl-acc__item.is-open .tl-acc__panel { grid-template-rows: 1fr; margin-top: -12px; }

.tl-acc__inner {
  overflow: hidden;
  min-height: 0;
}

/* o texto alinha com o título (32 + 16 + 42 = 90px) */
.tl-acc__inner p {
  padding: 0 32px 21px 90px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-600);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.tl-acc__item.is-open .tl-acc__inner p { opacity: 1; transition-delay: .1s; }

@media (max-width: 1023px) {
  .tl-diff__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tl-diff__intro { max-width: 640px; }
  .tl-diff__text { margin-top: 24px; }
}

@media (max-width: 767px) {
  .tl-acc { gap: 12px; }
  .tl-acc__item,
  .tl-acc__btn { border-radius: 16px; }

  .tl-acc__btn {
    gap: 17px;
    padding: 18px 20px;
    font-size: 18px;
    line-height: 26px; /* altura par (26 x linhas + 36): o ícone fica centrado no pixel exato */
  }

  .tl-acc__icon { width: 14px; height: 14px; }

  .tl-acc__item.is-open .tl-acc__panel { margin-top: -10px; }

  .tl-acc__inner p {
    padding: 0 20px 18px 51px; /* 20 + 14 + 17 */
    font-size: 15px;
  }
}

/* =========================================================
   REGIÃO DE ATENDIMENTO — mapa do Ceará
   ========================================================= */
.tl-region {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 7.3vw, 140px) 0 clamp(64px, 5.6vw, 107px);
  background: linear-gradient(90deg, var(--gray-950), var(--gray-900));
  color: var(--white);
}

/* a seção de cima é branca: o encaixe em "V" vem em branco */
.tl-notch--light { z-index: 2; fill: var(--white); }

/* mapa de fundo: 1678px em 1920px, encostado no topo como no Figma */
.tl-region__map {
  position: absolute;
  top: 0;
  bottom: 0; /* ocupa a altura da seção: o que passa do fim se apaga no degradê abaixo, sem corte reto */
  left: 5.78%;
  width: 87.4%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 180px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 180px), transparent);
}

.tl-region__map svg { display: block; width: 100%; height: auto; overflow: visible; }

/* versão inteira do mapa, só no celular */
.tl-region__full { display: none; }

.tl-region__labels text {
  font: 400 12px/1.3 var(--font);
  fill: var(--gray-500);
  text-anchor: middle;
}

/* Fortaleza em destaque: um pouco maior e mais forte que os nomes das regiões */
.tl-region__city {
  font: 500 15px var(--font);
  fill: var(--white);
}

.tl-region__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.tl-region__intro { max-width: 491px; }

.tl-region__title {
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: pretty;
}

.tl-region__title em {
  font-style: oblique 10deg;
  color: var(--gray-400);
}

.tl-region__text {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-400);
}

.tl-region__text strong { font-weight: 500; color: var(--white); }

/* pontos de destaque: no canto de baixo à direita, sobre o mapa */
.tl-region__list {
  display: grid;
  gap: 11px;
  flex: none;
  width: 273px;
  margin-bottom: 0;
}

.tl-region__list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.tl-region__list svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--cerulean-400);
}

/* mapa inteiro (celular e tablet): nomes em HTML, posição em % do viewBox,
   ancorados no centro como no Figma, para manter o tamanho em qualquer escala */
.tl-region__full svg { display: block; width: 100%; height: auto; }

.tl-region__full span {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  color: var(--gray-500); /* sutil, como no desktop */
}

.tl-region__full .tl-region__full-city {
  transform: translateY(-50%);
  margin-left: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

@media (max-width: 1099px) {
  .tl-region__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tl-region__text { margin-top: 24px; }
}

/* Tablet: texto numa coluna estreita à esquerda e o mapa inteiro ocupando a altura da seção à direita */
@media (min-width: 768px) and (max-width: 1099px) {
  .tl-region__intro,
  .tl-region__list { max-width: clamp(400px, 42vw, 460px); }

  .tl-region__map { display: none; }

  .tl-region__full {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: 62%;
    transform: translateY(-50%);
    pointer-events: none;
    /* mesmo degradê da máscara do desktop (#tl-map-fade), convertido para o viewBox do mapa inteiro:
       opaco no canto de cima à direita, apagando na diagonal até sumir no canto de baixo à esquerda */
    /* + um degradê de baixo, que apaga a sombra do mapa antes da borda do SVG (onde ela era cortada reto) */
    -webkit-mask-image: linear-gradient(237deg, #000 52%, transparent 92%), linear-gradient(180deg, #000 72%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(237deg, #000 52%, transparent 92%), linear-gradient(180deg, #000 72%, transparent);
    mask-composite: intersect;
  }
}

/* Celular: o mapa sai do fundo e entra entre o texto e os destaques */
@media (max-width: 767px) {
  /* ordem no celular: texto, mapa, destaques */
  .tl-region {
    display: flex;
    flex-direction: column;
  }

  .tl-region__inner { display: contents; }

  .tl-region__intro,
  .tl-region__list {
    width: var(--container);
    margin-inline: auto;
  }

  .tl-region__intro { order: 1; max-width: 560px; }
  .tl-region__full { order: 2; }
  .tl-region__list { order: 3; }

  /* o mapa de fundo dá lugar ao mapa inteiro */
  .tl-region__map { display: none; }

  .tl-region__full {
    display: block;
    position: relative;
    width: min(100%, 560px);
    margin: 40px auto 32px;
  }
}

/* =========================================================
   PORTFÓLIO — título + carrossel de fotos
   ========================================================= */
.tl-portfolio {
  padding-top: clamp(72px, 6.25vw, 120px);
  background: var(--gray-100);
  color: var(--gray-950);
  overflow-x: clip; /* a faixa de fotos (com os clones do loop) passa da tela */
}

.tl-portfolio__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-300);
}

.tl-portfolio__title {
  max-width: 9.8em; /* quebra como no Figma: "grandes eventos." na 2ª linha */
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.tl-portfolio__title em {
  font-style: oblique 10deg;
  color: var(--gray-500);
}

.tl-portfolio__text {
  max-width: 414px;
  font-size: clamp(1.125rem, .95rem + .55vw, 1.5625rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

/* mesmo carrossel do hero (loop, autoplay, arrastar); aqui só fotos */
.tl-gallery { margin-top: clamp(40px, 4.7vw, 90px); }

.tl-gallery__slide {
  flex: 0 0 var(--card-w);
  aspect-ratio: 610 / 428;
  border-radius: 16px;
  overflow: hidden;
}

/* o recorte diagonal dos cantos já vem na transparência da foto */
.tl-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.tl-gallery__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 40px;
}

.tl-gallery__dots {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* área de toque de 24px, bolinha de 8px; a ativa vira uma barra de 37px */
.tl-gallery__dot {
  display: grid;
  place-items: center;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.tl-gallery__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 32px;
  background: var(--gray-300);
  transition: width .4s var(--ease), background-color .3s var(--ease);
}

.tl-gallery__dot:hover::before { background: var(--gray-400); }

.tl-gallery__dot[aria-current="true"]::before {
  width: 37px;
  background: var(--gray-950);
}

.tl-gallery__dot:focus-visible,
.tl-gallery__arrow:focus-visible {
  outline: 2px solid var(--cerulean-400);
  outline-offset: 2px;
}

.tl-gallery__arrows {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 12px;
}

.tl-gallery__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-950);
  cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}

.tl-gallery__arrow:hover {
  border-color: var(--gray-950);
  background: var(--gray-950);
  color: var(--white);
}

.tl-gallery__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1023px) {
  .tl-portfolio__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .tl-gallery__nav {
    grid-template-columns: 1fr auto;
    margin-top: 28px;
  }

  .tl-gallery__dots { grid-column: 1; gap: 6px; }
  .tl-gallery__arrows { grid-column: 2; gap: 8px; }
  .tl-gallery__arrow { width: 44px; height: 44px; }
}

/* =========================================================
   CTA — caixa branca com cantos cortados + símbolo da marca
   ========================================================= */
.tl-cta-wrap {
  padding-top: clamp(72px, 6.25vw, 120px);
  background: var(--gray-100);
}

/* seções vizinhas no mesmo cinza: cobre a emenda de meio pixel entre elas */
.tl-cta-wrap,
.tl-faq { box-shadow: 0 -1px 0 var(--gray-100); }

.tl-cta {
  --cut-x: 84px;
  --cut-y: 66px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(646px, 42.5vw);
  border-radius: 16px;
  background: var(--white);
  color: var(--gray-950);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut-x)) 0, 100% var(--cut-y), 100% 100%, var(--cut-x) 100%, 0 calc(100% - var(--cut-y)));
  container-type: inline-size;
}

/* 90px de recuo e 650px de texto em 1520px */
.tl-cta__content {
  position: relative;
  z-index: 1;
  width: 48.7%;
  padding: 56px 0 56px 5.92%;
}

/* tamanho preso à largura da caixa (61px em 1520px): quebra em 4 linhas como no Figma */
.tl-cta__title {
  font-size: clamp(2rem, 3.95cqi, 3.8125rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: pretty;
}

.tl-cta__title em {
  font-style: oblique 10deg;
  color: var(--gray-500);
}

.tl-cta__text {
  max-width: 432px;
  margin-top: clamp(32px, 3.5vw, 56px);
  font-size: clamp(1rem, .9rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--gray-600);
  text-wrap: pretty;
}

.tl-cta__text strong { font-weight: 500; color: var(--gray-950); }

/* Lado direito: 610px do Figma (de x=910 a 1520). Tudo dentro dele usa cqi com essa base,
   então o conjunto escala junto, no desktop (ao lado do texto) e no celular (embaixo). */
.tl-cta__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40.13%;
  container-type: inline-size;
  overflow: hidden;
}

.tl-cta__symbol {
  position: absolute;
  top: 26.39cqi;
  left: 0;
  width: 133.4cqi;
  max-width: none; /* o reset limita svg a 100% */
  height: auto;
}

/* botão de vidro: o desfoque sobre o símbolo verde gera o brilho do Figma */
.tl-cta__btn {
  position: absolute;
  top: 14.75cqi;
  left: 5.9cqi;
  display: flex;
  align-items: flex-end;
  width: 79.34cqi;
  min-height: 35.57cqi;
  padding: clamp(20px, 5.25cqi, 32px);
  border: 1px solid rgba(0, 0, 0, .09);
  border-bottom-width: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(46px);
  backdrop-filter: blur(46px);
  color: var(--gray-950);
  font-size: clamp(20px, 5.08cqi, 31px);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.tl-cta__btn span {
  max-width: 7.4em; /* 3 linhas: "Solicitar / atendimento / pelo WhatsApp" */
  text-wrap: balance;
}

.tl-cta__btn .tl-icon-arrow {
  position: absolute;
  top: clamp(18px, 5.08cqi, 31px);
  right: clamp(18px, 5.08cqi, 31px);
  width: 17px;
  height: 18px;
  fill: var(--cerulean-400);
  transition: transform .3s var(--ease), fill .3s var(--ease);
}

.tl-cta__btn:hover {
  border-color: var(--cerulean-300);
  background: var(--cerulean-400);
  color: var(--white);
}

.tl-cta__btn:hover .tl-icon-arrow { fill: var(--cerulean-200); transform: translate(2px, -2px); }

.tl-cta__btn:focus-visible {
  outline: 2px solid var(--cerulean-400);
  outline-offset: 3px;
}

.tl-cta__note {
  position: absolute;
  top: 80.22cqi;
  left: 61.31cqi;
  width: 47.87cqi;
  transform: translateX(-50%);
  font-size: clamp(14px, 3.13cqi, 19px);
  line-height: 1.5;
  text-align: center;
  color: var(--gray-600);
  text-wrap: balance;
}

/* visual estreito (celular): a nota ganha largura; sem espaço, some (texto de apoio) */
@container (max-width: 480px) {
  .tl-cta__note { width: 58cqi; }
}

@container (max-width: 340px) {
  .tl-cta__note { display: none; }
}

/* Tablet e celular: texto em cima, lado direito do Figma embaixo (mesma proporção) */
@media (max-width: 1023px) {
  .tl-cta {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .tl-cta__content {
    width: auto;
    max-width: 640px;
    padding: 56px 48px 8px;
  }

  .tl-cta__visual {
    position: relative;
    width: min(100%, 480px);
    margin-left: auto;
    aspect-ratio: 610 / 646;
  }
}

@media (max-width: 767px) {
  .tl-cta {
    --cut-x: 40px;
    --cut-y: 32px;
  }

  .tl-cta__content { padding: 40px 24px 0; }
  .tl-cta__title { font-size: 1.75rem; }
}

/* =========================================================
   DÚVIDAS — título fixo + acordeão
   ========================================================= */
.tl-faq {
  padding: clamp(72px, 6.25vw, 120px) 0;
  background: var(--gray-100);
  color: var(--gray-950);
}

.tl-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 522px) minmax(0, 611px);
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

/* o título acompanha a rolagem enquanto as perguntas passam */
.tl-faq__intro {
  position: sticky;
  top: 48px;
}

.tl-faq__title {
  font-size: clamp(2rem, 1.2rem + 2vw, 3.0625rem);
  font-weight: 500;
  line-height: 1.2;
}

.tl-faq__text {
  margin-top: 40px;
  font-size: clamp(1.125rem, .95rem + .55vw, 1.5625rem);
  line-height: 1.5;
  color: var(--gray-600);
  text-wrap: pretty;
}

.tl-faq__text strong { font-weight: 500; color: var(--gray-950); }

/* no fundo cinza: fechado em cinza-claro, aberto em branco (o inverso dos Diferenciais) */
.tl-acc--faq .tl-acc__item { background: var(--gray-50); }
.tl-acc--faq .tl-acc__item.is-open { background: var(--white); }

@media (max-width: 1023px) {
  .tl-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tl-faq__intro { position: static; max-width: 640px; }
  .tl-faq__text { margin-top: 24px; }
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.tl-footer {
  padding: clamp(72px, 6.25vw, 120px) 0 clamp(48px, 6.25vw, 120px);
  background: var(--gray-950);
  color: var(--white);
}

/* 480 + 225 + 398px, com o mesmo respiro (~209px) entre as colunas */
.tl-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 225px) minmax(0, 398px);
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.tl-footer__logo { display: inline-block; }
.tl-footer__logo img { width: clamp(200px, 14vw, 269px); height: auto; }

.tl-footer__tagline {
  margin-top: 28px;
  font-size: clamp(1.0625rem, .95rem + .3vw, 1.25rem);
  line-height: 1.5;
}

.tl-footer__title {
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5625rem);
  font-weight: 500;
  line-height: 1.2;
}

.tl-footer__title--sm { font-size: 20px; }

.tl-footer__address {
  max-width: 344px;
  margin-top: 48px;
}

.tl-footer__address address {
  margin-top: 24px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-400);
  text-wrap: pretty;
}

.tl-footer__route {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.tl-footer__route svg {
  width: 13px;
  height: 14px;
  fill: currentColor;
  transition: transform .3s var(--ease);
}

.tl-footer__route:hover { border-color: var(--cerulean-300); color: var(--cerulean-200); }
.tl-footer__route:hover svg { transform: translate(2px, -2px); }

.tl-footer__nav ul {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.tl-footer__nav a,
.tl-footer__lines a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color .25s var(--ease);
}

.tl-footer__nav a:hover,
.tl-footer__lines a:hover { color: var(--cerulean-200); }

.tl-footer__lines {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.tl-footer__hours {
  display: grid;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-400);
}

.tl-footer__hours strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.tl-footer__social { margin-top: 46px; }

.tl-footer__social ul {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.tl-footer__social a {
  display: block;
  border-radius: 8px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.tl-footer__social svg { width: 32px; height: 32px; }

.tl-footer__social a:hover { transform: translateY(-2px); opacity: .85; }

.tl-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px 40px;
  margin-top: clamp(56px, 5.2vw, 100px);
  padding-top: 40px;
  border-top: 1.5px solid rgba(255, 255, 255, .17);
  font-size: 16px;
  line-height: 1.5;
}

/* Tablet: marca em cima (largura toda), links e contato lado a lado */
@media (max-width: 1023px) {
  .tl-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 40px;
  }

  .tl-footer__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    align-items: start;
  }

  .tl-footer__tagline { grid-column: 1; max-width: 420px; }

  .tl-footer__address {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .tl-footer__bottom { flex-direction: column; }
}

/* Celular: tudo numa coluna */
@media (max-width: 767px) {
  .tl-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .tl-footer__brand { display: block; }
  .tl-footer__address { margin-top: 40px; }

  .tl-footer__nav ul,
  .tl-footer__lines { margin-top: 20px; }

  .tl-footer__social { margin-top: 40px; }

  .tl-footer__bottom {
    gap: 8px;
    padding-top: 32px;
    font-size: 14px;
  }
}

/* =========================================================
   EFEITOS DE ENTRADA
   ========================================================= */
/* Hero: entra ao carregar, só com CSS (já está na tela; com JS ele piscaria) */
@keyframes tl-rise {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
}

@keyframes tl-fade {
  from { opacity: 0; }
}

/* "backwards" e não "both": a animação presa no fim impede o blur de fundo do botão de ver o símbolo atrás */
.tl-header__bar { animation: tl-fade .9s var(--ease-out) backwards; }
.tl-hero__title { animation: tl-rise 1.1s var(--ease-out) .1s both; }
.tl-hero__text { animation: tl-rise 1.1s var(--ease-out) .25s both; }
.tl-hero .tl-slider { animation: tl-rise 1.2s var(--ease-out) .4s both; }
.tl-feature { animation: tl-rise 1s var(--ease-out) .6s both; }
.tl-feature:nth-child(3) { animation-delay: .7s; }
.tl-feature:nth-child(5) { animation-delay: .8s; }

/* Resto da página: o JS marca os elementos e os revela ao entrarem na tela.
   Depois da entrada as classes saem, e cada elemento volta às próprias transições (hover etc.). */
.tl-rv {
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
}

.tl-rv:not(.is-in) { opacity: 0; }
.tl-rv--up:not(.is-in) { transform: translate3d(0, 40px, 0); }
.tl-rv--zoom:not(.is-in) { transform: translate3d(0, 32px, 0) scale(.96); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1199px) {
  .tl-header__cta { width: auto; padding: 0 24px; font-size: 16px; }
}

@media (max-width: 1023px) {
  .tl-hero__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .tl-hero__title { max-width: 10em; }
  .tl-hero__text { padding-bottom: 0; }

  .tl-slider {
    --card-w: clamp(300px, 46vw, 460px);
    --slider-pad: var(--gutter);
  }

  .tl-hero__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .tl-feature__plus { display: none; }

  .tl-feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .tl-header__bar { min-height: 48px; }

  .tl-header__deco { width: 150px; opacity: .1; }

  .tl-menu-toggle { width: 36px; height: 48px; gap: 5px; }
  .tl-menu-toggle span { height: 4px; }

  /* menu ocupa 90% da tela; a faixa da direita fica desfocada */
  .tl-menu__overlay {
    background: rgba(3, 7, 18, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .tl-menu__panel {
    --menu-pad: 24px;
    width: 90vw;
    padding-top: 28px;
  }

  .tl-menu__logo img { width: clamp(160px, 50vw, 220px); }

  .tl-menu__list { gap: 16px; margin-top: 36px; }
  .tl-menu__list a { font-size: 19px; }

  /* símbolo grande: verde atrás do botão, azul descendo à esquerda */
  .tl-menu__foot { padding: 40px var(--menu-pad) clamp(150px, 30vh, 260px); }

  .tl-menu__symbol {
    top: 14px;
    left: var(--menu-pad);
    width: 520px;
  }

  .tl-menu__cta {
    min-height: 104px;
    padding: 22px 24px;
    font-size: 21px;
  }

  .tl-menu__cta .tl-icon-arrow { top: 22px; right: 22px; }

  .tl-header__cta {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 10px;
  }

  .tl-header__cta .tl-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .tl-slider {
    --card-w: min(88vw, 400px);
    --card-gap: 12px;
  }

  .tl-card__body { left: 8%; }

  .tl-hero__features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tl-feature {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-page *,
  .tl-page *::before,
  .tl-page *::after {
    transition-duration: .01ms !important;
  }

  .tl-header__bar,
  .tl-hero__title,
  .tl-hero__text,
  .tl-hero .tl-slider,
  .tl-feature { animation: none; }

  .tl-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .tl-marquee { -webkit-mask-image: none; mask-image: none; }
}
