/*
 * Traiteur des Mille Saveurs — feuille de style unique.
 * Reprise du thème WordPress « Brand New Day » (variante daylight) personnalisé,
 * nettoyé des règles inutilisées (blog, commentaires, calendrier).
 */

:root {
	--or: #b37c2c;
	--or-clair: #ffc641;
	--anthracite: #333333;
	--gris-slogan: #6f6f6f;
	--blanc: #ffffff;
}

/* ---------- Base ---------- */
body,
td,
th {
	font-family: 'selfFont', "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: var(--blanc);
}
body {
	margin: 0;
	padding: 0;
	background-color: var(--anthracite);
	/* remplace la photo plein écran d'origine (fond.jpg) */
	background-image:
		radial-gradient(ellipse at 20% 10%, rgba(179, 124, 44, 0.35), transparent 55%),
		radial-gradient(ellipse at 85% 80%, rgba(179, 124, 44, 0.25), transparent 50%),
		linear-gradient(160deg, #4a3a24 0%, #2a2520 45%, #1c1a17 100%);
	background-attachment: fixed;
	background-size: cover;
}
a:link,
a:visited {
	text-decoration: none;
	font-weight: bold;
	color: var(--or);
}
a:hover,
a:active {
	text-decoration: none;
	font-weight: bold;
	color: var(--blanc);
}
a img { border: 0; }

h1, h2, h3, h4, h5, h6 { color: var(--or); }
h1 { font-size: 14px; color: var(--blanc); }
h2 { font-size: 14px; }
h3 { font-size: 20px; font-weight: bold; color: var(--blanc); }
h6 { font-size: inherit; color: var(--blanc); }

hr {
	clear: both;
	width: 80%;
	height: 1px;
	border: 0;
	border-bottom: 1px solid var(--or);
	margin: 30px auto;
	display: block;
}
hr.sep-court { width: 50%; border-bottom-style: dashed; }

table, td, th { vertical-align: top; padding: 5px; }
.accent { color: var(--or); }

/* ---------- En-tête ---------- */
.clouds {
	width: 100%;
	position: relative;
	clear: both;
	background-color: var(--anthracite);
	padding: 10px 0 10px 40px;
	box-sizing: border-box;
	overflow: hidden;
}
.clouds .logo { display: block; float: left; max-width: 100%; height: auto; }
.slog {
	font-family: inherit;
	font-size: 11px;
	line-height: 16px;
	color: var(--gris-slogan);
	float: right;
	padding-right: 70px;
	padding-top: 14px;
	text-align: right;
}

/* ---------- Mise en page (barre latérale à gauche) ---------- */
.wrapper {
	width: 1200px;
	position: relative;
	margin: 20px auto 0;
}
.wrapper::after { content: ""; display: table; clear: both; }
.content {
	float: right;
	clear: right;
	position: relative;
	width: 950px;
	z-index: 15;
	margin-bottom: 50px;
	min-height: 400px;
	background: rgba(0, 0, 0, 0.8);
}
.post {
	float: left;
	width: 900px;
	padding-left: 30px;
	padding-bottom: 20px;
}
.page_title {
	font-family: 'selfFont', "Open Sans", sans-serif;
	font-size: 30px;
	font-weight: bold;
	margin-top: 20px;
	margin-left: -30px;
	padding: 10px;
	line-height: normal;
	background-color: var(--or);
	color: var(--blanc);
	text-shadow: 3px 3px 3px var(--anthracite);
}
.entry::after { content: ""; display: table; clear: both; }

/* ---------- Menu ---------- */
#sidebar {
	display: block;
	float: left;
	font-size: 12px;
	line-height: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	width: 206px;
	z-index: 90;
	background: rgba(0, 0, 0, 0.7);
}
#sidebar .menu,
#sidebar .menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#sidebar .menu li a {
	display: block;
	text-align: left;
	padding: 8px 0 8px 15px;
	border-bottom: thin solid var(--blanc);
	font-size: 13px;
	color: var(--blanc);
	font-weight: bold;
}
#sidebar .menu li.current-menu-item a,
#sidebar .menu li a:hover,
#sidebar .menu li a:focus {
	background-color: var(--or);
}
.menu-toggle { display: none; }

/* ---------- Images ---------- */
.entry img { max-width: 100%; height: auto; }
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 0 0 2px 15px; display: inline; }
img.alignleft { margin: 10px 15px 2px 0; display: inline; }
.imggal { border: thin solid var(--blanc); }
img.etoile { vertical-align: middle; }

