/*
Theme Name: AvocatTravail — Dossier
Theme URI: https://avocatravail.net/
Author: Maurri Christophe
Description: Thème éditorial pour blog juridique. Mise en page en dossier de procédure : colonne de marge portant dates, articles du Code et délais. Aucun fichier d'image sur disque, une seule feuille de style, une police auto-hébergée sous-ensemblée au français.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avocatravail-dossier
Tags: blog, one-column, custom-menu, translation-ready, accessibility-ready
*/

/* ------------------------------------------------------------------ */
/* 1. Police                                                           */
/* ------------------------------------------------------------------ */

@font-face {
	font-family: "Serif FR";
	src: url("assets/fonts/serif-fr-normal.woff2") format("woff2-variations");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215;
}

@font-face {
	font-family: "Serif FR";
	src: url("assets/fonts/serif-fr-italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

/* Repli métriquement ajusté : supprime le décalage à l'échange de police. */
@font-face {
	font-family: "Serif FR repli";
	src: local("Georgia"), local("Times New Roman"), local("Liberation Serif");
	size-adjust: 96%;
	ascent-override: 98%;
	descent-override: 26%;
	line-gap-override: 0%;
}

/* ------------------------------------------------------------------ */
/* 2. Jetons                                                           */
/* ------------------------------------------------------------------ */

:root {
	/* Encres et papier */
	--encre: #14284b;
	--encre-clair: #3d5480;
	--texte: #22262c;
	--texte-doux: #5a6270;
	--papier: #ffffff;
	--marge: #f2f4f7;
	--reglure: #d8dde5;

	/* Cachet — réservé aux délais, nulle part ailleurs */
	--cachet: #9c2b21;
	--cachet-fond: #fbf0ee;

	/* Familles */
	--f-document: "Serif FR", "Serif FR repli", Georgia, "Times New Roman", serif;
	--f-greffe: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;

	/* Échelle typographique — quarte mineure resserrée */
	--t-corps: 1.0625rem;
	--t-petit: 0.9375rem;
	--t-greffe: 0.8125rem;
	--t-h3: 1.1875rem;
	--t-h2: clamp(1.3rem, 1.14rem + 0.62vw, 1.55rem);
	--t-h1: clamp(1.75rem, 1.36rem + 1.6vw, 2.35rem);
	--t-titraille: clamp(2rem, 1.5rem + 2.1vw, 2.9rem);

	/* Rythme et largeurs.
	   Un seul conteneur pour l'en-tête, le corps et le pied : mêmes bords
	   gauche et droit partout. Passer --page-max à « none » pour un site
	   réellement pleine largeur. */
	--pas: 1.5rem;
	--page-max: 78rem;
	--page-marge: 1.75rem;
	--corps-max: 46rem;
	--appareil-l: 17rem;
	--gouttiere: 3rem;
}

@media (min-width: 60rem) {
	:root {
		--t-corps: 1.125rem;
	}
}

/* ------------------------------------------------------------------ */
/* 3. Socle                                                            */
/* ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--papier);
	color: var(--texte);
	font-family: var(--f-document);
	font-size: var(--t-corps);
	line-height: 1.72;
	font-variant-numeric: oldstyle-nums;
	text-rendering: optimizeLegibility;
}

img,
svg,
iframe,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--encre);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: var(--reglure);
}

a:hover,
a:focus-visible {
	color: var(--encre-clair);
	text-decoration-color: currentColor;
}

:focus-visible {
	outline: 2px solid var(--encre);
	outline-offset: 3px;
	border-radius: 1px;
}

h1,
h2,
h3,
h4 {
	color: var(--encre);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.006em;
	margin: 0;
	text-wrap: balance;
}

p,
ul,
ol,
blockquote,
table,
figure {
	margin: 0 0 var(--pas);
}

ul,
ol {
	padding-left: 1.2em;
}

li + li {
	margin-top: 0.4em;
}

strong {
	font-weight: 650;
	color: var(--encre);
}

hr {
	border: 0;
	border-top: 1px solid var(--reglure);
	margin: calc(var(--pas) * 2) 0;
}

code,
kbd {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.avt-invisible {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.avt-saut {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--encre);
	color: #fff;
	padding: 0.7em 1.1em;
	text-decoration: none;
}

.avt-saut:focus {
	left: 0.5rem;
	top: 0.5rem;
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* 4. Chrome : en-tête et pied                                         */
/* ------------------------------------------------------------------ */

.avt-entete {
	border-bottom: 1px solid var(--reglure);
	background: var(--papier);
}

.avt-conteneur,
.avt-entete__interieur,
.avt-pied__interieur,
.avt-page {
	max-width: var(--page-max);
	margin-inline: auto;
	padding-inline: var(--page-marge);
}

.avt-entete__interieur {
	padding-block: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.avt-marque {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--encre);
	text-decoration: none;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.avt-marque:hover {
	color: var(--encre);
	text-decoration: underline;
	text-decoration-color: var(--reglure);
}

.avt-marque__second {
	display: block;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 400;
	color: var(--texte-doux);
	letter-spacing: 0;
	margin-top: 0.1rem;
}

.avt-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
}

.avt-nav li {
	margin: 0;
}

.avt-nav a {
	color: var(--texte);
	text-decoration: none;
	padding-bottom: 0.15rem;
	border-bottom: 2px solid transparent;
}

.avt-nav a:hover,
.avt-nav .current-menu-item > a,
.avt-nav .current_page_item > a {
	color: var(--encre);
	border-bottom-color: var(--encre);
}

.avt-bascule {
	display: none;
	background: none;
	border: 1px solid var(--reglure);
	border-radius: 3px;
	padding: 0.45rem 0.7rem;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	color: var(--encre);
	cursor: pointer;
}

@media (max-width: 47.9375rem) {
	.avt-bascule {
		display: block;
	}
	.avt-nav {
		display: none;
		width: 100%;
	}
	.avt-nav[data-ouvert="1"] {
		display: block;
	}
	.avt-entete__interieur {
		flex-wrap: wrap;
	}
	.avt-nav ul {
		flex-direction: column;
		gap: 0;
		border-top: 1px solid var(--reglure);
		margin-top: 0.9rem;
		padding-top: 0.4rem;
	}
	.avt-nav li {
		padding: 0.55rem 0;
	}
}

.avt-pied {
	margin-top: calc(var(--pas) * 3);
	border-top: 1px solid var(--reglure);
	background: var(--marge);
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	line-height: 1.6;
}

.avt-pied__interieur {
	padding-block: 2.5rem 2rem;
}

.avt-pied__colonnes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 2rem;
}

.avt-pied h2 {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 600;
	color: var(--encre);
	margin: 0 0 0.7rem;
	letter-spacing: 0;
}

.avt-pied ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.avt-pied li {
	margin: 0 0 0.4rem;
}

.avt-pied a {
	color: var(--texte);
	text-decoration: none;
}

.avt-pied a:hover {
	color: var(--encre);
	text-decoration: underline;
}

.avt-pied__bas {
	margin-top: 2.2rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--reglure);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	color: var(--texte-doux);
}

