/* Brand device: hand-drawn red circle. Only accent colour on the site. */
:root {
  --tcf-brand-red: #e31b23; /* warmer than pure #ff0000 */
}
.tcf-circle {
  --tcf-hl-duration: 1.15s;
  --tcf-hl-stroke: var(--tcf-brand-red);
  --tcf-hl-stroke-width: 8;
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
.tcf-circle > .tcf-circle__text {
  position: relative;
  z-index: 1;
}
.tcf-circle > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 0.5em);
  height: calc(100% + 0.45em);
  transform: translate(-50%, -48%);
  overflow: visible;
  pointer-events: none;
}
.tcf-circle > svg path {
  fill: none;
  opacity: 0;
  stroke: var(--tcf-hl-stroke);
  stroke-width: var(--tcf-hl-stroke-width);
  stroke-dasharray: 0 1500;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tcf-circle.is-drawn > svg path,
.tcf-circle.e-animated > svg path {
  animation: tcf-circle-dash forwards;
  animation-duration: var(--tcf-hl-duration);
  animation-iteration-count: 1;
}
@keyframes tcf-circle-dash {
  0% { opacity: 1; stroke-dasharray: 0 1500; }
  to { opacity: 1; stroke-dasharray: 1500 1500; }
}
@media (prefers-reduced-motion: reduce) {
  .tcf-circle > svg path {
    animation: none !important;
    opacity: 1;
    stroke-dasharray: 1500 1500;
  }
}
/* Keep legacy Waze headline working with brand red */
.tcf-headline {
  --tcf-hl-stroke: var(--tcf-brand-red);
}

/* Hero H1: keep oval from colliding with the line above (e.g. "movimentos") */
.page-hero h1:has(.tcf-circle),
.tcf-tf .page-hero h1:has(.tcf-circle) {
  line-height: 1.28;
}
.page-hero h1 .tcf-circle {
  padding: 0.04em 0.08em 0.1em;
}
.page-hero h1 .tcf-circle > svg,
.tcf-tf .page-hero h1 .tcf-circle > svg {
  width: calc(100% + 0.28em);
  height: 0.95em;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(0.42);
  transform-origin: center center;
  clip-path: inset(30% -12% -18% -12%);
}
.page-hero h1 .tcf-circle > svg path,
.tcf-tf .page-hero h1 .tcf-circle > svg path {
  stroke-width: 14;
}
