﻿/* =========== © 2025 Centroarts.com - https://aipoint.space =========== */

:root {
	--g-card: 12px;
	--h-img-card: 100%;
	--r-card: 24px;
	--mw-card: 288px;
	--p-card: 28px;
}
@media (min-width: 576px) {
	:root {
		--p-card: 32px;
	}
}
@media (min-width: 992px) {
	:root {
		--g-card: 20px;
	}
}

.grid {
    display: grid;
	grid-template-rows: auto;
	grid-template-columns: repeat(var(--grid-cols), 1fr);
    gap: var(--g-card);
}

/* Cols */
.g-c4 { --grid-cols: 4; }
.g-c3 { --grid-cols: 3; }
.g-c2 { --grid-cols: 2; }

@media (max-width: 991px) {
	.scroll-h.g-c4 .card, .scroll-h.g-c3 .card, .scroll-h.g-c2 .card { min-width: var(--mw-card); }
	.scroll-h { scroll-snap-type: x mandatory }
	.scroll-h .card {
        scroll-snap-align: start;
        scroll-margin-left: var(--p-wrp);
		scroll-margin-right: var(--p-wrp);
    }
}

@media (min-width: 576px) {
	.grid-sm {
		display: grid;
		grid-template-rows: auto;
		grid-template-columns: repeat(var(--grid-cols), 1fr);
		gap: var(--g-card);
		--grid-cols: 2;
	}
	.g-sm-c4 { --grid-cols: 4; }
	.g-sm-c3 { --grid-cols: 3; }
	.g-sm-c2 { --grid-cols: 2; }

	.grid-sm > *:not(.card) { grid-column: auto/span var(--grid-cols); }
}

@media (min-width: 768px) {
	.grid-md {
		display: grid;
		grid-template-rows: auto;
		grid-template-columns: repeat(var(--grid-cols), 1fr);
		gap: var(--g-card);
		--grid-cols: 2;
	}
	.g-md-c4 { --grid-cols: 4; }
	.g-md-c3 { --grid-cols: 3; }
	.g-md-c2 { --grid-cols: 2; }

	.grid-md > *:not(.card) { grid-column: auto/span var(--grid-cols); }
}

@media (min-width: 992px) {
	.grid-lg {
		display: grid;
		grid-template-rows: auto;
		grid-template-columns: repeat(var(--grid-cols), 1fr);
		gap: var(--g-card);
		--grid-cols: 2;
	}
	.g-lg-c4 { --grid-cols: 4; }
	.g-lg-c3 { --grid-cols: 3; }
	.g-lg-c2 { --grid-cols: 2; }

	.grid-lg > *:not(.card) { grid-column: auto/span var(--grid-cols); }
}

@media (min-width: 1200px) {
	.grid-xl {
		display: grid;
		grid-template-rows: auto;
		grid-template-columns: repeat(var(--grid-cols), 1fr);
		gap: var(--g-card);
		--grid-cols: 2;
	}
	.g-xl-c4 { --grid-cols: 4; }
	.g-xl-c3 { --grid-cols: 3; }
	.g-xl-c2 { --grid-cols: 2; }

	.grid-xl > *:not(.card) { grid-column: auto/span var(--grid-cols); }
}

/* Title & Cont */
.title {
	--fs-title: 18px;
	--lh-title: 1.5;
	font-size: var(--fs-title); font-weight: 500;
	line-height: var(--lh-title); margin-bottom: 0;
	text-wrap: balance;
}
@media (min-width: 1100px) {
	.title { --fs-title: 20px; }
}
.title a { color: inherit; }
.title + .desc { margin-top: 8px; }
.desc {
	--fs-desc: inherit;
	font-size: var(--fs-desc); opacity: .8;
}
.desc ul, .desc ol { padding: 0 0 0 4px; margin-bottom: var(--text-padding); }
.desc ul { list-style: outside; }
.desc ul li { margin-left: 16px; }
.desc ul li + li, .desc > ol li + li { margin-top: .125em; }
.desc p + ul, .desc p + ol { margin-top: -12px; }
.desc p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

/* Cards */
.card:not(.review) .cover { border-radius: var(--r-card); }
.card:not(.review) .cover + .card-cont { margin-top: 16px; }

