@CHARSET "UTF-8";

/* ==========================================================================
   Cartes coffrets - design editorial premium
   Generees par RetProduitNu() dans inc/functions_site.php
   ========================================================================== */

/* Palette partagee : les cartes et le bloc tarif des fiches coffret s'en servent */
:root {
	--cc-encre: #161b22;
	--cc-bleu: #3da1ed;
	--cc-vert: #2eab5b;
	--cc-promo: #c0392f;
	--cc-gris: #6b7280;
}

.cc-card {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(20, 30, 45, .13);
	transition: transform .3s ease, box-shadow .3s ease;
}
.cc-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 56px rgba(20, 30, 45, .22);
}

/* Hauteurs egales quand plusieurs cartes sont dans la meme ligne bootstrap */
.row:has(> [class*="col-"] > .cc-card) {
	display: flex;
	flex-wrap: wrap;
}
.row:has(> [class*="col-"] > .cc-card) > [class*="col-"] {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	margin-bottom: 26px;
}

/* --- visuel vertical + informations en surimpression --- */
.cc-cover {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: #1b1f26;
}
.cc-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s ease;
}
.cc-card:hover .cc-cover img {
	transform: scale(1.06);
}
.cc-cover:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top,
		rgba(8, 11, 16, .94) 0%,
		rgba(8, 11, 16, .86) 16%,
		rgba(8, 11, 16, .5) 34%,
		rgba(8, 11, 16, 0) 58%);
}

.cc-overlay {
	position: absolute;
	z-index: 2;
	left: 22px;
	right: 22px;
	bottom: 20px;
	color: #fff;
	text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}
.cc-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #9fd3f9;
}
.cc-meta span:not(:last-child):after {
	content: "\00b7";
	margin-left: 8px;
	opacity: .55;
}
.cc-titre {
	margin: 0 0 11px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}
.cc-titre a,
.cc-titre a:hover,
.cc-titre a:focus {
	color: #fff;
	text-decoration: none;
}
.cc-rule {
	display: block;
	width: 38px;
	height: 2px;
	margin-bottom: 11px;
	background: var(--cc-bleu);
}
.cc-tarif {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}
.cc-prix {
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}
.cc-prix--promo {
	color: #ffd9d4;
}
.cc-prix-barre {
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 17px;
	font-weight: 500;
	opacity: .72;
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
}
.cc-eco {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #ffb3a9;
}

/* --- etiquettes d'angle --- */
.cc-badge {
	position: absolute;
	z-index: 3;
	top: 0;
	right: 0;
	padding: 8px 14px;
	border-radius: 0 0 0 8px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	background: var(--cc-bleu);
}
.cc-badge--promo {
	background: var(--cc-promo);
}

/* --- contenu du coffret --- */
.cc-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 24px 22px;
}
ul.cc-feat {
	flex: 1;
	width: auto;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
ul.cc-feat li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 7px 0;
	font-size: 14px;
	line-height: 1.45;
	border-bottom: 1px solid #f5f6f8;
}
ul.cc-feat li:last-child {
	border-bottom: 0;
}
ul.cc-feat li i {
	flex: 0 0 15px;
	margin: 3px 0 0;
	font-size: 15px;
	line-height: 1;
}
ul.cc-feat li.cc-off {
	color: #adb3ba;
}
ul.cc-feat li.cc-hl {
	font-weight: 600;
	color: #1d7a44;
}
/* Lignes de remplissage : gardent la meme hauteur qu'une vraie ligne pour
   egaliser les cartes meme si le navigateur ne gere pas :has() */
ul.cc-feat li.cc-vide {
	border-bottom: 0;
}

/* ==========================================================================
   Fiche coffret (_txt/Off.php, _txt/OffP.php) : memes codes que la carte, mais
   sur fond clair. Genere par FicheCoffretTarif() dans inc/functions_site.php
   ========================================================================== */
.cc-fiche {
	/* La colonne tarif imbrique un .col-xs-12 : on annule sa gouttiere pour que les
	   boutons occupent toute la largeur, comme le titre juste au-dessus */
	margin: 14px -15px 0;
	text-align: left;
}
/* Colonne etroite (col-md-3) : le libelle du bouton doit tenir sur une ligne */
.cc-fiche .cc-btn {
	padding: 13px 10px;
	font-size: 11.5px;
	letter-spacing: .02em;
}
.cc-fiche-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 9px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cc-gris);
}
/* Separateur en tete : si la ligne passe a deux, il se retrouve en debut de
   seconde ligne plutot qu'en fin de premiere */
.cc-fiche-meta span:not(:first-child):before {
	content: "\00b7";
	margin-right: 8px;
	opacity: .55;
}
.cc-fiche-tarif {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}
.cc-fiche-prix {
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: var(--cc-encre);
}
.cc-fiche-prix--promo {
	color: var(--cc-promo);
}
.cc-fiche-barre {
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: var(--cc-gris);
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
}
.cc-fiche-eco {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--cc-promo);
}
.cc-fiche .cc-actions {
	margin-top: 16px;
}
/* Repli telephone : le bloc tarif reste centre comme le reste de la colonne xs */
@media (max-width: 767px) {
	.cc-fiche-meta,
	.cc-fiche-tarif {
		justify-content: center;
	}
	.cc-fiche-eco {
		text-align: center;
	}
}

/* --- actions --- */
.cc-actions {
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.cc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	padding: 14px;
	border: 1px solid var(--cc-encre);
	border-radius: 4px;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.cc-btn--resa {
	color: #fff;
	background: var(--cc-encre);
}
.cc-btn--resa:hover,
.cc-btn--resa:focus {
	color: #fff;
	background: var(--cc-bleu);
	border-color: var(--cc-bleu);
}
/* Acces a la fiche : le plus discret des trois, il ouvre juste une page */
.cc-btn--detail {
	padding: 12px;
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--cc-gris);
	background: #fff;
	border-color: #e4e8ec;
}
.cc-btn--detail:hover,
.cc-btn--detail:focus {
	color: var(--cc-encre);
	background: #fafbfc;
	border-color: #c8cfd6;
}
.cc-btn--offrir {
	padding: 13px;
	font-size: 12.5px;
	letter-spacing: .04em;
	color: var(--cc-encre);
	background: #fff;
	border-color: #d8dde3;
}
.cc-btn--offrir:hover,
.cc-btn--offrir:focus {
	color: var(--cc-encre);
	background: #fafbfc;
	border-color: var(--cc-encre);
}
.cc-lien {
	display: block;
	width: fit-content;
	margin: 3px auto 0;
	font-size: 12.5px;
	color: var(--cc-gris);
	text-decoration: none;
	border-bottom: 1px dotted #c8cfd6;
}
.cc-lien:hover,
.cc-lien:focus {
	color: var(--cc-encre);
	text-decoration: none;
	border-bottom-color: var(--cc-encre);
}

@media (max-width: 767px) {
	/* En xs bootstrap ne pose aucune largeur : sans cela la colonne se reduit a son contenu */
	.row:has(> [class*="col-"] > .cc-card) > [class*="col-"] {
		width: 100%;
	}
	.cc-card {
		max-width: 400px;
		margin: 0 auto;
	}
	.cc-overlay {
		left: 18px;
		right: 18px;
	}
	.cc-prix {
		font-size: 30px;
	}
}
