/* ==========================================================================
   Widget: Como eu penso o cuidado (cards numerados em 2 colunas)
   ========================================================================== */

.mr-phil {
	position: relative;
	padding: 6rem 1.5rem 7.5rem;
	background: var(--mr-lavender-soft);
	font-family: var(--mr-font-body);
}

/* ---------- Cabeçalho ---------- */
.mr-phil__header { max-width: var(--mr-max-w); margin: 0 auto 3rem; text-align: center; }
.mr-phil__eyebrow { display: block; margin-bottom: .7rem; }

.mr-phil .mr-phil__title {
	margin: 0 0 .7rem;
	padding: 0;
	font-family: var(--mr-font-display);
	font-size: clamp(2rem, 4vw, 4rem);
	font-style: italic;
	font-weight: 400;
	font-variant-numeric: lining-nums;
	line-height: 1.1;
	color: var(--mr-purple);
	text-wrap: balance;
}
.mr-phil .mr-phil__title em,
.mr-phil .mr-phil__title strong { font-style: italic; font-weight: 500; color: var(--mr-purple-mid); }

.mr-phil .mr-phil__lead {
	max-width: 54ch;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--mr-text-muted);
}

/* ---------- Grade ---------- */
.mr-phil .mr-phil__grid {
	max-width: var(--mr-max-w);
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.mr-phil .mr-phil__card {
	position: relative;
	margin: 0;
	padding: 2rem 2rem 2.1rem;
	background: var(--mr-white);
	border: 1.5px solid var(--mr-border);
	border-radius: 1.5rem;
	overflow: hidden;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mr-phil .mr-phil__card:hover {
	border-color: var(--mr-lavender);
	transform: translateY(-3px);
	box-shadow: var(--mr-shadow);
}

/* numeração grande, em lavanda, no canto do card */
.mr-phil__num {
	position: absolute;
	top: .9rem;
	right: 1.4rem;
	font-family: var(--mr-font-display);
	font-size: 4.5rem;
	font-style: italic;
	font-weight: 400;
	font-variant-numeric: lining-nums;
	line-height: 1;
	color: var(--mr-lavender);
	pointer-events: none;
	user-select: none;
}

.mr-phil__icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 1.2rem;
	border-radius: 50%;
	background: var(--mr-lavender);
	color: var(--mr-purple);
	font-size: 20px;
}
.mr-phil__icon i { line-height: 1; }
.mr-phil__icon svg { width: 21px; height: 21px; fill: currentColor; }

.mr-phil .mr-phil__card-title {
	position: relative;
	margin: 0 0 .5rem;
	padding: 0;
	font-family: var(--mr-font-display);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.15;
	color: var(--mr-purple);
}

.mr-phil .mr-phil__card-text {
	position: relative;
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--mr-text-muted);
}

/* ---------- Onda ---------- */
.mr-phil__wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; pointer-events: none; color: #fff; }
.mr-phil__wave svg { display: block; width: 100%; height: 72px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 780px) {
	.mr-phil .mr-phil__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.mr-phil { padding: 4.5rem 1rem 6rem; }
	.mr-phil .mr-phil__card { padding: 1.6rem 1.4rem 1.7rem; }
	.mr-phil__num { top: .7rem; right: 1rem; font-size: 3.6rem; }
}
