﻿@import url("https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --appco-primary: #5864ff;
  --appco-primary-dark: #4752df;
  --appco-secondary: #7a84ff;
  --appco-accent: #fdd446;
  --appco-ink: #162447;
  --appco-muted: #5b657e;
  --appco-surface: #ffffff;
  --appco-soft: #f4f7ff;
  --appco-border: #e4e9f8;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 20px 46px rgba(19, 40, 98, 0.14);
  --shadow-card: 0 12px 34px rgba(19, 36, 87, 0.1);
  --hero-image: url("/template/assets/img/hero/hero-bg.svg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  color: var(--appco-ink);
  background:
    radial-gradient(54vw 54vw at -12% -20%, rgba(88, 100, 255, 0.18), transparent 62%),
    radial-gradient(40vw 40vw at 110% 16%, rgba(88, 100, 255, 0.12), transparent 64%),
    linear-gradient(180deg, #f8f9ff 0%, var(--appco-soft) 50%, #eef2ff 100%);
  line-height: 1.62;
  min-height: 100vh;
  position: relative;
}

::selection {
  color: #ffffff;
  background: rgba(90, 61, 240, 0.8);
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Arimo", sans-serif;
  color: var(--appco-ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--appco-muted);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.breadcrumb {
  width: min(1160px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
  font-size: 0.88rem;
  color: #6b769e;
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #5160a4;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.top-nav {
  position: sticky;
  top: 10px;
  z-index: 70;
  width: 100%;
  margin: 0 auto;
  min-height: 72px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(223, 229, 255, 0.9);
  box-shadow: 0 16px 34px rgba(35, 48, 117, 0.11);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.appco-home > .top-nav {
  width: min(1160px, calc(100% - 2rem));
  margin: 1rem auto 0.25rem;
}

.page-hero .top-nav,
.hero .top-nav,
.tfd-hero .top-nav {
  position: relative;
  top: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Arimo", sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--appco-ink);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.38rem 0.2rem;
  margin: 0 0.52rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2f3f7c;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  margin: auto;
  width: 0;
  height: 5px;
  border-radius: 999px;
  background: var(--appco-accent);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--appco-primary-dark);
  transform: translateY(-1px);
  outline: none;
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before,
.nav-links a.highlight::before,
.nav-links a.is-active::before {
  width: 100%;
}

.nav-links a.highlight,
.nav-links a.is-active {
  color: var(--appco-primary-dark);
}

.page-hero .nav-links a,
.hero .nav-links a,
.tfd-hero .nav-links a {
  color: rgba(255, 255, 255, 0.95);
}

.page-hero .nav-links a:hover,
.hero .nav-links a:hover,
.tfd-hero .nav-links a:hover,
.page-hero .nav-links a:focus-visible,
.hero .nav-links a:focus-visible,
.tfd-hero .nav-links a:focus-visible {
  color: #ffffff;
}

.page-hero .nav-links a.highlight,
.hero .nav-links a.highlight,
.tfd-hero .nav-links a.highlight,
.page-hero .nav-links a.is-active,
.hero .nav-links a.is-active,
.tfd-hero .nav-links a.is-active {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid #cfd6ff;
  background: #f6f8ff;
  color: #3b4270;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: #eef1ff;
  outline: none;
}

.appco-hero,
.page-hero,
.hero {
  width: min(1160px, calc(100% - 2rem));
  margin: 1rem auto 0;
  min-height: clamp(460px, 68vh, 680px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(132deg, rgba(88, 100, 255, 0.95) 0%, rgba(77, 95, 240, 0.96) 100%),
    var(--hero-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding: clamp(1.2rem, 2.5vw, 2.3rem);
  position: relative;
  overflow: hidden;
}

.appco-hero::before,
.page-hero::before,
.hero::before {
  content: "";
  position: absolute;
  width: min(460px, 54vw);
  height: min(460px, 54vw);
  right: -150px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.appco-hero::after,
.page-hero::after,
.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: -125px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

body.regula-theme {
  --appco-primary: #5864ff;
  --appco-primary-dark: #4752df;
  --appco-secondary: #7a84ff;
  --appco-accent: #fdd446;
}

body.tfd-theme {
  --appco-primary: #5f57f5;
  --appco-primary-dark: #4b44de;
  --appco-secondary: #7d86ff;
  --appco-accent: #ffcc54;
}

body.zap-theme {
  --appco-primary: #22b67a;
  --appco-primary-dark: #159763;
  --appco-secondary: #18cb96;
  --appco-accent: #ffda52;
}

body.tfd-theme .appco-hero,
body.tfd-theme .page-hero,
body.tfd-theme .hero {
  background:
    linear-gradient(132deg, rgba(95, 87, 245, 0.96) 0%, rgba(70, 79, 210, 0.96) 100%),
    var(--hero-image);
}

body.zap-theme .appco-hero,
body.zap-theme .page-hero,
body.zap-theme .hero {
  background:
    linear-gradient(132deg, rgba(34, 182, 122, 0.94) 0%, rgba(16, 151, 99, 0.96) 100%),
    var(--hero-image);
}

.appco-hero-grid,
.page-hero-grid,
.hero-content,
.tfd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.appco-hero-copy,
.page-hero-content,
.hero-text {
  display: grid;
  gap: 0.9rem;
}

.appco-kicker,
.tag,
.pill,
.tfd-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.appco-hero h1,
.page-hero h1,
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #ffffff;
  max-width: 16ch;
}

.appco-hero p,
.page-hero-content > p,
.hero-text > p,
.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  max-width: 64ch;
}

.appco-hero-media,
.page-hero-visual,
.hero-visual,
.hero-shot,
.tfd-slide-media {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  padding: 0.8rem;
  box-shadow: 0 20px 40px rgba(12, 26, 78, 0.22);
}

.appco-hero-media img,
.page-hero-visual img,
.hero-shot img,
.tfd-slide-media img {
  border-radius: 12px;
  border: 1px solid #dee4fb;
}

.regula-theme .page-main img[src*="regula"],
.regula-theme .appco-main img[src*="regula"],
.regula-theme .page-main img[src*="/assets/source/"] {
  border: 1px solid #d8def9;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(40, 64, 145, 0.16);
}

.tfd-theme .page-main img[src*="/tfd/"],
.tfd-theme .page-main img[src*="tfd/"],
.tfd-theme .page-main img[src*="dash"],
.tfd-theme .page-main img[src*="viagens"],
.tfd-theme .page-main img[src*="pagamentos"],
.tfd-theme .page-main img[src*="bpa"] {
  border: 1px solid #d6d9ff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(53, 62, 161, 0.22);
}

.zap-theme .page-main img[src*="/assets/zap/"],
.zap-theme .page-main img[src*="assets/zap/"],
.zap-theme .page-hero img[src*="/assets/zap/"],
.zap-theme .page-hero img[src*="assets/zap/"] {
  border: 1px solid #d5f0e4;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(15, 125, 84, 0.18);
}

.hero-highlights,
.regula-badges,
.inline-kpis,
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.hero-highlights span,
.regula-badge,
.inline-kpis span,
.toolbar-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

main,
.page-main,
.appco-main {
  width: min(1160px, calc(100% - 2rem));
  margin: 1.45rem auto 0;
  display: grid;
  gap: 1.15rem;
  padding-bottom: 4rem;
}

.appco-section,
.page-section,
.section-shell,
.tfd-section,
.blog-article,
.contact-card,
.regula-highlight,
.faq-item,
.tfd-slide-card,
.snapshot-card,
.page-card,
.module-card,
.value-card,
.kpi-card,
.proposal-item,
.metric-card,
.hero-card,
.tfd-card,
.seo-benefit-card,
.focus-card,
.stack-card {
  background: var(--appco-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--appco-border);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2vw, 1.7rem);
}

.page-main > .page-section:nth-child(even),
.appco-main > .appco-section:nth-child(even) {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.appco-head,
.section-head {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
  margin-bottom: 1.1rem;
}

.appco-section h2,
.page-section h2,
.section-shell h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

.appco-section h3,
.page-card h3,
.module-card h3,
.value-card h3,
.kpi-card h3,
.proposal-item h3,
.metric-card h3,
.tfd-card h3,
.hero-card h3 {
  font-size: 1.08rem;
}

.appco-features,
.page-grid,
.module-grid,
.value-grid,
.kpi-grid,
.metrics-grid,
.snapshot-grid,
.proposal-grid,
.tfd-grid,
.tfd-cta-grid,
.focus-grid,
.seo-benefits-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card,
.page-card,
.module-card,
.value-card,
.kpi-card,
.proposal-item,
.metric-card,
.snapshot-card,
.tfd-card,
.hero-card,
.price-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid #e7ebff;
  border-radius: 14px;
  padding: 1.05rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.page-card:hover,
.module-card:hover,
.value-card:hover,
.kpi-card:hover,
.proposal-item:hover,
.metric-card:hover,
.snapshot-card:hover,
.tfd-card:hover,
.hero-card:hover,
.price-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: #ccd4ff;
  box-shadow: 0 20px 34px rgba(39, 53, 125, 0.14);
}

.appco-split,
.split-layout,
.tfd-split,
.form-grid,
.tfd-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.appco-list,
.page-list,
.checklist,
.page-timeline {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.appco-list li,
.page-list li,
.checklist li,
.page-timeline li {
  position: relative;
  padding-left: 1.25rem;
  color: #454c75;
}

.appco-list li::before,
.page-list li::before,
.checklist li::before,
.page-timeline li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--appco-primary);
  position: absolute;
  left: 0;
  top: 0.62rem;
}

.appco-shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.appco-shot {
  background: #ffffff;
  border: 1px solid #e7ebff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.appco-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.appco-shot h3 {
  padding: 0.9rem 1rem 1rem;
  font-size: 1rem;
}

.price-card .price-label {
  font-size: 0.9rem;
  color: #6973a8;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0.7rem;
}

.price-card ul li {
  position: relative;
  padding-left: 1.15rem;
  color: #4c557f;
  font-size: 0.92rem;
}

.price-card ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--appco-secondary);
  position: absolute;
  left: 0;
  top: 0.58rem;
}

.price-card.featured {
  border-color: #ccd5ff;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
  transform: scale(1.02);
}

.cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0.42rem 1.42rem;
  border: 2px solid var(--appco-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(62, 78, 183, 0.26);
  outline: none;
}

.btn.primary {
  color: #ffffff;
  background: var(--appco-primary);
  border-color: var(--appco-primary);
}

.btn.secondary {
  color: var(--appco-primary);
  background: transparent;
  border-color: var(--appco-primary);
}

.btn.whatsapp {
  color: #ffffff;
  background: #21b97b;
  border-color: #21b97b;
}

.page-hero .btn.secondary,
.hero .btn.secondary,
.tfd-hero .btn.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.94);
  background: transparent;
}

