/*
Theme Name: Trèfle
Theme URI: https://example.com/
Author: —
Description: Thème pour bar / pub irlandais. Design contemporain (vert profond, crème, laiton), pensé mobile d'abord, référencement local intégré (fiche établissement, horaires, carte des boissons). Se marie avec l'extension « Carte du Bar ».
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trefle
Tags: bar, restaurant, one-column, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Fondations
   ========================================================================== */

:root {
	/* Palette reprise du visuel « Happy Birth' Games » du Sinclair : vert émeraude,
	   or, et le brun du fût. Le vert de fond est volontairement plus sombre que
	   celui des affiches : sur une affiche il est aplat, sur un site il porte du
	   texte pendant plusieurs minutes. */
	--tr-vert: #05371e;
	--tr-vert-clair: #0a6634;
	--tr-creme: #f6f1e4;
	--tr-creme-fonce: #e8dec6;
	--tr-or: #9a7420;      /* Sur fond clair : assez foncé pour rester lisible. */
	--tr-or-clair: #e9cd7c; /* Sur fond vert : l'or des affiches. */
	--tr-rouge: #9e3a32;
	--tr-bois: #4a2f1b;
	--tr-texte: #1c1a17;
	--tr-estompe: #6b6559;
	--tr-fond: #ffffff;
	--tr-filet: rgba(28, 26, 23, 0.12);

	/* Polices système : aucun appel à Google Fonts, donc rien à déclarer côté RGPD
	   et pas une milliseconde perdue à charger une police externe. */
	--tr-police-titre: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--tr-police-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--tr-largeur: 1180px;
	--tr-largeur-texte: 68ch;
	--tr-hauteur-entete: 76px;
	--tr-rayon: 4px;
	--tr-transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	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(--tr-fond);
	color: var(--tr-texte);
	font-family: var(--tr-police-ui);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
	font-family: var(--tr-police-titre);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
}

h2 {
	font-size: clamp(1.9rem, 4.5vw, 2.9rem);
}

h3 {
	font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

p {
	margin: 0 0 1.2em;
}

a {
	color: var(--tr-or);
	text-underline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Accessibilité : le focus doit rester visible, y compris pour qui navigue au clavier. */
:focus-visible {
	outline: 3px solid var(--tr-or-clair);
	outline-offset: 2px;
}

.tr-lien-evitement {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 1rem 1.5rem;
	background: var(--tr-vert);
	color: var(--tr-creme);
}

.tr-lien-evitement:focus {
	left: 1rem;
	top: 1rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   2. Mise en page
   ========================================================================== */

.tr-conteneur {
	width: 100%;
	max-width: var(--tr-largeur);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.tr-section {
	padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.tr-section--creme {
	background: var(--tr-creme);
}

.tr-section--vert {
	background: var(--tr-vert);
	color: var(--tr-creme);
}

.tr-section--vert h2 {
	color: var(--tr-creme);
}

/* Le petit intitulé en capitales au-dessus des titres de section. */
.tr-surtitre {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--tr-police-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tr-or);
}

.tr-section--vert .tr-surtitre {
	color: var(--tr-or-clair);
}

.tr-entete-section {
	max-width: var(--tr-largeur-texte);
	margin-bottom: 3rem;
}

.tr-entete-section--centre {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* ==========================================================================
   3. Boutons
   ========================================================================== */

.tr-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1.9rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--tr-or);
	color: #fff;
	font-family: var(--tr-police-ui);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--tr-transition), background var(--tr-transition), box-shadow var(--tr-transition);
}

.tr-bouton:hover,
.tr-bouton:focus-visible {
	background: var(--tr-or-clair);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(169, 130, 26, 0.28);
}

.tr-bouton--fantome {
	background: transparent;
	border-color: currentColor;
	color: var(--tr-creme);
}

.tr-bouton--fantome:hover,
.tr-bouton--fantome:focus-visible {
	background: var(--tr-creme);
	border-color: var(--tr-creme);
	color: var(--tr-vert);
	box-shadow: none;
}

.tr-boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ==========================================================================
   4. En-tête
   ========================================================================== */

.tr-entete {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--tr-hauteur-entete);
	display: flex;
	align-items: center;
	background: var(--tr-vert);
	color: var(--tr-creme);
	transition: box-shadow var(--tr-transition);
}

.tr-entete.est-defile {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.tr-entete__interieur {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: 100%;
	max-width: var(--tr-largeur);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.tr-marque {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--tr-police-titre);
	font-size: 1.35rem;
	color: var(--tr-creme);
	text-decoration: none;
	white-space: nowrap;
}

.tr-marque img,
.tr-marque__logo {
	height: 48px;
	width: auto;
	max-width: 60vw;
	display: block;
}

.tr-marque__nom {
	letter-spacing: 0.02em;
}

/* Le logo du Sinclair est large (mot + trèfle + chapeau) : on lui laisse de la place
   sur mobile en le plafonnant par la largeur disponible plutôt que par la hauteur. */
@media (max-width: 480px) {
	.tr-marque__logo {
		max-height: 42px;
		max-width: 62vw;
	}
}

/* Logo dans le pied de page (fond vert foncé, donc version blanche du logo). */
.tr-pied__logo {
	margin-bottom: 1rem;
}

.tr-pied__logo-img {
	max-height: 60px;
	width: auto;
}

.tr-nav ul {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tr-nav a {
	display: block;
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	color: var(--tr-creme);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity var(--tr-transition), background var(--tr-transition);
}

.tr-nav a:hover,
.tr-nav a:focus-visible,
.tr-nav .current-menu-item > a {
	opacity: 1;
	background: rgba(247, 242, 231, 0.1);
}

.tr-entete__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.tr-entete .tr-bouton {
	padding: 0.6rem 1.3rem;
	font-size: 0.78rem;
}

/* Menu mobile */
.tr-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tr-creme);
	cursor: pointer;
}

.tr-burger span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	background: currentColor;
	transition: transform var(--tr-transition), opacity var(--tr-transition);
}

