/**
 * Page "Résiliation" — intégration fidèle de la référence Claude Design
 * (claude-design-reference/resiliation/TNT Plus France - Résiliation.dc.html).
 * Réutilise variables.css/base.css/components.css (tp-container, tp-h2,
 * tp-btn, tp-eyebrow-pill, tp-pulse-dot, tp-reveal…) — uniquement les
 * styles propres à cette page ci-dessous.
 */

/* ================= HERO ================= */
.tp-res-hero { position: relative; z-index: 1; padding: clamp(32px, 3.6vw, 54px) 0 clamp(22px, 2.6vw, 32px); overflow: hidden; }
.tp-res-hero__glow {
	position: absolute; left: 12%; top: -40px; width: min(600px, 90vw); height: 260px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(15, 122, 61, .22), transparent 72%); filter: blur(34px);
}
.tp-res-hero__inner { position: relative; }
.tp-res-hero__title { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -.032em; margin: 0 0 16px; max-width: 760px; text-wrap: pretty; }
.tp-res-hero__lead { font-size: 16.5px; line-height: 1.66; color: var(--tp-text-muted); margin: 0 0 18px; max-width: 620px; text-wrap: pretty; }
.tp-res-hero__disclaimer {
	font-size: 14px; line-height: 1.62; color: #d7e3da; max-width: 620px; margin: 0 0 26px;
	padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(31, 140, 74, .35); background: rgba(15, 122, 61, .1);
	text-wrap: pretty;
}

/* ================= AVANT DE COMMENCER ================= */
.tp-res-steps-section { position: relative; z-index: 1; padding: clamp(24px, 3vw, 44px) 0; }
.tp-res-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--tp-green-300); margin-bottom: 14px; }
.tp-res-steps-title { font-size: clamp(21px, 2.3vw, 30px); letter-spacing: -.022em; margin: 0 0 clamp(24px, 2.8vw, 36px); }
.tp-res-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.tp-res-steps__item { padding-top: 18px; border-top: 1px solid var(--tp-border); }
.tp-res-steps__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tp-res-steps__n { font-family: var(--font-mono); font-size: 10px; color: var(--tp-green-300); }
.tp-res-steps__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--tp-text-soft); }
.tp-res-steps__text { font-size: 14.5px; line-height: 1.64; color: #8b928c; margin: 0; text-wrap: pretty; }

/* ================= FORMULAIRE (carte) ================= */
.tp-res-form-section { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: clamp(24px, 3vw, 42px) var(--tp-gutter) clamp(20px, 2.4vw, 30px); scroll-margin-top: 110px; }
.tp-res-card {
	position: relative; padding: clamp(22px, 3vw, 44px); border-radius: 20px; border: 1px solid var(--tp-border);
	background: linear-gradient(170deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
	box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 70px rgba(15, 122, 61, .07);
}
.tp-res-card__title { font-size: clamp(21px, 2.3vw, 29px); letter-spacing: -.022em; margin: 0 0 10px; }
.tp-res-card__lead { font-size: 15px; line-height: 1.65; color: var(--tp-text-muted); margin: 0 0 24px; text-wrap: pretty; }

.tp-res-notice {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 13px 16px; margin-bottom: 24px; border-radius: 11px;
	border: 1px solid var(--tp-border-2); background: rgba(255, 255, 255, .02); font-size: 13.5px; color: #8b928c;
}
.tp-res-notice a { font-weight: 600; }
.tp-res-notice__muted { color: var(--tp-text-mute4); }
.tp-res-notice--ok { border-color: rgba(31, 140, 74, .35); background: rgba(15, 122, 61, .1); color: #d7e3da; gap: 10px 12px; }
.tp-res-notice--ok .tp-res-notice__check { color: var(--tp-green-400); }

.tp-res-form { display: flex; flex-direction: column; gap: 22px; }
.tp-res-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }

.tp-res-field { display: flex; flex-direction: column; gap: 8px; }
.tp-res-field__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--tp-text-muted); }
.tp-res-field__optional {
	font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; color: var(--tp-text-mute3);
	border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--tp-radius-pill); padding: 3px 8px;
}
.tp-res-field__input {
	padding: 15px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: #0b0d0b; color: var(--tp-white);
	font-size: 14.5px; min-height: 50px; font-family: var(--font-body); transition: border-color .3s ease, box-shadow .3s ease;
}
select.tp-res-field__input { appearance: none; }
textarea.tp-res-field__input { line-height: 1.6; resize: vertical; }
.tp-res-field__hint { font-size: 12.5px; line-height: 1.6; color: var(--tp-text-mute3); }
.tp-res-field__error { font-size: 12.5px; line-height: 1.5; color: #e2725a; }
.tp-res-field.has-error .tp-res-field__input { border-color: #e2725a; }

.tp-res-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.tp-res-offer {
	display: flex; align-items: center; gap: 12px; padding: 16px; min-height: 56px; border-radius: 12px; cursor: pointer;
	font-family: var(--font-body); text-align: left; color: var(--tp-text-soft); border: 1px solid rgba(255, 255, 255, .1); background: #0b0d0b;
	transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.tp-res-offer:hover { border-color: rgba(31, 140, 74, .55); }
.tp-res-offer.is-active { color: #fff; border-color: rgba(31, 140, 74, .65); background: rgba(15, 122, 61, .14); }
.tp-res-offer__dot-wrap { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); flex: none; }
.tp-res-offer__dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background .25s ease; }
.tp-res-offer.is-active .tp-res-offer__dot { background: var(--tp-green-400); }
.tp-res-offer__label { font-size: 14.5px; font-weight: 600; line-height: 1.4; }

.tp-res-stick { padding: 17px 19px; border-radius: 12px; border: 1px solid rgba(31, 140, 74, .35); background: rgba(15, 122, 61, .09); }
.tp-res-stick__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--tp-green-300); margin-bottom: 9px; }
.tp-res-stick__text { font-size: 14px; line-height: 1.65; color: var(--tp-text-soft); margin: 0; text-wrap: pretty; }

