/* ============================================
   TUDOCERTO SISTEMAS — Landing CSS
   Brand identity only. Layout handled by Bootstrap 5.
   ============================================ */

/* ---- Variables ---- */
:root {
  --tc-bg-deep:     #1e2a4a;
  --tc-bg-mid:      #2a3860;
  --tc-primary:     #7c5af9;
  --tc-secondary:   #00d2ff;
  --tc-accent:      #f64f59;
  --tc-card:        rgba(255,255,255,0.04);
  --tc-card-border: rgba(255,255,255,0.10);
  --tc-card-hover:  rgba(255,255,255,0.08);
  --tc-text:        rgba(255,255,255,0.90);
  --tc-muted:       rgba(255,255,255,0.55);
  --tc-gradient:    linear-gradient(135deg, #7c5af9 0%, #00d2ff 100%);
  --font-heading:   'Outfit', sans-serif;
  --font-body:      'Inter', sans-serif;
}

/* ---- Base ---- */
html  { font-size: 62.5%; scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: var(--font-body); font-size: 1.6rem; background: var(--tc-bg-deep); color: var(--tc-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---- Backgrounds ---- */
.tc-bg-deep { background: var(--tc-bg-deep); }
.tc-bg-mid  { background: var(--tc-bg-mid); position: relative; }
.tc-bg-mid::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,90,249,0.5), transparent);
}

