/* ==========================================================================
   Single Outil IA - Tool Page Styles
   ========================================================================== */

/* Hero Section */
.cia-tool-hero {
	background: linear-gradient(180deg, #EDE9FE 0%, #F5F3FF 40%, #FAFAFE 100%);
	padding: 60px 40px 50px;
	text-align: center;
}

.cia-tool-hero-inner {
	max-width: 800px;
	margin: 0 auto;
}

.cia-tool-hero-logo {
	width: 80px;
	height: 80px;
	border-radius: 16px;
	object-fit: contain;
	background: white;
	padding: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

.cia-tool-hero-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #1E1B4B;
	margin: 0 0 12px;
	line-height: 1.2;
}

.cia-tool-hero-subtitle {
	font-size: 17px;
	color: #4B5563;
	max-width: 600px;
	margin: 0 auto 20px;
	line-height: 1.6;
}

.cia-tool-hero-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.cia-hero-rating {
	color: #F97316;
	font-weight: 700;
	font-size: 18px;
}

.cia-hero-count {
	color: #9CA3AF;
	font-size: 14px;
}

.cia-hero-verified {
	background: #ECFDF5;
	color: #065F46;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

.cia-hero-cats {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.cia-badge {
	background: #E0E7FF;
	color: #4F46E5;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.cia-badge-cat {
	background: #EDE9FE;
	color: #6C3AED;
}

/* Stars */
.cia-stars {
	color: #F97316;
	letter-spacing: 2px;
}

/* Layout */
.cia-tool-layout {
	max-width: 1200px;
	margin: 0 auto;
}

.cia-section-heading {
	font-family: 'Space Grotesk', sans-serif;
	color: #1E1B4B;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #EDE9FE;
}

/* Tool Info Card */
.cia-tool-card {
	background: #FAFAFE;
	border: 1px solid #E5E7EB;
	border-radius: 16px;
	padding: 28px;
/* 	position: sticky; */
/* 	top: 100px; */
	margin-bottom: 20px;
}

.cia-tool-logo {
	text-align: center;
	margin-bottom: 20px;
}

.cia-tool-logo img {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	object-fit: contain;
	background: white;
	padding: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cia-tool-rating {
	text-align: center;
	margin-bottom: 16px;
}

.cia-rating-value {
	font-weight: 700;
	color: #1E1B4B;
	font-size: 16px;
	margin-left: 4px;
}

.cia-rating-count {
	color: #9CA3AF;
	font-size: 13px;
	margin-left: 4px;
}

.cia-verified-badge {
	text-align: center;
	background: #ECFDF5;
	color: #065F46;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
}

.cia-tool-categories {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 16px;
}

.cia-tool-highlight {
	font-size: 14px;
	color: #4B5563;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #E5E7EB;
}

.cia-tool-info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #F3F4F6;
	font-size: 14px;
}

.cia-info-label {
	color: #6B7280;
	font-weight: 500;
	flex-shrink: 0;
}

.cia-info-value {
	color: #1E1B4B;
	text-align: right;
	font-weight: 600;
}

.cia-info-value.cia-yes {
	color: #10B981;
}

.cia-btn {
	display: block;
	text-align: center;
	padding: 14px 24px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s ease;
	margin-top: 20px;
}

.cia-btn-primary {
	background: #6C3AED;
	color: white !important;
}

.cia-btn-primary:hover {
	background: #5B21B6;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(108, 58, 237, 0.3);
}

/* Pros & Cons */
.cia-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin: 40px 0;
}

.cia-pros, .cia-cons {
	background: #FAFAFE;
	border-radius: 12px;
	padding: 24px;
	border: 1px solid #E5E7EB;
}

.cia-pros {
	border-top: 3px solid #10B981;
}

.cia-cons {
	border-top: 3px solid #F59E0B;
}

.cia-pros-title, .cia-cons-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
}

.cia-pros-title { color: #065F46; }
.cia-cons-title { color: #92400E; }

.cia-pros ul, .cia-cons ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cia-pros li, .cia-cons li {
	padding: 8px 0 8px 24px;
	position: relative;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
	border-bottom: 1px solid #F3F4F6;
}

.cia-pros li:last-child, .cia-cons li:last-child {
	border-bottom: none;
}

.cia-pros li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #10B981;
	font-weight: 700;
}

.cia-cons li::before {
	content: '–';
	position: absolute;
	left: 0;
	color: #F59E0B;
	font-weight: 700;
}

/* Verdict */
.cia-verdict {
	background: linear-gradient(135deg, #EDE9FE, #F5F3FF);
	border-radius: 16px;
	padding: 32px;
	margin: 40px 0;
	border-left: 4px solid #6C3AED;
}

.cia-verdict h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1E1B4B;
	margin: 0 0 16px;
}

.cia-verdict p {
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
	margin: 0;
}

/* Ideal For / Not For */
.cia-ideal-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin: 40px 0;
}

.cia-ideal-for, .cia-not-for {
	padding: 24px;
	border-radius: 12px;
	border: 1px solid #E5E7EB;
}

.cia-ideal-for {
	background: #F0FDF4;
	border-top: 3px solid #22C55E;
}

.cia-not-for {
	background: #FEF2F2;
	border-top: 3px solid #EF4444;
}

.cia-ideal-for h3, .cia-not-for h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 12px;
}