.card .cover::before { content: ""; width: 1px; margin-left: -1px; padding-top: var(--h-img-card); }
.card .cover::after { content: ""; position: absolute; inset: 0; background-color: #000; opacity: 0; transition: opacity .15s ease; }
html.dark .card .cover::after { opacity: .05; }

.card-icon {
	display: block; margin-bottom: 16px;
}
.card-icon .ic { width: 24px; height: 24px; color: inherit; opacity: .5; }

.card-icon-circle { position: relative; z-index: 1; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.card-icon-circle::before {
	content: ""; position: absolute; inset: 0; opacity: .5;
	border-radius: 50%; padding: 2px; background-image: var(--gradient-v); 
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude; 
}

.card-cont { padding-right: 20px; }

.card-center { text-align: center; }
.card-center .card-cont { padding-left: 10px; padding-right: 10px; }
.card-center .card-icon { margin-left: auto; margin-right: auto; }
.card-center .card-icon:not(.card-icon-circle) { width: 24px; height: 24px; }

@media (min-width: 576px) {
	.card-center .card-icon:not(.card-icon-circle) { width: 48px; height: 48px; }
	.card-icon .ic { width: 48px; height: 48px; }
	.card-icon-circle { width: 72px; height: 72px; }
}

.card .price { margin-top: var(--p-card); }
.card .btn-group { justify-content: start; margin-top: 16px; }

/* Card & Styles */
.card-border, .card-highlight { padding: var(--p-card); }

.card-border { border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--c-border); transition: box-shadow .2s ease; }
.item.card-border:hover { box-shadow: inset 0 0 0 1px var(--c-border-h); }
.card-border .card-cont { padding-right: 0; }

.card-highlight {
	background-color: var(--c-body-tone); border-radius: var(--r-card);
	transition: box-shadow .2s ease;
}
.card-highlight .card-cont { padding-left: 0; padding-right: 0; }
.item.card-highlight:hover { box-shadow: 0 0 0 1px var(--c-border-h); }

.sect-tone .card-highlight { background-color: var(--c-body-tone-tone); }
.sect-tone .item.card-highlight:hover { background-color: var(--c-body-tone-tone-h); }

.sect-primary .card-highlight { background-color: hsla(var(--c-text-light), 0.05); }
.sect-primary .item.card-highlight:hover { box-shadow: 0 0 0 1px hsla(var(--c-text-light), 0.4); }

.sect-primary .card-border { box-shadow: 0 0 0 1px hsla(var(--c-text-light), 0.2); }
.sect-primary .item.card-border:hover { box-shadow: 0 0 0 1px hsla(var(--c-text-light), 0.3); }

.sect-primary .card-border-light { box-shadow: 0 0 0 1px hsla(var(--c-text-light), 0.5); }
.sect-primary .item.card-border-light:hover { box-shadow: 0 0 0 1px hsla(var(--c-text-light), 0.7); }

@media (min-width: 576px) {
	.card:not(.review) .cover + .card-cont { margin-top: 20px; }
	.card-cont { padding-right: 32px; }
	.card-icon { margin-bottom: 20px; }
}

@media (max-width: 575px) {
	.features-audio, .features-text, .sect-benefits, .sect-tarifs .wrp { padding-left: 8px; padding-right: 8px; }
	.features-audio .card-highlight + .card-highlight,
	.features-text .card-highlight + .card-highlight,
	.sect-benefits .card-highlight + .card-highlight,
	.sect-tarifs .card-list .card + .card { margin-top: 8px; }

	.sect-tarifs .sect-heading { padding-left: calc(var(--p-wrp) - 8px); padding-right: calc(var(--p-wrp) - 8px); }
}
@media (max-width: 767px) {
	.features-audio .card-highlight + .card-highlight { margin-top: 8px; }
}

/* Features Text */
@media (min-width: 576px) {
	.features-text .card-highlight { min-height: 284px; }
}

/* Features Edu */
.features-edu .card-list .card { padding-bottom: 12px; }
@media (max-width: 575px) {
	.features-edu .sect-cont { margin: 0 calc(var(--p-wrp)/-1); }
	.features-edu .card-list { padding-left: var(--p-wrp); padding-right: var(--p-wrp); }
	.features-edu .card .title { --fs-title: inherit; }
	.features-edu .card .cover { border-radius: 0; }
}

/* features-more */
@media (max-width: 575px) {
	.features-more.wrp { padding-left: 8px; padding-right: 8px; }
}

/* Card Big Img */
.card-bigimg { --h-img-card: 390px; }
.card-bigimg + .grid { margin-top: var(--g-cont3); }
@media (min-width: 992px) {
	.card-bigimg { --h-img-card: 590px; }
}

/* highlight-box */
.highlight-box { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 400px; padding: 64px 32px; border-radius: var(--r-card); text-align: center; }
.highlight-box-icon { margin-bottom: var(--g-cont3); }
.highlight-box .heading + .btn-group { margin-top: 0; }

/* Prompt Gallery */
.sect-anim.active .p-gallery { opacity: 1; }
.p-gallery { overflow: hidden; opacity: 0; transition: opacity .5s ease-out; }
.p-gallery-row { display: flex; user-select: none; gap: var(--g-card); }
.p-gallery-row:first-child { margin-left: -64px; }
.p-gallery-row:last-child { margin-left: -32px; }
.p-gallery-row + .p-gallery-row { margin-top: var(--g-card); }
.p-gallery-group {
	display: flex; flex-shrink: 0; min-width: 100%;
	justify-content: space-around; gap: var(--g-card);
	will-change: transform;
}

.sect-anim.active .p-gallery-group { animation: gallery 180s linear infinite; }
.p-gallery-row.reverse .p-gallery-group { animation-direction: reverse; }

@keyframes gallery {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-100%, 0, 0); }
}