.page-hero .btn.secondary:hover,
.hero .btn.secondary:hover,
.tfd-hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #4b5384;
}

input,
textarea,
select,
.input-field {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce1ff;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #2f3765;
  background: #ffffff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid #5f73ff;
  outline-offset: 2px;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: #ffffff;
  color: #2e3767;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.9rem 1rem;
}

.faq-answer {
  padding: 0 1rem 0.95rem;
  border-top: 1px solid #edf0ff;
}

.faq-answer p {
  color: #5e6796;
}

body.subpage .page-main {
  margin-top: 1.3rem;
}

body.blog-page {
  background:
    radial-gradient(44vw 44vw at -8% -12%, rgba(122, 92, 255, 0.16), transparent 62%),
    linear-gradient(180deg, #f9faff 0%, #edf3ff 100%);
}

body.flat-ui .page-hero,
body.regula-landing .page-hero,
body.tfd-page .page-hero {
  margin-top: 0.9rem;
}

.section-lead {
  color: #6572a0;
  max-width: 72ch;
}

.small-muted,
.form-tip {
  color: #6f7aa7;
  font-size: 0.92rem;
}

.pill-outline {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.82rem;
  font-weight: 500;
}

.pill-outline.light {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.appco-pricing,
.appco-testimonials,
.appco-contact,
.cta-banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.96)),
    var(--appco-surface);
}

