/**
 * Thème Logiciels – accents vert + bleu (page template Création de logiciels)
 * À charger uniquement sur les pages utilisant template-logiciels.php
 */

.emotta-theme-logiciels {
	--emotta-accent: #10b981;
	--emotta-accent-light: #34d399;
	--emotta-accent-glow: rgba(16, 185, 129, 0.4);
}

/* Hero : dégradé et blobs vert + bleu */
.emotta-theme-logiciels #content > section:first-of-type .bg-gradient-to-br.from-emotta-violet\/20 {
	background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.2), transparent, rgba(59, 130, 246, 0.2)) !important;
}
.emotta-theme-logiciels #content > section:first-of-type .bg-emotta-violet\/30 {
	background-color: rgba(16, 185, 129, 0.3) !important;
}

/* Titre hero : gradient en texte (vert → bleu), pas en barre */
.emotta-theme-logiciels .emotta-hero-gradient-text {
	display: inline-block;
	background: linear-gradient(to right, #34d399, #60a5fa) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}
/* Sous-titre hero : contraste renforcé */
.emotta-theme-logiciels .emotta-hero-tagline {
	color: #6ee7b7 !important;
}

/* Section Mon approche : timeline horizontale */
.emotta-theme-logiciels .emotta-approche-wrap {
	max-width: 64rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 0.5rem;
}
.emotta-theme-logiciels #approche {
	padding: 5rem 1rem;
}
@media (min-width: 640px) {
	.emotta-theme-logiciels #approche { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	.emotta-theme-logiciels #approche { padding-left: 2rem; padding-right: 2rem; }
}
.emotta-theme-logiciels .emotta-approche-header {
	margin-bottom: 4rem;
	text-align: center;
}
.emotta-theme-logiciels .emotta-approche-header p {
	margin-left: auto;
	margin-right: auto;
}
.emotta-theme-logiciels .emotta-approche-header h2 {
	margin: 0;
}
.emotta-theme-logiciels .emotta-approche-timeline {
	position: relative;
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.emotta-theme-logiciels .emotta-approche-timeline {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}
.emotta-theme-logiciels .emotta-approche-line {
	display: none;
}
@media (min-width: 768px) {
	.emotta-theme-logiciels .emotta-approche-line {
		display: block;
		position: absolute;
		top: 2rem;
		left: 16.66%;
		right: 16.66%;
		height: 2px;
		background: linear-gradient(90deg, rgba(16, 185, 129, 0.5), rgba(52, 211, 153, 0.6), rgba(59, 130, 246, 0.5));
		z-index: 0;
		pointer-events: none;
	}
}
.emotta-theme-logiciels .emotta-approche-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.emotta-theme-logiciels .emotta-approche-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background-color: #12121a;
	background-image: linear-gradient(145deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.08));
	border: 2px solid rgba(16, 185, 129, 0.45);
	color: #34d399;
	box-shadow: 0 4px 20px -4px rgba(16, 185, 129, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.emotta-theme-logiciels .emotta-approche-step:hover .emotta-approche-icon {
	transform: scale(1.08);
	border-color: rgba(16, 185, 129, 0.7);
	box-shadow: 0 8px 28px -4px rgba(16, 185, 129, 0.45);
}
.emotta-theme-logiciels .emotta-approche-icon svg {
	width: 1.5rem;
	height: 1.5rem;
}
.emotta-theme-logiciels .emotta-approche-content {
	width: 100%;
	max-width: 22rem;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 1rem;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.emotta-theme-logiciels .emotta-approche-step:hover .emotta-approche-content {
	border-color: rgba(16, 185, 129, 0.3);
	box-shadow: 0 12px 40px -12px rgba(16, 185, 129, 0.2);
	background: rgba(255, 255, 255, 0.04);
}
.emotta-theme-logiciels .emotta-approche-label {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #34d399;
}
.emotta-theme-logiciels .emotta-approche-title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}
.emotta-theme-logiciels .emotta-approche-desc {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #9ca3af;
}
.emotta-theme-logiciels .emotta-approche-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.375rem 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.emotta-theme-logiciels .emotta-approche-tags li {
	font-size: 0.75rem;
	font-weight: 500;
	color: #9ca3af;
	background: rgba(255, 255, 255, 0.05);
	padding: 0.375rem 0.75rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.emotta-theme-logiciels .emotta-approche-step:hover .emotta-approche-tags li {
	color: #d1d5db;
	border-color: rgba(16, 185, 129, 0.3);
	background: rgba(16, 185, 129, 0.1);
}

/* Boutons */
.emotta-theme-logiciels .btn-primary {
	background-color: #10b981 !important;
}
.emotta-theme-logiciels .btn-primary:hover {
	background-color: #34d399 !important;
	box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4) !important;
}
.emotta-theme-logiciels .btn-primary:focus,
.emotta-theme-logiciels .btn-primary:focus-visible {
	outline-color: #10b981 !important;
}

/* Header : logo texte et liens (vert + bleu) */
.emotta-theme-logiciels #masthead .emotta-wordmark {
	background: linear-gradient(105deg, #34d399 0%, #3b82f6 55%, #60a5fa 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}
.emotta-theme-logiciels #masthead .emotta-header__menu > li > a:hover,
.emotta-theme-logiciels #masthead .emotta-header__menu > li.current-menu-item > a {
	color: #fff !important;
	background: rgba(16, 185, 129, 0.2) !important;
}
.emotta-theme-logiciels #masthead .btn-primary {
	background: linear-gradient(135deg, #10b981, #059669) !important;
}
.emotta-theme-logiciels #masthead .btn-primary:hover {
	background: linear-gradient(135deg, #34d399, #10b981) !important;
	box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4) !important;
}

/* Menu mobile */
.emotta-theme-logiciels .emotta-mobile-toggle:hover {
	border-color: rgba(52, 211, 153, 0.35) !important;
	background: rgba(16, 185, 129, 0.12) !important;
}
.emotta-theme-logiciels .emotta-mobile-drawer__list > li > a:hover,
.emotta-theme-logiciels .emotta-mobile-drawer__link:hover {
	color: #6ee7b7 !important;
	background: rgba(16, 185, 129, 0.12) !important;
}

/* Section Approche : chiffres et titres en vert */
.emotta-theme-logiciels #approche .text-emotta-violet-light {
	color: #34d399 !important;
}