.p-gallery-item {
	width: 260px; position: relative;
	border-radius: var(--r-card); padding: 20px;
	background-color: var(--c-body-tone-tone);
}
.p-gallery-item::before {
	content: ""; position: absolute; left: 10px; top: 10px; width: 10px; height: 10px; display: block;
	mask-image: url(../images/star.svg); -webkit-mask-image: url(../images/star.svg);
	mask-size: 100% 100%; -webkit-mask-size: 100% 100%;
	background-color: currentColor; opacity: .5;
}

.p-gallery-item .title { font-size: 14px; font-weight: var(--fw); }
.p-gallery-muted .title, .p-gallery-muted::before { opacity: .5; }

@media (min-width: 992px) {
	.p-gallery-item { width: 340px; padding: 32px; }
	.p-gallery-item::before { left: 16px; top: 16px; width: 16px; height: 16px; }
	.p-gallery-item .title { font-size: 18px; }
}

/* Benefits */
.sect-benefits .card { padding: 0; position: relative; padding-bottom: 240px; }
.sect-benefits .card-cont { padding: var(--p-card); }
.card-illustrate {
	position: absolute; inset: 0; top: auto; user-select: none; pointer-events: none;
	margin-bottom: 0; height: 240px; overflow: hidden;
	border-radius: var(--r-card); border-top-left-radius: 0; border-top-right-radius: 0;
}
.card-illustrate::before {
	content: ""; display: block; height: 100%;
	background-repeat: no-repeat; background-size: auto 100%;
	background-position: 50% 100%; opacity: 0; transform: translateY(40px);
	transition: opacity .4s ease, transform .4s ease;
}
.sect-benefits .card:nth-child(1) .card-illustrate::before { transition-delay: 0s; }
.sect-benefits .card:nth-child(2) .card-illustrate::before { transition-delay: .1s; }
.sect-benefits .card:nth-child(3) .card-illustrate::before { transition-delay: .2s; }
.sect-benefits .card:nth-child(4) .card-illustrate::before { transition-delay: .3s; }

html.dark .card-illustrate::after {
	content: ""; position: absolute; top: 0; left: calc(50% - 300px);
	background-image: radial-gradient(closest-side, hsla(var(--c-primary), 0.2) 0%, hsla(var(--c-primary), 0) 100%);
	width: 600px; aspect-ratio: 1 / 1; border-radius: 50%;
}

.visible .pic-novpn::before { background-image: url("../images/features/img-feature-light-1.png"); }
.visible .pic-payrf::before { background-image: url("../images/features/img-feature-light-2.png"); }
.visible .pic-support::before { background-image: url("../images/features/img-feature-light-3.png"); }
.visible .pic-nolimit::before { background-image: url("../images/features/img-feature-light-4.png"); }

html.dark .pic-novpn::before { background-image: url("../images/features/img-feature-dark-1.png"); }
html.dark .pic-payrf::before { background-image: url("../images/features/img-feature-dark-2.png"); }
html.dark .pic-support::before { background-image: url("../images/features/img-feature-dark-3.png"); }
html.dark .pic-nolimit::before { background-image: url("../images/features/img-feature-dark-4.png"); }