/* ------------------------------------------------------------------ */
/* 5. Grille dossier : marge + corps                                   */
/* ------------------------------------------------------------------ */

.avt-page {
	padding-block: calc(var(--pas) * 1.6) 0;
}

.avt-dossier {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

/* Page sans appareil : une seule colonne, alignée sur le bord du conteneur. */
.avt-simple {
	max-width: var(--corps-max);
}

@media (min-width: 64rem) {
	.avt-dossier {
		grid-template-columns: minmax(0, 1fr) var(--gouttiere) var(--appareil-l);
		align-items: start;
	}
}

.avt-corps {
	min-width: 0;
}

@media (min-width: 64rem) {
	.avt-corps {
		grid-column: 1;
		grid-row: 1;
	}
}

/*
 * L'appareil de la fiche : date, cachets de délai, textes cités, sommaire.
 * Placé avant le corps dans le balisage pour arriver en tête sur mobile,
 * renvoyé en colonne de droite sur grand écran.
 */
.avt-appareil {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	line-height: 1.5;
	color: var(--texte-doux);
	font-variant-numeric: tabular-nums;
	margin: 0 0 var(--pas);
}

@media (min-width: 64rem) {
	.avt-appareil {
		grid-column: 3;
		grid-row: 1;
		position: sticky;
		top: 1.5rem;
		margin: 0;
	}
}

.avt-note {
	padding: 0 0 0 0.9rem;
	border-left: 2px solid var(--reglure);
	margin: 0 0 1.15rem;
}

.avt-note__intitule {
	display: block;
	color: var(--encre);
	font-weight: 600;
}

.avt-note ul {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0;
}

.avt-note li {
	margin: 0 0 0.15rem;
}

/* Sur écran étroit, l'appareil s'étale en bandeau. */
@media (max-width: 63.9375rem) {
	.avt-appareil {
		display: flex;
		flex-wrap: wrap;
		gap: 0 1.5rem;
		align-items: flex-start;
		padding-bottom: 0.4rem;
		border-bottom: 1px solid var(--reglure);
	}
	.avt-appareil > * {
		margin-bottom: 0.9rem;
	}
	.avt-appareil .avt-sommaire {
		flex: 1 1 100%;
		order: 9;
	}
}

/* Le cachet : seul élément coloré du site */
.avt-cachet {
	display: block;
	margin: 0 0 1.15rem;
	padding: 0.7rem 0.85rem;
	border: 1.5px solid var(--cachet);
	background: var(--cachet-fond);
	color: var(--cachet);
	text-align: center;
	border-radius: 2px;
}

.avt-cachet__valeur {
	display: block;
	font-family: var(--f-document);
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1.05;
	font-variant-numeric: lining-nums tabular-nums;
}

.avt-cachet__unite {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.75rem;
	line-height: 1.35;
}

@media (max-width: 63.9375rem) {
	.avt-cachet {
		min-width: 9rem;
	}
}

/* ------------------------------------------------------------------ */
/* 6. Titraille et fil d'Ariane                                        */
/* ------------------------------------------------------------------ */

.avt-fil {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	color: var(--texte-doux);
	margin: 0 0 0.9rem;
}

.avt-fil a {
	color: var(--texte-doux);
	text-decoration: none;
}

.avt-fil a:hover {
	color: var(--encre);
	text-decoration: underline;
}

.avt-fil__sep {
	padding: 0 0.45em;
	color: var(--reglure);
}

.avt-titre {
	font-size: var(--t-h1);
	margin: 0 0 0.7rem;
	max-width: 30ch;
}

.avt-chapo {
	font-size: 1.0625em;
	color: var(--texte-doux);
	margin: 0 0 calc(var(--pas) * 1.3);
	max-width: 34rem;
}

/* ------------------------------------------------------------------ */
/* 7. Contenu rédactionnel                                             */
/* ------------------------------------------------------------------ */

.avt-texte {
	max-width: var(--corps-max);
}

.avt-texte > h2 {
	font-size: var(--t-h2);
	margin: calc(var(--pas) * 1.9) 0 0.65rem;
	scroll-margin-top: 1.5rem;
}

.avt-texte > h3 {
	font-size: var(--t-h3);
	margin: calc(var(--pas) * 1.2) 0 0.45rem;
	scroll-margin-top: 1.5rem;
}

.avt-texte > :first-child {
	margin-top: 0;
}

.avt-texte a {
	text-decoration-color: var(--encre-clair);
}

.avt-texte figure {
	margin: calc(var(--pas) * 1.4) 0;
}

.avt-texte figcaption {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	color: var(--texte-doux);
	margin-top: 0.5rem;
}

.avt-texte blockquote {
	border-left: 2px solid var(--reglure);
	padding-left: 1.1rem;
	margin-left: 0;
	color: var(--texte-doux);
	font-style: italic;
}

.avt-texte table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--t-petit);
}

