/* ===================================================================
   Trindade · theme.css
   Brand tokens + sections converted from React/JSX to plain CSS.
   =================================================================== */

:root {
	--t-blue-light: #4EC3E0;
	--t-blue:       #4298B5;
	--t-blue-deep:  #2E7A95;

	--t-bg:        #FBFBF9;
	--t-bg-2:      #F4F4F0;
	--t-ink:       #1A1F22;
	--t-ink-soft:  #4A5358;
	--t-line:      rgba(26, 31, 34, 0.08);

	--t-display: 'Fraunces', Georgia, serif;
	--t-sans:    'Open Sans', 'Inter', system-ui, -apple-system, sans-serif;
	--t-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: var(--t-sans);
	color: var(--t-ink);
	background: var(--t-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.t-container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* Reveal */
.t-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.t-reveal.in { opacity: 1; transform: none; }

/* ─── Header ───────────────────────────────────────────────────── */
.t-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251,251,249,0.92);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--t-line);
}
.t-header__inner {
	max-width: 1440px; margin: 0 auto; padding: 0 40px;
	height: 72px;
	display: grid; grid-template-columns: 1fr auto 1fr;
	align-items: center; gap: 32px;
}
.t-logo { display: inline-flex; align-items: center; text-decoration: none; }
.t-logo img { height: 36px; width: auto; }
.t-logo--light img { filter: brightness(0) invert(1); }
.t-nav {
	display: flex; gap: 4px; font-size: 13px;
	background: var(--t-bg-2); padding: 4px; border-radius: 999px;
}
.t-nav a {
	padding: 8px 16px; border-radius: 999px;
	color: var(--t-ink-soft); text-decoration: none;
	transition: all .2s;
}
.t-nav a:hover { background: white; color: var(--t-ink); }
.t-header__cta { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.t-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 11px 20px; border-radius: 8px;
	font-size: 13px; font-weight: 600; text-decoration: none;
	border: 1px solid transparent; transition: all .2s;
}
.t-btn--primary { background: var(--t-blue-deep); color: white; }
.t-btn--primary:hover { background: var(--t-ink); }
.t-btn--ghost { background: transparent; color: var(--t-ink); border-color: var(--t-line); font-family: var(--t-mono); }
.t-btn--ghost .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--t-blue); display: inline-block; }
.t-btn--big { padding: 16px 24px; font-size: 15px; border-radius: 10px; }
.t-btn--ink { background: var(--t-ink); color: white; }
.t-btn--ink:hover { background: black; }
.t-btn--outline { border-color: var(--t-line); color: var(--t-ink); padding: 15px 22px; font-weight: 500; }
.t-btn--whats { background: rgba(78,195,224,0.12); color: var(--t-blue-deep); padding: 15px 22px; font-weight: 500; }
.t-btn--whats:hover { background: rgba(78,195,224,0.22); }

/* ─── Hero ─────────────────────────────────────────────────────── */
.t-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--t-line); }
.t-hero__grid {
	max-width: 1440px; margin: 0 auto; padding: 0 40px;
	display: grid; grid-template-columns: 1.15fr 1fr;
	min-height: calc(100vh - 72px); align-items: stretch;
}
.t-hero__copy {
	padding: 80px 60px 80px 0;
	display: flex; flex-direction: column; justify-content: center;
	border-right: 1px solid var(--t-line);
}
.t-eyebrow {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--t-mono); font-size: 12px;
	color: var(--t-ink-soft); margin-bottom: 40px;
	letter-spacing: .04em;
}
.t-eyebrow .bar { width: 24px; height: 1px; background: var(--t-blue); display: inline-block; }
.t-hero h1 {
	font-family: var(--t-sans);
	font-size: clamp(48px, 6.8vw, 96px);
	line-height: 0.96; letter-spacing: -0.035em;
	font-weight: 700; margin: 0; color: var(--t-ink);
}
.t-grad-text {
	background: linear-gradient(135deg, var(--t-blue-light), var(--t-blue-deep));
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}
.t-hero__lede {
	margin-top: 32px; max-width: 520px;
	font-size: 18px; line-height: 1.6; color: var(--t-ink-soft);
}
.t-hero__ctas { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.t-hero__stats {
	margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--t-line); padding-top: 32px;
}
.t-stat__n { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; color: var(--t-ink); }
.t-stat__l { margin-top: 4px; font-size: 12px; color: var(--t-ink-soft); text-transform: uppercase; letter-spacing: .08em; }

