/*
Theme Name:  Trust Group Child
Theme URI:   https://trustsystemalert.com.br
Description: Child theme do Grupo TRUST para uso com Hello Elementor + Elementor Pro
Author:      Trust Group
Author URI:  https://trustsystemalert.com.br
Template:    hello-elementor
Version:     1.0.0
License:     Private
Text Domain: trust-child
*/

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Cores primárias */
  --trust-navy:    #0B1A2E;
  --trust-blue:    #1565C0;
  --trust-green:   #2E7D32;
  --trust-red:     #D92B3A;
  --trust-gold:    #F5A623;
  --trust-gold-dk: #C47D00;

  /* Neutros */
  --trust-bg:      #F7F8FA;
  --trust-border:  #D0D6E4;
  --trust-muted:   #6B7A8D;
  --trust-white:   #FFFFFF;

  /* Fundos de seção */
  --trust-blue-bg: #EBF2FD;
  --trust-green-bg:#EBF5EB;
  --trust-red-bg:  #FDEAEA;
  --trust-gold-bg: #FDF5E6;

  /* Fundos de hero por unidade */
  --hero-holding:  #0B1A2E;
  --hero-tech:     #0D2B5C;
  --hero-capto:    #2A0608;
  --hero-luma:     #2A1F00;
  --hero-service:  #1A3A1A;

  /* Tipografia */
  --font-main:     'IBM Plex Sans', -apple-system, sans-serif;
  --fw-light:      300;
  --fw-regular:    400;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;

  /* Escala de tipo */
  --ts-xs:   11px;
  --ts-sm:   13px;
  --ts-base: 16px;
  --ts-md:   18px;
  --ts-lg:   22px;
  --ts-xl:   28px;
  --ts-2xl:  36px;
  --ts-3xl:  48px;
  --ts-4xl:  64px;

  /* Espaçamentos de seção */
  --section-pad-y:  80px;
  --section-pad-x:  80px;
  --section-pad-sm: 48px;
  --card-pad:       24px;
  --card-radius:    6px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(11,26,46,.08);
  --shadow-md: 0 4px 16px rgba(11,26,46,.12);
  --shadow-lg: 0 8px 32px rgba(11,26,46,.16);

  /* Transições */
  --ease:      cubic-bezier(.4,0,.2,1);
  --duration:  .2s;
}

/* ── 2. RESET / BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-main);
  font-size:   var(--ts-base);
  font-weight: var(--fw-regular);
  color:       var(--trust-navy);
  background:  var(--trust-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-main);
  font-weight: var(--fw-extrabold);
  color: var(--trust-navy);
  line-height: 1.15;
  margin: 0 0 .75em;
}

p { margin: 0 0 1em; }
a { color: var(--trust-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img, video { max-width: 100%; height: auto; }

/* ── 3. ELEMENTOR OVERRIDES ───────────────────────────────────────── */
.elementor-widget-heading .elementor-heading-title { line-height: 1.15; }
.elementor-widget-text-editor p:last-child         { margin-bottom: 0; }
.elementor-widget-button .elementor-button          { border-radius: var(--card-radius); transition: filter var(--duration) var(--ease); }
.elementor-widget-button .elementor-button:hover    { filter: brightness(1.1); text-decoration: none; }
.elementor-section .elementor-container             { max-width: 1300px; }

/* ── 4. NAVBAR ────────────────────────────────────────────────────── */
.trust-navbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--trust-white);
  border-bottom: 1px solid var(--trust-border);
  padding: 0 var(--section-pad-x);
}
.trust-logo-bar {
  width: 3px; height: 28px;
  background: var(--trust-navy);
  border-radius: 1px;
  display: inline-block; margin-right: 10px; vertical-align: middle;
}
.trust-logo-name {
  font-size: 18px; font-weight: var(--fw-extrabold);
  color: var(--trust-navy); letter-spacing: -.01em;
}
.trust-logo-sub {
  font-size: 9px; font-weight: var(--fw-regular);
  color: var(--trust-muted); letter-spacing: .08em;
  text-transform: uppercase; display: block; margin-top: -2px;
}
.trust-nav-cta {
  background: var(--trust-navy); color: var(--trust-white) !important;
  padding: 10px 18px; border-radius: var(--card-radius);
  font-size: 12px; font-weight: var(--fw-semibold);
}
.trust-nav-cta:hover { filter: brightness(1.15); text-decoration: none; }