.avt-texte th,
.avt-texte td {
	text-align: left;
	padding: 0.55rem 0.7rem;
	border-bottom: 1px solid var(--reglure);
	vertical-align: top;
}

.avt-texte th {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 600;
	color: var(--encre);
	border-bottom-color: var(--encre);
}

/* Encadré neutre — pas de couleur, seule la trame le distingue */
.avt-encadre,
.avt-texte .encadre {
	background: var(--marge);
	padding: 1.1rem 1.25rem;
	margin: calc(var(--pas) * 1.3) 0;
	border-radius: 3px;
	font-size: var(--t-petit);
}

.avt-encadre > :last-child,
.avt-texte .encadre > :last-child {
	margin-bottom: 0;
}

/* Questions fréquentes en <details> */
.avt-texte details {
	border-bottom: 1px solid var(--reglure);
	padding: 0.85rem 0;
}

.avt-texte details:first-of-type {
	border-top: 1px solid var(--reglure);
}

.avt-texte summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--encre);
	list-style: none;
	display: flex;
	gap: 0.7rem;
	align-items: baseline;
}

.avt-texte summary::-webkit-details-marker {
	display: none;
}

.avt-texte summary::before {
	content: "+";
	font-family: var(--f-greffe);
	color: var(--texte-doux);
	flex: 0 0 auto;
	width: 0.8em;
}