.appco-testimonials {
  position: relative;
  overflow: hidden;
}

.appco-testimonials::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -140px;
  bottom: -140px;
  background: rgba(90, 61, 240, 0.08);
  pointer-events: none;
}

.cta-banner {
  border: 1px solid #d4dcff;
  background:
    radial-gradient(circle at 88% 12%, rgba(79, 201, 255, 0.22), transparent 40%),
    linear-gradient(120deg, rgba(122, 92, 255, 0.12), rgba(255, 255, 255, 0.95));
}

.lead-whatsapp-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.72rem;
}

.lead-whatsapp-form .btn.primary {
  width: fit-content;
  min-width: 220px;
}

.simulator {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #d9e0ff;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  display: grid;
  gap: 0.85rem;
}

#simulator-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#simulator-form button {
  align-self: end;
}

#result-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

#result-list li {
  color: #4f5a8b;
  font-size: 0.93rem;
}

.tfd-page .page-main {
  gap: 1.2rem;
}

.tfd-hero .tfd-hero-grid {
  align-items: stretch;
}

.tfd-hero-slider.splide {
  width: 100%;
}

.splide__track {
  overflow: hidden;
}

.splide__list {
  align-items: stretch;
}

.splide__slide {
  height: auto;
}

.tfd-slide-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  padding: clamp(0.75rem, 1.7vw, 1rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1rem;
  min-height: 100%;
}