.tr-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.tr-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.tr-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
	.tr-burger {
		display: block;
	}

	.tr-entete__actions .tr-bouton {
		display: none;
	}

	.tr-nav {
		position: fixed;
		inset: var(--tr-hauteur-entete) 0 auto 0;
		max-height: 0;
		overflow: hidden;
		background: var(--tr-vert);
		transition: max-height 320ms ease;
	}

	.tr-nav.est-ouvert {
		max-height: 100vh;
		border-top: 1px solid rgba(247, 242, 231, 0.12);
	}

	.tr-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem 1.5rem 2rem;
	}

	.tr-nav a {
		padding: 1rem 0.5rem;
		font-size: 1rem;
		border-bottom: 1px solid rgba(247, 242, 231, 0.08);
		border-radius: 0;
	}
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.tr-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(84vh, 780px);
	padding: 6rem 0 4rem;
	background: var(--tr-vert);
	color: var(--tr-creme);
	overflow: hidden;
}

.tr-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Une photo de bar est rarement bien exposée : on la fonce et on la désature
	   un peu pour que le texte reste lisible quoi qu'il arrive. */
	filter: brightness(0.55) saturate(0.85);
}

.tr-hero__voile {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(12, 31, 24, 0.95) 0%, rgba(12, 31, 24, 0.45) 45%, rgba(12, 31, 24, 0.7) 100%);
}

/* Le conteneur garde la gouttière du site ; c'est le bloc de texte à l'intérieur
   qui est limité en largeur — sinon il se recentrerait au milieu du hero. */
.tr-hero > .tr-conteneur {
	position: relative;
	z-index: 2;
	width: 100%;
}

.tr-hero__contenu {
	max-width: 40rem;
}

.tr-hero__titre {
	margin-bottom: 0.3em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.tr-hero__baseline {
	max-width: 34rem;
	margin-bottom: 2rem;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: rgba(247, 242, 231, 0.88);
}

/* Le badge « ouvert / fermé » : l'information n° 1 que cherche un client. */
.tr-statut {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
	padding: 0.45rem 1rem 0.45rem 0.8rem;
	border-radius: 999px;
	background: rgba(247, 242, 231, 0.12);
	backdrop-filter: blur(6px);
	font-family: var(--tr-police-ui);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.tr-statut__point {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #7ec982;
	box-shadow: 0 0 0 0 rgba(126, 201, 130, 0.7);
	animation: tr-pulse 2.4s infinite;
}

.tr-statut--ferme .tr-statut__point {
	background: #d9736c;
	box-shadow: none;
	animation: none;
}

@keyframes tr-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(126, 201, 130, 0.6);
	}

	70% {
		box-shadow: 0 0 0 9px rgba(126, 201, 130, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(126, 201, 130, 0);
	}
}

/* ==========================================================================
   6. Bandeau d'infos pratiques (sous le hero)
   ========================================================================== */

.tr-bandeau {
	background: var(--tr-vert-clair);
	color: var(--tr-creme);
	border-top: 1px solid rgba(247, 242, 231, 0.08);
}

.tr-bandeau__grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1px;
	background: rgba(247, 242, 231, 0.08);
}