/* ---- Gradient text ---- */
.gradient-text {
  background: var(--tc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section spacing ---- */
.tc-section { padding: 5rem 0; }
@media (min-width: 992px) { .tc-section { padding: 8rem 0; } }

/* ---- Typography ---- */
.tc-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tc-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.tc-hero-subtitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: var(--tc-muted);
  line-height: 1.7;
  max-width: 560px;
}
.tc-text-muted  { color: var(--tc-muted); line-height: 1.8; font-size: 1.6rem; }
.tc-desc        { color: var(--tc-muted); font-size: 1.7rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }
.tc-label       { font-size: 1.3rem; font-weight: 600; color: var(--tc-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tc-section-label { font-size: 1.3rem; color: var(--tc-muted); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; margin-bottom: 1.5rem; }
.tc-stat-value  { font-family: var(--font-heading); font-size: 3.6rem; font-weight: 800; background: var(--tc-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.tc-stat-label  { font-size: 1.3rem; color: var(--tc-muted); margin-top: 0.4rem; }
/* Reset gradient-text for emoji spans — background-clip:text breaks emoji rendering */
.tc-emoji { -webkit-text-fill-color: initial; background: none; }

/* ---- Badge ---- */
.tc-badge {
  display: inline-block;
  background: rgba(124,90,249,0.15);
  border: 1px solid rgba(124,90,249,0.35);
  color: var(--tc-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
}
.tc-badge-centered { display: block; margin: 0 auto; }

/* ---- Buttons ---- */
.tc-btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--tc-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 600;
  padding: 1.2rem 2.8rem;
  border-radius: 999px; border: none;
  box-shadow: 0 0 30px rgba(124,90,249,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tc-btn-primary:hover, .tc-btn-primary:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(124,90,249,0.65);
}
.tc-btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 600;
  padding: 1.2rem 2.8rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}
.tc-btn-outline:hover, .tc-btn-outline:focus {
  color: #fff;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVBAR
   ============================================ */
.tc-navbar { transition: all 0.4s ease; padding: 0.8rem 0; }
.tc-navbar-scrolled {
  background: rgba(10,8,24,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.tc-navbar-logo {
  height: 36px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.9)) drop-shadow(0 0 8px rgba(255,255,255,0.6)) brightness(1.4);
}
.navbar-nav .nav-link           { color: var(--tc-muted) !important; font-size: 1.4rem; font-weight: 500; transition: color 0.2s; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.tc-active { color: #fff !important; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================
   HERO
   ============================================ */
.tc-hero {
  position: relative;
  min-height: 100vh;
  background: var(--tc-bg-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.tc-hero-container { padding-top: 8rem; padding-bottom: 5rem; }
.tc-hero-orbs  { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tc-hero-orb   { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; }
.tc-hero-orb-1 { width: 600px; height: 600px; background: var(--tc-primary);   top: -200px; left: -150px; }
.tc-hero-orb-2 { width: 500px; height: 500px; background: var(--tc-secondary); bottom: -200px; right: -100px; }
.tc-hero-orb-3 { width: 300px; height: 300px; background: var(--tc-accent);    top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.12; }
.tc-hero-grid  {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.tc-hero-logo {
  max-width: 420px;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.95))
          drop-shadow(0 0 16px rgba(255,255,255,0.55))
          drop-shadow(0 8px 40px rgba(0,210,255,0.30))
          brightness(1.35);
  animation: hero-float 5s ease-in-out infinite;
}
@media (min-width: 992px) {
  .tc-hero-logo { max-width: 560px; }
}
@keyframes hero-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.tc-hero-tag {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: rgba(124,90,249,0.12); border: 1px solid rgba(124,90,249,0.3);
  border-radius: 999px; padding: 0.6rem 1.6rem;
  font-size: 1.3rem; font-weight: 500; color: #a78bfa;
}
.tc-hero-tag-dot { width: 8px; height: 8px; background: #a78bfa; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* ============================================
   SOBRE
   ============================================ */
.tc-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(124,90,249,0.15); border: 1px solid rgba(124,90,249,0.3);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.tc-info-card {
  background: var(--tc-card); border: 1px solid var(--tc-card-border);
  border-radius: 16px; padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.tc-info-card:hover { transform: translateX(8px); border-color: rgba(124,90,249,0.4); }
.tc-card-icon  { font-size: 2.4rem; margin-bottom: 0.8rem; }
.tc-card-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.tc-card-text  { font-size: 1.3rem; color: var(--tc-muted); }

/* ============================================
   PRODUTOS
   ============================================ */
.tc-products-bg {
  background-image: radial-gradient(ellipse at 20% 50%, rgba(124,90,249,0.06) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 50%, rgba(0,210,255,0.06) 0%, transparent 60%);
}
.tc-product-card {
  background: var(--tc-card); border: 1px solid var(--tc-card-border);
  border-radius: 24px; padding: 3rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.tc-product-card::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.tc-product-card:hover { transform: translateY(-8px); }
.tc-product-card:hover::before { opacity: 1; }

/* Card colour themes */
.tc-card-cfcfacil { --pa: #00d2ff; --pb: #3a7bd5; }
.tc-card-cfcfacil::before { background: linear-gradient(135deg, rgba(0,210,255,0.12), rgba(58,123,213,0.08)); }
.tc-card-cfcfacil:hover { box-shadow: 0 30px 60px rgba(0,210,255,0.15), 0 0 0 1px rgba(0,210,255,0.35); }
.tc-card-pkclub { --pa: #11998e; --pb: #38ef7d; }
.tc-card-pkclub::before { background: linear-gradient(135deg, rgba(17,153,142,0.12), rgba(56,239,125,0.06)); }
.tc-card-pkclub:hover { box-shadow: 0 30px 60px rgba(56,239,125,0.12), 0 0 0 1px rgba(56,239,125,0.3); }
.tc-card-omaha { --pa: #f7b733; --pb: #fc4a1a; }
.tc-card-omaha::before { background: linear-gradient(135deg, rgba(247,183,51,0.12), rgba(252,74,26,0.06)); }
.tc-card-omaha:hover { box-shadow: 0 30px 60px rgba(247,183,51,0.12), 0 0 0 1px rgba(247,183,51,0.35); }

/* Card header: name/tagline left, logo right */
.tc-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.5rem;
}
.tc-card-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}
.tc-product-icon {
  width: 108px; height: 108px; border-radius: 20px; font-size: 2.8rem;
  background: linear-gradient(135deg, var(--pa, #7c5af9), var(--pb, #00d2ff));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  padding: 10px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
/* Subtle inner shine */
.tc-product-icon::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
/* Logo image inside the icon box */
.tc-product-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  position: relative; /* above ::after */
  z-index: 1;
}
/* Variant: full-bleed scene image (CFCFACIL) */
.tc-product-icon--scene {
  padding: 0;
  overflow: hidden;
}
.tc-product-icon--scene img {
  border-radius: 20px;
  object-fit: cover;
  filter: brightness(1.05) saturate(1.1) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
/* Variant: dark/black logo — invert to show on gradient background */
.tc-product-icon--invert img {
  filter: invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
/* Variant: logo that benefits from a subtle glow */
.tc-product-icon--glow img {
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5)) drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.tc-product-name    { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }

.tc-product-tagline { font-size: 1.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.tc-product-desc    { font-size: 1.5rem; color: var(--tc-muted); line-height: 1.7; flex: 1; }

.tc-tagline-cfcfacil { background: linear-gradient(135deg, #00d2ff, #3a7bd5); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tc-tagline-pkclub   { background: linear-gradient(135deg, #11998e, #38ef7d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tc-tagline-omaha    { background: linear-gradient(135deg, #f7b733, #fc4a1a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.tc-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; border-top: 1px solid var(--tc-card-border); padding-top: 1rem; }
.tc-feature-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.4rem; color: var(--tc-text); }
.tc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.tc-dot-cfcfacil { background: linear-gradient(135deg, #00d2ff, #3a7bd5); }
.tc-dot-pkclub   { background: linear-gradient(135deg, #11998e, #38ef7d); }
.tc-dot-omaha    { background: linear-gradient(135deg, #f7b733, #fc4a1a); }

.tc-product-link { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--pa, var(--tc-primary)); transition: gap 0.2s, opacity 0.2s; }
.tc-product-link:hover { gap: 1rem; opacity: 0.8; }

/* ============================================
   TECH PILLS
   ============================================ */
.tc-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px; padding: 0.8rem 2rem;
  font-size: 1.4rem; font-weight: 500; color: var(--tc-muted);
  transition: all 0.3s ease;
}
.tc-pill:hover { background: rgba(124,90,249,0.12); border-color: rgba(124,90,249,0.3); color: #fff; transform: scale(1.05); }

/* ============================================
   DIFERENCIAIS
   ============================================ */
.tc-why-card {
  background: var(--tc-card); border: 1px solid var(--tc-card-border);
  border-radius: 16px; padding: 2rem;
  transition: all 0.4s ease;
}
.tc-why-card:hover { background: var(--tc-card-hover); border-color: rgba(124,90,249,0.35); transform: translateY(-4px); }
.tc-why-icon  { font-size: 3.2rem; margin-bottom: 1rem; }
.tc-why-title { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.tc-why-text  { font-size: 1.5rem; color: var(--tc-muted); line-height: 1.7; }

/* ============================================
   CTA BANNER
   ============================================ */
.tc-cta-bg {
  background-image: radial-gradient(ellipse at center, rgba(124,90,249,0.15) 0%, transparent 70%);
}

/* ============================================
   CONTATO
   ============================================ */
.tc-contact-item {
  display: flex; align-items: center; gap: 1rem;
  font-size: 1.5rem; color: var(--tc-muted); transition: color 0.2s;
}
.tc-contact-item:hover { color: #fff; }
.tc-contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(124,90,249,0.12); border: 1px solid rgba(124,90,249,0.25);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.tc-form-card {
  background: var(--tc-card); border: 1px solid var(--tc-card-border);
  border-radius: 24px; padding: 3rem;
  backdrop-filter: blur(10px);
}
@media (max-width: 575px) { .tc-form-card { padding: 1.5rem; } }

/* Bootstrap overrides — dark theme inputs */
.tc-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  color: var(--tc-text) !important;
  font-size: 1.5rem !important;
  font-family: var(--font-body) !important;
}
.tc-input::placeholder { color: rgba(255,255,255,0.25) !important; }
.tc-input:focus {
  border-color: rgba(124,90,249,0.5) !important;
  box-shadow: 0 0 0 3px rgba(124,90,249,0.12) !important;
  background: rgba(255,255,255,0.04) !important;
  color: var(--tc-text) !important;
}
.tc-input option { background: #243256; color: var(--tc-text); }
.form-label.tc-label { margin-bottom: 0.5rem; }

/* ============================================
   FOOTER
   ============================================ */
.tc-footer {
  background: var(--tc-bg-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}
.tc-footer-logo {
  display: block;
  height: 60px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.9)) drop-shadow(0 0 10px rgba(255,255,255,0.5)) brightness(1.35);
}
.tc-footer-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; }
.tc-footer-link  { font-size: 1.4rem; color: var(--tc-muted); transition: color 0.2s; }
.tc-footer-link:hover { color: #fff; }
.tc-footer-copy  { font-size: 1.3rem; color: var(--tc-muted); }
.tc-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--tc-muted); transition: all 0.2s;
}
.tc-social:hover { background: rgba(124,90,249,0.15); border-color: rgba(124,90,249,0.4); color: #fff; transform: translateY(-2px); }

/* ============================================
   PÁGINAS LEGAIS
   ============================================ */
.tc-legal-body { background: var(--tc-bg-deep); }

.tc-legal-main {
  padding-top: 7rem;
  padding-bottom: 6rem;
  min-height: 100vh;
}

/* Hero da página legal */
.tc-legal-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4rem;
}
.tc-legal-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.2rem;
}
.tc-legal-meta {
  font-size: 1.4rem;
  color: var(--tc-muted);
}

/* Artigo */
.tc-legal-article {
  padding-bottom: 4rem;
}
.tc-legal-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tc-legal-section:last-child {
  border-bottom: none;
}
.tc-legal-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--tc-primary);
}
.tc-legal-section p {
  font-size: 1.6rem;
  color: var(--tc-muted);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.tc-legal-section p:last-child { margin-bottom: 0; }
.tc-legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.tc-legal-section ul li {
  font-size: 1.5rem;
  color: var(--tc-muted);
  line-height: 1.7;
  padding-left: 1.6rem;
  position: relative;
}
.tc-legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tc-primary);
}
.tc-legal-section a {
  color: #a78bfa;
  transition: color 0.2s;
}
.tc-legal-section a:hover { color: #fff; }
.tc-legal-section strong { color: var(--tc-text); font-weight: 600; }

/* Caixa de contato/destaque */
.tc-legal-contact-box {
  background: var(--tc-card);
  border: 1px solid var(--tc-card-border);
  border-radius: 16px;
  padding: 2.4rem;
}
.tc-legal-contact-box h2 { border-left-color: var(--tc-secondary); }

.tc-legal-email {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tc-secondary) !important;
  transition: opacity 0.2s;
}
.tc-legal-email:hover { opacity: 0.8; }

/* DPO card (LGPD) */
.tc-legal-dpo-card {
  background: rgba(124,90,249,0.08);
  border: 1px solid rgba(124,90,249,0.25);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  margin-top: 1.6rem;
}
.tc-legal-dpo-label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tc-muted);
  margin-bottom: 0.8rem;
}

/* Footer de página legal */
.tc-legal-footer {
  background: var(--tc-bg-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
}
.tc-footer-link--active { color: #fff !important; }
