/**
 * Ozzéo Money Pages — /tarifs-menage-a-domicile-toulouse/
 * CSS scoped sous `.ozzeo-money.ozm-tarifs` pour éviter conflits avec Elementor / global theme.
 */

/* ============================================================
 * 1. SECTION GENERIQUE — wrappers, sections, container
 * ============================================================ */
.ozzeo-money.ozm-tarifs {
	background: var(--ozzeo-white);
	overflow-x: hidden;
}
.ozm-section {
	padding: var(--ozzeo-space-7) 0;
}
.ozm-section--alt {
	background: var(--ozzeo-bg-light);
}
.ozm-section--grey {
	background: var(--ozzeo-bg-grey);
}
.ozm-section__head {
	max-width: 720px;
	margin: 0 auto var(--ozzeo-space-6);
	text-align: center;
}
.ozm-section__head h2 {
	margin-bottom: var(--ozzeo-space-3);
}
.ozm-section__head p {
	color: var(--ozzeo-text-soft);
	font-size: 18px;
}

/* ============================================================
 * 2. HERO
 * ============================================================ */
.ozm-hero {
	background: linear-gradient(180deg, var(--ozzeo-bg-light) 0%, var(--ozzeo-white) 100%);
	padding: var(--ozzeo-space-8) 0 var(--ozzeo-space-7);
	position: relative;
	text-align: center;
}
.ozm-hero__inner {
	max-width: 820px;
	margin: 0 auto;
}
.ozm-hero__badge-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--ozzeo-space-2);
	margin-bottom: var(--ozzeo-space-4);
}
.ozm-hero h1 {
	margin-bottom: var(--ozzeo-space-4);
}
.ozm-hero h1 strong {
	color: var(--ozzeo-primary);
	font-weight: 900;
}
.ozm-hero__lead {
	font-size: clamp(17px, 1.8vw, 20px);
	color: var(--ozzeo-text-soft);
	max-width: 680px;
	margin: 0 auto var(--ozzeo-space-5);
	line-height: 1.6;
}
.ozm-hero__ctas {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--ozzeo-space-3);
	margin-bottom: var(--ozzeo-space-5);
}
.ozm-hero__trust {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--ozzeo-space-4);
	color: var(--ozzeo-text-soft);
	font-size: 14px;
}
.ozm-hero__trust span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ozm-hero__trust svg {
	width: 16px;
	height: 16px;
	stroke: var(--ozzeo-success);
	flex-shrink: 0;
}

/* ============================================================
 * 3. GRILLE 4 CARDS + TOGGLE BRUT/NET
 * ============================================================ */
.ozm-toggle {
	display: inline-flex;
	background: var(--ozzeo-white);
	border: 1.5px solid var(--ozzeo-border);
	border-radius: 100px;
	padding: 4px;
	margin: 0 auto var(--ozzeo-space-6);
	gap: 4px;
}
.ozm-toggle-wrap {
	display: flex;
	justify-content: center;
}
.ozm-toggle button {
	background: transparent;
	border: 0;
	padding: 10px 20px;
	border-radius: 100px;
	font-family: var(--ozzeo-font);
	font-weight: 600;
	font-size: 14px;
	color: var(--ozzeo-text-soft);
	cursor: pointer;
	transition: var(--ozzeo-trans);
}
.ozm-toggle button.is-active {
	background: var(--ozzeo-primary);
	color: white;
}

.ozm-tarifs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--ozzeo-space-4);
}
.ozm-tarif-card {
	background: var(--ozzeo-white);
	border: 1px solid var(--ozzeo-border);
	border-radius: var(--ozzeo-radius-lg);
	padding: var(--ozzeo-space-5) var(--ozzeo-space-4);
	box-shadow: var(--ozzeo-shadow-sm);
	transition: var(--ozzeo-trans);
	display: flex;
	flex-direction: column;
	position: relative;
}
.ozm-tarif-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ozzeo-shadow-md);
}
.ozm-tarif-card--featured {
	border: 2px solid var(--ozzeo-primary);
	box-shadow: var(--ozzeo-shadow-lg);
}
.ozm-tarif-card--featured::before {
	content: 'Recommandé';
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ozzeo-orange);
	color: white;
	padding: 5px 16px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.05em;
	white-space: nowrap;
}
.ozm-tarif-card__img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: var(--ozzeo-radius-md);
	margin-bottom: var(--ozzeo-space-3);
}
.ozm-tarif-card__name {
	font-size: 22px;
	font-weight: 600;
	color: var(--ozzeo-dark);
	margin: 0 0 var(--ozzeo-space-2);
}
.ozm-tarif-card__price-row {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: var(--ozzeo-space-3);
	flex-wrap: wrap;
}
.ozm-tarif-card__price {
	font-size: 36px;
	font-weight: 900;
	color: var(--ozzeo-primary);
	line-height: 1;
}
.ozm-tarif-card__price-unit {
	font-size: 15px;
	color: var(--ozzeo-text-soft);
	font-weight: 400;
}
.ozm-tarif-card__price-note {
	font-size: 13px;
	color: var(--ozzeo-text-soft);
	margin-bottom: var(--ozzeo-space-3);
	font-style: italic;
}
.ozm-tarif-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--ozzeo-space-4);
	flex-grow: 1;
}
.ozm-tarif-card__features li {
	padding: 8px 0 8px 26px;
	position: relative;
	font-size: 15px;
	color: var(--ozzeo-text);
	border-bottom: 1px solid var(--ozzeo-border);
}
.ozm-tarif-card__features li:last-child { border-bottom: 0; }
.ozm-tarif-card__features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 13px;
	width: 16px;
	height: 16px;
	background: var(--ozzeo-success);
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8l4 4 6-7" stroke="white" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8l4 4 6-7" stroke="white" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}
.ozm-tarif-card .ozm-btn {
	width: 100%;
}