/* ---------- Galerie ---------- */
#wppg-gallery-template-3 {
	column-count: 4;
	column-gap: 10px;
	padding-top: 10px;
}
.wpsg-t3-item {
	break-inside: avoid;
	margin-bottom: 10px;
}
.wpsg-t3-item img {
	display: block;
	width: 100%;
	height: auto;
	border: 2px solid var(--blanc);
	box-sizing: border-box;
	transition: opacity .2s;
}
.wpsg-t3-item a:hover img { opacity: .8; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
	cursor: zoom-out;
	padding: 20px;
	box-sizing: border-box;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; border: 2px solid var(--blanc); }
.lightbox figcaption { margin-top: 10px; color: var(--blanc); }

/* ---------- Partenaires ---------- */
table.partenaires td { vertical-align: middle; }
table.partenaires td.logo { width: 150px; }
table.partenaires td.spacer { width: 10px; }

/* ---------- Formulaires ---------- */
#formulaire-responsive {
	max-width: 900px;
	margin: 0 auto;
	width: 100%;
}
.rang-form { width: 100%; }
.colonne {
	margin: 5px 0;
	padding: 5px 0;
}
.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="tel"],
.site-form select,
.site-form textarea {
	font: inherit;
	color: #333;
	padding: 4px 6px;
	border: 1px solid #ddd;
	max-width: 100%;
	box-sizing: border-box;
}
.site-form textarea { width: 100%; }
.site-form .list-item { margin-right: 10px; font-weight: normal; }
.site-form input[type="submit"] {
	font: inherit;
	font-weight: bold;
	color: var(--blanc);
	background: var(--or);
	border: 0;
	padding: 8px 20px;
	cursor: pointer;
}
.site-form input[type="submit"]:hover { background: var(--or-clair); color: var(--anthracite); }
.form-response { margin-top: 10px; font-weight: bold; }
.form-response.ok { color: #8fd18f; }
.form-response.err { color: var(--or-clair); }

/* ---------- Pied de page ---------- */
.footer-wrapper {
	clear: both;
	position: relative;
	font-size: 12px;
	line-height: 18px;
	color: var(--blanc);
}
.footer-colophon {
	text-align: center;
	font-size: 11px;
	width: 100%;
	padding: 10px 20px;
	box-sizing: border-box;
	background-color: var(--or);
}
.footer-wrapper a,
.footer-wrapper a:visited,
.footer-wrapper a:hover,
.footer-wrapper a:active { color: var(--blanc); }

/* ---------- Adaptation écrans < 1200px (le thème d'origine était à largeur fixe) ---------- */
@media (max-width: 1220px) {
	.wrapper { width: auto; margin: 20px 10px 0; }
	.content { width: calc(100% - 216px); }
	.post { width: auto; float: none; padding: 0 20px 20px 30px; }
}
@media (max-width: 800px) {
	.clouds { padding: 10px 16px; }
	.clouds .logo { float: none; width: 240px; }
	.slog { float: none; padding: 8px 0 0; text-align: left; }
	.wrapper { margin: 0; display: flex; flex-direction: column; }
	#sidebar { order: -1; float: none; width: 100%; }
	.menu-toggle {
		display: block;
		width: 100%;
		padding: 10px 16px;
		font: inherit;
		font-weight: bold;
		text-align: left;
		color: var(--blanc);
		background: var(--or);
		border: 0;
		cursor: pointer;
	}
	.menu-toggle::after { content: " \2630"; float: right; }
	#sidebar .navmenu > .menu { display: none; }
	#sidebar.open .navmenu > .menu { display: block; }
	.content { float: none; width: auto; min-width: 0; margin-bottom: 0; }
	.post { padding: 0 16px 20px; }
	.page_title { margin-left: -16px; margin-right: -16px; font-size: 24px; }
	img.alignright, img.alignleft { float: none; display: block; margin: 10px auto; }
	#wppg-gallery-template-3 { column-count: 2; }
	table.partenaires, table.partenaires tbody, table.partenaires tr, table.partenaires td { display: block; width: auto !important; padding-left: 0; padding-right: 0; }
	.entry { overflow-wrap: anywhere; }
	table.partenaires td.spacer { display: none; }
	table.partenaires tr { border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 10px 0; }
	.site-form input[type="text"],
	.site-form input[type="email"],
	.site-form input[type="tel"],
	.site-form select { width: 100%; }
}
