/* =========================================================
   TOTEM — Páginas internas (blog, portfólio, contacto, legais)
   Usa os tokens definidos em main.css
   ========================================================= */

/* ---------- Hero das páginas internas ---------- */
/* Escuro em vez de azul: mantém o logótipo branco e o botão azul do header
   legíveis, e alinha com o hero da home. */
.t-phero {
	position: relative;
	padding: calc(var(--header-h) + 96px) 0 96px !important;
	overflow: hidden;
	background: var(--charcoal);
	color: var(--linen);
}
.t-phero::before {
	content: '';
	position: absolute;
	left: -10%; top: -60%;
	width: 900px; height: 900px;
	background: radial-gradient(circle, rgba(58,57,255,.55) 0%, rgba(58,57,255,0) 62%);
	pointer-events: none;
}
.t-phero::after {
	content: '';
	position: absolute;
	right: -12%; bottom: -70%;
	width: 760px; height: 760px;
	background: radial-gradient(circle, rgba(220,243,67,.16) 0%, rgba(220,243,67,0) 65%);
	pointer-events: none;
}
.t-phero .t-container { position: relative; z-index: 2; }
.t-phero .t-eyebrow { color: var(--lime); }
.t-phero .t-container { display: flex; flex-direction: column; gap: 16px; }
.t-phero__title {
	font-family: var(--font-display);
	font-size: clamp(36px, 5.2vw, 72px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	max-width: 22ch;
}
.t-phero .t-lead { max-width: 62ch; }

/* ---------- Intro em duas colunas ---------- */
.t-intro { background: var(--linen); padding: 96px 0 !important; }
.t-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}
.t-intro__q {
	font-family: var(--font-display);
	font-size: clamp(26px, 2.9vw, 40px);
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--blue);
}
.t-intro__a { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.t-intro__lead {
	font-family: var(--font-display);
	font-size: clamp(20px, 1.9vw, 26px);
	line-height: 1.3;
}
.t-dim { opacity: .74; }

/* ---------- Filtros ---------- */
.t-filters {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 56px;
	text-align: center;
}
.t-filters__label { font-size: 15px; opacity: .7; }
.t-filters__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.t-badge {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid rgba(10,10,18,.16);
	border-radius: var(--radius-pill);
	font-size: 14px;
	line-height: 18px;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.t-badge:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.t-badge.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.t-badge--light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.t-badge--light:hover { background: var(--lime); color: var(--charcoal); border-color: var(--lime); }

/* =========================================================
   Blog
   ========================================================= */
.t-blog { background: var(--linen); }
.t-blog .t-h2 { margin-bottom: 48px; }
.t-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.t-bcard { display: block; }
.t-bcard__link {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	height: 100%;
	padding: 30px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--charcoal);
	color: var(--linen);
	isolation: isolate;
}
.t-bcard__media { position: absolute; inset: 0; z-index: -2; }
.t-bcard__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .28;
	transform: scale(1.04);
	transition: opacity .6s var(--ease), transform 1s var(--ease);
}
.t-bcard__link::after {
	content: '';
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10,10,18,.35) 0%, rgba(10,10,18,.75) 100%);
}
.t-bcard__link:hover .t-bcard__media img { opacity: .42; transform: scale(1.1); }

.t-bcard__top {
	position: absolute;
	top: 26px; left: 30px; right: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.t-bcard__cat {
	padding: 7px 14px;
	border-radius: var(--radius-pill);
	background: rgba(246,246,236,.16);
	backdrop-filter: blur(6px);
	font-size: 13px;
	font-weight: 600;
}
.t-bcard__arrow {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(246,246,236,.35);
	color: var(--lime);
	transition: background .35s var(--ease), transform .35s var(--ease), color .35s var(--ease);
}
.t-bcard__link:hover .t-bcard__arrow { background: var(--lime); color: var(--charcoal); transform: translate(3px, -3px); }

.t-bcard__body { display: flex; flex-direction: column; gap: 10px; }
.t-bcard__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	letter-spacing: .02em;
	color: var(--sky);
}
.t-bcard__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.t-bcard__title {
	font-family: var(--font-display);
	font-size: clamp(21px, 1.9vw, 25px);
	line-height: 1.28;
}
.t-bcard__excerpt { font-size: 15px; line-height: 1.5; opacity: .78; }
.t-bcard__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--lime);
	transition: gap .3s var(--ease);
}
.t-bcard__link:hover .t-bcard__cta { gap: 14px; }

