/**
 * Landing V2 — English Editing (página de teste A/B)
 * Escopo: somente template page-english-editing-v2.php (prefixo .trv2-)
 * Paleta: navy institucional + dourado discreto (tokens do próprio tema)
 * Tipografia fluida via clamp(); mobile-first; sem dependências externas.
 */

.trv2 {
	/* Tokens ligados ao design system global (Customizer → :root).
	   Os fallbacks preservam exatamente a paleta original da V2. */
	--trv2-navy:       var(--color-navy, #002233);
	--trv2-navy-mid:   var(--color-navy-mid, #1a3a5c);
	--trv2-navy-light: var(--color-navy-light, #24527a);
	--trv2-gold:       var(--color-gold, #ffaa11);
	--trv2-gold-light: var(--color-gold-light, #ffc96b);
	--trv2-green:       var(--color-action, #11bb99); /* acento de ação — verde do CTA */
	--trv2-green-light: var(--color-action-light, #00cc77);
	--trv2-ink:        var(--color-text, #1c2b3a);
	--trv2-muted:      var(--color-muted, #4b5563);
	--trv2-line:       var(--color-gray-200, #e5e7eb);
	--trv2-tint:       var(--color-tint, #f5f7fa);
	--trv2-white:      var(--color-card, #ffffff);
	--trv2-success:    #2e6b4f;
	--trv2-error:      var(--color-error, #b23b3b);
	--trv2-radius:     var(--card-radius, 10px);
	--trv2-btn-radius: var(--btn-radius, 6px);
	--trv2-container:  var(--container-max-w, 72rem);
	--trv2-shadow:     0 4px 16px rgba(0, 34, 51, 0.08), 0 1px 3px rgba(0, 34, 51, 0.06);
	--trv2-font-display: var(--font-display, 'Playfair Display', Georgia, serif);
	--trv2-font-body:    var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);

	font-family: var(--trv2-font-body);
	color: var(--trv2-ink);
	background: var(--trv2-white);
	overflow-x: clip; /* cinto de segurança contra overflow horizontal */
}

/* ---------- Layout base ---------- */

.trv2-container {
	width: min(100% - 2.5rem, var(--trv2-container, 72rem));
	margin-inline: auto;
}

.trv2-container--narrow {
	width: min(100% - 2.5rem, 50rem);
}

.trv2-section {
	padding-block: clamp(3.5rem, 8vw, 6rem);
	scroll-margin-top: 6rem;
}

.trv2-section--tinted { background: var(--trv2-tint); }

.trv2-section--navy {
	background: linear-gradient(160deg, var(--trv2-navy) 0%, var(--trv2-navy-mid) 100%);
	color: #e9eef4;
}

.trv2-section--navy .trv2-section__title { color: var(--trv2-white); }

.trv2-section__head {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
	margin-block-end: clamp(2rem, 5vw, 3.5rem);
}

.trv2-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--trv2-navy-light);
	margin: 0 0 0.75rem;
}

.trv2-eyebrow--gold,
.trv2-section--navy .trv2-eyebrow { color: var(--trv2-gold-light); }

.trv2-section__title {
	font-family: var(--trv2-font-display);
	font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.5rem);
	line-height: 1.2;
	color: var(--trv2-navy);
	margin: 0 0 1rem;
	overflow-wrap: break-word;
}

.trv2-section__intro {
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.7;
	color: var(--trv2-muted);
	margin: 0;
}

.trv2-goldline {
	display: block;
	width: 56px;
	height: 2px;
	background: var(--trv2-gold);
	margin-block: 1rem 1.25rem;
}

.trv2-note {
	font-size: 0.875rem;
	color: var(--trv2-muted);
	text-align: center;
	max-width: 46rem;
	margin: 2rem auto 0;
}

/* ---------- Botões ---------- */

.trv2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	border-radius: var(--trv2-btn-radius, 6px);
	border: 1.5px solid transparent;
	font-family: var(--trv2-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.trv2-btn:focus-visible {
	outline: 3px solid var(--trv2-green);
	outline-offset: 2px;
}

/* Padrão do CTA original do site (.btn--primary): verde, texto navy,
   hover clareia + eleva 1px + sombra média */
.trv2-btn--primary {
	background: var(--trv2-green);
	color: var(--trv2-navy);
	border-color: var(--trv2-green);
}

.trv2-btn--primary:hover {
	background: var(--trv2-green-light);
	border-color: var(--trv2-green-light);
	color: var(--trv2-navy);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 34, 51, 0.10), 0 2px 4px rgba(0, 34, 51, 0.06);
}

/* Brilho deslizante no rollover — mesmo efeito do .btn--primary original (pages.css) */
.trv2-btn--primary {
	position: relative;
	overflow: hidden;
}

.trv2-btn--primary::after {
	content: '';
	position: absolute;
	top: 0;
	left: -150%;
	width: 60%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
	pointer-events: none;
}

.trv2-btn--primary:hover::after {
	left: 150%;
}

.trv2-btn--navy {
	background: var(--trv2-navy);
	color: var(--trv2-white);
}

.trv2-btn--navy:hover {
	background: var(--trv2-navy-mid);
	color: var(--trv2-white);
	transform: translateY(-1px);
}

.trv2-btn--ghost {
	background: transparent;
	color: var(--trv2-white);
	border-color: rgba(255, 255, 255, 0.55);
}

.trv2-btn--ghost:hover {
	border-color: var(--trv2-green);
	color: var(--trv2-green);
}

/* Seta deslizante no botão ghost (mesmo gesto do .btn--ghost original) */
.trv2-btn--ghost::after {
	content: '→';
	display: inline-block;
	transition: transform 0.2s ease;
}

.trv2-btn--ghost:hover::after {
	transform: translateX(4px);
}

/* ---------- Hero ---------- */

.trv2-hero {
	position: relative;
	background:
		radial-gradient(ellipse 80% 60% at 70% 20%, rgba(36, 82, 122, 0.45) 0%, transparent 60%),
		linear-gradient(165deg, var(--trv2-navy) 0%, #13273d 55%, var(--trv2-navy-mid) 100%);
	color: #e9eef4;
	padding-block: clamp(4rem, 10vw, 7.5rem);
	overflow: hidden;
}

/* Fundo "constelação de conhecimento" — rede de citações interativa
   (glifos editoriais/científicos conectados; reage ao mouse; leve:
   DPR limitado, pausa fora de tela/aba oculta, sem lib externa) */
.trv2-net {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.65;
	pointer-events: none;
}

.trv2-hero .trv2-container {
	position: relative;
	z-index: 1;
}

.trv2-hero__eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--trv2-gold-light);
	margin: 0;
}

.trv2-hero__title {
	font-family: var(--trv2-font-display);
	font-size: clamp(1.875rem, 1.1rem + 3.8vw, 3.375rem);
	line-height: 1.15;
	color: var(--trv2-white);
	max-width: 21ch;
	margin: 0 0 1.25rem;
	overflow-wrap: break-word;
}

.trv2-hero__sub {
	font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
	line-height: 1.7;
	color: #c4cfdb;
	max-width: 56ch;
	margin: 0 0 2rem;
}

.trv2-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-block-end: 2.25rem;
}

.trv2-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	color: #c4cfdb;
}

.trv2-hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.trv2-check {
	width: 1.05em;
	height: 1.05em;
	flex-shrink: 0;
	color: var(--trv2-gold);
}

/* ---------- Grids e cards ---------- */

.trv2-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .trv2-grid--3, .trv2-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trv2-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.trv2-card {
	background: var(--trv2-white);
	border: 1px solid var(--trv2-line);
	border-radius: var(--trv2-radius);
	box-shadow: var(--trv2-shadow);
	padding: 1.75rem 1.5rem;
}

.trv2-card--plain {
	box-shadow: none;
	background: var(--trv2-tint);
}

.trv2-card--dark {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

/* Ícone linear do card — muda para verde e "respira" no hover do card */
.trv2-card__icon {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 8px;
	background: rgba(36, 82, 122, 0.08);
	color: var(--trv2-navy-light);
	margin-block-end: 1rem;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.trv2-card__icon svg {
	width: 1.375rem;
	height: 1.375rem;
}

.trv2-card--dark .trv2-card__icon {
	background: rgba(232, 201, 122, 0.12);
	color: var(--trv2-gold-light);
}

.trv2-card:hover .trv2-card__icon {
	background: rgba(26, 188, 156, 0.14);
	color: var(--trv2-green);
	transform: translateY(-2px) scale(1.06);
}

.trv2-card--dark:hover .trv2-card__icon {
	background: rgba(26, 188, 156, 0.18);
	color: var(--trv2-green);
}

/* Elevação suave do card no hover */
.trv2-card {
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trv2-card:hover {
	transform: translateY(-3px);
	border-color: rgba(26, 188, 156, 0.45);
	box-shadow: 0 10px 28px rgba(0, 34, 51, 0.12), 0 3px 8px rgba(0, 34, 51, 0.07);
}

.trv2-card--dark:hover {
	border-color: rgba(26, 188, 156, 0.5);
	box-shadow: none;
}

.trv2-card__title {
	font-family: var(--trv2-font-body);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--trv2-navy);
	margin: 0 0 0.5rem;
}

.trv2-card--dark .trv2-card__title { color: var(--trv2-gold-light); }

.trv2-card__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--trv2-muted);
	margin: 0;
}

.trv2-card--dark .trv2-card__text { color: #c4cfdb; }

/* ---------- Calculadora ---------- */

.trv2-calc {
	background: var(--trv2-white);
	border: 1px solid var(--trv2-line);
	border-radius: var(--trv2-radius);
	box-shadow: var(--trv2-shadow);
	padding: 1.5rem;
	max-width: 30rem;
	margin: 0 auto 2.5rem;
}

.trv2-calc__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--trv2-navy);
	margin-block-end: 0.5rem;
}

.trv2-calc__input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1.125rem;
	font-family: var(--trv2-font-body);
	color: var(--trv2-ink);
	border: 1.5px solid var(--trv2-line);
	border-radius: 6px;
	margin-block-end: 0.875rem;
}

.trv2-calc__input:focus-visible,
.trv2-form input:focus-visible,
.trv2-form select:focus-visible,
.trv2-form textarea:focus-visible {
	outline: 3px solid var(--trv2-green);
	outline-offset: 1px;
	border-color: var(--trv2-navy-light);
}

.trv2-calc__range {
	width: 100%;
	accent-color: var(--trv2-navy-light);
}

.trv2-calc__range:focus-visible {
	outline: 3px solid var(--trv2-green);
	outline-offset: 4px;
}

/* ---------- Planos ---------- */

.trv2-plans {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 640px)  { .trv2-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trv2-plans { grid-template-columns: repeat(4, 1fr); } }

.trv2-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--trv2-white);
	border: 1px solid var(--trv2-line);
	border-radius: var(--trv2-radius);
	box-shadow: var(--trv2-shadow);
	padding: 1.75rem 1.5rem;
	height: 100%;
}

.trv2-plan--popular {
	border-color: var(--trv2-gold);
	border-width: 2px;
}

.trv2-plan__flag {
	position: absolute;
	top: -0.8125rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--trv2-gold);
	color: var(--trv2-navy);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.25rem 0.875rem;
	border-radius: 999px;
	margin: 0;
	white-space: nowrap;
}

.trv2-plan__name {
	font-family: var(--trv2-font-body);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--trv2-navy);
	margin: 0 0 0.75rem;
}

