/* ==========================================================================
   Formation Nextgen CRM — direction artistique Next Web Marketing
   (nextwebmarket.com : fond nuit, dégradé violet → bleu → vert,
   Golos Text + JetBrains Mono). Tout est préfixé .tfmf pour ne pas toucher au thème.
   ========================================================================== */

.tfmf {
	--nw-bg: #03071C;
	--nw-surface: #0D1228;
	--nw-surface-2: #11162A;
	--nw-line: rgba(255, 255, 255, .09);
	--nw-line-strong: rgba(255, 255, 255, .18);
	--nw-text: #FFFFFF;
	--nw-soft: #F0F0F1;
	--nw-muted: rgba(255, 255, 255, .62);
	--nw-violet: #885EFE;
	--nw-indigo: #5B49F5;
	--nw-blue: #5391E4;
	--nw-green: #61CE70;
	--nw-lavender: #C0B1FF;
	--nw-grad: linear-gradient(90deg, #885EFE 0%, #5391E4 47%, #61CE70 100%);
	--nw-font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nw-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--nw-radius: 20px;
	--nw-radius-sm: 12px;
	--nw-ease: cubic-bezier(.2, .7, .2, 1);

	font-family: var(--nw-font);
	font-size: 17px;
	line-height: 1.5;
	color: var(--nw-text);
	-webkit-font-smoothing: antialiased;
}

.tfmf *,
.tfmf *::before,
.tfmf *::after { box-sizing: border-box; }

.tfmf h2, .tfmf h3, .tfmf p, .tfmf ul, .tfmf ol, .tfmf dl, .tfmf dd, .tfmf dt {
	margin: 0;
	padding: 0;
	font-family: var(--nw-font);
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.tfmf ul, .tfmf ol { list-style: none; }

.tfmf--inline { display: inline-block; }

/* Page entière : fond nuit */
.tfmf:not(.tfmf--inline):not(.tfmf-modal) {
	position: relative;
	background: var(--nw-bg);
	border-radius: var(--nw-radius);
	overflow: hidden;
}

.tfmf-wrap {
	position: relative;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 48px);
}
.tfmf-wrap--narrow { max-width: 820px; }

.tfmf .tfmf-gradient {
	background: var(--nw-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Boutons (mono, majuscules — comme le menu de nextwebmarket.com)
   -------------------------------------------------------------------------- */
.tfmf .tfmf-btn,
.tfmf-modal .tfmf-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 10px;
	background: var(--nw-grad);
	color: #fff;
	font-family: var(--nw-mono);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 28px -10px rgba(136, 94, 254, .7);
	transition: transform .2s var(--nw-ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.tfmf .tfmf-btn:hover,
.tfmf-modal .tfmf-btn:hover {
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 14px 36px -10px rgba(136, 94, 254, .85);
}
.tfmf .tfmf-btn:active { transform: translateY(0); }

.tfmf .tfmf-btn:focus-visible,
.tfmf-modal .tfmf-btn:focus-visible,
.tfmf summary:focus-visible,
.tfmf-modal .tfmf-modal__close:focus-visible { outline: 2px solid var(--nw-lavender); outline-offset: 3px; }

.tfmf-btn__arrow { font-family: var(--nw-font); transition: transform .2s var(--nw-ease); }
.tfmf-btn:hover .tfmf-btn__arrow { transform: translateX(3px); }

/* Contour blanc arrondi (bouton « Get started » du site) */
.tfmf .tfmf-btn--ghost,
.tfmf .tfmf-btn--outline {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .75);
	border-radius: 999px;
	box-shadow: none;
}
.tfmf .tfmf-btn--ghost:hover,
.tfmf .tfmf-btn--outline:hover {
	background: rgba(255, 255, 255, .06);
	border-color: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .06);
}

/* Bouton nuit (sur le bandeau en dégradé) */
.tfmf .tfmf-btn--dark,
.tfmf-modal .tfmf-btn--dark {
	background: var(--nw-bg);
	color: #fff;
	box-shadow: 0 10px 30px -12px rgba(3, 7, 28, .9);
}
.tfmf .tfmf-btn--dark:hover,
.tfmf-modal .tfmf-btn--dark:hover { background: #0D1228; color: #fff; }

/* Bouton seul [nextgen_devis_button style="secondary"], posé sur un fond clair */
.tfmf--inline .tfmf-btn--ghost-dark {
	background: transparent;
	color: var(--nw-bg);
	border: 1.5px solid var(--nw-bg);
	border-radius: 999px;
	box-shadow: none;
}
.tfmf--inline .tfmf-btn--ghost-dark:hover { color: var(--nw-bg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.tfmf-hero {
	position: relative;
	padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 64px);
	text-align: center;
	background:
		radial-gradient(50% 60% at 50% 0%, rgba(91, 73, 245, .30), transparent 70%),
		radial-gradient(35% 45% at 85% 20%, rgba(83, 145, 228, .14), transparent 70%),
		radial-gradient(35% 45% at 15% 30%, rgba(136, 94, 254, .14), transparent 70%),
		var(--nw-bg);
}
.tfmf-hero::after {
	/* fines lignes en arc, rappel du décor du site */
	content: "";
	position: absolute;
	inset: auto -10% -40% -10%;
	height: 70%;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 50% 50% 0 0;
	pointer-events: none;
}

.tfmf .tfmf-kicker,
.tfmf .tfmf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px;
	border-radius: 8px;
	background: rgba(192, 177, 255, .1);
	color: var(--nw-lavender);
	font-family: var(--nw-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.2;
}
.tfmf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nw-green); box-shadow: 0 0 0 4px rgba(97, 206, 112, .18); }

.tfmf .tfmf-hero__title {
	max-width: 15ch;
	margin: 24px auto 0;
	font-size: clamp(38px, 7vw, 84px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.05em;
	color: #fff;
	text-wrap: balance;
}

.tfmf .tfmf-hero__title .tfmf-gradient { white-space: nowrap; }

.tfmf .tfmf-hero__text {
	max-width: 58ch;
	margin: 24px auto 0;
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.5;
	color: var(--nw-muted);
}

.tfmf-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.tfmf .tfmf-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 880px;
	margin: clamp(48px, 7vw, 80px) auto 0;
	border: 1px solid var(--nw-line);
	border-radius: var(--nw-radius-sm);
	background: rgba(255, 255, 255, .03);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	text-align: left;
}
.tfmf-stats > div { padding: 20px 22px; }
.tfmf-stats > div + div { border-left: 1px solid var(--nw-line); }
.tfmf .tfmf-stats dt { font-family: var(--nw-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--nw-muted); }
.tfmf .tfmf-stats dd { margin-top: 6px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: #fff; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.tfmf-section { position: relative; padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--nw-line); }
.tfmf-section__head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }

.tfmf .tfmf-h2 {
	margin-top: 16px;
	font-size: clamp(30px, 4.6vw, 52px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.045em;
	color: #fff;
	text-wrap: balance;
}
.tfmf .tfmf-lead { margin-top: 16px; font-size: 17px; color: var(--nw-muted); }

.tfmf .tfmf-list li {
	position: relative;
	padding-left: 22px;
	margin-top: 10px;
	font-size: 15px;
	color: var(--nw-muted);
}
.tfmf .tfmf-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--nw-grad);
}

/* --------------------------------------------------------------------------
   Programme
   -------------------------------------------------------------------------- */
.tfmf-programme { background: radial-gradient(40% 30% at 0% 10%, rgba(136, 94, 254, .10), transparent 70%), var(--nw-bg); }

.tfmf-phase {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(20px, 4vw, 56px);
	padding: clamp(28px, 4vw, 44px) 0;
	border-top: 1px solid var(--nw-line);
}
.tfmf-phase:first-child { border-top: 0; padding-top: 0; }

.tfmf-phase__aside { display: flex; gap: 20px; align-items: flex-start; position: sticky; top: 96px; align-self: start; }
.tfmf .tfmf-phase__num {
	flex: none;
	font-size: clamp(44px, 5.5vw, 72px);
	font-weight: 700;
	line-height: .9;
	letter-spacing: -.06em;
	font-variant-numeric: tabular-nums;
	background: var(--nw-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.tfmf .tfmf-phase__label { font-family: var(--nw-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--nw-lavender); }
.tfmf .tfmf-phase__title { margin-top: 8px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: #fff; }
.tfmf .tfmf-phase__tagline { margin-top: 10px; font-size: 15px; color: var(--nw-muted); }

.tfmf-modules { display: grid; gap: 10px; }

.tfmf-module {
	border: 1px solid var(--nw-line);
	border-radius: var(--nw-radius-sm);
	background: var(--nw-surface);
	transition: border-color .2s, background-color .2s;
}
.tfmf-module:hover { border-color: var(--nw-line-strong); }
.tfmf-module[open] {
	border-color: transparent;
	background:
		linear-gradient(var(--nw-surface), var(--nw-surface)) padding-box,
		linear-gradient(135deg, rgba(136, 94, 254, .8), rgba(83, 145, 228, .5), rgba(97, 206, 112, .6)) border-box;
	border: 1px solid transparent;
}

.tfmf .tfmf-module__summary,
.tfmf .tfmf-faq__item summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	color: #fff;
	background: none;
	border: 0;
}
.tfmf .tfmf-module__summary::-webkit-details-marker,
.tfmf .tfmf-faq__item summary::-webkit-details-marker { display: none; }
.tfmf .tfmf-module__summary::marker,
.tfmf .tfmf-faq__item summary::marker { content: ""; }

.tfmf-module__num { flex: none; font-family: var(--nw-mono); font-size: 12px; font-weight: 700; color: var(--nw-lavender); font-variant-numeric: tabular-nums; }
.tfmf-module__title { flex: 1; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; }
.tfmf-module__hours {
	flex: none;
	padding: 4px 9px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
	color: var(--nw-soft);
	font-family: var(--nw-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	white-space: nowrap;
}
.tfmf-module__icon { position: relative; flex: none; width: 14px; height: 14px; color: var(--nw-muted); }
.tfmf-module__icon::before,
.tfmf-module__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 2px;
	margin-top: -1px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s var(--nw-ease);
}
.tfmf-module__icon::after { transform: rotate(90deg); }
details[open] > summary .tfmf-module__icon { color: #fff; }
details[open] > summary .tfmf-module__icon::after { transform: rotate(0deg); }

.tfmf-module__body { padding: 0 20px 20px; }
.tfmf .tfmf-module__objective { font-size: 15px; color: var(--nw-soft); }
.tfmf .tfmf-module__objective strong { font-weight: 700; color: var(--nw-lavender); }
.tfmf-module__body .tfmf-list { margin-top: 6px; }
.tfmf .tfmf-module__exercise {
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid rgba(136, 94, 254, .35);
	border-radius: 10px;
	background: linear-gradient(90deg, rgba(136, 94, 254, .16), rgba(83, 145, 228, .08) 60%, rgba(97, 206, 112, .08));
	color: #fff;
	font-size: 14px;
	font-weight: 500;
}
.tfmf .tfmf-module__exercise span {
	display: block;
	margin-bottom: 4px;
	font-family: var(--nw-mono);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--nw-green);
}

/* --------------------------------------------------------------------------
   Formules
   -------------------------------------------------------------------------- */
.tfmf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }

.tfmf-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--nw-line);
	border-radius: var(--nw-radius);
	background: var(--nw-surface);
}
.tfmf-card .tfmf-btn { margin-top: auto; align-self: flex-start; }
.tfmf .tfmf-card__badge {
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--nw-grad);
	color: #fff;
	font-family: var(--nw-mono);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.tfmf .tfmf-card__title { font-size: 26px; font-weight: 700; letter-spacing: -.035em; color: #fff; }
.tfmf .tfmf-card__meta { font-family: var(--nw-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--nw-lavender); }
.tfmf .tfmf-card__price { font-size: 32px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: #fff; }
.tfmf .tfmf-card__desc { font-size: 15px; color: var(--nw-muted); padding-bottom: 8px; }

.tfmf-card.is-featured {
	border: 1.5px solid transparent;
	background:
		linear-gradient(180deg, #161B38, var(--nw-surface)) padding-box,
		var(--nw-grad) border-box;
	box-shadow: 0 30px 60px -30px rgba(136, 94, 254, .6);
}

/* --------------------------------------------------------------------------
   Modalités
   -------------------------------------------------------------------------- */
.tfmf-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tfmf-pill {
	padding: 8px 14px;
	border: 1px solid var(--nw-line-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--nw-soft);
}

.tfmf-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tfmf-info { padding: 26px; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); background: var(--nw-surface); }
.tfmf .tfmf-info__title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #fff; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.tfmf-faq__item { border-top: 1px solid var(--nw-line); }
.tfmf-faq__item:last-child { border-bottom: 1px solid var(--nw-line); }
.tfmf .tfmf-faq__item summary { padding: 22px 0; justify-content: space-between; font-size: 17px; }
.tfmf .tfmf-faq__item p { padding: 0 0 22px; color: var(--nw-muted); max-width: 65ch; font-size: 16px; }

/* --------------------------------------------------------------------------
   Bandeau final (dégradé de la marque)
   -------------------------------------------------------------------------- */
.tfmf-cta { position: relative; padding: clamp(48px, 7vw, 80px) 0; background: var(--nw-grad); color: #fff; overflow: hidden; }
.tfmf-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 120% at 100% 100%, rgba(3, 7, 28, .35), transparent 60%);
	pointer-events: none;
}
.tfmf-cta .tfmf-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.tfmf .tfmf-cta__title { font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; max-width: 20ch; color: #fff; }
.tfmf .tfmf-cta__title .tfmf-gradient { background: none; color: var(--nw-bg); -webkit-text-fill-color: var(--nw-bg); }
.tfmf .tfmf-cta__text { margin-top: 12px; max-width: 55ch; color: rgba(255, 255, 255, .88); }

/* --------------------------------------------------------------------------
   Modale de devis — fond nuit, champs WPForms adaptés
   -------------------------------------------------------------------------- */
.tfmf-modal[hidden] { display: none !important; }

.tfmf-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: transparent;
}

.tfmf-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 7, 28, .78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .25s ease;
}