.tr-bandeau__bloc {
	padding: 1.75rem 1.5rem;
	background: var(--tr-vert-clair);
	text-align: center;
}

.tr-bandeau__label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tr-or-clair);
}

.tr-bandeau__valeur {
	margin: 0;
	font-family: var(--tr-police-titre);
	font-size: 1.15rem;
	line-height: 1.35;
}

.tr-bandeau__valeur a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(247, 242, 231, 0.3);
}

.tr-bandeau__valeur a:hover {
	border-color: var(--tr-or-clair);
}

/* ==========================================================================
   7. Deux colonnes (à propos)
   ========================================================================== */

.tr-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

@media (max-width: 860px) {
	.tr-duo {
		grid-template-columns: 1fr;
	}
}

.tr-duo__texte p {
	max-width: 46ch;
	color: var(--tr-estompe);
	font-size: 1.08rem;
}

.tr-duo__media {
	position: relative;
}

.tr-duo__media img {
	width: 100%;
	border-radius: var(--tr-rayon);
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* Le cadre décalé en laiton : un détail « pub », sans surcharger. */
.tr-duo__media::after {
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	border: 2px solid var(--tr-or);
	border-radius: var(--tr-rayon);
	z-index: -1;
}

/* ==========================================================================
   8. Sélection de la carte + appel au QR code
   ========================================================================== */

.tr-selection .cb-carte {
	--cb-c-texte: var(--tr-creme);
	--cb-c-estompe: rgba(247, 242, 231, 0.6);
	--cb-c-accent: var(--tr-or-clair);
	--cb-c-filet: rgba(247, 242, 231, 0.12);
}

/* Deux colonnes, pas trois : en dessous de ~420 px, le nom de la bière se casse
   en deux lignes et le prix vient coller au texte. Mieux vaut deux colonnes lisibles. */
.tr-selection .cb-boissons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
	gap: 0 4rem;
}

.tr-cta-carte {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 3.5rem;
	padding: 2rem;
	border: 1px solid rgba(247, 242, 231, 0.18);
	border-radius: var(--tr-rayon);
}

.tr-cta-carte p {
	margin: 0;
	max-width: 44ch;
	color: rgba(247, 242, 231, 0.75);
}

.tr-cta-carte strong {
	color: var(--tr-creme);
}

/* ==========================================================================
   9. Galerie
   ========================================================================== */

.tr-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.75rem;
}

.tr-galerie img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--tr-rayon);
	transition: transform 500ms ease, filter var(--tr-transition);
}

.tr-galerie a:hover img {
	transform: scale(1.03);
	filter: brightness(1.05);
}

.tr-galerie figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--tr-rayon);
}

/* ==========================================================================
   10. Infos pratiques / carte Google
   ========================================================================== */