.cia-ideal-for ul, .cia-not-for ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cia-ideal-for li, .cia-not-for li {
	padding: 6px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

/* FAQ */
.cia-faq {
	margin: 40px 0;
}

.cia-faq h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1E1B4B;
	margin-bottom: 20px;
}

.cia-faq-item {
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: all 0.2s ease;
}

.cia-faq-item[open] {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cia-faq-item summary {
	padding: 16px 20px;
	font-weight: 600;
	font-size: 15px;
	color: #1E1B4B;
	cursor: pointer;
	background: #FAFAFE;
	list-style: none;
}

.cia-faq-item summary::-webkit-details-marker {
	display: none;
}

.cia-faq-item summary::before {
	content: '▸';
	margin-right: 10px;
	transition: transform 0.2s ease;
	display: inline-block;
}

.cia-faq-item[open] summary::before {
	transform: rotate(90deg);
}

.cia-faq-answer {
	padding: 0 20px 16px;
}

.cia-faq-answer p {
	font-size: 14px;
	line-height: 1.7;
	color: #4B5563;
	margin: 0;
}

/* Related Tools */
.cia-related-section {
	background: #FAFAFE;
	border-top: 1px solid #E5E7EB;
}

.cia-tool-card-mini {
	background: white;
	border: 1px solid #E5E7EB;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.cia-tool-card-mini:hover {
	border-color: #6C3AED;
	box-shadow: 0 4px 12px rgba(108, 58, 237, 0.12);
	transform: translateY(-2px);
}

.cia-cocon-grid, .cia-related-section  {
	padding: 20px 50px;
}

.cia-cocon-grid {
	grid-template-columns: 100%;
}

.cia-related-section h2 {
	margin-bottom: 20px;
}

.single-outil-content .entry-content h2 {
	margin: 25px 0 15px;
}

.cia-pros-cons {
	margin-top: 30px !important;
}

.cia-tuto-card-content {
	width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
	.cia-tool-hero {
		padding: 40px 20px 30px;
	}

	.cia-tool-hero-title {
		font-size: 26px;
	}

	.cia-pros-cons,
	.cia-ideal-section {
		grid-template-columns: 1fr;
	}

	.cia-tool-card {
		position: static;
	}

	.cia-tool-layout {
		padding: 20px !important;
	}
	
	.cia-cocon-grid, .cia-related-section  {
		padding: 20px;
	}
}

/* ===========================================================
   Composants de contenu (présentation détaillée d'un outil)
   Scopés sous .entry-content pour ne pas conflicter avec les
   blocs du template (ex: .cia-verdict du template).
   =========================================================== */
.entry-content .cia-lead {
	font-size: 18px;
	line-height: 1.65;
	color: var(--wp--preset--color--text);
	border-left: 3px solid var(--wp--preset--color--primary);
	padding-left: 18px;
	margin: 0 0 18px;
}
.entry-content .cia-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
}
.entry-content .cia-chips li {
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark);
	background: #EDE9FE;
	border-radius: 999px;
	padding: 6px 13px;
	margin: 0;
}
.entry-content .cia-callout {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: var(--wp--custom--radius--sm, 12px);
	padding: 18px 20px;
	box-shadow: var(--wp--custom--shadow--default);
	margin: 0 0 18px;
}
.entry-content .cia-callout .cia-tag {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin: 0 0 6px;
}
.entry-content .cia-callout p:last-child {
	margin: 0;
	color: var(--wp--preset--color--text);
	font-size: 16px;
	line-height: 1.6;
}
.entry-content .cia-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 4px 0 8px;
	padding: 0;
	list-style: none;
}
.entry-content .cia-features li {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--default, 16px);
	padding: 18px;
	margin: 0;
	transition: box-shadow .18s, transform .18s;
}
.entry-content .cia-features li:hover {
	box-shadow: var(--wp--custom--shadow--lg);
	transform: translateY(-2px);
}
.entry-content .cia-features .cia-feat-wide {
	grid-column: 1 / -1;
}
.entry-content .cia-features .cia-ico {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #F5F3FF;
	display: grid;
	place-items: center;
	font-size: 19px;
	margin-bottom: 11px;
}
.entry-content .cia-features h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--wp--preset--color--text);
	margin: 0 0 5px;
}
.entry-content .cia-features p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--wp--preset--color--text-light);
	margin: 0;
}
.entry-content .cia-roles {
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
}
.entry-content .cia-roles li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm, 12px);
	padding: 16px 18px;
	margin: 0 0 10px;
	transition: border-color .18s;
}
.entry-content .cia-roles li:hover {
	border-color: var(--wp--preset--color--primary);
}
.entry-content .cia-roles .cia-badge {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: #F5F3FF;
	display: grid;
	place-items: center;
	font-size: 21px;
}
.entry-content .cia-roles .cia-who {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	text-transform: uppercase;
	letter-spacing: .03em;
	margin: 0 0 2px;
}
.entry-content .cia-roles p {
	font-size: 14.5px;
	color: var(--wp--preset--color--text-light);
	margin: 0;
	line-height: 1.5;
}
.entry-content .cia-perks {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 18px;
	padding: 22px;
	margin: 0 0 8px;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--default, 16px);
}
.entry-content .cia-perks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	color: var(--wp--preset--color--text);
	line-height: 1.45;
	margin: 0;
}
.entry-content .cia-perks .cia-check {
	flex: 0 0 auto;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--wp--preset--color--success);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 700;
	margin-top: 1px;
}
.entry-content .cia-price {
	display: flex;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
	background: #F5F3FF;
	border: 1px solid #E4DBFB;
	border-radius: var(--wp--custom--radius--default, 16px);
	padding: 24px;
	margin: 0 0 8px;
}
.entry-content .cia-price .cia-amount {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 34px;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	line-height: 1;
}
.entry-content .cia-price .cia-amount small {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--wp--preset--color--text-light);
	margin-top: 6px;
}
.entry-content .cia-price .cia-desc {
	flex: 1;
	min-width: 240px;
	font-size: 14.5px;
	color: var(--wp--preset--color--text-light);
	line-height: 1.55;
}
.entry-content .cia-price .cia-desc strong {
	color: var(--wp--preset--color--text);
}
.entry-content .cia-verdict {
	background: var(--wp--preset--color--bg-dark);
	border-radius: var(--wp--custom--radius--default, 16px);
	padding: 28px 30px;
	color: #D9D5F0;
	border-left: none;
	margin: 0 0 8px;
}
.entry-content .cia-verdict .cia-vhead {
	display: flex;
	align-items: center;
	gap: 13px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.entry-content .cia-verdict .cia-vtitle {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}
.entry-content .cia-verdict .cia-rating {
	background: rgba(255, 255, 255, .12);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 13.5px;
	font-weight: 700;
	color: #FCD34D;
}
.entry-content .cia-verdict p {
	color: #C4BFE0;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 14px;
}
.entry-content .cia-verdict .cia-forwho {
	display: flex;
	gap: 10px;
	background: rgba(255, 255, 255, .08);
	border-radius: var(--wp--custom--radius--sm, 12px);
	padding: 13px 15px;
	font-size: 14px;
	color: #EDEBF8;
}
.entry-content .cia-verdict .cia-forwho strong {
	color: #fff;
}
@media (max-width: 640px) {
	.entry-content .cia-features,
	.entry-content .cia-perks {
		grid-template-columns: 1fr;
	}
}