/* Forfaits : bordures, ombres, badge, boutons */
.emotta-theme-logiciels #forfaits .rounded-2xl.border.bg-white\/5:hover,
.emotta-theme-logiciels #forfaits .hover\:border-emotta-violet\/50:hover {
	border-color: rgba(16, 185, 129, 0.5) !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 30px -10px rgba(16, 185, 129, 0.35) !important;
}
.emotta-theme-logiciels #forfaits .border-emotta-violet\/50 {
	border-color: rgba(16, 185, 129, 0.5) !important;
}
.emotta-theme-logiciels #forfaits .shadow-emotta-violet-glow\/20,
.emotta-theme-logiciels #forfaits .emotta-card-highlight {
	box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.3), 0 0 0 1px rgba(16, 185, 129, 0.2) !important;
}
.emotta-theme-logiciels #forfaits .bg-emotta-violet {
	background-color: #10b981 !important;
}
.emotta-theme-logiciels #forfaits .border-emotta-violet {
	border-color: #10b981 !important;
}
.emotta-theme-logiciels #forfaits .bg-emotta-violet\/10 {
	background-color: rgba(16, 185, 129, 0.1) !important;
}
.emotta-theme-logiciels #forfaits .text-emotta-violet-light {
	color: #34d399 !important;
}
.emotta-theme-logiciels #forfaits .emotta-surmesure-band__cta:hover,
.emotta-theme-logiciels #forfaits .emotta-forfait-features ~ a:hover {
	background-color: #10b981 !important;
	color: #fff !important;
}
.emotta-theme-logiciels #forfaits .emotta-forfait-check {
	color: #10b981 !important;
}

/* Contact : formulaire focus et message succès */
.emotta-theme-logiciels .emotta-contact-form__input:focus {
	border-color: #10b981 !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}
.emotta-theme-logiciels .emotta-contact-success {
	color: #34d399 !important;
	background: rgba(16, 185, 129, 0.12) !important;
	border-color: rgba(16, 185, 129, 0.35) !important;
	box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08) !important;
}
.emotta-theme-logiciels .emotta-contact-form__submit:hover {
	box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4) !important;
}
.emotta-theme-logiciels #contact .btn-primary {
	background-color: #10b981 !important;
}
.emotta-theme-logiciels #contact .btn-primary:hover {
	background-color: #34d399 !important;
	box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.4) !important;
}