.tr-infos {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

@media (max-width: 860px) {
	.tr-infos {
		grid-template-columns: 1fr;
	}
}

.tr-horaires {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.tr-horaires th,
.tr-horaires td {
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--tr-filet);
	text-align: left;
	font-size: 1rem;
	font-weight: 400;
}

.tr-horaires td {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.tr-horaires tr.est-aujourdhui th,
.tr-horaires tr.est-aujourdhui td {
	font-weight: 700;
	color: var(--tr-or);
}

.tr-horaires .est-ferme {
	color: var(--tr-estompe);
	font-style: italic;
}

.tr-coordonnees {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.tr-coordonnees li {
	display: flex;
	gap: 0.9rem;
	padding: 0.6rem 0;
	line-height: 1.5;
}

.tr-coordonnees svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	fill: var(--tr-or);
}

.tr-coordonnees a {
	color: inherit;
}

/* Carte Google : on ne charge rien tant que le visiteur n'a pas cliqué.
   Pas de cookie Google déposé à l'insu du client, et une page bien plus rapide. */
.tr-carte-geo {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--tr-rayon);
	overflow: hidden;
	background: var(--tr-creme-fonce);
}

.tr-carte-geo iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.tr-carte-geo__invite {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 2rem;
	border: 0;
	width: 100%;
	background:
		repeating-linear-gradient(45deg, var(--tr-creme-fonce), var(--tr-creme-fonce) 12px, var(--tr-creme) 12px, var(--tr-creme) 24px);
	color: var(--tr-texte);
	font-family: var(--tr-police-ui);
	cursor: pointer;
	text-align: center;
}

.tr-carte-geo__invite p {
	max-width: 34ch;
	margin: 0;
	font-size: 0.9rem;
	color: var(--tr-estompe);
}

/* ==========================================================================
   11. Contenu éditorial (pages, articles)
   ========================================================================== */

.tr-page {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.tr-page__entete {
	max-width: var(--tr-largeur-texte);
	margin-bottom: 3rem;
}

.tr-contenu {
	max-width: var(--tr-largeur-texte);
}

/* La carte complète mérite toute la largeur : elle est dense. */
.tr-contenu--large {
	max-width: 100%;
}

.tr-contenu img {
	border-radius: var(--tr-rayon);
}

.tr-contenu blockquote {
	margin: 2rem 0;
	padding-left: 1.5rem;
	border-left: 3px solid var(--tr-or);
	font-family: var(--tr-police-titre);
	font-size: 1.3rem;
	font-style: italic;
	color: var(--tr-estompe);
}

/* ==========================================================================
   12. Pied de page
   ========================================================================== */

.tr-pied {
	padding: clamp(3rem, 6vw, 5rem) 0 2rem;
	background: var(--tr-vert);
	color: rgba(247, 242, 231, 0.7);
	font-size: 0.95rem;
}

.tr-pied__grille {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(247, 242, 231, 0.12);
}

@media (max-width: 760px) {
	.tr-pied__grille {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}
}

.tr-pied h3 {
	margin-bottom: 1rem;
	font-family: var(--tr-police-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tr-or-clair);
}

.tr-pied__nom {
	font-family: var(--tr-police-titre);
	font-size: 1.6rem;
	color: var(--tr-creme);
	margin-bottom: 0.75rem;
}

.tr-pied a {
	color: rgba(247, 242, 231, 0.7);
	text-decoration: none;
}

.tr-pied a:hover {
	color: var(--tr-or-clair);
}

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

.tr-pied li {
	padding: 0.25rem 0;
}

.tr-reseaux {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.tr-reseaux a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(247, 242, 231, 0.2);
	border-radius: 50%;
	transition: background var(--tr-transition), border-color var(--tr-transition);
}

.tr-reseaux a:hover {
	background: var(--tr-or);
	border-color: var(--tr-or);
}

.tr-reseaux svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	color: var(--tr-creme);
}

/* La petite signature du patron — « Et des bisous », son mot de fin d'histoire Instagram. */
.tr-signature {
	margin: 0;
	padding: 2.5rem 0 0.5rem;
	text-align: center;
	font-family: var(--tr-police-titre);
	font-size: clamp(1.2rem, 2.5vw, 1.6rem);
	color: var(--tr-creme);
}

.tr-signature__phrase {
	display: inline-block;
	color: var(--tr-or-clair);
	font-style: italic;
	/* Un léger basculement, comme un mot écrit à la main sous le comptoir. */
	transform: rotate(-3deg);
}

.tr-pied__bas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	font-size: 0.82rem;
}

.tr-pied__liens {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin: 0;
}

/* Lien « Administratif » : volontairement discret — c'est la porte de service. */
.tr-pied__admin {
	opacity: 0.55;
	transition: opacity var(--tr-transition);
}

.tr-pied__admin:hover,
.tr-pied__admin:focus-visible {
	opacity: 1;
}

.tr-pied__rappel {
	color: var(--tr-or-clair);
}

/* Mention légale obligatoire pour tout site vendant de l'alcool en France
   (article L3323-4 du code de la santé publique). Elle doit rester lisible. */
.tr-abus {
	width: 100%;
	padding-top: 1.5rem;
	margin-top: 1rem;
	border-top: 1px solid rgba(247, 242, 231, 0.12);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
	color: rgba(247, 242, 231, 0.55);
}

/* ==========================================================================
   13. Divers
   ========================================================================== */

.tr-404 {
	padding: clamp(4rem, 12vw, 9rem) 0;
	text-align: center;
}

.tr-404 p {
	max-width: 44ch;
	margin: 0 auto 2rem;
	color: var(--tr-estompe);
}

/* Apparition douce des sections au défilement (désactivée si l'utilisateur
   a demandé moins d'animations — cf. media query en haut du fichier). */
.tr-anime {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms ease, transform 700ms ease;
}

.tr-anime.est-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.tr-anime {
		opacity: 1;
		transform: none;
	}
}

/* déploiement auto — test 02:06:30 */
