/**
 * Page Time2chat (template_time2chat.php).
 * Univers de la marque : bleu nuit + jaune, Raleway (titres) / Open Sans (texte).
 * Motif : la bulle de SMS.
 */

.t2c {
	--t2c-navy: var(--smsreflex-darkblue, #002068);
	--t2c-yellow: var(--smsreflex-yellow, #F5BC00);
	--t2c-yellow-strong: #E0AC00;
	--t2c-ink: #1B2340;        /* titres : bleu nuit adouci, 15:1 sur blanc */
	--t2c-text: #474E66;       /* texte courant : 8:1 sur blanc, 7,4:1 sur le fond teinté */
	--t2c-tint: #F3F5FA;       /* fond de section, teinté du bleu de marque */
	--t2c-line: #DDE2EE;
	--t2c-bubble-in: #E9ECF4;
	--t2c-radius: 14px;
	--t2c-shadow: 0 12px 32px -12px rgba(0, 32, 104, 0.22);
	--t2c-section-space: clamp(56px, 8vw, 104px);

	color: var(--t2c-text);
	font-size: 16px;
	line-height: 1.65;
}

.t2c ::selection {
	background: var(--t2c-yellow);
	color: var(--t2c-navy);
}

.t2c .breadcrumbs {
	margin-bottom: 0;
}

.t2c-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 16px;
}

.t2c-center {
	text-align: center;
}

.t2c-narrow,
.t2c p.t2c-narrow {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.t2c-section {
	padding: var(--t2c-section-space) 0;
}

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

/* Titres */
.t2c h1,
.t2c h2,
.t2c h3 {
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	color: var(--t2c-ink);
	text-transform: none;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.t2c-h2 {
	font-size: clamp(1.75rem, 3vw, 2.375rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
}

.t2c-h2 + .t2c-lead {
	margin-top: -4px;
}

.t2c-h3 {
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

.t2c p {
	margin: 0 0 16px;
}

.t2c-lead {
	font-size: 1.1875rem;
	line-height: 1.55;
	color: var(--t2c-ink);
}

.t2c p.t2c-note {
	font-size: 0.875rem;
	margin-top: 24px;
}

/* Surlignage jaune de la marque (même geste que « SERVICES » sur l'accueil). */
.t2c .t2c_brand {
	color: var(--t2c-navy);
	background: linear-gradient(transparent 58%, var(--t2c-yellow) 58%, var(--t2c-yellow) 92%, transparent 92%);
	padding: 0 0.08em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Boutons */
.t2c-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin: 28px 0 0;
}

.t2c-actions--center {
	justify-content: center;
}

.t2c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 8px;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
}

.t2c-btn:hover,
.t2c-btn:focus-visible {
	text-decoration: none;
}

.t2c-btn--primary {
	background: var(--t2c-yellow);
	color: var(--t2c-navy); /* 9:1, le blanc sur jaune de l'ancienne page était illisible */
}

.t2c-btn--primary:hover {
	background: var(--t2c-yellow-strong);
	color: var(--t2c-navy);
}

.t2c-btn--link {
	min-height: 48px;
	padding: 12px 4px;
	color: var(--t2c-navy);
	text-decoration: underline;
	text-underline-offset: 0.25em;
	text-decoration-thickness: 2px;
}

.t2c-btn--link:hover {
	color: var(--t2c-navy);
	text-decoration-color: var(--t2c-yellow);
}

.t2c-btn--ghost {
	border: 2px solid rgba(255, 255, 255, 0.7);
	color: #FFFFFF;
}

.t2c-btn--ghost:hover {
	border-color: #FFFFFF;
	background: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

.t2c-cta .t2c-btn:focus-visible {
	outline-color: var(--t2c-yellow);
}

/* Hero */
.t2c-hero {
	padding: clamp(40px, 6vw, 88px) 0 var(--t2c-section-space);
}

.t2c-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.t2c .t2c-hero__title {
	font-size: clamp(2.25rem, 4.6vw, 3.5rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
}

.t2c-hero__lead {
	font-size: 1.1875rem;
	line-height: 1.6;
	max-width: 34em;
}

.t2c-proof {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 0.9375rem;
	color: var(--t2c-ink);
}

.t2c-proof li,
.t2c-checks li {
	position: relative;
	padding-left: 26px;
}

.t2c-proof li::before,
.t2c-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--t2c-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23002068' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.t2c-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 520px;
	margin-left: auto;
}

/* Bulles SMS */
.t2c-bubble {
	position: relative;
	max-width: 85%;
	padding: 12px 16px;
	border-radius: 20px;
	font-size: 0.9875rem;
	line-height: 1.45;
}

.t2c .t2c-bubble {
	margin: 0;
}

.t2c-bubble--in {
	background: var(--t2c-bubble-in);
	color: var(--t2c-ink);
	border-bottom-left-radius: 6px;
}

.t2c-bubble--out {
	align-self: flex-end;
	background: var(--t2c-navy);
	color: #FFFFFF;
	border-bottom-right-radius: 6px;
}

/* Section « c'est quoi » : fil de conversation */
.t2c-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}

.t2c-thread {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 24px 20px 20px;
	background: #FFFFFF;
	border: 1px solid var(--t2c-line);
	border-radius: 28px;
	box-shadow: var(--t2c-shadow);
	max-width: 400px;
}

.t2c .t2c-thread__number {
	margin: 0 0 8px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--t2c-line);
	text-align: center;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	color: var(--t2c-ink);
}

.t2c-thread__caption {
	margin-top: 6px;
	text-align: center;
	font-size: 0.8125rem;
	color: #5E657C;
}

/* Piliers */
.t2c-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 48px;
	margin-top: 48px;
}

.t2c-pillar {
	padding-top: 24px;
	border-top: 2px solid var(--t2c-navy);
}

.t2c-pillar__icon,
.t2c-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--t2c-yellow);
	color: var(--t2c-navy);
	font-size: 1.125rem;
	margin-bottom: 18px;
}