/* ---------- Paginação ---------- */
.t-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.t-pager__item {
	display: grid;
	place-items: center;
	min-width: 42px; height: 42px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(10,10,18,.16);
	font-size: 15px;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.t-pager__item:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.t-pager__item.is-current { background: var(--blue); color: #fff; border-color: var(--blue); }

.t-empty { padding: 40px 0; text-align: center; opacity: .65; }

/* =========================================================
   Artigo
   ========================================================= */
.t-post__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 62svh;
	padding: calc(var(--header-h) + 80px) 0 72px !important;
	overflow: hidden;
	color: #fff;
	background: var(--charcoal);
}
.t-post__hero-bg { position: absolute; inset: 0; }
.t-post__hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.t-post__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,10,18,.6) 0%, rgba(10,10,18,.35) 40%, rgba(10,10,18,.9) 100%);
}
.t-post__hero .t-container { position: relative; z-index: 2; }
.t-post__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 900px; }
.t-post__title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4.2vw, 56px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.t-post__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sky); }

.t-post__body { background: var(--linen); padding: 88px 0 !important; }
.t-post__tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; margin: 48px auto 0; }

/* ---------- Prosa ---------- */
.t-prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.72; }
.t-prose--sm { max-width: none; font-size: 16px; line-height: 1.62; }
.t-prose > * + * { margin-top: 1.15em; }
.t-prose h2 {
	font-family: var(--font-display);
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.22;
	margin-top: 1.9em;
	color: var(--blue);
}
.t-prose h3 {
	font-family: var(--font-display);
	font-size: clamp(20px, 1.9vw, 24px);
	line-height: 1.3;
	margin-top: 1.6em;
}
.t-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.t-prose a:hover { color: var(--blue-deep); }
.t-prose ul, .t-prose ol { padding-left: 1.3em; }
.t-prose ul { list-style: disc; }
.t-prose ol { list-style: decimal; }
.t-prose li + li { margin-top: .5em; }
.t-prose img { border-radius: var(--radius); }
.t-prose blockquote {
	padding: 22px 28px;
	border-left: 3px solid var(--lime);
	background: rgba(58,57,255,.05);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-display);
	font-size: 1.12em;
	line-height: 1.4;
}
.t-prose strong { font-weight: 700; }
.t-prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(10,10,18,.07);
	font-size: .92em;
}

/* =========================================================
   Portfólio — arquivo com cards de largura total
   ========================================================= */
.t-pf { background: var(--linen); }
.t-pf .t-h2 { margin-bottom: 48px; }
.t-pf__list { display: flex; flex-direction: column; gap: 24px; }

.t-case {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 78svh;
	padding: 56px var(--gutter);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}
.t-case__media { position: absolute; inset: 0; z-index: -2; }
.t-case__media img, .t-case__media video {
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.03);
	transition: transform 1.2s var(--ease);
}
.t-case:hover .t-case__media img,
.t-case:hover .t-case__media video { transform: scale(1.08); }
.t-case__scrim {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(10,10,18,.15) 0%, rgba(10,10,18,0) 35%, rgba(10,10,18,.85) 100%),
		linear-gradient(90deg, rgba(10,10,18,.6) 0%, rgba(10,10,18,0) 60%);
}
.t-case--alt { justify-content: flex-end; text-align: right; }
.t-case--alt .t-case__scrim {
	background:
		linear-gradient(180deg, rgba(10,10,18,.15) 0%, rgba(10,10,18,0) 35%, rgba(10,10,18,.85) 100%),
		linear-gradient(270deg, rgba(10,10,18,.6) 0%, rgba(10,10,18,0) 60%);
}
.t-case--alt .t-case__content { align-items: flex-end; }

.t-case__num {
	position: absolute;
	top: 44px; left: var(--gutter);
	font-family: var(--font-display);
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1;
	color: rgba(246,246,236,.28);
}
.t-case--alt .t-case__num { left: auto; right: var(--gutter); }

.t-case__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 620px;
}
.t-case__tag {
	padding: 7px 15px;
	border-radius: var(--radius-pill);
	background: rgba(246,246,236,.16);
	backdrop-filter: blur(6px);
	font-size: 13px;
	font-weight: 600;
}
.t-case__title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}
.t-case__sub { font-size: 17px; line-height: 1.5; opacity: .85; }
.t-case__cta { margin-top: 12px; padding: 14px 26px; font-size: 16px; font-weight: 600; }
.t-case__cta svg { transition: transform .35s var(--ease); }
.t-case:hover .t-case__cta svg { transform: translate(3px, -3px); }