.tfd-slide-content {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.tfd-slide-title {
  color: #ffffff;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  max-width: 15ch;
}

.tfd-slide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tfd-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 600;
}

.tfd-link:hover,
.tfd-link:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.img-link {
  display: block;
}

.img-link.lightbox {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.img-link.lightbox::after {
  content: "Ampliar";
  position: absolute;
  right: 10px;
  top: 10px;
  min-height: 28px;
  padding: 0.18rem 0.56rem;
  border-radius: 999px;
  background: rgba(20, 29, 78, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.92;
}

.img-link.lightbox:hover::after {
  background: rgba(20, 29, 78, 0.86);
}

.tfd-media-caption {
  margin-top: 0.66rem;
  padding: 0.56rem 0.72rem;
  border-radius: 10px;
  background: rgba(14, 23, 67, 0.46);
  color: #ffffff;
  display: grid;
  gap: 0.12rem;
}

.tfd-media-caption small {
  color: rgba(255, 255, 255, 0.74);
}

.tfd-media-caption strong {
  color: #ffffff;
  line-height: 1.28;
}

.toolbar-shell {
  display: grid;
  gap: 0.85rem;
}

.tfd-toolbar,
.tfd-snapshot,
.tfd-filters {
  position: relative;
  overflow: hidden;
}

.tfd-flow-copy {
  display: grid;
  gap: 0.9rem;
}

.toolbar-pill {
  background: #edf2ff;
  color: #33417a;
  border: 1px solid #d8dfff;
}

.toolbar-pill.highlight {
  background: linear-gradient(120deg, var(--appco-primary), var(--appco-secondary));
  border-color: transparent;
  color: #ffffff;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #5b66f2;
  box-shadow: 0 0 0 0 rgba(91, 102, 242, 0.35);
  animation: pulseDot 1.8s ease-out infinite;
}

.pulse-dot.green {
  background: #21bf8f;
}

.pulse-dot.amber {
  background: #f59b27;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 102, 242, 0.35);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(91, 102, 242, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 102, 242, 0);
  }
}

.tfd-filter-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.tfd-filter-actions {
  display: flex;
  gap: 0.62rem;
  align-items: flex-end;
}

.tfd-filter-actions .btn {
  min-width: 122px;
}

.tfd-card-body {
  display: grid;
  gap: 0.34rem;
}

.label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a86b5;
}