.avt-texte details[open] > summary::before {
	content: "−";
}

.avt-texte details > :not(summary) {
	margin-top: 0.7rem;
	margin-bottom: 0;
	font-size: var(--t-petit);
}

.avt-texte details > :not(summary) + :not(summary) {
	margin-top: 0.7rem;
}

/* ------------------------------------------------------------------ */
/* 8. Sommaire                                                         */
/* ------------------------------------------------------------------ */

.avt-sommaire {
	margin: 0 0 1.15rem;
	padding: 0.9rem 1rem;
	background: var(--marge);
	border-radius: 3px;
}

.avt-sommaire h2 {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 600;
	margin: 0 0 0.6rem;
}

.avt-sommaire ol {
	list-style: none;
	counter-reset: som;
	margin: 0;
	padding: 0;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	line-height: 1.45;
}

.avt-sommaire li {
	counter-increment: som;
	margin: 0 0 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}

.avt-sommaire li::before {
	content: counter(som);
	position: absolute;
	left: 0;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	color: var(--texte-doux);
	font-variant-numeric: tabular-nums;
}

.avt-sommaire a {
	text-decoration: none;
}

.avt-sommaire a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* 9. Bordereau — l'accueil et le plan du site                         */
/* ------------------------------------------------------------------ */

.avt-titraille {
	max-width: 34rem;
	margin: 0 0 calc(var(--pas) * 2.4);
}

.avt-titraille h1 {
	font-size: var(--t-titraille);
	margin: 0 0 0.8rem;
}

.avt-titraille p {
	color: var(--texte-doux);
	margin: 0;
}

.avt-section {
	margin: 0 0 calc(var(--pas) * 2.6);
}

.avt-section__titre {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 600;
	color: var(--texte-doux);
	margin: 0 0 0.9rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--encre);
	letter-spacing: 0;
}

.avt-bordereau {
	list-style: none;
	margin: 0;
	padding: 0;
}

.avt-bordereau > li {
	margin: 0;
	border-bottom: 1px solid var(--reglure);
}

.avt-bordereau__ligne {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 0.5rem 1.5rem;
	padding: 1rem 0;
	text-decoration: none;
	color: inherit;
}

.avt-bordereau__ligne:hover .avt-bordereau__nom {
	text-decoration: underline;
	text-decoration-color: currentColor;
}

.avt-bordereau__nom {
	font-size: var(--t-h3);
	font-weight: 600;
	color: var(--encre);
	line-height: 1.3;
}

