/*
 * Indiya Charms : fiche variété (gabarit G5). Chargé sur single-variete uniquement.
 * Couleurs via variables Astra, dérivés via :root de header-pill.css.
 * Slots (convention Astra native, palette posée le 14/09/2026, fuchsia dominante le 29/10/2026) :
 *   0 fuchsia · 1 fuchsia foncé · 2 bleu nuit (titres, texte, fonds sombres)
 *   4 blanc · 5 crème · 6 gris texte · 7 filet #E6E5EF · 8 bleu roi
 * --c = hex de la nuance, posé en inline style par le gabarit.
 */

.ic-single-variete .site-content .ast-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.ic-wrap {
	width: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px));
	margin-inline: auto;
}

.ic-variete h1,
.ic-variete h2,
.ic-variete h3 {
	margin: 0;
	line-height: 1.1;
}

.ic-variete p {
	margin: 0;
}

.ic-variete ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ic-variete img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Boutons et liens */
.ic-btn {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .95em 1.6em;
	border-radius: 999px;
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
	transition: background .25s var(--ic-ease), color .25s var(--ic-ease), border-color .25s var(--ic-ease);
}

.ic-btn--plein {
	background: var(--ast-global-color-0);
	color: var(--ast-global-color-4);
}

.ic-btn--plein:hover {
	background: var(--ast-global-color-1);
	color: var(--ast-global-color-4);
}

.ic-btn--ligne {
	border: 1.5px solid var(--ast-global-color-8);
	color: var(--ast-global-color-8);
}

.ic-btn--ligne:hover {
	background: var(--ast-global-color-8);
	color: var(--ast-global-color-4);
}

.ic-btn--blanc {
	background: var(--ast-global-color-4);
	color: var(--ast-global-color-8);
}

.ic-btn--blanc:hover {
	background: var(--ast-global-color-0);
	color: var(--ast-global-color-4);
}

.ic-lien {
	font-weight: 500;
	font-size: 15px;
	color: var(--ast-global-color-8);
	border-bottom: 1.5px solid var(--ast-global-color-0);
	padding-bottom: 2px;
	text-decoration: none;
}

.ic-lien:hover {
	color: var(--ast-global-color-0);
}

.ic-entete {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 32px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.ic-entete p {
	color: var(--ast-global-color-6);
	max-width: 44ch;
}

/* Fil d'Ariane */
.ic-fil {
	font-size: 14px;
	color: var(--ast-global-color-6);
	padding: 32px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
}

.ic-fil a {
	color: inherit;
	text-decoration: none;
}

.ic-fil a:hover {
	color: var(--ast-global-color-0);
}

/* Zone principale */
.ic-fiche {
	padding: 32px 0 0;
}

.ic-fiche .ic-wrap {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

/* Galerie 3 images */
.ic-galerie {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	position: sticky;
	top: 110px;
}

.ic-galerie__item {
	margin: 0;
	border-radius: var(--ic-r);
	overflow: hidden;
	background: var(--ast-global-color-5);
	position: relative;
}

.ic-galerie__item--floraison {
	grid-row: span 2;
}

.ic-galerie__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1;
}

.ic-galerie__item figcaption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	font-size: 12px;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	padding: 6px 10px;
	border-radius: 999px;
	color: var(--ast-global-color-2);
}

.ic-galerie__ph {
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--ast-global-color-0)) 45%, #fff), var(--c, var(--ast-global-color-0)));
}

.ic-galerie__ph span {
	font-size: 12px;
	background: rgba(41, 35, 92, .35);
	color: #fff;
	padding: 6px 10px;
	border-radius: 999px;
}

/* Identité */
.ic-identite__coll {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ast-global-color-8);
	background: var(--ast-global-color-5);
	padding: 8px 14px;
	border-radius: 999px;
	margin-bottom: 22px;
	text-decoration: none;
}

.ic-identite__coll::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ast-global-color-0);
}

.ic-identite__titre {
	font-size: clamp(40px, 4.6vw, 66px);
	letter-spacing: -.02em;
	line-height: 1;
	margin-bottom: 12px;
}

.ic-identite__nomen {
	font-size: 17px;
	color: var(--ast-global-color-6);
	margin-bottom: 22px;
}

.ic-identite__nomen i {
	color: var(--ast-global-color-2);
}

.ic-identite__couleur {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border: 1px solid var(--ic-ligne);
	border-radius: var(--ic-r-s);
	margin-bottom: 28px;
	font-size: 15px;
}

.ic-identite__dot {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--c, var(--ast-global-color-0));
	box-shadow: inset 0 0 0 1px rgba(41, 35, 92, .1);
}

.ic-identite__couleur strong {
	display: block;
	font-weight: 500;
}

.ic-identite__couleur span {
	color: var(--ast-global-color-6);
	font-size: 13px;
}