.tp-res-recap { padding: 20px; border-radius: 14px; border: 1px solid var(--tp-border); background: rgba(255, 255, 255, .022); }
.tp-res-recap__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--tp-green-300); margin-bottom: 16px; }
.tp-res-recap__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 18px; }
.tp-res-recap__label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--tp-text-mute3); margin-bottom: 8px; }
.tp-res-recap__value { font-size: 14.5px; line-height: 1.55; color: var(--tp-text); overflow-wrap: anywhere; }
.tp-res-recap__foot { margin-top: 16px; font-size: 12.5px; color: var(--tp-text-mute3); }

.tp-res-submit { width: 100%; font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: #fff; background: var(--tp-green-700); border: none; padding: 19px 30px; border-radius: var(--tp-radius-pill); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 44px rgba(11, 92, 46, .45); transition: background .25s ease, transform .25s ease; }
.tp-res-submit:hover { background: var(--tp-green-600); transform: translateY(-2px); }
.tp-res-submit:disabled { opacity: .6; cursor: default; transform: none; }
.tp-res-submit__note { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--tp-text-mute3); }
.tp-res-form__error { margin-top: -6px; font-size: 13px; line-height: 1.6; color: #e2725a; }

/* ================= CONFIRMATION ================= */
.tp-res-confirm { animation: tpResStep .6s cubic-bezier(.2, .7, .2, 1) both; padding: clamp(6px, 1vw, 14px) 0; }
@keyframes tpResStep { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tp-res-confirm__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(31, 140, 74, .5); background: rgba(15, 122, 61, .14); color: var(--tp-green-400); font-size: 19px; margin-bottom: 22px; }
.tp-res-confirm__title { font-size: clamp(21px, 2.3vw, 29px); letter-spacing: -.022em; margin: 0 0 12px; text-wrap: pretty; }
.tp-res-confirm__text { font-size: 15px; line-height: 1.68; color: var(--tp-text-muted); margin: 0 0 22px; max-width: 600px; text-wrap: pretty; }
.tp-res-confirm__foot { font-size: 13px; line-height: 1.65; color: var(--tp-text-mute3); margin: 18px 0 0; max-width: 600px; }
.tp-res-confirm__reset { margin-top: 20px; font-size: 13.5px; color: #8b928c; }

/* ================= ET ENSUITE (flux) ================= */
.tp-res-flow-section { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: clamp(18px, 2.4vw, 30px) var(--tp-gutter) clamp(30px, 3.4vw, 46px); }
.tp-res-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tp-res-flow__step { display: flex; align-items: center; gap: 12px 16px; }
.tp-res-flow__pill {
	display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: var(--tp-radius-pill);
	border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .02); font-size: 13.5px; font-weight: 600;
	color: #8b928c; white-space: nowrap; transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.tp-res-flow__dot { width: 6px; height: 6px; border-radius: 50%; background: #3c423d; flex: none; transition: background .3s ease; }
.tp-res-flow__step.is-active .tp-res-flow__pill { border-color: rgba(31, 140, 74, .6); background: rgba(15, 122, 61, .14); color: #fff; }
.tp-res-flow__step.is-active .tp-res-flow__dot { background: var(--tp-green-400); }
.tp-res-flow__arrow { color: #4a504b; font-size: 13px; }

/* ================= AIDE ================= */
.tp-res-help-section { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 0 var(--tp-gutter) clamp(50px, 6vw, 86px); }
.tp-res-help { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: clamp(20px, 2.2vw, 28px); border-radius: 16px; border: 1px solid var(--tp-border-2); background: rgba(255, 255, 255, .018); }
.tp-res-help__title { flex: 1 1 280px; min-width: 0; font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: -.015em; margin: 0; text-wrap: pretty; }
.tp-res-help__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
	.tp-res-confirm { animation: none !important; }
}