/* Affichage prix selon mode brut/net (toggle) — default = net */
.ozm-tarifs-grid[data-mode="net"] .ozm-tarif-card__price-brut,
.ozm-tarifs-grid[data-mode="net"] .ozm-tarif-card__note-brut { display: none; }
.ozm-tarifs-grid[data-mode="brut"] .ozm-tarif-card__price-net,
.ozm-tarifs-grid[data-mode="brut"] .ozm-tarif-card__note-net { display: none; }

/* ============================================================
 * 4. TABLEAU "COMBIEN COÛTE 2H/SEM"
 * ============================================================ */
.ozm-cost-table-wrap {
	max-width: 880px;
	margin: 0 auto;
	overflow-x: auto;
}
.ozm-cost-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--ozzeo-white);
	border-radius: var(--ozzeo-radius-md);
	overflow: hidden;
	box-shadow: var(--ozzeo-shadow-sm);
	font-size: 15px;
}
.ozm-cost-table th,
.ozm-cost-table td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--ozzeo-border);
}
.ozm-cost-table thead th {
	background: var(--ozzeo-bg-light);
	color: var(--ozzeo-dark);
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ozm-cost-table tbody tr:last-child td {
	border-bottom: 0;
}
.ozm-cost-table .ozm-cost-table__highlight {
	background: var(--ozzeo-bg-light);
	font-weight: 600;
	color: var(--ozzeo-primary);
}
.ozm-cost-table__col-credit {
	color: var(--ozzeo-success);
	font-weight: 600;
}

/* ============================================================
 * 5. SECTION "COMMENT SE CALCULE" + ZONES + DÉGRESSIF
 * ============================================================ */
.ozm-calc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--ozzeo-space-5);
	max-width: 1000px;
	margin: 0 auto;
}
.ozm-calc-block {
	background: var(--ozzeo-white);
	border-radius: var(--ozzeo-radius-lg);
	padding: var(--ozzeo-space-5);
	box-shadow: var(--ozzeo-shadow-sm);
	border: 1px solid var(--ozzeo-border);
}
.ozm-calc-block h3 {
	font-size: 22px;
	margin-bottom: var(--ozzeo-space-3);
}
.ozm-calc-block ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ozm-calc-block li {
	padding: 10px 0;
	border-bottom: 1px solid var(--ozzeo-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--ozzeo-space-3);
	font-size: 15px;
}
.ozm-calc-block li:last-child { border-bottom: 0; }
.ozm-calc-block li strong {
	color: var(--ozzeo-primary);
	font-weight: 600;
}

/* ============================================================
 * 6. SECTION CRÉDIT IMPÔT + SIMULATEUR
 * ============================================================ */
.ozm-credit {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ozzeo-space-6);
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}
.ozm-credit__intro h2 {
	margin-bottom: var(--ozzeo-space-3);
}
.ozm-credit__intro ul {
	list-style: none;
	padding: 0;
	margin: var(--ozzeo-space-4) 0;
}
.ozm-credit__intro li {
	padding: 10px 0 10px 28px;
	position: relative;
	font-size: 16px;
}
.ozm-credit__intro li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 9px;
	width: 20px;
	height: 20px;
	background: var(--ozzeo-success);
	color: white;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ozm-sim {
	background: var(--ozzeo-white);
	border: 2px solid var(--ozzeo-primary);
	border-radius: var(--ozzeo-radius-lg);
	padding: var(--ozzeo-space-5);
	box-shadow: var(--ozzeo-shadow-md);
}
.ozm-sim__title {
	font-size: 20px;
	font-weight: 600;
	color: var(--ozzeo-dark);
	margin-bottom: var(--ozzeo-space-3);
	text-align: center;
}
.ozm-sim__hours {
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	color: var(--ozzeo-primary);
	margin-bottom: var(--ozzeo-space-3);
}
.ozm-sim__range {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 3px;
	background: var(--ozzeo-border);
	outline: none;
	margin-bottom: var(--ozzeo-space-4);
}
.ozm-sim__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ozzeo-primary);
	cursor: pointer;
	box-shadow: var(--ozzeo-shadow-sm);
	border: 3px solid white;
}
.ozm-sim__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ozzeo-primary);
	cursor: pointer;
	border: 3px solid white;
}
.ozm-sim__results {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ozzeo-space-3);
}
.ozm-sim__cell {
	background: var(--ozzeo-bg-light);
	border-radius: var(--ozzeo-radius-md);
	padding: var(--ozzeo-space-3);
	text-align: center;
}
.ozm-sim__cell--net {
	background: linear-gradient(135deg, var(--ozzeo-orange) 0%, var(--ozzeo-orange-dark) 100%);
	color: white;
}
.ozm-sim__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	opacity: 0.85;
}
.ozm-sim__value {
	font-size: 22px;
	font-weight: 700;
}
.ozm-sim__rate {
	display: block;
	font-size: 13px;
	font-weight: 400;
	margin-top: 4px;
	opacity: 0.85;
}
.ozm-sim__note {
	margin-top: var(--ozzeo-space-3);
	font-size: 13px;
	color: var(--ozzeo-text-soft);
	text-align: center;
}