.visible .card-illustrate::before { opacity: 1; transform: translateY(0); }

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
	.pic-novpn::before { background-image: url("../images/features/img-feature-light-1@2x.png"); }
	.pic-payrf::before { background-image: url("../images/features/img-feature-light-2@2x.png"); }
	.pic-support::before { background-image: url("../images/features/img-feature-light-3@2x.png"); }
	.pic-nolimit::before { background-image: url("../images/features/img-feature-light-4@2x.png"); }

	html.dark .pic-novpn::before { background-image: url("../images/features/img-feature-dark-1@2x.png"); }
	html.dark .pic-payrf::before { background-image: url("../images/features/img-feature-dark-2@2x.png"); }
	html.dark .pic-support::before { background-image: url("../images/features/img-feature-dark-3@2x.png"); }
	html.dark .pic-nolimit::before { background-image: url("../images/features/img-feature-dark-4@2x.png"); }
}

/* Reviews */
.review {
	--review-photo: 100%;
	--ic-url: url(../images/quote.svg);
	
	border-radius: var(--r-card); padding: 28px;
	box-shadow: inset 0 0 0 1px var(--c-border);
}
.review-text {
	font-size: inherit; line-height: 1.75em; height: calc(1.75em * 10);
	display: -webkit-box; overflow: hidden; -webkit-line-clamp: 10;
    -webkit-box-orient: vertical; text-overflow: ellipsis;
}
.review-contacts { display: flex; align-items: center; margin-top: 32px; }
.review .cover::before { padding-top: var(--review-photo); }
.review .cover { max-width: 48px; border-radius: 50%; margin-right: 16px; }
.review-pos { opacity: .6; font-size: 14px; line-height: 20px; }

@media (min-width: 576px) {
	.review { padding: 48px; }
}
@media (min-width: 768px) {
	.review { display: flex; flex-direction: column-reverse; }
	.review-contacts {
		height: 72px; border-radius: 36px; padding: 12px; padding-right: 32px;
		background-image: var(--gradient-v); margin: 0 auto 32px auto;
		color: hsl(var(--c-text-light));
	}
	.review-contacts .cover { flex: 0 0 48px; height: 48px; margin-right: 12px; }

	.review-text {
		max-width: 680px; margin-left: auto; margin-right: auto; text-align: center;
		height: calc(1.75em * 6); -webkit-line-clamp: 6;
	}
}
@media (min-width: 992px) {
	.review { padding: 48px; }
	.review-text { font-size: 20px; }
}

/* Tarifs */
.sect-tarifs .card { display: flex; flex-direction: column; }
.sect-tarifs .card .card-cont { flex: 1 1 auto; min-height: 300px; }
.sect-tarifs .card .title + .desc { margin-top: 16px; }

/* FAQ */
.faq-item {
	--p-faq-item: 20px;
	border-top: 1px solid var(--c-border);
}
.faq-title {
	position: relative; z-index: 1; display: flex; gap: 12px;
	padding: var(--p-faq-item) 0; --lh-title: 28px; cursor: pointer;
}
.faq-title > span { display: block; flex: 1 1 auto; max-width: 1024px; }
.faq-icon { position: relative; z-index: 1; }
.faq-icon::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	border-radius: 50%; background-image: var(--gradient-v);
	opacity: .2; transition: opacity .3s ease;
}
.faq-icon {
	margin-left: auto; position: relative;
	flex: 0 0 var(--lh-title); width: var(--lh-title); height: var(--lh-title);
	display: flex; align-items: center; justify-content: center;
}
.faq-icon .ic {
	width: 24px; height: 24px; display: block;
	transition: transform .3s ease;
}

.faq-text {
	--fs-desc: inherit;
	padding: var(--p-faq-item) 0 calc(var(--p-faq-item) * 1.5) 0;
	margin-top: calc((var(--p-faq-item) * 1.25)/-1) !important;
	max-width: 1024px;
}

.faq-item:not(.active):hover .faq-title > span { opacity: 1; }
.faq-item:not(.active) .faq-title > span { opacity: .8; transition: opacity .2s ease; }
.faq-item.active .faq-icon .ic { transform: rotate(135deg); }
.faq-item.active .faq-icon::after { opacity: .5; }

@media (min-width: 768px) {
	.faq-item { --p-faq-item: 24px; }
	.faq-title { --lh-title: 32px; }
	.faq-text { --fs-desc: 18px; }
}
@media (min-width: 992px) {
	.faq-item { --p-faq-item: 40px; }
	.faq-title { --fs-title: 24px; }
}