.trv2-plan__price {
	font-family: var(--trv2-font-display);
	font-size: 1.875rem;
	color: var(--trv2-navy);
	margin: 0;
	font-variant-numeric: tabular-nums;
}

.trv2-plan__rate {
	font-size: 0.8125rem;
	color: var(--trv2-muted);
	margin: 0.25rem 0 1rem;
}

.trv2-plan__for {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--trv2-muted);
	border-block-start: 1px solid var(--trv2-line);
	padding-block-start: 1rem;
	margin: 0 0 1rem;
}

.trv2-plan__features {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.625rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--trv2-ink);
	flex-grow: 1;
}

.trv2-plan__features li {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.trv2-plan__features .trv2-check {
	margin-block-start: 0.15em;
	color: var(--trv2-success);
}

.trv2-plan__cta { width: 100%; }

/* ---------- Processo ---------- */

.trv2-steps {
	list-style: none;
	counter-reset: trv2-step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .trv2-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trv2-steps { grid-template-columns: repeat(4, 1fr); } }

.trv2-step {
	position: relative;
	padding: 1.5rem 1.25rem 0;
	border-block-start: 2px solid var(--trv2-line);
}

.trv2-step__num {
	position: absolute;
	top: -1.125rem;
	left: 1.25rem;
	width: 2.25rem;
	height: 2.25rem;
	display: grid;
	place-items: center;
	background: var(--trv2-navy);
	color: var(--trv2-gold-light);
	font-weight: 700;
	font-size: 1rem;
	border-radius: 50%;
}

.trv2-step__title {
	font-family: var(--trv2-font-body);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--trv2-navy);
	margin: 0.875rem 0 0.5rem;
}