.ic-identite__couleur span a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--ic-ligne);
}

.ic-identite__couleur span a:hover {
	color: var(--ast-global-color-0);
}

.ic-identite__signature {
	font-family: var(--ast-heading-font-family, inherit);
	font-style: italic;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.35;
	color: var(--ast-global-color-8);
	margin-bottom: 22px;
}

.ic-identite__desc {
	font-size: 17px;
	margin-bottom: 32px;
}

.ic-identite__desc p + p {
	margin-top: .8em;
}

.ic-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	/* Astra remet la marge des listes à zéro dans le contenu : on force l'espace avant les actions. */
	margin: 0 0 32px !important;
}

.ic-tags li {
	font-size: 13px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--ic-rose-pale);
	color: var(--ast-global-color-2);
}

.ic-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

/* Fiche technique : déroulant natif <details>, fermé par défaut (retour client 29/10/2026). */
.ic-tech {
	border: 1px solid var(--ic-ligne);
	border-radius: var(--ic-r-s);
	background: var(--ast-global-color-4);
	overflow: hidden;
}

.ic-tech__titre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	background: var(--ast-global-color-5);
	transition: background .25s var(--ic-ease);
}

.ic-tech__titre::-webkit-details-marker {
	display: none;
}

.ic-tech__titre:hover {
	background: var(--ic-rose-pale);
}

.ic-tech__titre:focus-visible {
	outline: 2px solid var(--ast-global-color-0);
	outline-offset: -2px;
}

.ic-tech h2 {
	font-size: 24px;
	margin: 0;
}

.ic-tech__chevron {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ast-global-color-0);
	position: relative;
	transition: transform .35s var(--ic-ease);
}

.ic-tech__chevron::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-50%, -65%) rotate(45deg);
}

.ic-tech[open] .ic-tech__chevron {
	transform: rotate(180deg);
}

.ic-tech table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 0;
	border: 0;
}

.ic-tech th,
.ic-tech td {
	text-align: left;
	padding: 13px 22px;
	border: 0;
	border-top: 1px solid var(--ic-ligne);
	vertical-align: top;
	background: none;
}

.ic-tech th {
	font-weight: 400;
	color: var(--ast-global-color-6);
	width: 38%;
}

.ic-tech td {
	font-weight: 400;
}

.ic-dot-i {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--c, var(--ast-global-color-0));
	vertical-align: -1px;
	margin-right: 8px;
}

/* Usages */
.ic-usages {
	padding: 130px 0 0;
}