.avt-bordereau__compte {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	color: var(--texte-doux);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.avt-bordereau__resume {
	grid-column: 1 / -1;
	margin: 0.25rem 0 0;
	color: var(--texte-doux);
	font-size: var(--t-petit);
	max-width: 38rem;
}

/* Liste de fiches : date en colonne, comme un registre */
.avt-registre {
	list-style: none;
	margin: 0;
	padding: 0;
}

.avt-registre > li {
	margin: 0;
	border-bottom: 1px solid var(--reglure);
}

.avt-registre__ligne {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.2rem 1.5rem;
	padding: 0.85rem 0;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 40rem) {
	.avt-registre__ligne {
		grid-template-columns: 5.5rem minmax(0, 1fr);
	}
}

.avt-registre__date {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	color: var(--texte-doux);
	font-variant-numeric: tabular-nums;
	padding-top: 0.22em;
}

.avt-registre__titre {
	font-weight: 600;
	color: var(--encre);
	line-height: 1.35;
}

.avt-registre__ligne:hover .avt-registre__titre {
	text-decoration: underline;
}

.avt-registre__resume {
	grid-column: -2 / -1;
	margin: 0.2rem 0 0;
	color: var(--texte-doux);
	font-size: var(--t-petit);
}

/* Parcours numéroté — utilisé seulement quand le contenu est une séquence */
.avt-parcours {
	list-style: none;
	counter-reset: etape;
	margin: 0;
	padding: 0;
}

.avt-parcours > li {
	counter-increment: etape;
	position: relative;
	padding: 0 0 1.15rem 2.6rem;
	margin: 0;
	border-left: 1px solid var(--reglure);
	margin-left: 0.85rem;
}

.avt-parcours > li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.avt-parcours > li::before {
	content: counter(etape);
	position: absolute;
	left: -0.85rem;
	top: 0;
	width: 1.7rem;
	height: 1.7rem;
	display: grid;
	place-items: center;
	background: var(--papier);
	border: 1px solid var(--reglure);
	border-radius: 50%;
	font-family: var(--f-greffe);
	font-size: 0.75rem;
	color: var(--texte-doux);
	font-variant-numeric: lining-nums;
}

.avt-parcours > li[data-pilier="1"]::before {
	background: var(--encre);
	border-color: var(--encre);
	color: #fff;
}

.avt-parcours a {
	font-weight: 600;
	color: var(--encre);
	text-decoration: none;
}

.avt-parcours a:hover {
	text-decoration: underline;
}

.avt-parcours p {
	margin: 0.2rem 0 0;
	color: var(--texte-doux);
	font-size: var(--t-petit);
}

/* ------------------------------------------------------------------ */
/* 10. Blocs de fin de fiche                                           */
/* ------------------------------------------------------------------ */

.avt-fin {
	margin-top: calc(var(--pas) * 2.4);
	padding-top: var(--pas);
	border-top: 1px solid var(--encre);
	max-width: var(--corps-max);
}

.avt-fin h2 {
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 600;
	color: var(--texte-doux);
	margin: 0 0 0.8rem;
}

.avt-fin + .avt-fin {
	margin-top: calc(var(--pas) * 1.8);
	border-top-color: var(--reglure);
}

.avt-auteur {
	display: grid;
	gap: 0.5rem;
	font-size: var(--t-petit);
}

.avt-auteur__nom {
	font-weight: 600;
	color: var(--encre);
	font-size: var(--t-corps);
}

.avt-auteur p {
	margin: 0;
	color: var(--texte-doux);
}

/* ------------------------------------------------------------------ */
/* 11. Formulaires                                                     */
/* ------------------------------------------------------------------ */

.avt-champ {
	display: block;
	margin: 0 0 1.1rem;
	max-width: 34rem;
}

.avt-champ > span {
	display: block;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 600;
	color: var(--encre);
	margin-bottom: 0.3rem;
}

.avt-champ__aide {
	display: block;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
	font-weight: 400;
	color: var(--texte-doux);
	margin: 0.25rem 0 0;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
textarea,
select {
	width: 100%;
	font-family: inherit;
	font-size: var(--t-petit);
	color: var(--texte);
	background: var(--papier);
	border: 1px solid var(--reglure);
	border-radius: 3px;
	padding: 0.6rem 0.75rem;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--encre);
	outline: 2px solid var(--encre);
	outline-offset: 1px;
}

textarea {
	min-height: 11rem;
	line-height: 1.6;
	resize: vertical;
}

.avt-bouton {
	display: inline-block;
	font-family: var(--f-greffe);
	font-size: var(--t-petit);
	font-weight: 600;
	color: #fff;
	background: var(--encre);
	border: 1px solid var(--encre);
	border-radius: 3px;
	padding: 0.62rem 1.35rem;
	cursor: pointer;
	text-decoration: none;
}

.avt-bouton:hover {
	background: var(--encre-clair);
	border-color: var(--encre-clair);
	color: #fff;
}

.avt-message {
	padding: 0.9rem 1.1rem;
	border-radius: 3px;
	margin: 0 0 var(--pas);
	font-size: var(--t-petit);
	max-width: 34rem;
}

.avt-message--ok {
	background: var(--marge);
	border-left: 3px solid var(--encre);
}

.avt-message--ko {
	background: var(--cachet-fond);
	border-left: 3px solid var(--cachet);
	color: var(--cachet);
}

.avt-piege {
	position: absolute;
	left: -9999px;
}

/* ------------------------------------------------------------------ */
/* 12. Pagination et divers                                            */
/* ------------------------------------------------------------------ */

.avt-pagination {
	margin: calc(var(--pas) * 2) 0 0;
	font-family: var(--f-greffe);
	font-size: var(--t-greffe);
}

.avt-pagination .page-numbers {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	margin-right: 0.3rem;
	border: 1px solid var(--reglure);
	border-radius: 3px;
	text-decoration: none;
	color: var(--texte);
}

.avt-pagination .current,
.avt-pagination a:hover {
	background: var(--encre);
	border-color: var(--encre);
	color: #fff;
}

.avt-vide {
	color: var(--texte-doux);
	max-width: 34rem;
}

.wp-caption,
.alignnone,
.aligncenter {
	max-width: 100%;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

@media print {
	.avt-entete,
	.avt-pied,
	.avt-bascule,
	.avt-sommaire {
		display: none;
	}
	.avt-appareil {
		display: none;
	}
	body {
		font-size: 11pt;
	}
}