.t-hero__art { position: relative; overflow: hidden; background: var(--t-ink); margin-right: -40px; }
.t-hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-hero__art-meta {
	position: absolute; bottom: 32px; left: 32px; right: 32px;
	display: flex; justify-content: space-between;
	color: rgba(255,255,255,0.6); font-size: 11px;
	font-family: var(--t-mono); letter-spacing: .1em; text-transform: uppercase;
}

/* ─── Sections base ────────────────────────────────────────────── */
.t-section { padding: 120px 0; }
.t-section--alt { background: var(--t-bg-2); border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.t-section--dark { background: var(--t-ink); color: white; }
.t-h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 64px; max-width: 800px; }
.t-h2 em { font-style: normal; color: var(--t-blue-deep); }
.t-section--dark .t-h2 em { color: var(--t-blue-light); }

/* ─── Services ────────────────────────────────────────────────── */
.t-services-grid {
	display: grid; gap: 16px;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: minmax(220px, auto);
}
.t-svc {
	background: var(--t-bg-2); border-radius: 16px; padding: 32px;
	display: flex; flex-direction: column; transition: transform .3s;
	cursor: pointer; position: relative; overflow: hidden;
}
.t-svc:hover { transform: translateY(-4px); }
.t-svc--big { background: var(--t-ink); color: white; padding: 32px; }
.t-svc--compact { padding: 24px; }
.t-svc--big.t-svc { grid-column: 1 / 4; grid-row: span 2; }
.t-svc--rh    { grid-column: 4 / 7; grid-row: span 1; }
.t-svc--ops   { grid-column: 4 / 6; grid-row: span 1; }
.t-svc--legal { grid-column: 6 / 7; grid-row: span 1; }
.t-svc__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.t-svc__tag { font-family: var(--t-mono); font-size: 11px; color: var(--t-blue-deep); letter-spacing: .14em; font-weight: 600; }
.t-svc--big .t-svc__tag { color: var(--t-blue-light); }
.t-svc__arrow { font-size: 18px; opacity: 0.7; }
.t-svc__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 24px 0 12px; line-height: 1.15; }
.t-svc--big .t-svc__title { font-size: 32px; }
.t-svc--compact .t-svc__title { font-size: 18px; }
.t-svc__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--t-ink-soft); }
.t-svc--big .t-svc__desc { color: rgba(255,255,255,0.65); }
.t-svc--compact .t-svc__desc { font-size: 13px; }

.t-fmock {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px; padding: 20px;
	font-family: var(--t-mono); font-size: 11px; color: rgba(255,255,255,0.7);
	margin: 24px 0;
}
.t-fmock__row { display: flex; justify-content: space-between; padding: 6px 0; }
.t-fmock__head { display: flex; justify-content: space-between; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,0.15); }
.t-fmock__head .audit { color: var(--t-blue-light); }
.t-fmock__total { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; color: white; font-weight: 600; }
.t-fmock .pos { color: var(--t-blue-light); }

/* ─── Differentials ────────────────────────────────────────────── */
.t-diff-head { margin-bottom: 80px; display: flex; justify-content: space-between; align-items: end; gap: 80px; }
.t-diff-head p { font-size: 16px; line-height: 1.6; color: var(--t-ink-soft); max-width: 380px; margin: 0; }
.t-diff-row {
	display: grid; grid-template-columns: 120px 1fr 320px;
	gap: 48px; padding: 48px 0;
	border-top: 1px solid var(--t-line); align-items: start;
}
.t-diff-row:last-child { border-bottom: 1px solid var(--t-line); }
.t-diff-num { font-family: var(--t-display); font-size: 56px; font-weight: 400; color: var(--t-blue-deep); line-height: 1; font-style: italic; }
.t-diff-tag { margin-top: 8px; font-family: var(--t-mono); font-size: 11px; letter-spacing: .14em; color: var(--t-ink-soft); }
.t-diff-row h3 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; line-height: 1.15; }
.t-diff-row p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--t-ink-soft); max-width: 640px; }
.t-diff-stat { padding: 24px; background: white; border-radius: 12px; border: 1px solid var(--t-line); }
.t-diff-stat__n { font-size: 44px; font-weight: 700; letter-spacing: -0.025em; color: var(--t-ink); line-height: 1; }
.t-diff-stat__l { margin-top: 10px; font-size: 12px; color: var(--t-ink-soft); font-family: var(--t-mono); letter-spacing: .05em; }