.ic-usages .ic-wrap {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.ic-usages h2 {
	margin-bottom: 14px;
}

.ic-usages__intro p {
	color: var(--ast-global-color-6);
}

.ic-usages__liste {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.ic-usage {
	background: var(--ast-global-color-5);
	border-radius: var(--ic-r-s);
	padding: 22px;
	position: relative;
}

/* Pictogramme de l'usage : forme SVG en masque, teintée fuchsia (retour client : plus de fantaisie). */
.ic-usage::before {
	content: "";
	display: block;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	background: var(--ast-global-color-0);
	-webkit-mask: var(--ic-ico) center / contain no-repeat;
	mask: var(--ic-ico) center / contain no-repeat;
}

.ic-usage--non::before {
	background: var(--ast-global-color-6);
	opacity: .5;
}

.ic-usage--massif { --ic-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='10' cy='16' r='6'/><circle cx='26' cy='16' r='6'/><circle cx='18' cy='11' r='7'/><rect x='4' y='24' width='28' height='5' rx='2.5'/></svg>"); }
.ic-usage--isole { --ic-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='18' cy='13' r='9'/><rect x='16.5' y='20' width='3' height='9'/><rect x='6' y='29' width='24' height='3' rx='1.5'/></svg>"); }
.ic-usage--tige { --ic-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='18' cy='10' r='7'/><rect x='16.5' y='16' width='3' height='14'/><path d='M10 31h16v2H10z'/><path d='M12 22h12v2H12z' opacity='.6'/></svg>"); }
.ic-usage--urbain { --ic-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><rect x='5' y='12' width='9' height='20' rx='1'/><rect x='16' y='4' width='10' height='28' rx='1'/><circle cx='30' cy='22' r='4'/><rect x='29' y='25' width='2' height='7'/></svg>"); }
.ic-usage--alignement { --ic-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='7' cy='14' r='5'/><circle cx='18' cy='14' r='5'/><circle cx='29' cy='14' r='5'/><rect x='6' y='18' width='2' height='10'/><rect x='17' y='18' width='2' height='10'/><rect x='28' y='18' width='2' height='10'/><rect x='3' y='29' width='30' height='2' rx='1'/></svg>"); }
.ic-usage--pot { --ic-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='18' cy='11' r='7'/><rect x='16.5' y='16' width='3' height='6'/><path d='M9 21h18l-2 11H11z'/><rect x='7' y='19' width='22' height='3' rx='1.5'/></svg>"); }

.ic-usage--non {
	background: none;
	border: 1px dashed var(--ic-ligne);
	color: var(--ast-global-color-6);
}

/* PDF */
.ic-pdf {
	padding: 130px 0 0;
}

.ic-pdf .ic-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ic-pdf__lien {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
	align-items: center;
	padding: 28px 32px;
	border-radius: var(--ic-r);
	background: var(--ast-global-color-8);
	color: var(--ast-global-color-4);
	text-decoration: none;
	transition: background .25s;
}

.ic-pdf__lien:hover {
	background: var(--ast-global-color-2);
	color: var(--ast-global-color-4);
}

.ic-pdf__lien--en {
	background: var(--ast-global-color-4);
	color: var(--ast-global-color-2);
	border: 1px solid var(--ic-ligne);
}

.ic-pdf__lien--en:hover {
	background: var(--ast-global-color-5);
	color: var(--ast-global-color-2);
}

.ic-pdf__ico {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .14);
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 500;
}

.ic-pdf__lien--en .ic-pdf__ico {
	background: var(--ast-global-color-5);
}

.ic-pdf__texte strong {
	display: block;
	font-family: var(--ast-heading-font-family, inherit);
	font-weight: 400;
	font-size: 22px;
}

.ic-pdf__texte small {
	font-size: 13px;
	opacity: .75;
	word-break: break-all;
}

/* Voisines */
.ic-voisines {
	padding: 130px 0 0;
}

.ic-voisines__duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ic-voisine {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	align-items: center;
	border: 1px solid var(--ic-ligne);
	border-radius: var(--ic-r);
	padding: 16px;
	color: inherit;
	text-decoration: none;
	transition: transform .4s var(--ic-ease), border-color .3s;
}

.ic-voisine:hover {
	transform: translateY(-4px);
	border-color: var(--ast-global-color-8);
	color: inherit;
}

.ic-voisine__img {
	border-radius: var(--ic-r-s);
	overflow: hidden;
	aspect-ratio: 1;
	background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--ast-global-color-0)) 45%, #fff), var(--c, var(--ast-global-color-0)));
}

.ic-voisine__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ic-voisine h3 {
	font-size: 24px;
	margin-bottom: 6px;
}

.ic-voisine p {
	font-size: 14px;
	color: var(--ast-global-color-6);
	margin-bottom: 12px;
}

/* Double CTA */
.ic-cta2 {
	padding: 130px 0;
}

.ic-cta2 .ic-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ic-cta2__bloc {
	border-radius: var(--ic-r);
	padding: clamp(28px, 4vw, 44px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ic-cta2__bloc h2 {
	font-size: 26px;
}

.ic-cta2__bloc .ic-btn {
	align-self: flex-start;
	margin-top: auto;
}

.ic-cta2__bloc--part {
	background: var(--ic-rose-pale);
}

.ic-cta2__bloc--part p {
	color: var(--ast-global-color-6);
}

.ic-cta2__bloc--pro {
	background: var(--ast-global-color-8);
	color: var(--ast-global-color-4);
	position: relative;
	overflow: hidden;
}

/* Filigrane de la fleur Indiya Charms (retour client : des blocs moins ternes). */
.ic-cta2__bloc--pro::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -60px;
	width: 260px;
	height: 260px;
	background: url("../img/fleur-blanc.svg") center / contain no-repeat;
	opacity: .12;
	pointer-events: none;
}

.ic-cta2__bloc--pro > * {
	position: relative;
	z-index: 1;
}

.ic-cta2__bloc--pro h2 {
	color: var(--ast-global-color-4);
}

.ic-cta2__bloc--pro p {
	opacity: .85;
}

/* Responsive */
@media (max-width: 980px) {
	.ic-fiche .ic-wrap,
	.ic-usages .ic-wrap,
	.ic-pdf .ic-wrap,
	.ic-voisines__duo,
	.ic-cta2 .ic-wrap {
		grid-template-columns: 1fr;
	}

	.ic-galerie {
		position: static;
	}

	.ic-usages__liste {
		grid-template-columns: 1fr 1fr;
	}

	.ic-usages,
	.ic-pdf,
	.ic-voisines {
		padding-top: 72px;
	}

	.ic-cta2 {
		padding: 72px 0;
	}
}

@media (max-width: 560px) {
	.ic-galerie {
		grid-template-columns: 1fr 1fr;
	}

	.ic-galerie__item--floraison {
		grid-column: span 2;
		grid-row: auto;
	}

	.ic-usages__liste {
		grid-template-columns: 1fr;
	}

	.ic-voisine {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ic-variete * {
		transition: none !important;
	}
}