/* =========================================================
   Portfólio — projeto individual
   ========================================================= */
.t-case-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 72svh;
	padding: calc(var(--header-h) + 80px) 0 72px !important;
	overflow: hidden;
	color: #fff;
	background: var(--charcoal);
}
.t-case-hero__bg { position: absolute; inset: 0; }
.t-case-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.t-case-hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,10,18,.55) 0%, rgba(10,10,18,.3) 45%, rgba(10,10,18,.9) 100%);
}
.t-case-hero .t-container { position: relative; z-index: 2; }
.t-case-hero__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 860px; }
.t-case-hero__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 4.8vw, 64px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.t-case-body { background: var(--linen); padding: 88px 0 !important; }
.t-case-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: 88px;
	align-items: start;
}
.t-case-body__sticky {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
}

.t-cblock { display: flex; flex-direction: column; gap: 10px; }
.t-cblock__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 20px;
	line-height: 28px;
	color: var(--blue);
}
.t-cblock__ico { display: grid; place-items: center; width: 16px; height: 16px; }
.t-cblock__text { font-size: 16px; line-height: 1.55; opacity: .78; }

/* ---------- Mosaico ---------- */
.t-case-body__gallery { display: flex; flex-direction: column; gap: 20px; }
.t-mosaic { display: grid; gap: 20px; }
.t-mosaic--1 { grid-template-columns: 1fr; }
.t-mosaic--2 { grid-template-columns: 1fr 1fr; }
.t-mosaic--3 { grid-template-columns: repeat(3, 1fr); }

.t-mosaic__item {
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: rgba(10,10,18,.06);
}
.t-mosaic--1 .t-mosaic__item { aspect-ratio: 892 / 493; }
.t-mosaic--2 .t-mosaic__item { aspect-ratio: 436 / 493; }
.t-mosaic--3 .t-mosaic__item { aspect-ratio: 284 / 300; }
.t-mosaic__item img, .t-mosaic__item video {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
.t-mosaic__item a { display: block; height: 100%; }
.t-mosaic__item:hover img { transform: scale(1.05); }
.t-mosaic__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	pointer-events: none;
}
.t-mosaic__play svg {
	width: 64px; height: 64px;
	padding: 18px;
	border-radius: 50%;
	background: rgba(10,10,18,.45);
	backdrop-filter: blur(6px);
}
.t-mosaic__item:has(video[controls]) .t-mosaic__play { display: none; }

/* =========================================================
   Contacto
   ========================================================= */
.t-contact { background: var(--linen); }
.t-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 523px) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

/* ---------- Chat ---------- */
.t-chat {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--charcoal);
	color: var(--linen);
	box-shadow: 0 24px 60px rgba(10,10,18,.18);
}
.t-chat__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 16px;
	background: rgba(246,246,236,.06);
	border-bottom: 1px solid rgba(246,246,236,.1);
}
.t-chat__avatar, .t-msg__avatar {
	display: grid;
	place-items: center;
	flex: 0 0 32px;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--lime);
}
.t-chat__avatar svg, .t-msg__avatar svg { width: 17px; height: 17px; }
.t-chat__who { display: flex; flex-direction: column; flex: 1; }
.t-chat__who strong { font-size: 15px; font-weight: 700; }
.t-chat__who small { font-size: 12px; color: var(--lime); }
.t-chat__kebab { opacity: .5; }

.t-chat__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 440px;
	padding: 24px 16px;
}
.t-chat__day { align-self: center; font-size: 13px; opacity: .45; }

.t-msg { display: flex; align-items: flex-start; gap: 8px; max-width: 88%; }
.t-msg__bubble {
	position: relative;
	padding: 12px 16px;
	border-radius: 4px 16px 16px 16px;
	background: rgba(246,246,236,.1);
}
.t-msg__text { font-size: 15px; line-height: 1.5; }
.t-msg__time {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	margin-top: 6px;
	font-size: 12px;
	opacity: .55;
}
.t-msg--self { align-self: flex-end; max-width: 76%; }
.t-msg--self .t-msg__bubble {
	border-radius: 16px 16px 4px 16px;
	background: var(--blue);
}
.t-msg--self .t-msg__time { opacity: .75; color: var(--lime); }