/* Footer */
.emotta-theme-logiciels #colophon .emotta-wordmark {
	background: linear-gradient(105deg, #34d399 0%, #3b82f6 55%, #60a5fa 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}
.emotta-theme-logiciels .emotta-footer__pitch-btn {
	background: linear-gradient(105deg, #34d399, #3b82f6) !important;
}
.emotta-theme-logiciels .emotta-footer__pitch-btn:hover {
	box-shadow: 0 12px 28px -8px rgba(16, 185, 129, 0.4) !important;
}
.emotta-theme-logiciels .emotta-footer__links a:hover,
.emotta-theme-logiciels .emotta-footer__card-btn {
	color: #34d399 !important;
}
.emotta-theme-logiciels .emotta-footer__card-btn:hover {
	color: #fff !important;
}
.emotta-theme-logiciels .emotta-footer__contact-link {
	color: #34d399 !important;
}
.emotta-theme-logiciels .emotta-footer__contact-link:hover {
	color: #6ee7b7 !important;
}
.emotta-theme-logiciels .emotta-footer__social-link:hover {
	color: #34d399 !important;
	border-color: rgba(52, 211, 153, 0.35) !important;
	background: rgba(16, 185, 129, 0.1) !important;
}

/* ========== Mode clair : page Logiciels complète ========== */

/* Hero tagline */
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-hero-tagline {
	color: #059669 !important;
}

/* Section Approche */
html[data-emotta-theme="light"] body.emotta-theme-logiciels #approche {
	border-top-color: rgba(15, 23, 42, 0.08);
	background-color: #f3f4f6;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #approche .emotta-approche-header h2 {
	color: #0f172a !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #approche .emotta-approche-header p {
	color: #475569 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-icon {
	background-color: #ffffff;
	background-image: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
	border-color: rgba(16, 185, 129, 0.4);
	color: #059669;
	box-shadow: 0 2px 12px -4px rgba(16, 185, 129, 0.25);
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-step:hover .emotta-approche-icon {
	border-color: rgba(16, 185, 129, 0.6);
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-content {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.1);
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-step:hover .emotta-approche-content {
	border-color: rgba(16, 185, 129, 0.25);
	background: #ffffff;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-label {
	color: #059669 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-title {
	color: #0f172a !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-desc {
	color: #475569 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-tags li {
	color: #475569 !important;
	background: rgba(248, 250, 252, 0.95);
	border-color: rgba(15, 23, 42, 0.1);
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-step:hover .emotta-approche-tags li {
	border-color: rgba(16, 185, 129, 0.25);
	background: rgba(16, 185, 129, 0.06);
	color: #334155 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-approche-line {
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.4), rgba(52, 211, 153, 0.5), rgba(59, 130, 246, 0.4)) !important;
}

/* Forfaits Logiciels */
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits {
	border-top-color: rgba(15, 23, 42, 0.08);
	background-color: #f3f4f6;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits h2 {
	color: #0f172a !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits .text-gray-400 {
	color: #475569 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits .rounded-2xl.border,
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits .emotta-card-highlight {
	background-color: #ffffff !important;
	border-color: rgba(15, 23, 42, 0.12) !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits .emotta-forfait-features li {
	color: #475569 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits .emotta-forfait-check {
	color: #059669 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #forfaits .text-emotta-violet-light {
	color: #059669 !important;
}

/* Contact Logiciels */
html[data-emotta-theme="light"] body.emotta-theme-logiciels #contact {
	border-top-color: rgba(15, 23, 42, 0.08);
	background-color: #f3f4f6;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #contact h2 {
	color: #0f172a !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels #contact .text-gray-400 {
	color: #475569 !important;
}
html[data-emotta-theme="light"] body.emotta-theme-logiciels .emotta-contact-success {
	color: #047857 !important;
	background: rgba(16, 185, 129, 0.12) !important;
	border-color: rgba(16, 185, 129, 0.3) !important;
}
