/* ==========================================================================
   Page « Nos outils » (page-nos-outils.php) : Plantic mis en avant, puis les outils à venir.
   Mêmes jetons que guides.css / prevention.css (charte Antic, main.css).
   ========================================================================== */

.a-tools-section {
	position: relative;
	padding-block: clamp(48px, 6vw, 88px);
}

.a-tools-section .a-section-head {
	margin-bottom: clamp(20px, 2.6vw, 34px);
}

.a-tools-section--soon {
	border-top: 1px solid var(--a-line);
	background:
		radial-gradient(ellipse 45% 70% at 100% 30%, color-mix(in srgb, var(--c-teal) 6%, transparent), transparent 70%),
		linear-gradient(180deg, color-mix(in srgb, var(--a-petrol-deep) 45%, var(--c-ink)), var(--c-ink));
}

/* --- Plantic : bloc texte + capture ------------------------------------- */
.a-tools-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(26px, 4vw, 56px);
	align-items: center;
	padding: clamp(22px, 3.4vw, 44px);
	border: 1px solid var(--a-line-strong);
	border-radius: 24px;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, color-mix(in srgb, var(--c-teal) 10%, transparent), transparent 70%),
		var(--a-abyss);
}

@media (min-width: 1000px) {
	.a-tools-feature {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	}
}

.a-tools-feature__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.a-tools-feature__logo {
	width: 52px;
	height: 52px;
	border-radius: var(--a-radius-sm);
}

.a-tools-feature__title {
	margin: 0 0 10px;
	font-family: var(--a-ff-title);
	font-stretch: var(--a-fs-title);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--a-cream);
}

.a-tools-feature__tagline {
	margin: 0 0 14px;
	font-family: var(--a-ff-title);
	font-stretch: var(--a-fs-title);
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--a-sand);
}

.a-tools-feature__text {
	max-width: 60ch;
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--a-text);
}

.a-tools-feature__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(22px, 2.6vw, 30px);
}

.a-tools-feature__actions .a-btn {
	min-height: 48px;
}

.a-tools-feature__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--a-muted);
}

.a-tools-feature__note .a-icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 0.1em;
	color: var(--c-teal);
}

/* Capture dans un cadre d'écran sobre (liseré sable décalé, comme .a-frame). */
.a-tools-feature__media {
	position: relative;
	margin: 0;
}

.a-tools-screen {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--a-line-strong);
	border-radius: var(--a-radius);
	background: var(--c-ink);
	box-shadow: 14px 14px 0 -1px color-mix(in srgb, var(--c-sand) 22%, transparent);
}

.a-tools-screen__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* --- Points forts : 4 aperçus ------------------------------------------- */
.a-tools-points {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(14px, 2vw, 22px);
	margin: clamp(22px, 3vw, 34px) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 360px) {
	.a-tools-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.a-tools-point__label {
		gap: 6px;
		padding: 10px 10px 12px;
		font-size: 0.95rem;
	}

	.a-tools-point__label .a-icon {
		width: 16px;
		height: 16px;
	}
}

@media (min-width: 1000px) {
	.a-tools-points {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.a-tools-point {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--a-line);
	border-radius: var(--a-radius);
	background: var(--a-deep);
}

.a-tools-point__media {
	display: block;
	border-bottom: 1px solid var(--a-line);
	background: var(--c-ink);
}

.a-tools-point__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: left top;
}

.a-tools-point__label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px 16px;
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.35;
	color: var(--a-cream);
}

.a-tools-point__label .a-icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.05em;
	color: var(--c-teal);
}

/* --- Outils à venir : cartes atténuées ---------------------------------- */
.a-tools-soon {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(16px, 2.4vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 800px) {
	.a-tools-soon {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.a-tools-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px dashed var(--a-line-strong);
	border-radius: var(--a-radius);
	background: color-mix(in srgb, var(--a-abyss) 70%, transparent);
}

.a-tools-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 1px solid var(--a-line);
	background: var(--c-ink);
}

.a-tools-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.8) brightness(0.9);
}

/* Visuel d'attente : quadrillage discret + icône, aux couleurs du site. */
.a-tools-card__media--wait {
	display: grid;
	place-items: center;
	background:
		linear-gradient(var(--a-line) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, var(--a-line) 1px, transparent 1px) 0 0 / 32px 32px,
		radial-gradient(ellipse 60% 70% at 50% 50%, color-mix(in srgb, var(--c-teal) 14%, transparent), transparent 75%),
		linear-gradient(160deg, color-mix(in srgb, var(--a-petrol-deep) 70%, var(--c-ink)), var(--c-ink));
}

.a-tools-card__icon {
	display: grid;
	place-items: center;
	width: clamp(72px, 9vw, 96px);
	aspect-ratio: 1;
	border: 1px solid var(--a-line-teal);
	border-radius: 50%;
	background: color-mix(in srgb, var(--c-ink) 70%, transparent);
	color: var(--c-teal);
}

.a-tools-card__icon .a-icon {
	width: 44%;
	height: 44%;
}

.a-tools-card__body {
	padding: clamp(18px, 2.4vw, 26px);
}

.a-tools-card__title {
	margin: 14px 0 8px;
	font-family: var(--a-ff-title);
	font-stretch: var(--a-fs-title);
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--a-cream);
}

.a-tools-card__text {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--a-muted);
}

.a-tools > .a-content {
	padding-block: 0 clamp(48px, 6vw, 88px);
}

@media (max-width: 599px) {
	.a-tools-feature__actions .a-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}