/* ─── Process ──────────────────────────────────────────────────── */
.t-proc-head { max-width: 720px; margin-bottom: 80px; }
.t-proc-grid { position: relative; }
.t-proc-line { position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: var(--t-line); z-index: 0; }
.t-proc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.t-proc-icon {
	width: 56px; height: 56px; border-radius: 50%;
	background: white; border: 1px solid var(--t-line);
	display: flex; align-items: center; justify-content: center;
	font-size: 22px; color: var(--t-blue-deep);
	margin-bottom: 24px; position: relative;
}
.t-proc-icon__num {
	position: absolute; top: -8px; right: -8px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--t-ink); color: white; font-size: 11px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.t-proc-w { font-family: var(--t-mono); font-size: 11px; color: var(--t-blue-deep); letter-spacing: .1em; margin-bottom: 12px; }
.t-proc-card h4 { font-size: 22px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.015em; }
.t-proc-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--t-ink-soft); }

/* ─── Promo banner ─────────────────────────────────────────────── */
.t-promo {
	background: var(--t-ink); color: white;
	border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line);
	position: relative; overflow: hidden;
}
.t-promo::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 80% 50%, rgba(78,195,224,0.18), transparent 60%);
	pointer-events: none;
}
.t-promo__inner {
	max-width: 1440px; margin: 0 auto; padding: 40px;
	display: grid; grid-template-columns: auto 1fr auto; gap: 32px;
	align-items: center; position: relative;
}
.t-promo__chip {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 14px; background: rgba(78,195,224,0.15);
	border: 1px solid rgba(78,195,224,0.4); border-radius: 999px;
	font-family: var(--t-mono); font-size: 11px;
	letter-spacing: .14em; color: var(--t-blue-light);
	text-transform: uppercase; font-weight: 600;
}
.t-promo__chip .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--t-blue-light); }
.t-promo__title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.t-promo__title em { font-style: normal; color: var(--t-blue-light); }
.t-promo__sub { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,0.6); font-family: var(--t-mono); letter-spacing: .04em; }
.t-promo__cta {
	background: var(--t-blue-light); color: var(--t-ink);
	padding: 14px 24px; border-radius: 10px;
	text-decoration: none; font-size: 14px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.t-promo__cta:hover { background: white; }

/* ─── Portal ───────────────────────────────────────────────────── */
.t-portal { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.t-portal h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 24px; }
.t-portal p { font-size: 16px; line-height: 1.6; color: var(--t-ink-soft); margin: 0 0 32px; max-width: 480px; }
.t-portal__mock { background: var(--t-bg-2); border-radius: 16px; padding: 32px; border: 1px solid var(--t-line); }
.t-portal__chrome { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.t-portal__dots { display: flex; gap: 6px; }
.t-portal__dots span { width: 12px; height: 12px; border-radius: 50%; }
.t-portal__url { font-family: var(--t-mono); font-size: 11px; color: var(--t-ink-soft); }
.t-portal__panel { background: white; border-radius: 10px; padding: 24px; font-family: var(--t-mono); font-size: 12px; }
.t-portal__user { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--t-line); }
.t-portal__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--t-blue-light); color: var(--t-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.t-portal__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.t-portal__card { padding: 14px; background: var(--t-bg-2); border-radius: 8px; }
.t-portal__card--accent { background: rgba(78,195,224,0.12); }
.t-portal__card .lbl { font-size: 10px; margin-bottom: 6px; color: var(--t-ink-soft); }
.t-portal__card--accent .lbl { color: var(--t-blue-deep); }
.t-portal__card .val { font-size: 14px; font-weight: 600; color: var(--t-ink); }
.t-portal__card--accent .val { color: var(--t-blue-deep); }
.t-portal__row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--t-line); font-family: var(--t-sans); }
.t-portal__pill { color: var(--t-blue-deep); font-size: 10px; font-weight: 600; padding: 3px 10px; background: rgba(78,195,224,0.12); border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }

/* ─── CTA / Form ───────────────────────────────────────────────── */
.t-cta { background: linear-gradient(180deg, var(--t-bg) 0%, var(--t-bg-2) 100%); border-top: 1px solid var(--t-line); }
.t-cta__head { text-align: center; margin-bottom: 64px; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 0 40px; }
.t-cta__head h2 { font-size: clamp(36px, 4.8vw, 64px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 16px; }
.t-cta__head p { font-size: 17px; color: var(--t-ink-soft); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.t-cta__form-wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.t-form { background: white; border-radius: 16px; padding: 48px; border: 1px solid var(--t-line); box-shadow: 0 30px 60px -30px rgba(46,122,149,0.2); }
.t-form__steps { display: flex; gap: 8px; margin-bottom: 40px; }
.t-form__step { flex: 1; padding: 12px 16px; border-radius: 8px; background: var(--t-bg-2); color: var(--t-ink-soft); font-size: 13px; font-weight: 600; font-family: var(--t-mono); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; transition: all .3s; }
.t-form__step.active { background: var(--t-ink); color: white; }
.t-form__step.done { background: rgba(78,195,224,0.15); color: var(--t-blue-deep); }
.t-form__step .num { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--t-line); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.t-form__step.active .num { background: var(--t-blue-light); color: var(--t-ink); border: none; }
.t-form__step.done  .num { background: var(--t-blue-deep); color: white; border: none; }
.t-form__panel { display: grid; gap: 20px; }
.t-form__panel.hidden { display: none; }
.t-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-field label { display: block; font-size: 12px; color: var(--t-ink-soft); margin-bottom: 8px; font-family: var(--t-mono); letter-spacing: .05em; text-transform: uppercase; }
.t-field input, .t-field textarea {
	width: 100%; background: var(--t-bg);
	border: 1px solid var(--t-line); border-radius: 10px;
	color: var(--t-ink); font-size: 16px; padding: 14px 16px;
	font-family: inherit; outline: none; resize: vertical;
	transition: border-color .2s, background .2s;
}
.t-field input:focus, .t-field textarea:focus { border-color: var(--t-blue-deep); background: white; }
.t-form__nav { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; }
.t-form__back { background: transparent; border: none; color: var(--t-ink-soft); cursor: pointer; font-size: 13px; font-family: inherit; }
.t-form__back:disabled { opacity: 0.3; cursor: default; }
.t-form__next { background: var(--t-ink); color: white; border: none; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.t-form__success { text-align: center; padding: 32px 0; }
.t-form__success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--t-blue-light); color: var(--t-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 24px; }
.t-form__success h4 { font-size: 28px; margin: 0 0 12px; font-weight: 700; letter-spacing: -0.02em; }

.t-contact-strip { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 48px 40px 0; }
.t-contact { padding: 20px; background: white; border: 1px solid var(--t-line); border-radius: 12px; display: flex; gap: 14px; align-items: flex-start; }
.t-contact__icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(78,195,224,0.12); color: var(--t-blue-deep); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.t-contact__a { font-weight: 600; font-size: 14px; color: var(--t-ink); text-decoration: none; }
.t-contact__b { font-size: 12px; color: var(--t-ink-soft); margin-top: 4px; font-family: var(--t-mono); }

/* ─── Footer ───────────────────────────────────────────────────── */
.t-footer { background: var(--t-ink); color: white; padding: 80px 0 40px; }
.t-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.t-footer__lede { margin-top: 24px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 360px; }
.t-footer h5 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--t-blue-light); font-weight: 600; margin: 0 0 20px; font-family: var(--t-mono); }
.t-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.t-footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; }
.t-footer ul a:hover { color: white; }
.t-footer__legal { margin-top: 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.5); font-family: var(--t-mono); text-transform: uppercase; letter-spacing: .06em; }

/* ─── Fallback / blog ──────────────────────────────────────────── */
.t-fallback { padding: 120px 0; }
.t-fallback__inner { max-width: 720px; margin: 0 auto; padding: 0 40px; }
.t-post__title { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; }
.t-post__content { font-size: 17px; line-height: 1.65; color: var(--t-ink-soft); }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.t-hero__grid, .t-portal { grid-template-columns: 1fr; }
	.t-hero__art { display: none; }
	.t-hero__copy { padding: 60px 0; border-right: none; }
	.t-services-grid { grid-template-columns: repeat(2, 1fr); }
	.t-svc--big.t-svc, .t-svc--rh, .t-svc--ops, .t-svc--legal { grid-column: auto; grid-row: auto; }
	.t-diff-row { grid-template-columns: 1fr; gap: 24px; }
	.t-diff-head { flex-direction: column; gap: 32px; align-items: flex-start; }
	.t-proc-cards { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.t-proc-line { display: none; }
	.t-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.t-container, .t-header__inner, .t-hero__grid, .t-promo__inner, .t-portal, .t-cta__head, .t-cta__form-wrap, .t-contact-strip { padding-left: 20px; padding-right: 20px; }
	.t-section { padding: 80px 0; }
	.t-nav { display: none; }
	.t-header__inner { grid-template-columns: 1fr auto; }
	.t-services-grid { grid-template-columns: 1fr; }
	.t-promo__inner { grid-template-columns: 1fr; text-align: left; }
	.t-form { padding: 28px; }
	.t-form__row { grid-template-columns: 1fr; }
	.t-contact-strip { grid-template-columns: 1fr; }
	.t-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.t-footer__legal { flex-direction: column; }
}
