/* TCS — Gestão e Inteligência Financeira | versão HTML/CSS/JS/PHP */

:root {
  --navy: #0b1d3a;
  --navy-deep: #081426;
  --graphite: #111827;
  --gold: #c49a2f;
  --intelligence: #2d7ff9;
  --white-premium: #f8fafc;
  --cream: #f4f2ee;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(15, 26, 48, 0.6);
  --radius: 0.875rem;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--white-premium);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, blockquote, figure, p { margin: 0; }

/* ---------- utilities ---------- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.gold { color: var(--gold); }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.gold-rule { display: block; height: 1px; width: 4rem; background: rgba(196, 154, 47, 0.7); }
.section { padding: 6rem 0; }
.section--navy { background: var(--navy); }
.section--graphite { background: var(--graphite); }
.section--white { background: #fff; }
.section--white h2, .section--white h3,
.section--white h2.display { color: var(--navy); }
.section--bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--bordered-light { border-top: 1px solid rgba(11, 29, 58, 0.1); border-bottom: 1px solid rgba(11, 29, 58, 0.1); }
.text-center { text-align: center; }
.max-3xl { max-width: 48rem; }
.max-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.dark-body { color: rgba(17, 24, 39, 0.8); }

h1.display {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 1.5rem;
}
h2.display {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 20px 60px -20px rgba(196, 154, 47, 0.35); }
.btn--gold:hover { opacity: 0.9; }
.btn--ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; text-transform: none; letter-spacing: 0; }
.icon { width: 1rem; height: 1rem; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1rem; }
.header__logo img { height: 72px; width: auto; }
.nav { display: none; gap: 2rem; font-size: 0.875rem; color: var(--muted); }
.nav a:hover { color: #fff; }
.nav-toggle {
  background: none; border: 1px solid var(--border); color: #fff;
  border-radius: 0.5rem; padding: 0.5rem; cursor: pointer; display: inline-flex;
}
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--navy); }
.nav-mobile.is-open { display: block; }
.nav-mobile a { display: block; padding: 0.875rem 1.5rem; font-size: 0.9375rem; color: var(--muted); border-bottom: 1px solid var(--border); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero__glow { position: absolute; bottom: 0; right: 0; height: 70vh; width: auto; opacity: 0.8; pointer-events: none; }
.hero__grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 6rem;
}
.hero__photo { position: relative; max-width: 28rem; margin: 0 auto; }
.hero__photo-frame { position: absolute; inset: -0.75rem; border: 1px solid rgba(196, 154, 47, 0.6); border-radius: 3rem; }
.hero__photo-img { position: relative; overflow: hidden; border-radius: 2.75rem; }
.hero__photo-img img { width: 100%; height: 520px; object-fit: cover; }
.hero__lead { margin-top: 2rem; font-size: 1.125rem; color: var(--muted); max-width: 42rem; line-height: 1.7; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__strip { border-top: 1px solid var(--border); }
.hero__strip .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero__strip span:last-child { display: none; }

/* ---------- problem ---------- */
.grid-12 { display: grid; gap: 3rem; }
.cards-2 { display: grid; gap: 1rem; align-self: center; }
.card-light {
  border: 1px solid rgba(11, 29, 58, 0.1);
  background: var(--cream);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.card-light:hover { border-color: rgba(196, 154, 47, 0.6); }
.card-light__num { font-family: var(--font-serif); font-size: 1.875rem; color: rgba(196, 154, 47, 0.75); }
.card-light__q { margin-top: 0.75rem; font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); line-height: 1.35; }

