/* v3-cartes : cartes produit homogènes partout + bloc vedette Ambre.
   Chargé après ondea.css : les !important répondent aux couches V22 et suivantes. */

/* ===== 1. Cartes produit : un seul rendu pour toutes ===== */
.grille-cartes { align-items: stretch; }
.carte {
	display: flex !important; flex-direction: column; height: 100%;
	background: #fffaf4 !important; border: 1px solid rgba(74, 69, 64, .08) !important;
	border-radius: 24px !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -34px rgba(74, 69, 64, .45) !important;
	-webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s cubic-bezier(.2, .8, .2, 1) !important;
}
.carte:hover { transform: translateY(-6px) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 34px 60px -30px rgba(74, 69, 64, .42) !important; }
.carte-lien { display: flex !important; flex-direction: column; flex: 1; padding: 10px 10px 22px !important; }

/* Le visuel : même fond ivoire > sable rosé, même cadrage, même taille d'instrument */
.carte .carte-visuel, .carte .carte-visuel.a-photo, .carte .carte-visuel.a-detoure {
	--teinte: #ead7c2;
	aspect-ratio: 1 !important; border-radius: 18px !important; overflow: hidden !important; border: 0 !important; box-shadow: none !important;
	background: radial-gradient(circle at 50% 42%, #fffaf4 0%, #f6ebde 48%, #ead7c2 100%) !important;
}
.carte .carte-visuel::after {
	content: ""; position: absolute; z-index: 0; left: 22%; right: 22%; bottom: 7%; height: 8%; border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(74, 69, 64, .26), rgba(74, 69, 64, 0) 70%); filter: blur(5px);
	transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s;
}
.carte .carte-visuel .carte-img:not(.carte-img-2) {
	position: absolute; z-index: 1; inset: 11% 11% 13% !important; width: 78% !important; height: 76% !important;
	object-fit: contain !important; object-position: center !important; mix-blend-mode: normal !important;
	filter: drop-shadow(0 16px 18px rgba(96, 62, 30, .22)) !important;
	animation: none !important; transform: none;
	transition: transform 1s cubic-bezier(.2, .8, .2, 1), filter .8s !important;
}
/* Photo sans détourage (rare) : on la fond dans le même décor */
.carte .carte-visuel.a-photo .carte-img:not(.carte-img-2) { mix-blend-mode: multiply !important; filter: none !important; border-radius: 50%; }
/* Pas de seconde photo au survol : elle cassait l'homogénéité */
.carte .carte-visuel .carte-img-2 { display: none !important; }

@media (hover: hover) {
	.carte:hover .carte-visuel .carte-img:not(.carte-img-2) { transform: rotate(-12deg) scale(1.06) translateY(-2%); filter: drop-shadow(0 26px 24px rgba(96, 62, 30, .3)) !important; }
	.carte:hover .carte-visuel::after { transform: scale(.86); opacity: .75; }
}

/* Badge des ventes : discret, ivoire, lisible */
.carte .carte-meilleure {
	position: absolute; z-index: 3; top: 12px; left: 12px; height: 34px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 11px 6px 9px; border-radius: 999px;
	background: rgba(255, 250, 244, .92) !important; color: #4a4540 !important; border: 1px solid rgba(74, 69, 64, .12);
	box-shadow: 0 6px 16px -10px rgba(74, 69, 64, .5);
	font: 600 .68rem/1 var(--sans, system-ui) !important; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.carte .carte-meilleure::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c58a5e; }