.tfmf-modal__panel {
	position: relative;
	width: 100%;
	max-width: 620px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--nw-line-strong);
	border-radius: var(--nw-radius);
	background:
		radial-gradient(80% 50% at 50% 0%, rgba(91, 73, 245, .22), transparent 70%),
		var(--nw-surface);
	box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7);
	opacity: 0;
	transform: translateY(16px) scale(.98);
	transition: opacity .25s ease, transform .3s var(--nw-ease);
	outline: none;
}

.tfmf-modal.is-open .tfmf-modal__backdrop { opacity: 1; }
.tfmf-modal.is-open .tfmf-modal__panel { opacity: 1; transform: none; }

.tfmf-modal .tfmf-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--nw-line-strong);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-family: var(--nw-font);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.tfmf-modal .tfmf-modal__close:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }

.tfmf-modal .tfmf-modal__title {
	margin: 0 48px 0 0;
	font-family: var(--nw-font);
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1.08;
	color: #fff;
}
.tfmf-modal .tfmf-modal__formule {
	display: inline-block;
	margin: 14px 0 0;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(192, 177, 255, .12);
	color: var(--nw-lavender);
	font-family: var(--nw-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.tfmf-modal .tfmf-modal__formule[hidden] { display: none; }
.tfmf-modal .tfmf-modal__text { margin: 14px 0 0; color: var(--nw-muted); font-size: 15px; line-height: 1.5; }
.tfmf-modal__form { margin-top: 24px; }
.tfmf-modal .tfmf-modal__notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 196, 0, .12); color: #ffe6a3; font-size: 14px; }
.tfmf-modal .tfmf-modal__notice a { color: #fff; }

/* WPForms : variables du style « moderne » (WPForms 1.8+) */
.tfmf-modal .wpforms-container {
	--wpforms-field-background-color: rgba(255, 255, 255, .04);
	--wpforms-field-border-color: rgba(255, 255, 255, .16);
	--wpforms-field-border-radius: 10px;
	--wpforms-field-text-color: #ffffff;
	--wpforms-field-menu-color: #0D1228;
	--wpforms-label-color: #F0F0F1;
	--wpforms-label-sublabel-color: rgba(255, 255, 255, .55);
	--wpforms-label-error-color: #ff8a8a;
	--wpforms-button-background-color: #885EFE;
	--wpforms-button-text-color: #ffffff;
	--wpforms-button-border-radius: 10px;
	--wpforms-page-break-color: #885EFE;
	margin: 0 !important;
}

/* WPForms : style « classique » et thèmes qui écrasent les variables */
.tfmf-modal .wpforms-form .wpforms-field-label,
.tfmf-modal .wpforms-form label { color: var(--nw-soft) !important; font-family: var(--nw-font); }
.tfmf-modal .wpforms-form .wpforms-field-sublabel,
.tfmf-modal .wpforms-form .wpforms-field-description { color: rgba(255, 255, 255, .55) !important; }
.tfmf-modal .wpforms-form .wpforms-required-label { color: var(--nw-lavender) !important; }

.tfmf-modal .wpforms-form input[type="text"],
.tfmf-modal .wpforms-form input[type="email"],
.tfmf-modal .wpforms-form input[type="tel"],
.tfmf-modal .wpforms-form input[type="number"],
.tfmf-modal .wpforms-form input[type="url"],
.tfmf-modal .wpforms-form select,
.tfmf-modal .wpforms-form textarea {
	width: 100%;
	max-width: 100% !important;
	padding: 12px 14px !important;
	border: 1px solid rgba(255, 255, 255, .16) !important;
	border-radius: 10px !important;
	background-color: rgba(255, 255, 255, .04) !important;
	color: #fff !important;
	font-family: var(--nw-font) !important;
	font-size: 15px !important;
	box-shadow: none !important;
	transition: border-color .2s, box-shadow .2s;
}
.tfmf-modal .wpforms-form select option { background: #0D1228; color: #fff; }
.tfmf-modal .wpforms-form input::placeholder,
.tfmf-modal .wpforms-form textarea::placeholder { color: rgba(255, 255, 255, .38) !important; }
.tfmf-modal .wpforms-form input:focus,
.tfmf-modal .wpforms-form select:focus,
.tfmf-modal .wpforms-form textarea:focus {
	border-color: var(--nw-violet) !important;
	box-shadow: 0 0 0 3px rgba(136, 94, 254, .28) !important;
	outline: none !important;
}

.tfmf-modal .wpforms-submit-container { padding-top: 18px !important; }
.tfmf-modal .wpforms-form button[type="submit"] {
	min-height: 48px;
	padding: 12px 26px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--nw-grad) !important;
	color: #fff !important;
	font-family: var(--nw-mono) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	cursor: pointer;
	box-shadow: 0 8px 28px -10px rgba(136, 94, 254, .7) !important;
	transition: transform .2s, box-shadow .2s;
}
.tfmf-modal .wpforms-form button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px -10px rgba(136, 94, 254, .85) !important;
}
.tfmf-modal .wpforms-confirmation-container-full {
	border: 1px solid rgba(97, 206, 112, .45) !important;
	border-radius: 12px !important;
	background: rgba(97, 206, 112, .1) !important;
	color: #fff !important;
}

html.tfmf-lock,
html.tfmf-lock body { overflow: hidden !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
	.tfmf-phase { grid-template-columns: 1fr; }
	.tfmf-phase__aside { position: static; }
}

@media (max-width: 640px) {
	.tfmf .tfmf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tfmf-stats > div { padding: 16px; }
	.tfmf-stats > div:nth-child(3) { border-left: 0; }
	.tfmf-stats > div:nth-child(n+3) { border-top: 1px solid var(--nw-line); }
	.tfmf-hero__actions .tfmf-btn { flex: 1 1 100%; }
	.tfmf .tfmf-module__summary { flex-wrap: wrap; gap: 8px 12px; padding: 16px; }
	.tfmf-module__title { flex: 1 1 calc(100% - 80px); order: 1; }
	.tfmf-module__num { order: 0; }
	.tfmf-module__hours { order: 2; }
	.tfmf-module__icon { order: 3; margin-left: auto; }
	.tfmf-module__body { padding: 0 16px 16px; }
	.tfmf-card { padding: 24px; }
	.tfmf-cta .tfmf-btn { width: 100%; }
	.tfmf-modal { align-items: flex-end; padding: 0; }
	.tfmf-modal__panel { max-height: 92vh; max-height: 92dvh; border-radius: var(--nw-radius) var(--nw-radius) 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.tfmf *, .tfmf-modal * { transition: none !important; }
}
