/* Landing pages for the web apps (fr|en/apps/coach.html, fr/apps/messages.html). Loaded after as-default.css,
   whose palette tokens and fonts it reuses; everything is scoped under .lp so the
   legacy class-name rules of as-default.css don't reach it. */

.lp { --wrap: 1120px; overflow-x: clip; }
.lp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lp h1, .lp h2, .lp h3 { margin: 0; }
.lp p { font-size: 1.04rem; }
.lp ul, .lp ol { margin: 0; padding: 0; list-style: none; }
.lp li { margin: 0; padding: 0; }
.lp li::before { content: none; }
.lp .lp-wrap { margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.lp-section { padding: clamp(56px, 9vw, 110px) 0 0; }
.lp-kicker { margin: 0 0 10px; font: 800 .76rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.lp h2 { max-width: 20ch; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); }
.lp-sub { max-width: 62ch; margin: 16px 0 0; color: var(--text); }
.lp h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-weight: 600; line-height: 1.2; color: var(--ink); }

/* ---------- buttons ---------- */
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.lp-btn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px;
	border-radius: 999px; background: var(--crimson); color: #fff; text-decoration: none;
	font: 800 1rem/1 var(--sans); box-shadow: 0 14px 30px -14px rgba(197, 34, 51, .9);
	transition: transform .45s var(--spring), background-color .25s, box-shadow .3s;
}
.lp-btn span { transition: transform .45s var(--spring); }
.lp-btn:hover { color: #fff; background: var(--deep); transform: translateY(-3px); }
.lp-btn:hover span { transform: translateX(4px); }
.lp-btn--ghost { background: #fff; color: var(--wine); box-shadow: var(--shadow); }
.lp-btn--ghost:hover { background: var(--blush); color: var(--deep); }
.lp-btn--light { background: #fff; color: var(--crimson); box-shadow: 0 16px 34px -16px rgba(43, 13, 21, .7); }
.lp-btn--light:hover { background: var(--cream); color: var(--deep); }

/* ---------- hero ---------- */
.lp-hero { padding: clamp(24px, 5vw, 56px) 0 0; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font: 700 .8rem/1.2 var(--sans); color: var(--muted); }
.lp-crumbs a { color: var(--wine); text-decoration: none; }
.lp-crumbs a:hover { color: var(--crimson); text-decoration: underline; }
.lp-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 16px 6px 6px;
	border-radius: 999px; background: #fff; box-shadow: var(--shadow);
	font: 800 .8rem/1.2 var(--sans) !important; letter-spacing: .04em; color: var(--wine);
}
.lp-eyebrow img { border-radius: 8px; }
.lp h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; color: var(--ink); }
.lp h1 em { font-style: italic; color: var(--crimson); }
.lp-lede { max-width: 54ch; margin: 24px 0 0; font-size: clamp(1.06rem, 1.6vw, 1.2rem) !important; line-height: 1.65; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0 !important; }
.lp-chips li { display: flex; align-items: center; gap: 8px; font: 700 .86rem/1.3 var(--sans); color: var(--muted); }
.lp-chips li::before {
	content: "" !important; width: 16px; height: 16px; flex: none; background: var(--rose);
	-webkit-mask: var(--i-heart) center / contain no-repeat; mask: var(--i-heart) center / contain no-repeat;
}

.lp-hero__visual { position: relative; justify-self: center; width: min(100%, 340px); padding: 20px 0; }
.lp-hero__visual::before {
	content: ""; position: absolute; inset: 8% -18% 4%; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(237, 92, 109, .38), transparent);
	filter: blur(10px);
}
.lp-phone {
	margin: 0; padding: 10px; border-radius: 46px; background: var(--ink);
	box-shadow: 0 2px 0 1px rgba(255, 255, 255, .08) inset, 0 50px 90px -40px rgba(95, 2, 31, .75);
	rotate: 3deg; animation: lpFloat 7s ease-in-out infinite;
}
.lp-phone img { display: block; width: 100%; border-radius: 37px; }
.lp-bubble {
	position: absolute; display: flex; align-items: center; gap: 10px; max-width: 240px; margin: 0;
	padding: 10px 16px 10px 10px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg);
	font: 600 .88rem/1.35 var(--sans) !important; color: var(--ink);
	animation: lpPop .9s var(--spring) both;
}
.lp-bubble img { flex: none; border-radius: 50%; }
.lp-bubble b { display: block; font: 800 .68rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.lp-bubble--a { bottom: 30%; left: -24%; border-bottom-left-radius: 6px; animation-delay: .5s; }
.lp-bubble--b { bottom: 4%; right: -14%; border-bottom-right-radius: 6px; animation-delay: .9s; }
@keyframes lpFloat { 50% { translate: 0 -12px; } }
@keyframes lpPop { from { opacity: 0; scale: .6; } }

/* ---------- stats ---------- */
.lp-stats { margin: clamp(48px, 8vw, 90px) 0 0; }
.lp-stats__list {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.lp-stats__list li { padding: 22px 20px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.lp-stats strong { display: block; font: 400 clamp(2rem, 4vw, 2.8rem)/1 var(--serif); letter-spacing: -.03em; color: var(--crimson); }
.lp-stats span { display: block; margin-top: 8px; font: 700 .88rem/1.35 var(--sans); color: var(--muted); }

/* ---------- intro ---------- */
.lp-intro { max-width: 820px; }
.lp-intro h2 { margin-bottom: 20px; }

/* ---------- modules ---------- */
.lp-modules__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: 40px; }
.lp-module { display: flex; flex-direction: column; border-radius: 32px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .6s var(--out), box-shadow .6s var(--out); }
.lp-module:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lp-module figure { position: relative; height: 300px; margin: 0; padding: 26px 26px 0; overflow: hidden; background: linear-gradient(160deg, var(--blush), #fff 80%); }
.lp-module figure img { display: block; width: 78%; margin: 0 auto; border-radius: 26px 26px 0 0; box-shadow: 0 20px 40px -20px rgba(95, 2, 31, .55); transition: transform .8s var(--out); }
.lp-module:hover figure img { transform: translateY(-10px); }
.lp-module > div { padding: 24px 26px 28px; }
.lp-module p { margin: 10px 0 0; }
.lp-num { display: block; margin-bottom: 6px; font: italic 400 1rem/1 var(--serif); color: var(--rose); }

/* ---------- topics ---------- */
.lp-topics__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 40px !important; }
.lp-topic { display: flex; flex-direction: column; border-radius: 28px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.lp-topic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--out); }
.lp-topic:hover img { transform: scale(1.04); }
.lp-topic > div { position: relative; display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; background: #fff; }
.lp-topic p { flex: 1; margin: 8px 0 14px; font-size: .98rem !important; }
.lp-topic a { align-self: flex-start; font: 800 .88rem/1.3 var(--sans); }
@media (min-width: 1000px) {
	/* 3 cards per row on a 6-column grid: a last row of 2 shares the width, a lone last card spans it */
	.lp-topics__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.lp-topic { grid-column: span 2; }
	.lp-topic:nth-child(3n+1):nth-last-child(2), .lp-topic:nth-child(3n+2):last-child { grid-column: span 3; }
	.lp-topic:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
	.lp-topic:last-child:nth-child(3n+1) img { width: calc((100% - 36px) / 3); aspect-ratio: auto; }
	.lp-topic:last-child:nth-child(3n+1) > div { justify-content: center; padding: 28px 32px; }
	.lp-topic:last-child:nth-child(3n+1) p { flex: none; max-width: 60ch; }
}

.lp-note { margin-top: 22px !important; font-size: .95rem !important; color: var(--muted); }

/* ---------- programme ---------- */
.lp-program__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px !important; counter-reset: step; }
.lp-program__list > li { position: relative; padding: 28px 28px 26px 84px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); counter-increment: step; }
.lp-program__list > li::before {
	content: counter(step) !important; position: absolute; left: 24px; top: 26px; display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%; background: var(--crimson); color: #fff; font: 800 1rem/1 var(--sans);
}
.lp-program__list p { margin: 8px 0 16px; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags li { padding: 6px 12px; border-radius: 999px; background: var(--blush); font: 700 .8rem/1.3 var(--sans); color: var(--wine); }

/* ---------- coaches ---------- */
.lp-coaches__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.lp-coach { padding: 30px; border-radius: 32px; background: linear-gradient(150deg, #fff 40%, var(--blush)); box-shadow: var(--shadow); }
.lp-coach img { display: block; width: 88px; height: 88px; margin-bottom: 18px; border: 4px solid #fff; border-radius: 50%; box-shadow: var(--shadow); }
.lp-coach p { margin: 10px 0 0; }

/* ---------- how ---------- */
.lp-how__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px !important; counter-reset: how; }
.lp-how__list li { padding-top: 22px; border-top: 2px solid var(--line); counter-increment: how; }
.lp-how__list li::before { content: "0" counter(how) !important; display: block; margin-bottom: 10px; font: italic 400 2.4rem/1 var(--serif); color: var(--rose); }
.lp-how__list p { margin: 8px 0 0; }

/* ---------- pricing ---------- */
.lp-pricing__list { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 18px; margin-top: 40px; }
.lp-plan { padding: 30px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.lp-plan--premium { background: linear-gradient(155deg, var(--crimson), var(--deep)); color: #fff; box-shadow: var(--shadow-lg); }
.lp-plan--premium h3, .lp-plan--premium strong { color: #fff; }
.lp-plan__price { margin: 12px 0 0 !important; font: 400 2.6rem/1 var(--serif) !important; letter-spacing: -.03em; color: var(--crimson); }
.lp-plan__price small { font: 700 .95rem/1 var(--sans); letter-spacing: 0; }
.lp-plan--premium .lp-plan__price { color: #fff; }
.lp-plan__alt { margin: 8px 0 0 !important; font: 700 .9rem/1.3 var(--sans) !important; color: rgba(255, 255, 255, .78); }
.lp-check { margin-top: 22px !important; }
.lp-check li { position: relative; margin: 10px 0; padding-left: 28px; font-weight: 600; }
.lp-check li::before {
	content: "" !important; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--blush) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c52233' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12 4 4 8-8'/></svg>") center / 12px no-repeat;
}
.lp-plan--premium .lp-check li::before { background-color: rgba(255, 255, 255, .95); }

/* ---------- reviews ---------- */
.lp-quotes__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.lp-quote { margin: 0; padding: 30px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.lp-quote blockquote { margin: 0; padding: 0; border: 0; }
.lp-quote blockquote p { margin: 0; font: italic 400 clamp(1.15rem, 2vw, 1.35rem)/1.45 var(--serif) !important; color: var(--ink); }
.lp-quote blockquote p::before { content: "“"; display: block; height: .5em; margin-bottom: 8px; font: 400 3.4rem/1 var(--serif); color: var(--rose); }
.lp-quote figcaption small { font-weight: 700; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.lp-quote figcaption { margin-top: 18px; font: 800 .8rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }

/* ---------- faq ---------- */
.lp-faq .lp-wrap { max-width: 860px; }
.lp-faq h2 { margin-bottom: 28px; }
.lp-faq details { margin-top: 10px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.lp-faq summary {
	position: relative; padding: 20px 60px 20px 24px; cursor: pointer; list-style: none;
	font: 700 1.04rem/1.4 var(--sans); color: var(--ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
	content: ""; position: absolute; right: 24px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
	background: var(--rose); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat;
	transition: transform .4s var(--spring);
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0; padding: 0 24px 22px; }

/* ---------- message samples (messages landing) ---------- */
.lp-samples__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.lp-sample { padding: 26px 22px 22px; border-radius: 28px; background: linear-gradient(160deg, var(--blush), #fff 70%); box-shadow: var(--shadow); }
.lp-sample h3 { margin-bottom: 16px; }
.lp-sample li { margin-top: 10px; }
.lp-sms {
	display: block; width: fit-content; max-width: 100%; padding: 12px 16px; border-radius: 20px 20px 20px 6px;
	background: #fff; box-shadow: 0 8px 20px -14px rgba(95, 2, 31, .6); text-decoration: none;
	font: 500 .96rem/1.45 var(--sans); color: var(--ink);
	transition: transform .45s var(--spring), background-color .25s, color .25s;
}
.lp-sms:hover, .lp-sms:focus-visible { background: var(--crimson); color: #fff; transform: translateX(6px); }

/* ---------- texting tips (messages landing) ---------- */
.lp-tips__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px !important; counter-reset: tip; }
.lp-tips__list li { padding: 26px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); counter-increment: tip; }
.lp-tips__list li::before { content: counter(tip) !important; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--blush); font: 800 .95rem/1 var(--sans); color: var(--crimson); }
.lp-tips__list p { margin: 8px 0 0; }
.lp-tips .lp-note a { font-weight: 700; }

/* ---------- final cta ---------- */
.lp-cta { margin: clamp(64px, 10vw, 120px) var(--gutter) clamp(48px, 7vw, 80px); padding: clamp(48px, 8vw, 88px) 0; border-radius: 40px; background: radial-gradient(700px 400px at 80% 0%, rgba(237, 92, 109, .55), transparent 60%), linear-gradient(150deg, var(--crimson), var(--deep)); text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.lp-cta img { border-radius: 18px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); }
.lp-cta h2 { max-width: none; margin: 22px 0 10px; color: #fff; }
.lp-cta p { margin: 0 auto 28px; text-align: center; color: rgba(255, 255, 255, .85); }
.lp-cta .lp-cta__more { max-width: 52ch; margin: 28px auto 0; font-size: .92rem !important; }
.lp-cta__more a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.lp-cta__more a:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- reveal on scroll (progressive) ---------- */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.lp-section > .lp-wrap > *, .lp-stats__list > li, .lp-cta {
			animation: lpRise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
		}
	}
}
@keyframes lpRise { from { opacity: 0; translate: 0 36px; } }
@media (prefers-reduced-motion: reduce) {
	.lp-phone, .lp-bubble { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.lp-modules__list { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.lp-samples__list, .lp-tips__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-module { flex-direction: row; }
	.lp-module figure { flex: 0 0 38%; height: auto; min-height: 240px; padding: 20px 16px 0; }
	.lp-module figure img { width: 100%; }
}
@media (max-width: 860px) {
	.lp-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.lp-hero__visual { width: min(78%, 300px); margin-top: 8px; }
	.lp-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-program__list, .lp-coaches__list, .lp-quotes__list { grid-template-columns: minmax(0, 1fr); }
	.lp-how__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.lp-samples__list, .lp-tips__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.lp-actions .lp-btn { flex: 1 1 100%; justify-content: center; }
	.lp-bubble { max-width: 200px; font-size: .8rem !important; }
	.lp-bubble--a { left: -14%; }
	.lp-bubble--b { right: -12%; }
	.lp-module { flex-direction: column; }
	.lp-module figure { flex: none; height: 260px; }
	.lp-module figure img { width: 72%; }
	.lp-program__list > li { padding: 76px 22px 22px; }
	.lp-program__list > li::before { top: 22px; left: 22px; }
	.lp-pricing__list { grid-template-columns: minmax(0, 1fr); }
	.lp-cta { border-radius: 30px; }
	.lp-cta .lp-wrap { padding: 0 20px; }
}
