/* Couverture typographique — gabarit fixe de la charte Adytonia */
.adyt-couverture { margin: 0; }
.adyt-couverture a { display: block; text-decoration: none; color: inherit; }
.adyt-couverture__image { display: block; width: 100%; height: auto; box-shadow: 0 1px 2px rgba(43,36,32,.15), 0 8px 24px -12px rgba(43,36,32,.35); }
.adyt-couverture__typo {
	container-type: inline-size;
	aspect-ratio: 12 / 19;
	background: var(--wp--preset--color--safran, #C98A2B);
	color: var(--wp--preset--color--encre, #2B2420);
	padding: 5.6%; /* ≈ 9 mm sur 12 cm de large */
	box-shadow: 0 1px 2px rgba(43,36,32,.15), 0 8px 24px -12px rgba(43,36,32,.35);
	box-sizing: border-box;
}
.adyt-couverture__cadre {
	height: 100%;
	box-sizing: border-box;
	border: 1.5px solid var(--wp--preset--color--brun-rouge, #4E1B13);
	outline: 1px solid var(--wp--preset--color--brun-rouge, #4E1B13);
	outline-offset: -6px;
	/* Grille à hauteurs fixes : la ligne du titre ne bouge pas, que le surtitre
	   tienne sur une ou deux lignes et qu'il y ait un auteur ou non. */
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 14cqi 18cqi 1fr auto auto;
	justify-items: center;
	text-align: center;
	padding: 12% 9% 9%;
	font-family: var(--wp--preset--font-family--titre, Garamond, serif);
}
.adyt-couverture__surtitre { align-self: start; color: var(--wp--preset--color--brun-rouge, #4E1B13); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 5.2cqi; line-height: 1.3; padding-left: .2em; text-wrap: balance; }
.adyt-couverture__auteur { align-self: end; font-size: 7cqi; line-height: 1.2; font-weight: 500; }
.adyt-couverture__bloc-titre { align-self: start; display: flex; flex-direction: column; align-items: center; padding-top: 4cqi; }
.adyt-couverture__titre { font-size: 12cqi; line-height: 1.05; font-weight: 600; text-wrap: balance; hyphens: manual; }
.adyt-couverture__sous-titre { margin-top: 4cqi; font-size: 5.6cqi; line-height: 1.25; font-style: italic; font-weight: 500; text-wrap: balance; }
.adyt-couverture__fleuron {
	margin-top: 4cqi; width: 11cqi; height: 11cqi;
	background: var(--wp--preset--color--brun-rouge, #4E1B13);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3Cmask id=%22m%22%3E%3Crect width=%22100%22 height=%22100%22 fill=%22%23fff%22/%3E%3Cpath d=%22M50 48C52 62 51 76 49 88%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3C/mask%3E%3C/defs%3E%3Cpath mask=%22url%28%23m%29%22 d=%22M49 97C45 86 33 78 27 66C22 56 23 46 29 40C27 35 30 31 35 32C40 33 45 37 49 44C53 36 59 31 66 31C71 31 74 35 72 40C78 47 78 57 73 66C67 78 54 86 49 97Z%22/%3E%3Cpath d=%22M49 44C49 31 45 20 36 13C29 8 20 10 19 17C18 23 24 26 28 22%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%223.6%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3Cmask id=%22m%22%3E%3Crect width=%22100%22 height=%22100%22 fill=%22%23fff%22/%3E%3Cpath d=%22M50 48C52 62 51 76 49 88%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3C/mask%3E%3C/defs%3E%3Cpath mask=%22url%28%23m%29%22 d=%22M49 97C45 86 33 78 27 66C22 56 23 46 29 40C27 35 30 31 35 32C40 33 45 37 49 44C53 36 59 31 66 31C71 31 74 35 72 40C78 47 78 57 73 66C67 78 54 86 49 97Z%22/%3E%3Cpath d=%22M49 44C49 31 45 20 36 13C29 8 20 10 19 17C18 23 24 26 28 22%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%223.6%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.adyt-couverture__editeur { margin-top: 9%; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; font-size: 5cqi; padding-left: .32em; }

/* Auteur, statut */
.adyt-auteur { margin: 0; }
.adyt-contributeur { font-style: normal; font-size: .85em; }
.adyt-statut { margin: .25rem 0 0; font-family: var(--wp--preset--font-family--titre, serif); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--brun-rouge, #4E1B13); }

/* Fiche technique */
.adyt-fiche { margin-top: 1.75rem; }
.adyt-fiche__liste { margin: 0 0 1.5rem; border-top: 1px solid var(--wp--preset--color--ivoire-fonce, #EDE4D1); }
.adyt-fiche__liste > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--wp--preset--color--ivoire-fonce, #EDE4D1); }
.adyt-fiche__liste dt { font-family: var(--wp--preset--font-family--titre, serif); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; color: var(--wp--preset--color--brun-rouge, #4E1B13); padding-top: .15rem; }
.adyt-fiche__liste dd { margin: 0; }
.adyt-fiche__note { font-size: .95rem; font-style: italic; }

/* Formulaire de contact */
.adyt-contact { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.adyt-contact label { display: block; font-family: var(--wp--preset--font-family--titre, serif); font-weight: 600; letter-spacing: .06em; font-size: 1.05rem; margin-bottom: .3rem; }
.adyt-contact input[type=text], .adyt-contact input[type=email], .adyt-contact select, .adyt-contact textarea {
	width: 100%; box-sizing: border-box; font: inherit; color: inherit;
	background: #fffdf8; border: 1px solid #bfb39c; border-radius: 0; padding: .6rem .75rem;
}
.adyt-contact textarea { min-height: 11rem; resize: vertical; }
.adyt-contact__piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.adyt-contact__info { font-size: .95rem; margin: 0; }
.adyt-contact button { justify-self: start; cursor: pointer; border: 0; }
.adyt-message { padding: 1rem 1.25rem; border-left: 3px solid var(--wp--preset--color--brun-rouge, #4E1B13); background: var(--wp--preset--color--ivoire-fonce, #EDE4D1); }

/* Sous-titre sous le titre du livre */
.adyt-sous-titre {
	margin: 0.35rem 0 0.75rem;
	font-family: var(--wp--preset--font-family--titre, Garamond, serif);
	font-style: italic;
	font-weight: 500;
	font-size: 1.45rem;
	line-height: 1.25;
	text-wrap: balance;
}
.adyt-grille .adyt-sous-titre { font-size: 1.1rem; margin: 0.15rem 0 0.4rem; }
