/* Trassy Frères — page d'accueil de trassy-freres.fr (site vitrine, servi par son propre vhost : voir setup_vps_debian13.sh)
   Charte : Geared Slab (Bold / Extrabold, Regular exceptionnellement), 3 couleurs + brun-gris des pictogrammes.
   Contrastes sur blanc : brun 7,8:1 (tout texte) · bleu 3,2:1 (grands textes) · orange 2,35:1 (décor seulement). */

@font-face {
	font-family: "Geared Slab";
	src: url("polices/geared-slab-400.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Geared Slab";
	src: url("polices/geared-slab-700.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "Geared Slab";
	src: url("polices/geared-slab-800.woff2") format("woff2");
	font-weight: 800;
	font-display: swap;
}

:root {
	--brun: #634E42;
	--brun-fonce: #4F3E35;   /* survol du bouton Appeler */
	--brun-picto: #726658;
	--bleu: #4698CB;
	--orange: #F39200;
	--blanc: #FFFFFF;
	--police: "Geared Slab", Rockwell, "Roboto Slab", Georgia, serif;
	--largeur: 1180px;
	color-scheme: light;
}

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

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

body {
	margin: 0;
	background: var(--blanc);
	color: var(--brun);
	font-family: var(--police);
	font-weight: 700;
	font-size: 1.1875rem;   /* 19 px : la police est étroite */
	line-height: 1.35;
}

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

a { color: inherit; }

a:focus-visible {
	outline: 3px solid var(--bleu);
	outline-offset: 3px;
}

.visuellement-cache {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.contenu {
	max-width: var(--largeur);
	margin: 0 auto;
	padding: 0 16px;
}

/* ---------- Bandeau bleu du haut (recto de la carte de visite) ---------- */

.bandeau-haut {
	background: var(--bleu);
	color: var(--blanc);
	text-align: center;
	padding: 14px 16px;
}

.bandeau-haut h1,
.bandeau-haut p {
	margin: 0;
	font-weight: 800;
	font-size: 1.25rem;   /* ≥ 18,7 px en gras : « grand texte », contraste 3:1 suffisant */
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bandeau-haut a { text-decoration: none; }

/* ---------- Carte : logo encadré par les pictogrammes (comme la bannière) ---------- */

.carte {
	display: grid;
	grid-template-areas:
		"entete"
		"pictos-gauche"
		"pictos-droite";
	gap: 24px;
	padding-top: 28px;
}

.entete {
	grid-area: entete;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.logo { width: min(74vw, 300px); }

.bouton-appel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 52px;
	margin-top: 22px;
	padding: 0.55em 1.2em;
	background: var(--brun);
	color: var(--blanc);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: 0.03em;
	text-decoration: none;
	border-radius: 3px;
}

.bouton-appel:hover { background: var(--brun-fonce); }

.bouton-appel img { width: 24px; }

.pictos {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 28px;
}

.pictos--gauche { grid-area: pictos-gauche; }
.pictos--droite { grid-area: pictos-droite; }

.pictos img { height: 72px; width: auto; }

/* ---------- Activités : une seule liste, sans répartition ---------- */

.activites {
	margin-top: 40px;
	text-align: center;
}

.activites__titre {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 18px;
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.activites__titre::before,
.activites__titre::after {
	content: "";
	flex: none;
	width: 0.75em;
	height: 0.75em;
	background: url("img/etoile.svg") no-repeat center / contain;
}

.activites__liste {
	width: fit-content;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: left;
	column-gap: 56px;
}

.activites__liste li {
	display: flex;
	align-items: baseline;
	gap: 0.55em;
	padding: 2px 0;
	font-size: 1.25rem;
	break-inside: avoid;
}

.activites__liste li::before {
	content: "";
	flex: none;
	width: 0.6em;
	height: 0.6em;
	background: url("img/etoile.svg") no-repeat center / contain;
}

/* ---------- Devise ---------- */

.devise {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 44px 0 0;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
}

.devise::before,
.devise::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--orange);
}

/* ---------- Coordonnées (verso de la carte de visite) ---------- */

.contact {
	margin-top: 36px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--orange);
}

.contact__titre {
	margin: 0 auto;
	max-width: 320px;
}

.contact__titre img { width: 100%; }

.fleche {
	display: flex;
	align-items: center;
	max-width: 520px;
	margin: 12px auto 0;
}

.fleche svg { flex: none; height: 10px; width: auto; }

.fleche__trait {
	flex: 1;
	height: 1px;
	background: var(--orange);
}

.fleche__trait--court { flex: 0 0 18px; }

.fleche img { flex: none; height: 38px; width: auto; margin: 0 6px; }

.contact__intro {
	margin: 22px 0 0;
	text-align: center;
	font-weight: 400;
	font-size: 1.2rem;
}

.contact__intro strong { font-weight: 800; }

.contact__liste {
	display: grid;
	gap: 18px;
	max-width: 360px;
	margin: 22px auto 0;
	padding: 0;
	list-style: none;
}

.contact__ligne {
	display: grid;
	grid-template-columns: 34px 1fr;
	column-gap: 12px;
	align-items: start;
	align-content: start;
}

.contact__icone {
	grid-row: 1 / span 3;
	width: 28px;
	margin-top: 4px;
	justify-self: center;
}

.contact__libelle {
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.2;
}

.contact__valeur {
	font-weight: 800;
	font-size: 1.4rem;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

a.contact__valeur {
	text-decoration: underline;
	text-decoration-color: var(--orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

a.contact__valeur:hover { text-decoration-color: var(--brun); }

.bouton-itineraire {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;
	margin-top: 10px;
	padding: 0.3em 1em;
	border: 2px solid var(--brun);
	border-radius: 3px;
	font-weight: 800;
	font-size: 1.1rem;
	text-decoration: none;
}

.bouton-itineraire:hover { background: var(--brun); color: var(--blanc); }

.bouton-itineraire svg { height: 9px; width: auto; }

/* ---------- Bandeau orange « Site en construction » + pied de page ---------- */

.bandeau-chantier {
	margin: 44px 0 0;
	padding: 14px 16px;
	background: var(--orange);
	color: var(--brun);   /* 3,3:1 : grand texte gras uniquement */
	text-align: center;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pied {
	padding: 18px 16px 24px;
	text-align: center;
	font-weight: 400;
	font-size: 1rem;
}

.pied__sep { margin: 0 0.5em; color: var(--orange); }

/* ---------- Mentions légales ---------- */

.mentions {
	max-width: 40em;
	margin: 0 auto;
	padding: 32px 16px 48px;
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.5;
}

.mentions h1 {
	margin: 0 0 8px;
	font-weight: 800;
	font-size: 2rem;
	line-height: 1.15;
}

.mentions h2 {
	margin: 32px 0 6px;
	font-weight: 800;
	font-size: 1.35rem;
}

.mentions p { margin: 0 0 10px; }

.mentions strong { font-weight: 700; }

.mentions__retour { margin-top: 32px; }

/* ---------- Tablette : pictogrammes côte à côte, activités sur 2 colonnes ---------- */

@media (min-width: 600px) {
	.carte {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"entete entete"
			"pictos-gauche pictos-droite";
		column-gap: 32px;
	}

	.activites__liste { columns: 2; }

	.contact__liste {
		max-width: 640px;
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
	}
}

/* ---------- Ordinateur : disposition de la bannière (pictos | logo | pictos), activités sur 3 colonnes ---------- */

@media (min-width: 980px) {
	.bandeau-haut h1,
	.bandeau-haut p {
		font-size: 1.6rem;
		letter-spacing: 0.22em;
	}

	.carte {
		grid-template-columns: 1fr minmax(320px, 360px) 1fr;
		grid-template-areas: "pictos-gauche entete pictos-droite";
		align-items: center;
		column-gap: 40px;
		padding-top: 40px;
	}

	.logo { width: 340px; }

	.pictos img { height: 80px; }

	.activites { margin-top: 48px; }

	.activites__liste { columns: 3; column-gap: 72px; }

	.contact__titre { max-width: 400px; }

	.contact__liste {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		gap: 28px 44px;
		max-width: none;
	}
}