/* ---------- services ---------- */
.services { margin-top: 4rem; display: grid; gap: 1.5rem; }
.service {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.service:hover { border-color: rgba(196, 154, 47, 0.5); }
.service__grid { display: grid; }
.service__left { padding: 2rem; background: rgba(17, 24, 39, 0.4); border-bottom: 1px solid var(--border); }
.service__head { display: flex; align-items: center; gap: 1rem; }
.service__num { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.service__stage { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.service__icon {
  margin-top: 0.5rem; height: 2.75rem; width: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196, 154, 47, 0.4); border-radius: 0.75rem; background: var(--navy);
}
.service__icon .icon { width: 1.25rem; height: 1.25rem; color: var(--gold); stroke-width: 1.5; }
.service__title { margin-top: 2rem; font-family: var(--font-serif); font-size: 1.875rem; line-height: 1.2; color: #fff; }
.service__intro { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); line-height: 1.75; }
.service__intro strong { color: #fff; font-weight: 600; }
.service__right { padding: 2rem; }
.fronts { margin-top: 1.5rem; display: grid; gap: 0.75rem 1.5rem; }
.fronts li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: rgba(248, 250, 252, 0.9); }
.fronts .icon { color: var(--gold); margin-top: 2px; }
.result-box {
  margin-top: 2.5rem;
  border: 1px solid rgba(196, 154, 47, 0.3);
  background: rgba(196, 154, 47, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
}
.result-box p + p { margin-top: 0.75rem; font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; color: #fff; line-height: 1.4; }

/* ---------- differential ---------- */
.diff { margin-top: 4rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1.5rem; }
.diff__item { display: flex; align-items: center; gap: 1.5rem; }
.diff__card {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.diff__card .icon { width: 2rem; height: 2rem; color: var(--gold); stroke-width: 1.5; margin: 0 auto; }
.diff__n { margin-top: 1rem; font-family: ui-monospace, monospace; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--gold); }
.diff__label { margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.5rem; color: #fff; }
.diff__plus { display: none; font-family: var(--font-serif); font-size: 2.25rem; color: var(--gold); }
.diff__sum { margin-top: 2.5rem; text-align: center; font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--gold); }

/* ---------- method ---------- */
.method { margin-top: 4rem; display: grid; gap: 1.5rem; }
.method__card { position: relative; border: 1px solid rgba(11, 29, 58, 0.1); background: var(--cream); border-radius: 1rem; padding: 2rem; transition: border-color 0.2s; }
.method__card:hover { border-color: rgba(196, 154, 47, 0.5); }
.method__top { display: flex; align-items: center; justify-content: space-between; }
.method__n { font-family: var(--font-serif); font-size: 2.25rem; color: var(--gold); }
.method__top .icon { color: rgba(17, 24, 39, 0.4); width: 1.25rem; height: 1.25rem; }
.method__card h3 { margin-top: 1.5rem; font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
.method__card p { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(17, 24, 39, 0.7); line-height: 1.7; }

/* ---------- founder ---------- */
.founder__photo { position: relative; max-width: 24rem; margin: 0 auto; }
.founder__photo img { width: 100%; height: 500px; object-fit: cover; }
.founder__highlight { margin-top: 2rem; font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--gold); line-height: 1.35; }
.founder__bio { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.8); line-height: 1.75; display: grid; gap: 1.25rem; }
.socials { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.socials__label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(196, 154, 47, 0.8); }
.socials a {
  height: 2.25rem; width: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(196, 154, 47, 0.4); color: rgba(196, 154, 47, 0.8); transition: 0.2s;
}
.socials a:hover { color: var(--gold); border-color: var(--gold); }
.formation { margin-top: 2.5rem; border: 1px solid rgba(196, 154, 47, 0.3); background: var(--navy-deep); border-radius: 1rem; padding: 2rem; }
.formation ul { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.formation li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); line-height: 1.7; }
.formation li span { margin-top: 0.5rem; height: 6px; width: 6px; flex: none; border-radius: 999px; background: var(--gold); }
.quote { margin-top: 2.5rem; border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.quote p { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--gold); line-height: 1.35; }
.quote footer { margin-top: 1rem; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }

/* ---------- results ---------- */
.testimonials { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
.testimonial { border: 1px solid rgba(11, 29, 58, 0.1); background: var(--cream); border-radius: 1rem; padding: 2rem; display: flex; flex-direction: column; }
.testimonial__tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.testimonial__mark { margin-top: 1rem; font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 0.6; }
.testimonial blockquote { margin-top: 0.5rem; font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; color: rgba(17, 24, 39, 0.9); line-height: 1.7; flex: 1; }
.testimonial figcaption { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(11, 29, 58, 0.1); font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gold); }

/* ---------- CTA ---------- */
.cta { padding: 7rem 0; background: var(--graphite); }
.cta__box {
  max-width: 64rem; margin: 0 auto;
  border: 1px solid rgba(196, 154, 47, 0.3);
  background: var(--navy);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px -20px rgba(196, 154, 47, 0.35);
}
.cta__box p.muted { margin-top: 1.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.cta__actions { margin-top: 2.5rem; display: flex; justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--navy); border-top: 1px solid var(--border); padding: 3rem 0; }
.footer .container { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.footer img { height: 3.5rem; width: auto; }
.footer__meta { display: flex; flex-direction: column; gap: 1rem; font-size: 0.75rem; color: var(--muted); }
.footer__meta p { letter-spacing: 0.3em; text-transform: uppercase; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a:hover { color: var(--gold); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .fronts { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: repeat(2, 1fr); }
  .hero__strip span:last-child { display: inline; }
  .cta__box { padding: 4rem; }
}
@media (min-width: 768px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .diff { flex-direction: row; gap: 1rem; }
  .diff__card { width: 14rem; flex: none; }
  .diff__plus { display: block; }
  .footer .container { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__meta { flex-direction: row; align-items: center; gap: 2rem; }
}
@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
  .hero__grid { grid-template-columns: repeat(12, 1fr); padding-top: 7rem; padding-bottom: 8rem; }
  .hero__copy { grid-column: span 7; }
  .hero__photo-wrap { grid-column: span 5; }
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
  .service__grid { grid-template-columns: repeat(12, 1fr); }
  .service__left { grid-column: span 5; padding: 3rem; border-bottom: 0; border-right: 1px solid var(--border); }
  .service__right { grid-column: span 7; padding: 3rem; }
  .method { grid-template-columns: repeat(4, 1fr); }
}