/* Variantes de cor de navbar por unidade */
.trust-navbar--tech  { border-bottom-color: var(--trust-blue);  }
.trust-navbar--service { border-bottom-color: var(--trust-green); }
.trust-navbar--capto { border-bottom-color: var(--trust-red);   }
.trust-navbar--luma  { border-bottom-color: var(--trust-gold);  }

/* ── 5. SEÇÕES HERO ───────────────────────────────────────────────── */
.trust-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative; overflow: hidden;
}
.trust-hero--holding { background: var(--hero-holding); }
.trust-hero--tech    { background: var(--hero-tech);    }
.trust-hero--capto   { background: var(--hero-capto);   }
.trust-hero--luma    { background: var(--hero-luma);    }
.trust-hero--service { background: var(--hero-service); }

/* ── 6. PILLS / BADGES ────────────────────────────────────────────── */
.trust-pill {
  display: inline-block;
  padding: 4px 12px; border-radius: 2px;
  font-size: var(--ts-xs); font-weight: var(--fw-semibold);
  letter-spacing: .08em; text-transform: uppercase;
  font-family: var(--font-main);
}
.trust-pill--dark   { background: rgba(255,255,255,.08); color: var(--trust-muted); }
.trust-pill--blue   { background: var(--trust-blue);  color: var(--trust-white);  }
.trust-pill--green  { background: var(--trust-green); color: var(--trust-white);  }
.trust-pill--red    { background: var(--trust-red);   color: var(--trust-white);  }
.trust-pill--gold   { background: var(--trust-gold);  color: #7a4a00;             }
.trust-pill--navy   { background: var(--trust-navy);  color: var(--trust-white);  }

/* ── 7. CARDS ─────────────────────────────────────────────────────── */
.trust-card {
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.trust-card--accent-blue   { border-left: 4px solid var(--trust-blue);  }
.trust-card--accent-green  { border-left: 4px solid var(--trust-green); }
.trust-card--accent-red    { border-left: 4px solid var(--trust-red);   }
.trust-card--accent-gold   { border-left: 4px solid var(--trust-gold);  }
.trust-card--accent-navy   { border-left: 4px solid var(--trust-navy);  }

.trust-card--dark {
  background: var(--trust-navy); border-color: var(--trust-navy);
}
.trust-card--dark h3,
.trust-card--dark p { color: var(--trust-white); }

.trust-card__tag {
  font-size: var(--ts-xs); font-weight: var(--fw-semibold);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--trust-muted); margin-bottom: 10px;
  display: block;
}
.trust-card__title {
  font-size: 16px; font-weight: var(--fw-bold);
  color: var(--trust-navy); margin-bottom: 8px;
}
.trust-card__body {
  font-size: 13px; line-height: 1.65;
  color: var(--trust-muted);
}

/* ── 8. STATS ─────────────────────────────────────────────────────── */
.trust-stat {
  background: var(--trust-white);
  border: 1px solid var(--trust-border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  text-align: center;
}
.trust-stat__number {
  font-size: var(--ts-2xl); font-weight: var(--fw-extrabold);
  color: var(--trust-navy); display: block; line-height: 1;
}
.trust-stat__label {
  font-size: 12px; color: var(--trust-muted);
  margin-top: 8px; line-height: 1.4;
}
.trust-stat--blue .trust-stat__number  { color: var(--trust-blue);  }
.trust-stat--green .trust-stat__number { color: var(--trust-green); }
.trust-stat--red .trust-stat__number   { color: var(--trust-red);   }
.trust-stat--gold .trust-stat__number  { color: var(--trust-gold);  }

/* ── 9. STEPS / COMO FUNCIONA ─────────────────────────────────────── */
.trust-steps {
  display: flex; gap: 0; position: relative;
  counter-reset: steps;
}
.trust-steps::before {
  content: ''; position: absolute; top: 20px; left: 28px; right: 28px;
  height: 2px; background: var(--trust-border); z-index: 0;
}
.trust-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 12px; position: relative; z-index: 1;
}
.trust-step__dot {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: var(--fw-bold); color: var(--trust-white);
  background: var(--trust-blue);
}
.trust-step__dot--last { background: var(--trust-green); }
.trust-step__label {
  font-size: 12px; text-align: center; color: var(--trust-muted);
  max-width: 100px; line-height: 1.4;
}

/* ── 10. BOTÕES ───────────────────────────────────────────────────── */
.trust-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--card-radius);
  font-size: 13px; font-weight: var(--fw-semibold);
  font-family: var(--font-main); cursor: pointer;
  transition: filter var(--duration) var(--ease);
  border: none; text-decoration: none;
}
.trust-btn:hover { filter: brightness(1.1); text-decoration: none; }
.trust-btn--navy   { background: var(--trust-navy);  color: var(--trust-white); }
.trust-btn--blue   { background: var(--trust-blue);  color: var(--trust-white); }
.trust-btn--green  { background: var(--trust-green); color: var(--trust-white); }
.trust-btn--red    { background: var(--trust-red);   color: var(--trust-white); }
.trust-btn--gold   { background: var(--trust-gold);  color: #7a4a00; }
.trust-btn--ghost  {
  background: transparent; color: var(--trust-muted);
  border: 1px solid rgba(255,255,255,.2);
}

/* ── 11. FOOTER ───────────────────────────────────────────────────── */
.trust-footer {
  background: var(--trust-navy);
  padding: var(--section-pad-y) var(--section-pad-x);
}
.trust-footer__brand {
  font-size: 16px; font-weight: var(--fw-extrabold);
  color: var(--trust-white); margin-bottom: 8px;
}
.trust-footer__tagline { font-size: 12px; color: var(--trust-muted); }
.trust-footer__heading {
  font-size: 10px; font-weight: var(--fw-semibold);
  color: var(--trust-muted); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.trust-footer a {
  font-size: 12px; color: #4A5568; display: block;
  margin-bottom: 8px; text-decoration: none;
}
.trust-footer a:hover { color: var(--trust-white); }
.trust-footer__copyright {
  font-size: 11px; color: #2D3748; margin-top: 40px;
}

/* ── 12. UTILITÁRIOS ──────────────────────────────────────────────── */
.trust-section { padding: var(--section-pad-y) var(--section-pad-x); }
.trust-section--bg   { background: var(--trust-bg);   }
.trust-section--blue { background: var(--trust-blue-bg); }
.trust-section--dark { background: var(--trust-navy); }

.trust-eyebrow {
  font-size: 10px; font-weight: var(--fw-semibold);
  color: var(--trust-muted); letter-spacing: .1em;
  text-transform: uppercase; display: block; margin-bottom: 8px;
}
.trust-section-title {
  font-size: var(--ts-xl); font-weight: var(--fw-extrabold);
  color: var(--trust-navy); margin-bottom: 12px;
}
.trust-section-sub {
  font-size: var(--ts-sm); color: var(--trust-muted);
  line-height: 1.65; max-width: 680px; margin-bottom: 40px;
}

.trust-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.trust-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ── 13. ANIMAÇÕES (GSAP hooks) ───────────────────────────────────── */
[data-trust-anim] { opacity: 0; }
[data-trust-anim="fade-up"]   { transform: translateY(32px); }
[data-trust-anim="fade-left"] { transform: translateX(-32px); }
[data-trust-anim="logo-bar"]  { transform: scaleY(0); transform-origin: bottom; }

/* ── 14. RESPONSIVO ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad-x: 40px; --section-pad-y: 60px; }
  .trust-grid-4 { grid-template-columns: 1fr 1fr; }
  .trust-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad-x: 24px; --section-pad-y: 48px; }
  .trust-grid-2, .trust-grid-3, .trust-grid-4 { grid-template-columns: 1fr; }
  .trust-steps { flex-direction: column; gap: 24px; }
  .trust-steps::before { display: none; }
}