.t2c-pillar p {
	font-size: 0.9875rem;
}

/* Cas d'usage */
.t2c-cases {
	list-style: none;
	margin: 48px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 32px;
}

.t2c-case {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.t2c-case .t2c-bubble {
	max-width: none;
	font-size: 1rem;
}

.t2c-case__sector {
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--t2c-navy);
}

/* Étapes */
.t2c-steps {
	list-style: none;
	counter-reset: t2c-step;
	margin: 48px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 48px;
}

.t2c-step {
	counter-increment: t2c-step;
	position: relative;
}

.t2c-step::before {
	content: counter(t2c-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--t2c-navy);
	color: #FFFFFF;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 1.375rem;
	position: relative;
	z-index: 1;
}

/* Trait reliant les étapes (ordinateur). */
.t2c-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 26px;
	left: 64px;
	right: -36px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--t2c-navy) 0 8px, transparent 8px 14px);
	opacity: 0.35;
}

/* Interface */
.t2c-app {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.t2c-app__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--t2c-radius);
	box-shadow: var(--t2c-shadow);
}

.t2c-checks {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
	color: var(--t2c-ink);
}

/* Avantages */
.t2c-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 56px;
	margin-top: 48px;
}

.t2c-benefit {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.t2c-benefit__icon {
	margin-bottom: 0;
}

.t2c-benefit p {
	font-size: 0.9875rem;
}

/* Tarifs */
.t2c-prices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 48px;
	align-items: stretch;
}

.t2c-price {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background: #FFFFFF;
	border: 1px solid var(--t2c-line);
	border-radius: var(--t2c-radius);
	text-align: center;
}

.t2c .t2c-price__desc {
	flex: 1;
	font-size: 0.9375rem;
}

.t2c .t2c-price__amount {
	margin: 8px 0 0;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 2.5rem;
	line-height: 1.1;
	color: var(--t2c-navy);
	font-variant-numeric: tabular-nums;
}

.t2c-price--featured {
	background: var(--t2c-navy);
	border-color: var(--t2c-navy);
	box-shadow: var(--t2c-shadow);
	color: #D5DBEC;
}

.t2c .t2c-price--featured .t2c-h3 {
	color: #FFFFFF;
}

.t2c .t2c-price--featured .t2c-price__amount {
	color: var(--t2c-yellow);
}

.t2c-price__badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--t2c-yellow);
	color: var(--t2c-navy);
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 0.8125rem;
	white-space: nowrap;
}

/* FAQ */
.t2c-faq {
	margin-top: 40px;
	border-top: 1px solid var(--t2c-line);
}

.t2c-faq__item {
	border-bottom: 1px solid var(--t2c-line);
}

.t2c-faq__item summary {
	position: relative;
	display: block;
	padding: 20px 48px 20px 0;
	cursor: pointer;
	list-style: none;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--t2c-ink);
}

.t2c-faq__item summary::-webkit-details-marker {
	display: none;
}

.t2c-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--t2c-navy);
	transition: transform 0.2s ease-out;
}

.t2c-faq__item[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.t2c-faq__item p {
	padding: 0 48px 12px 0;
}

/* Appel à l'action final */
.t2c-cta {
	padding: var(--t2c-section-space) 0;
	background: var(--t2c-navy);
	color: #D5DBEC;
}

.t2c .t2c-cta__title {
	color: #FFFFFF;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
}

.t2c-cta__text {
	font-size: 1.125rem;
	max-width: 36em;
	margin-left: auto;
	margin-right: auto;
}

/* Tablette */
@media (max-width: 991px) {
	.t2c-hero__grid,
	.t2c-intro__grid,
	.t2c-app {
		grid-template-columns: minmax(0, 1fr);
	}

	.t2c-hero__media img {
		margin: 0 auto;
		max-width: 440px;
	}

	.t2c-thread {
		margin: 0 auto;
	}

	.t2c-pillars,
	.t2c-cases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.t2c-steps {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}

	.t2c-step {
		padding-left: 76px;
	}

	.t2c-step::before {
		position: absolute;
		left: 0;
		top: -4px;
		margin: 0;
	}

	.t2c-step:not(:last-child)::after {
		top: 56px;
		bottom: -36px;
		left: 25px;
		right: auto;
		width: 2px;
		height: auto;
		background: repeating-linear-gradient(180deg, var(--t2c-navy) 0 8px, transparent 8px 14px);
	}

	.t2c-prices {
		grid-template-columns: minmax(0, 1fr);
		max-width: 440px;
		margin-left: auto;
		margin-right: auto;
		gap: 32px;
	}
}

/* Mobile */
@media (max-width: 640px) {
	.t2c-pillars,
	.t2c-cases,
	.t2c-benefits {
		grid-template-columns: minmax(0, 1fr);
	}

	.t2c-actions .t2c-btn--primary {
		width: 100%;
	}

	.t2c-actions--center .t2c-btn {
		width: 100%;
	}
}