.trv2-step__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--trv2-muted);
	margin: 0;
}

/* ---------- Confidencialidade ---------- */

.trv2-conflist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.125rem;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--trv2-ink);
}

.trv2-conflist li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	background: var(--trv2-white);
	border: 1px solid var(--trv2-line);
	border-radius: var(--trv2-radius);
	padding: 1.25rem 1.5rem;
}

.trv2-conflist .trv2-check {
	margin-block-start: 0.3em;
	color: var(--trv2-success);
}

/* ---------- Garantia ---------- */

.trv2-guarantee {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	background: var(--trv2-white);
	border: 1px solid var(--trv2-gold);
	border-radius: var(--trv2-radius);
	padding: 2rem;
}

.trv2-guarantee__icon {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	color: var(--trv2-gold);
}

.trv2-guarantee__icon svg { width: 100%; height: 100%; }

.trv2-guarantee__title {
	font-family: var(--trv2-font-display);
	font-size: 1.375rem;
	color: var(--trv2-navy);
	margin: 0 0 0.5rem;
}

.trv2-guarantee__text {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--trv2-muted);
	margin: 0;
}

@media (max-width: 480px) {
	.trv2-guarantee { flex-direction: column; }
}

/* ---------- FAQ ---------- */

.trv2-faq {
	display: grid;
	gap: 0.75rem;
}