/* ============================================================
 * 7. FAQ ACCORDÉON
 * ============================================================ */
.ozm-faq {
	max-width: 820px;
	margin: 0 auto;
}
.ozm-faq details {
	background: var(--ozzeo-white);
	border: 1px solid var(--ozzeo-border);
	border-radius: var(--ozzeo-radius-md);
	margin-bottom: var(--ozzeo-space-3);
	box-shadow: var(--ozzeo-shadow-sm);
	overflow: hidden;
	transition: var(--ozzeo-trans);
}
.ozm-faq details[open] {
	box-shadow: var(--ozzeo-shadow-md);
	border-color: var(--ozzeo-primary-light);
}
.ozm-faq summary {
	padding: var(--ozzeo-space-3) var(--ozzeo-space-4);
	cursor: pointer;
	font-weight: 600;
	color: var(--ozzeo-dark);
	font-size: 17px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--ozzeo-space-3);
	user-select: none;
}
.ozm-faq summary::-webkit-details-marker { display: none; }
.ozm-faq summary::after {
	content: '+';
	font-size: 24px;
	font-weight: 400;
	color: var(--ozzeo-primary);
	transition: transform 0.2s;
	flex-shrink: 0;
}
.ozm-faq details[open] summary::after {
	transform: rotate(45deg);
}
.ozm-faq__content {
	padding: 0 var(--ozzeo-space-4) var(--ozzeo-space-4);
	color: var(--ozzeo-text-soft);
	font-size: 16px;
	line-height: 1.7;
}

/* ============================================================
 * 8. BANDEAU CTA FINAL
 * ============================================================ */
.ozm-cta-banner {
	background: linear-gradient(135deg, var(--ozzeo-primary) 0%, var(--ozzeo-primary-dark) 100%);
	color: white;
	padding: var(--ozzeo-space-7) 0;
	text-align: center;
}
.ozm-cta-banner h2 {
	color: white;
	margin-bottom: var(--ozzeo-space-3);
}
.ozm-cta-banner p {
	font-size: 18px;
	max-width: 620px;
	margin: 0 auto var(--ozzeo-space-5);
	opacity: 0.95;
}
.ozm-cta-banner .ozm-btn--primary {
	background: white;
	color: var(--ozzeo-primary);
}
.ozm-cta-banner .ozm-btn--primary:hover {
	background: var(--ozzeo-bg-light);
	color: var(--ozzeo-primary-dark);
}
.ozm-cta-banner .ozm-btn--secondary {
	background: transparent;
	color: white;
	border-color: white;
}
.ozm-cta-banner .ozm-btn--secondary:hover {
	background: white;
	color: var(--ozzeo-primary);
}
.ozm-cta-banner__ctas {
	display: flex;
	justify-content: center;
	gap: var(--ozzeo-space-3);
	flex-wrap: wrap;
}

/* ============================================================
 * 9. MOBILE
 * ============================================================ */
@media (max-width: 1024px) {
	.ozm-tarifs-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	.ozm-section { padding: var(--ozzeo-space-6) 0; }
	.ozm-hero { padding: var(--ozzeo-space-7) 0 var(--ozzeo-space-6); }
	.ozm-tarifs-grid {
		grid-template-columns: 1fr;
		gap: var(--ozzeo-space-5);
	}
	.ozm-tarif-card--featured { margin-top: var(--ozzeo-space-3); }
	.ozm-calc-grid { grid-template-columns: 1fr; }
	.ozm-credit { grid-template-columns: 1fr; gap: var(--ozzeo-space-5); }
	.ozm-cta-banner__ctas { flex-direction: column; }
	.ozm-cta-banner__ctas .ozm-btn { width: 100%; }
	.ozm-hero__ctas { flex-direction: column; width: 100%; }
	.ozm-hero__ctas .ozm-btn { width: 100%; }
}