.t-typing { display: flex; align-items: flex-start; gap: 8px; }
.t-typing__dots {
	display: flex;
	gap: 4px;
	padding: 14px 16px;
	border-radius: 4px 16px 16px 16px;
	background: rgba(246,246,236,.1);
}
.t-typing__dots i {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--linen);
	opacity: .5;
	animation: t-typing 1.1s ease-in-out infinite;
}
.t-typing__dots i:nth-child(2) { animation-delay: .15s; }
.t-typing__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes t-typing {
	0%, 60%, 100% { transform: translateY(0); opacity: .4; }
	30% { transform: translateY(-4px); opacity: 1; }
}

.t-chat__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-top: 1px solid rgba(246,246,236,.1);
	background: rgba(246,246,236,.04);
}
.t-chat__placeholder { flex: 1; font-size: 14px; opacity: .4; }
.t-chat__ico, .t-chat__send { opacity: .55; }
.t-chat__send { color: var(--lime); opacity: 1; }

/* ---------- Formulário ---------- */
.t-form-col { display: flex; flex-direction: column; gap: 32px; }
.t-form-col__head { display: flex; flex-direction: column; gap: 14px; }

/* Honeypot: recortado em vez de deslocado, senão conta como overflow */
.t-form__honey {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.t-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.t-field { display: flex; flex-direction: column; gap: 8px; }
.t-field--full { grid-column: 1 / -1; }
.t-field label { font-size: 14px; font-weight: 600; }
.t-field label span { color: var(--blue); }
.t-field input, .t-field select, .t-field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid rgba(10,10,18,.14);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.t-field textarea { resize: vertical; min-height: 120px; }
.t-field input:focus, .t-field select:focus, .t-field textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(58,57,255,.12);
}
.t-field--check label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	opacity: .85;
}
.t-field--check input { width: auto; margin-top: 2px; accent-color: var(--blue); }
.t-field--check a { color: var(--blue); text-decoration: underline; }
.t-form__submit { align-self: flex-start; margin-top: 28px; }

.t-notice {
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 15px;
}
.t-notice--ok { background: rgba(58,57,255,.08); border: 1px solid rgba(58,57,255,.25); color: var(--blue-deep); }

/* ---------- Canais ---------- */
.t-channels { background: var(--blue-soft); }
.t-channels__head { display: flex; flex-direction: column; gap: 14px; align-items: center; max-width: 820px; margin: 0 auto 56px; }
.t-channels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-channel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 40px 28px;
	border-radius: var(--radius);
	background: #fff;
	text-align: center;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.t-channel:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(58,57,255,.16); }
.t-channel__ico { color: var(--blue); margin-bottom: 6px; }
.t-channel__label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.t-channel__value { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; }

/* =========================================================
   Faixa de CTA das páginas internas
   Mesma estrutura do CTA final da home, mas estática: foto por trás,
   título, botão e a marca. O footer sobrepõe-a ligeiramente.
   ========================================================= */
.t-strip {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 74svh;
	padding: 110px 30px 150px !important;
	overflow: hidden;
	color: var(--linen);
	background: var(--charcoal);
	text-align: center;
}
.t-strip__bg { position: absolute; inset: 0; }
.t-strip__bg img { width: 100%; height: 100%; object-fit: cover; }
.t-strip__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,10,18,.62) 0%, rgba(10,10,18,.5) 45%, rgba(10,10,18,.78) 100%);
}

.t-strip__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	width: 100%;
	max-width: var(--max);
}
.t-strip__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 54px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	max-width: 20ch;
}
.t-strip__btn { margin-top: 4px; }

.t-strip__mark { margin-top: 26px; }
.t-strip__mark-icon { display: block; width: clamp(170px, 19vw, 270px); }
.t-strip__mark-icon svg { width: 100%; height: auto; }
.t-strip__mark-icon svg path { fill: var(--lime); }

/* =========================================================
   404
   Mesma tonalidade do hero da home: usa o frame do vídeo como imagem
   estática, com o mesmo scrim. Texto centrado e footer logo a seguir.
   ========================================================= */
.t-404 {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100svh;
	padding: calc(var(--header-h) + 80px) 30px 140px !important;
	overflow: hidden;
	color: #fff;
	background: var(--charcoal);
	text-align: center;
}
.t-404__bg { position: absolute; inset: 0; }
.t-404__bg img { width: 100%; height: 100%; object-fit: cover; }
.t-404__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10,10,18,.7) 0%, rgba(10,10,18,.45) 42%, rgba(10,10,18,.82) 100%),
		radial-gradient(circle at 50% 45%, rgba(10,10,18,.15) 0%, rgba(10,10,18,.6) 75%);
}