/* Bouton Écouter : toujours visible, en haut à droite du visuel */
.carte .carte-ecouter {
	position: absolute !important; z-index: 3; top: 22px !important; left: auto !important; bottom: auto !important;
	right: 22px !important;
	opacity: 1 !important; transform: none !important;
	display: inline-flex !important; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 11px !important; width: auto !important;
	border-radius: 999px !important; background: rgba(255, 250, 244, .94) !important; color: #4a4540 !important;
	border: 1px solid rgba(74, 69, 64, .16) !important; box-shadow: 0 8px 18px -12px rgba(74, 69, 64, .55);
	font: 600 .8rem/1 var(--sans, system-ui) !important; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s !important;
}
.carte .carte-ecouter .carte-ecouter-txt { display: inline !important; }
.carte .carte-ecouter:hover, .carte .carte-ecouter.joue { background: #4a4540 !important; color: #faf4ec !important; }
.carte .carte-ecouter:hover svg, .carte .carte-ecouter.joue svg, .carte .carte-ecouter:hover svg * , .carte .carte-ecouter.joue svg * { color: #faf4ec !important; }

/* Textes : alignés, même hauteur, prix en bas */
.carte .carte-texte { display: flex; flex-direction: column; flex: 1; text-align: center; padding: 16px 10px 0 !important; }
.carte .carte-sur {
	order: 0; display: block !important; margin: 0 0 8px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	font: 500 .68rem/1.3 var(--sans, system-ui) !important; letter-spacing: .1em !important; text-transform: uppercase; color: #8f7a68 !important;
}
.carte .carte-nom {
	font-family: var(--sans), 'Times New Roman', serif !important; font-weight: 400 !important; text-transform: none !important;
	font-size: 1.6rem !important; line-height: 1.1 !important; letter-spacing: -.01em !important; margin: 0 0 6px !important; color: #4a4540;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.carte .carte-meta { font-size: .86rem !important; color: #7d7168 !important; margin: 0 0 14px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte .carte-prix {
	margin-top: auto !important; padding-top: 12px; border-top: 1px solid rgba(74, 69, 64, .08);
	font-family: var(--sans, system-ui) !important; font-size: 1.2rem !important; font-weight: 600 !important; color: #4a4540 !important; letter-spacing: -.01em;
}
.carte .carte-prix .des { font-size: .8rem !important; font-weight: 400 !important; color: #8f7a68 !important; margin-right: 3px; }

@media (max-width: 700px) {
	.carte { border-radius: 18px !important; }
	.carte-lien { padding: 6px 6px 16px !important; }
	.carte .carte-visuel { border-radius: 14px !important; }
	.carte .carte-texte { padding: 12px 4px 0 !important; }
	.carte .carte-nom { font-size: 1.2rem !important; }
	.carte .carte-meta { font-size: .74rem !important; margin-bottom: 10px !important; }
	.carte .carte-sur { font-size: .58rem !important; letter-spacing: .06em !important; }
	.carte .carte-prix { font-size: 1.02rem !important; padding-top: 10px; }
	.carte .carte-meta { white-space: normal; line-height: 1.35; min-height: 2.7em; }
	.carte .carte-meilleure { height: 28px; top: auto; bottom: 8px; left: 50%; transform: translateX(-50%); padding: 5px 8px 5px 7px; font-size: .56rem !important; letter-spacing: .04em; }
	.carte .carte-ecouter { top: 14px !important; right: 14px !important; height: 30px; width: 30px !important; padding: 0 !important; justify-content: center; }
	.carte .carte-ecouter .carte-ecouter-txt { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.carte, .carte .carte-visuel .carte-img { transition: none !important; }
	.carte:hover .carte-visuel .carte-img:not(.carte-img-2) { transform: none; }
}

/* ===== 2. Vedette Ambre ===== */
.vedette { align-items: center; }
.vedette-texte { max-width: 560px; text-align: left !important; }
.vedette-texte .titre-xl { text-align: left !important; }
.vedette-rang {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 16px 6px 6px; border-radius: 999px;
	background: #fffaf4; border: 1px solid rgba(74, 69, 64, .1); box-shadow: 0 10px 24px -18px rgba(74, 69, 64, .5);
	font-size: .9rem; color: #4a4540; white-space: nowrap;
}
.vedette-rang-num { display: inline-grid; place-items: center; padding: 5px 10px; border-radius: 999px; background: #ead7c2; font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.vedette-texte .titre-xl { font-size: clamp(2.3rem, 4vw, 3.9rem) !important; letter-spacing: -.02em !important; margin-bottom: 22px !important; }
.vedette-texte .titre-xl em { opacity: .55 !important; font-weight: 400 !important; }
.vedette-phrase { font-size: 1.08rem; line-height: 1.6; max-width: 46ch; color: #4a4540; margin-bottom: 26px; }
.vedette .vedette-faits { display: grid; gap: 12px; margin: 0 0 30px; }
.vedette .vedette-faits li {
	display: flex; align-items: flex-start; gap: 12px; padding: 0; background: none; border: 0; border-radius: 0;
	font-size: .98rem; line-height: 1.45; color: #4a4540;
}
.vedette .vedette-faits li svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fffaf4; border: 1px solid rgba(74, 69, 64, .1); color: #a06d4a; margin-top: -6px; }
.vedette .vedette-faits li span { padding-top: 1px; }
.vedette-achat { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(74, 69, 64, .1); }
.vedette-prix { margin: 0; font-family: var(--sans); font-size: 2.2rem; line-height: 1; color: #4a4540; white-space: nowrap; }
.vedette-prix span { font-family: var(--sans, system-ui); font-size: .9rem; color: #8f7a68; margin-right: 2px; }
@media (max-width: 900px) {
	.vedette-texte { max-width: none; }
	.vedette-rang { font-size: .82rem; }
	.vedette-achat { gap: 16px; }
	.vedette-prix { font-size: 1.9rem; }
	.vedette .vedette-faits li { font-size: .94rem; }
}
.vedette-texte .titre-xl { text-align: left !important; }

/* ===== V43 : la police du logo partout ===== */
:root { --serif: "Inter Tight Ondea", "Inter Tight", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .titre-xl, .titre-l, .titre-m, .chap-titre, .chap-nom, .famille-nom, .fiche-titre, .fiche-titre .nom-modele, .carte .nom-modele, .vedette-texte .titre-xl, .atelier-humeur, .res-hz, .pastille-lettre, .scene-titre, .manifeste-titre, .faq-item summary, .modele-choisir strong, .fiche-volet summary, .fiche-pourqui-titre, .atelier-choix strong {
	font-family: var(--sans) !important; font-weight: 700 !important; letter-spacing: -.035em !important; font-style: normal !important; }
.titre-xl em, .titre-l em, .titre-m em, h1 em, h2 em, h3 em, .chap-titre em, .vedette-texte .titre-xl em { font-family: var(--sans) !important; font-style: normal !important; font-weight: 700 !important; opacity: .45 !important; }
.faq-item summary, .modele-choisir strong, .atelier-choix strong, .fiche-volet summary { font-weight: 600 !important; letter-spacing: -.01em !important; }

/* ===== V44 : avis écrits au même format que les avis vidéo ===== */
.avis .rail .avis-carte, .avis-carte.relief, .avis-carte { flex: 0 0 330px !important; width: 330px !important; height: 710px !important; min-height: 710px !important; box-sizing: border-box;
	display: flex !important; flex-direction: column !important; justify-content: flex-end; gap: 14px; padding: 30px 26px !important;
	background: #ead7c2 !important; border: 1px solid rgba(74,69,64,.1) !important; border-radius: 22px !important; box-shadow: 0 30px 50px -40px rgba(110,70,40,.55) !important; overflow: hidden; position: relative; }
.avis-carte:not(.avec-photo)::before { content: "\201C"; position: absolute; top: 30px; left: 22px; font: 700 12rem/1 var(--sans); color: #4a4540; opacity: .12; }
.avis-carte:not(.avec-photo) > *:first-child { margin-top: auto; }
.avis-carte p { font-size: 1.12rem !important; line-height: 1.55 !important; }
.avis-carte.avec-photo img { width: 100% !important; height: 400px !important; object-fit: cover; border-radius: 16px; flex: none; }
@media (max-width: 900px) { .avis .rail .avis-carte, .avis-carte { flex-basis: 78vw !important; width: 78vw !important; height: 600px !important; min-height: 600px !important; } .avis-carte.avec-photo img { height: 320px !important; } }

/* ===== V44 : la police du logo sur tous les titres, sans italique ===== */
h1, h2, h3, h4, .titre-xl, .titre-l, .titre-m, .titre-s, .surtitre + h2, [class*="titre"]:not(.visuellement-cache) { font-family: "Inter Tight Ondea", "Inter Tight", "Helvetica Neue", Arial, sans-serif !important; font-weight: 700 !important; font-style: normal !important; letter-spacing: -.04em !important; }
h1 em, h2 em, h3 em, h4 em, [class*="titre"] em { font-family: inherit !important; font-style: normal !important; font-weight: 700 !important; }
.avis-carte:not(.avec-photo) { justify-content: center !important; padding-top: 120px !important; }
.avis-carte:not(.avec-photo) > *:first-child { margin-top: 0 !important; }
.avis-carte:not(.avec-photo)::before { top: 18px !important; font-size: 9rem !important; opacity: .16 !important; }
.avis-carte:not(.avec-photo) p { font-size: 1.28rem !important; line-height: 1.55 !important; }
.avis-carte:not(.avec-photo) > :last-child { margin-top: auto !important; }