.trv2-faq__item {
	background: var(--trv2-white);
	border: 1px solid var(--trv2-line);
	border-radius: var(--trv2-radius);
}

.trv2-faq__item[open] { border-color: var(--trv2-navy-light); }

.trv2-faq__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem 1.375rem;
	font-weight: 600;
	font-size: 1rem;
	color: var(--trv2-navy);
	cursor: pointer;
	list-style: none;
}

.trv2-faq__q::-webkit-details-marker { display: none; }

.trv2-faq__q:focus-visible {
	outline: 3px solid var(--trv2-green);
	outline-offset: -3px;
	border-radius: var(--trv2-radius);
}

.trv2-faq__chevron {
	flex-shrink: 0;
	width: 0.625rem;
	height: 0.625rem;
	border-right: 2px solid var(--trv2-navy-light);
	border-bottom: 2px solid var(--trv2-navy-light);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.trv2-faq__item[open] .trv2-faq__chevron { transform: rotate(-135deg); }

.trv2-faq__a {
	padding: 0 1.375rem 1.25rem;
}

.trv2-faq__a p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--trv2-muted);
}

/* ---------- Formulário ---------- */

.trv2-form {
	background: var(--trv2-white);
	border: 1px solid var(--trv2-line);
	border-radius: var(--trv2-radius);
	box-shadow: var(--trv2-shadow);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	display: grid;
	gap: 1.25rem;
}