.t-404__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 640px;
}
.t-404__code {
	font-family: var(--font-display);
	font-size: clamp(88px, 15vw, 200px);
	line-height: .9;
	letter-spacing: -0.04em;
	color: var(--lime);
}
.t-404__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.6vw, 48px);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.t-404__lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; opacity: .82; max-width: 46ch; }
.t-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

/* =========================================================
   Páginas legais
   ========================================================= */
.t-legal { background: var(--linen); }
.t-legal__grid {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}
.t-legal__aside {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.t-legal__updated { font-size: 14px; line-height: 1.6; opacity: .65; }
.t-legal__updated strong { color: var(--charcoal); opacity: 1; }
.t-legal__nav { display: flex; flex-direction: column; gap: 4px; }
.t-legal__link {
	padding: 11px 16px;
	border-radius: 12px;
	font-size: 15px;
	transition: background .25s var(--ease), color .25s var(--ease);
}
.t-legal__link:hover { background: rgba(58,57,255,.08); color: var(--blue); }
.t-legal__link.is-current { background: var(--blue); color: #fff; }
.t-legal__body { max-width: 780px; margin: 0; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1200px) {
	.t-intro__grid { gap: 48px; }
	.t-contact__grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; }
	.t-case-body__grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 56px; }
	.t-legal__grid { gap: 48px; }
}

@media (max-width: 1024px) {
	.t-phero { padding: calc(var(--header-h) + 72px) 0 72px !important; }
	.t-intro__grid { grid-template-columns: 1fr; }
	.t-blog__grid { grid-template-columns: 1fr 1fr; }
	.t-contact__grid { grid-template-columns: 1fr; gap: 56px; }
	.t-case-body__grid { grid-template-columns: 1fr; gap: 48px; }
	.t-case-body__sticky { position: static; }
	.t-legal__grid { grid-template-columns: 1fr; }
	.t-legal__aside { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.t-legal__nav { flex-direction: row; flex-wrap: wrap; }
	.t-channels__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
	.t-case { min-height: 62svh; }
}

@media (max-width: 767px) {
	.t-phero { padding: calc(var(--header-h) + 48px) 0 56px !important; }
	.t-intro, .t-post__body, .t-case-body { padding: 64px 0 !important; }
	.t-filters { margin-bottom: 36px; }
	.t-blog__grid { grid-template-columns: 1fr; }
	.t-bcard__link { min-height: 380px; padding: 24px; }
	.t-bcard__top { top: 20px; left: 24px; right: 24px; }

	.t-post__hero, .t-case-hero { min-height: 56svh; padding-bottom: 48px !important; }
	.t-prose { font-size: 16px; }

	.t-case { min-height: 60svh; padding: 40px 24px; text-align: left; }
	.t-case--alt { text-align: left; justify-content: flex-start; }
	.t-case--alt .t-case__content { align-items: flex-start; }
	.t-case__num { top: 28px; left: 24px; }
	.t-case--alt .t-case__num { left: 24px; right: auto; }
	.t-case__scrim, .t-case--alt .t-case__scrim {
		background: linear-gradient(180deg, rgba(10,10,18,.35) 0%, rgba(10,10,18,.15) 30%, rgba(10,10,18,.9) 100%);
	}

	.t-mosaic--2, .t-mosaic--3 { grid-template-columns: 1fr; }
	.t-mosaic--2 .t-mosaic__item, .t-mosaic--3 .t-mosaic__item { aspect-ratio: 16 / 11; }
	.t-mosaic, .t-case-body__gallery { gap: 14px; }

	.t-form__grid { grid-template-columns: 1fr; }
	.t-chat__body { min-height: 360px; }
	.t-msg { max-width: 94%; }

	.t-404 { padding: calc(var(--header-h) + 48px) 24px 110px !important; }
	.t-404__actions { flex-direction: column; align-items: stretch; width: 100%; }
	.t-strip { min-height: 62svh; padding: 72px 24px 110px !important; }
	.t-strip__inner { gap: 16px; }
	.t-legal__aside { gap: 20px; }
	.t-strip__mark { margin-top: 16px; }
	.t-strip__mark-icon { width: 165px; }
}