.page-timeline.dense,
.checklist.compact {
  gap: 0.6rem;
}

.floating-card.slim {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  max-width: 380px;
  justify-self: end;
}

.floating-card.slim img {
  width: 100%;
  border-radius: 12px;
}

.card-overlay {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem 0.72rem;
  border-radius: 10px;
  background: rgba(16, 24, 67, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.27);
  color: #ffffff;
}

.card-overlay strong,
.card-overlay small {
  color: #ffffff;
}

.card-overlay small {
  color: rgba(255, 255, 255, 0.83);
}

.tfd-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.tfd-cta {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.18) 0, transparent 36%),
    linear-gradient(135deg, #6849f7 0%, #4f66ff 52%, #45c5ff 100%);
  border: 0;
}

.tfd-cta .pill,
.tfd-cta h2,
.tfd-cta .section-lead {
  color: #ffffff;
}

.tfd-cta .pill {
  background: rgba(255, 255, 255, 0.2);
}

.delay-1 {
  animation-delay: 0.12s;
}

.wow,
.fadeInUp {
  will-change: transform, opacity;
}

.appco-footer,
footer {
  margin-top: 2rem;
  background:
    linear-gradient(140deg, rgba(70, 86, 224, 0.95) 0%, rgba(88, 100, 255, 0.92) 100%),
    url("/template/assets/img/footer/footer-bg.svg");
  background-size: cover;
  background-position: top right;
  color: #e8ebff;
  padding: 2.4rem 0 1.35rem;
}

.footer-content {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-brand,
.footer-links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1.08rem;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: #eff2ff;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note,
footer > p {
  width: min(1160px, calc(100% - 2rem));
  margin: 0.8rem auto 0;
  color: rgba(240, 244, 255, 0.86);
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 0.8rem;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  color: #ffffff;
  background: var(--appco-primary);
  border: 2px solid var(--appco-primary);
  box-shadow: 0 10px 26px rgba(53, 67, 163, 0.25);
  font-weight: 700;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13, 20, 52, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.lightbox-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: min(1020px, calc(100% - 2rem));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.lightbox-content img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #0e153a;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 74, 0.45);
  z-index: 60;
}

.is-reveal-hidden {
  opacity: 0;
  transform: translateY(16px);
}

.is-reveal-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1000px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: min(360px, calc(100vw - 2rem));
    display: none;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e7ff;
    box-shadow: 0 18px 36px rgba(34, 44, 111, 0.12);
    padding: 0.5rem;
    z-index: 75;
  }

  .nav-links.open {
    display: grid;
  }

  .page-hero .nav-links,
  .hero .nav-links,
  .tfd-hero .nav-links {
    background: #ffffff;
    border: 1px solid #e2e7ff;
  }

  .nav-links a {
    justify-content: flex-start;
    border-radius: 10px;
    margin: 0;
    padding: 0.5rem 0.7rem;
  }

  .nav-links a::before {
    left: 0.7rem;
    right: auto;
    bottom: 4px;
  }

  .page-hero .nav-links a,
  .hero .nav-links a,
  .tfd-hero .nav-links a {
    color: #37457d;
  }

  .floating-card.slim {
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }

  .appco-hero-grid,
  .page-hero-grid,
  .hero-content,
  .tfd-hero-grid,
  .tfd-slide-card {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    right: 0.7rem;
    left: 0.7rem;
    bottom: 0.7rem;
  }

  .floating-cta a {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .appco-hero,
  .page-hero,
  .hero,
  .appco-section,
  .page-section,
  .section-shell,
  .tfd-section,
  .blog-article,
  .contact-card {
    padding: 1rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .lead-whatsapp-form .btn.primary {
    width: 100%;
    min-width: 0;
  }

  .tfd-filter-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .tfd-filter-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .card-overlay {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