.trv2-form__row {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) { .trv2-form__row { grid-template-columns: 1fr 1fr; } }

.trv2-form__field { display: grid; gap: 0.375rem; }

.trv2-form__field label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--trv2-navy);
}

.trv2-form input,
.trv2-form select,
.trv2-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-family: var(--trv2-font-body);
	color: var(--trv2-ink);
	background: var(--trv2-white);
	border: 1.5px solid var(--trv2-line);
	border-radius: 6px;
}

.trv2-form textarea { resize: vertical; }

.trv2-form input:user-invalid {
	border-color: var(--trv2-error);
}

.trv2-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.trv2-form__alt {
	font-size: 0.9375rem;
	color: var(--trv2-muted);
	margin: 0;
}

.trv2-form__alt a {
	color: var(--trv2-navy-light);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.trv2-form__alt a:focus-visible {
	outline: 3px solid var(--trv2-green);
	outline-offset: 2px;
}

/* ---------- Anexos do orçamento ---------- */

.trv2-files-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.trv2-files-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 0.35rem;
}

.trv2-files-btn {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

/* O rótulo-botão herda a cor navy de .trv2-form__field label (mais
   específico que .trv2-btn--navy) — força branco, com dourado no hover. */
.trv2-form__field--files label.trv2-files-btn {
	color: var(--trv2-white, #f8f9fa);
}

.trv2-form__field--files label.trv2-files-btn:hover,
.trv2-form__field--files label.trv2-files-btn:focus-visible {
	color: var(--color-gold, #ffaa11);
}

.trv2-form__field--files:focus-within .trv2-files-btn {
	outline: 3px solid var(--trv2-green);
	outline-offset: 2px;
}

.trv2-files-list {
	font-size: 0.875rem;
	color: var(--trv2-muted);
	word-break: break-word;
}

.trv2-form__hint {
	font-size: 0.8125rem;
	color: var(--trv2-muted);
	margin: 0.5rem 0 0;
}

.trv2-form__feedback {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	min-height: 1.4em;
}

.trv2-form__feedback.is-success { color: var(--trv2-success); }
.trv2-form__feedback.is-error   { color: var(--trv2-error); }

/* ---------- Área do Cliente: login em tela cheia ---------- */

.trs-cliente-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 96px 20px 48px;
}

body.admin-bar .trs-cliente-hero {
	min-height: calc(100vh - 32px);
}

.trs-cliente-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	justify-content: center;
}

/* Cartão: Fundo Claro (token) + fio dourado de 0,5px sobre o navy */
.trs-cliente-hero .trv2-card {
	max-width: 480px;
	width: 100%;
	display: grid;
	gap: 14px;
	background: var(--color-white, #f5f7fa);
	border: 0.5px solid var(--color-gold, #ffaa11);
}

/* Campos brancos com o texto na cor padrão de textos */
.trs-cliente-hero .trv2-form input {
	background: #ffffff;
	color: var(--color-text, #1c2b3a);
}

/* ---------- CTA final ---------- */

.trv2-final { text-align: center; }

.trv2-final__text {
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.7;
	color: #c4cfdb;
	max-width: 46ch;
	margin: 0 auto 2rem;
}

.trv2-final__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.875rem;
}

/* ---------- Sticky CTA mobile ---------- */

.trv2-sticky {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 60;
	padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
	background: rgba(0, 34, 51, 0.92);
	backdrop-filter: blur(6px);
	transform: translateY(100%);
	transition: transform 0.25s ease;
}

.trv2-sticky.is-visible { transform: translateY(0); }

.trv2-sticky__btn {
	width: 100%;
	padding-block: 0.75rem;
}

@media (min-width: 768px) {
	.trv2-sticky { display: none; }
}

/* ---------- Reveal (aplicado só via JS = progressive enhancement) ---------- */

.trv2-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.trv2-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Microinterações e efeitos leves ---------- */

/* Entrada do hero: eyebrow, linha, título, sub, ações e fatos em cascata */
@keyframes trv2-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes trv2-grow-line {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

.trv2-hero__eyebrow,
.trv2-hero__title,
.trv2-hero__sub,
.trv2-hero__actions,
.trv2-hero__facts {
	animation: trv2-fade-up 0.6s ease both;
}

.trv2-hero__title   { animation-delay: 0.08s; }
.trv2-hero__sub     { animation-delay: 0.16s; }
.trv2-hero__actions { animation-delay: 0.24s; }
.trv2-hero__facts   { animation-delay: 0.32s; }

.trv2-hero .trv2-goldline {
	transform-origin: left center;
	animation: trv2-grow-line 0.7s 0.15s ease both;
}

/* Checks do hero "desenham" o traço na entrada */
@keyframes trv2-draw {
	from { stroke-dashoffset: 24; }
	to   { stroke-dashoffset: 0; }
}

.trv2-hero__facts .trv2-check polyline {
	stroke-dasharray: 24;
	animation: trv2-draw 0.5s 0.55s ease both;
}

/* Plano: elevação no hover; flag do popular ganha leve pulso na entrada */
.trv2-plan {
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trv2-plan:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 34, 51, 0.13), 0 4px 10px rgba(0, 34, 51, 0.07);
}

.trv2-plan--popular:hover { border-color: var(--trv2-green); }

@keyframes trv2-flag-pop {
	0%   { transform: translateX(-50%) scale(0.85); }
	60%  { transform: translateX(-50%) scale(1.08); }
	100% { transform: translateX(-50%) scale(1); }
}

.trv2-plan--popular.is-visible .trv2-plan__flag {
	animation: trv2-flag-pop 0.45s 0.35s ease both;
}

/* Preço pisca suavemente quando a calculadora atualiza (classe via JS) */
@keyframes trv2-price-tick {
	0%   { transform: scale(1);    color: var(--trv2-navy); }
	40%  { transform: scale(1.05); color: var(--trv2-green); }
	100% { transform: scale(1);    color: var(--trv2-navy); }
}

.trv2-plan__price.is-updated {
	animation: trv2-price-tick 0.4s ease;
}

/* Números do processo dão um "pop" quando a seção entra em tela */
@keyframes trv2-num-pop {
	0%   { transform: scale(0.6); }
	70%  { transform: scale(1.15); }
	100% { transform: scale(1); }
}

.trv2-step.is-visible .trv2-step__num {
	animation: trv2-num-pop 0.4s ease both;
}

.trv2-step {
	transition: border-color 0.25s ease;
}

.trv2-step:hover { border-block-start-color: var(--trv2-green); }

.trv2-step:hover .trv2-step__num {
	background: var(--trv2-green);
	color: var(--trv2-navy);
	transition: background-color 0.25s ease, color 0.25s ease;
}

/* Resposta da FAQ desliza ao abrir */
@keyframes trv2-faq-open {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.trv2-faq__item[open] .trv2-faq__a {
	animation: trv2-faq-open 0.25s ease both;
}

.trv2-faq__item {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trv2-faq__item:hover { border-color: var(--trv2-green); }

/* Ícone da garantia balança discretamente ao entrar em tela */
@keyframes trv2-shield {
	0%, 100% { transform: rotate(0); }
	30%      { transform: rotate(-6deg); }
	60%      { transform: rotate(5deg); }
}

.trv2-guarantee.is-visible .trv2-guarantee__icon {
	animation: trv2-shield 0.7s 0.3s ease both;
}

/* Links do formulário: sublinhado que "engrossa" no hover */
.trv2-form__alt a {
	transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.trv2-form__alt a:hover {
	color: var(--trv2-green);
	text-decoration-thickness: 2px;
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
	.trv2 *,
	.trv2 *::before,
	.trv2 *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.trv2-reveal {
		opacity: 1;
		transform: none;
	}
}
