/* ==========================================================================
   Pizza Rocky — feuille de style principale
   ========================================================================== */

/* --- Polices (toutes servies depuis le site) ----------------------------- */
@font-face { font-family: "Rosewood"; src: url("../fonts/RosewoodStd-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Rosewood Fill : métriques rééquilibrées pour centrer les capitales en hauteur
   (natif : ascendante 65 %, descendante 35 %, capitales 63 %). */
@font-face { font-family: "Rosewood Fill"; src: url("../fonts/RosewoodStd-Fill.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; ascent-override: 81.5%; descent-override: 18.5%; line-gap-override: 0%; }
@font-face { font-family: "DIN Next Condensed"; src: url("../fonts/DINNextLTPro-LightCondensed.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DIN Next Condensed"; src: url("../fonts/DINNextLTPro-BoldCondensed.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* DIN Next n'existe pas en condensé italique : on prend la Light Italic (non condensée). */
@font-face { font-family: "DIN Next Light Italic"; src: url("../fonts/DINNextLTPro-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }

@font-face { font-family: "Vollkorn SC"; src: url("../fonts/vollkornsc-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vollkorn SC"; src: url("../fonts/vollkornsc-600-cyrillic.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Vollkorn SC"; src: url("../fonts/vollkornsc-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vollkorn SC"; src: url("../fonts/vollkornsc-700-cyrillic.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Vollkorn SC"; src: url("../fonts/vollkornsc-900-latin.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vollkorn SC"; src: url("../fonts/vollkornsc-900-cyrillic.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Roboto Condensed : produits de la carte russe (DIN Next n'a pas de cyrillique). */
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/robotocondensed-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/robotocondensed-cyrillic.woff2") format("woff2"); font-weight: 300 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* --- Réglages ------------------------------------------------------------- */
:root {
	--bleu: #28367b;
	--rouge: #e73132;
	--filet: #4472c4;
	--blanc: #fff;

	--f-titre: "Rosewood", Georgia, serif;
	--f-titre-plein: "Rosewood Fill", Georgia, serif;
	--f-texte: "DIN Next Condensed", "Arial Narrow", sans-serif;
	--f-italique: "DIN Next Light Italic", "DIN Next Condensed", "Arial Narrow", sans-serif;
	--f-bouton: "Vollkorn SC", Georgia, serif;

	--marge: 20px;
	--largeur-banderole: 1200px;
}

/* Carte russe : pas de cyrillique dans Rosewood ni DIN Next. */
.lang-ru {
	--f-titre: "Vollkorn SC", Georgia, serif;
	--f-titre-plein: "Vollkorn SC", Georgia, serif;
	--f-texte: "Roboto Condensed", "Arial Narrow", sans-serif;
	--f-italique: "Roboto Condensed", "Arial Narrow", sans-serif;
}

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

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

body {
	margin: 0;
	background: var(--blanc);
	color: var(--bleu);
	font-family: var(--f-texte);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main { flex: 1 0 auto; }
main:focus { outline: none; }

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

a { color: inherit; }

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

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

.lien-evitement {
	position: absolute;
	left: 1rem; top: -100px;
	z-index: 1000;
	padding: .5rem 1rem;
	background: var(--bleu);
	color: var(--blanc);
	font-weight: 700;
	text-decoration: none;
}
.lien-evitement:focus { top: 1rem; }

/* --- En-tête : le logo seul pour l'instant ------------------------------- */
.site-entete {
	padding: clamp(20px, 18.8px + .3vw, 25px) var(--marge) 0;
	text-align: center;
}
.site-entete__logo .logo {
	width: clamp(150px, 94px + 14.29vw, 300px);
	height: auto;
	margin-inline: auto;
}
.logo-texte {
	font-family: var(--f-titre);
	font-size: 3rem;
	color: var(--rouge);
	text-decoration: none;
}

/* --- Choix de la langue --------------------------------------------------- */
.carte-langues { padding: 20px clamp(5px, 2.6vw, var(--marge)) 0; }
.carte-langues__liste {
	display: flex;
	justify-content: center;
	gap: clamp(4px, 1.4vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.carte-langues__liste li { flex: 0 1 200px; min-width: 0; }
.carte-langues__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(25px, 12px + 3.4vw, 50px);
	padding: 0 2px;
	border: 2px solid var(--bleu);
	border-radius: 25px;
	background: var(--rouge);
	color: var(--blanc);
	font-family: var(--f-bouton);
	font-weight: 600;
	font-size: clamp(10px, 4.6px + 1.5vw, 20px);
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s;
}
.carte-langues__bouton:hover,
.carte-langues__bouton:focus-visible,
.carte-langues__bouton[aria-current="page"] {
	background: var(--bleu);
	border-color: var(--rouge);
}

/* --- Carte --------------------------------------------------------------- */
.carte { padding: 50px var(--marge) 75px; }

.serie__titre {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 15px;
	margin: 15px 0 0;
	padding-top: 20px;
	color: var(--rouge);
	font-family: var(--f-titre);
	font-weight: 400;
	font-size: clamp(2rem, 10vw - 7px, 90px);
	line-height: 1;
	text-align: center;
	text-wrap: balance;
}
.serie__titre::before,
.serie__titre::after {
	content: "";
	flex: 0 0 auto;
	width: clamp(16px, 1.5px + 3.7vw, 35px);
	aspect-ratio: 49.18 / 48.96;
	margin-top: .12em;
	background: url("../img/etoile-bleu.svg") center / contain no-repeat;
}
.lang-ru .serie__titre {
	font-weight: 900;
	font-size: clamp(28px, .6667rem + 3.6111vw, 80px);
	text-transform: uppercase;
}

/* Banderole rouge (sous-titres de série) */
.banderole {
	container-type: inline-size;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: var(--largeur-banderole);
	aspect-ratio: 1200 / 78;
	margin: 30px auto 10px;
	padding: 0 9%;
	background: url("../img/bandeau-complet.svg") center / contain no-repeat;
}
.banderole__texte {
	color: var(--blanc);
	font-family: var(--f-titre-plein);
	font-weight: 400;
	font-size: clamp(14px, 4.4cqi, 40px);
	line-height: 1;
	text-align: center;
	white-space: nowrap;
}
.lang-ru .banderole__texte {
	font-weight: 700;
	font-size: clamp(9px, 3cqi, 2.75rem);
	text-transform: uppercase;
}

.serie__note {
	margin: .5em 0 0;
	font-size: clamp(12px, 8px + 1vw, 16px);
	line-height: 1.2;
	text-align: center;
}

/* Produits */
.produits { margin: 0; padding: 0; list-style: none; }

.produit {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	padding: 10px 0 2px;
	border-bottom: .5px dotted var(--filet);
}
.produit__texte {
	display: flex;
	flex-direction: column;
	flex: 1 1 75%;
	min-width: 0;
}
.produit__nom {
	font-weight: 700;
	font-size: clamp(20px, 9.7px + 2.65vw, 30px);
	line-height: 1;
	text-transform: uppercase;
}
.lang-ru .produit__nom { font-weight: 800; }

.produit__composition,
.produit__allergenes {
	margin-top: 2px;
	font-size: clamp(14px, 11.9px + .53vw, 16px);
	line-height: 1.4;
}
.produit__allergenes {
	font-family: var(--f-italique);
	font-style: italic;
}
.produits--simple .produit__composition { font-size: clamp(16px, 13px + .8vw, 20px); }

.produit__prix {
	flex: 0 0 auto;
	font-weight: 700;
	font-size: clamp(20px, 9.7px + 2.65vw, 30px);
	line-height: 1.4;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.lang-ru .produit__prix { font-family: "DIN Next Condensed", "Roboto Condensed", sans-serif; }
.produit__euro {
	font-size: .5em;
	vertical-align: top;
	position: relative;
	top: .15em;
}

@media (min-width: 992px) {
	.produit__texte {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		column-gap: 10px;
	}
}

/* --- Pastille « Liste des allergènes » ----------------------------------- */
.allergenes {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 50;
	transform: translateY(-50%);
	font-family: "DIN Next Condensed", "Roboto Condensed", sans-serif;
	font-weight: 300;
}
.allergenes__bouton {
	display: block;
	width: clamp(90px, 70px + 3.5vw, 120px);
	padding: 5px;
	border: 0;
	background: var(--rouge);
	color: var(--blanc);
	font: inherit;
	font-size: clamp(15px, 13px + .4vw, 18px);
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
}
.allergenes__liste {
	position: absolute;
	right: 0;
	top: 50%;
	width: 250px;
	max-width: calc(100vw - 20px);
	margin: 0;
	padding: 10px 20px 10px 15px;
	background: var(--rouge);
	color: var(--blanc);
	font-size: 18px;
	line-height: 1.35;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%);
	transition: opacity .25s, visibility .25s;
}
.allergenes__liste div { display: flex; gap: .4em; }
.allergenes__liste dt { font-weight: 700; }
.allergenes__liste dt::after { content: " :"; }
.allergenes__liste dd { margin: 0; }
.allergenes:hover .allergenes__liste,
.allergenes.est-ouvert .allergenes__liste {
	opacity: 1;
	visibility: visible;
}

/* --- Bandeau d'informations (collé en bas, s'arrête avant le pied) ------- */
.bandeau-infos {
	--h: clamp(30px, 5.9vw, 85px);
	--bout: calc(var(--h) * 1.0802);
	position: sticky;
	bottom: 0;
	z-index: 40;
	padding: 10px var(--marge) clamp(10px, 1.4vw, 20px);
	background: var(--blanc);
}
.bandeau-infos__ruban {
	height: var(--h);
	padding-inline: var(--bout);
	overflow: hidden;
	background:
		url("../img/bandeau-footer-gauche.svg") left center / auto 100% no-repeat,
		url("../img/bandeau-footer-droit.svg") right center / auto 100% no-repeat,
		linear-gradient(var(--rouge), var(--rouge)) center / calc(100% - 2 * var(--bout) + 2px) 100% no-repeat;
}
.bandeau-infos__piste {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform .6s ease;
}
.bandeau-infos__message {
	flex: 0 0 100%;
	display: grid;
	place-items: center;
	overflow: hidden;
	color: var(--blanc);
	font-family: var(--f-titre-plein);
	font-size: min(clamp(1rem, .0714rem + 3.0952vw, 7.5rem), calc(var(--h) * .62));
	line-height: 1;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.lang-ru .bandeau-infos__message { font-weight: 700; text-transform: uppercase; }
/* Vollkorn SC : capitales un peu hautes dans la ligne, on les recentre. */
.lang-ru .bandeau-infos__message,
.lang-ru .banderole__texte { padding-top: .17em; }

@media (prefers-reduced-motion: reduce) {
	.bandeau-infos__piste { transition: none; }
}

/* --- Retour en haut --------------------------------------------------- */
.retour-haut {
	position: fixed;
	right: 20px;
	bottom: calc(var(--hauteur-bandeau, 0px) + 20px);
	z-index: 60;
	display: grid;
	place-items: center;
	padding: 5px;
	border: 0;
	border-radius: 5px;
	background: var(--bleu);
	color: var(--blanc);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s, color .2s;
}
.retour-haut svg { width: 30px; height: 30px; }
@media (min-width: 992px) { .retour-haut svg { width: 40px; height: 40px; } }
.retour-haut.est-visible { opacity: 1; visibility: visible; }
.retour-haut:hover, .retour-haut:focus-visible { color: var(--rouge); }

/* --- Pied de page (5 colonnes, sur le modèle du Chal'Heureux) ----------- */
.site-pied {
	padding: 50px var(--marge) 25px;
	background: var(--bleu);
	color: var(--blanc);
	font-size: 17px;
	line-height: 1.35;
}
.site-pied a { color: inherit; text-decoration: none; }
.site-pied a:hover, .site-pied a:focus-visible { text-decoration: underline; }
.site-pied ul { margin: 0; padding: 0; list-style: none; }

.site-pied__grille {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px 30px;
	max-width: 1280px;
	margin-inline: auto;
	text-align: center;
}
.site-pied__col { flex: 0 1 100%; }

.site-pied__logo { width: 130px; height: auto; margin-inline: auto; }
.site-pied__adresse { font-style: normal; }
.site-pied__contacts { margin-top: .8em !important; }
.site-pied__contacts a { display: inline-flex; align-items: center; gap: .45em; }
.site-pied__reseaux { display: flex; justify-content: center; gap: 12px; margin-top: .9em !important; }
.site-pied__plan li + li { margin-top: .35em; }
.site-pied .icone { display: inline-block; flex: 0 0 auto; }

.partenaire {
	position: relative;
	width: 100%;
	max-width: 210px;
	margin-inline: auto;
	aspect-ratio: 250 / 304;
	overflow: hidden;
}
.partenaire__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.partenaire::after { /* voile pour la lisibilité du titre et des icônes */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgb(0 0 0 / .35), rgb(0 0 0 / 0) 45%, rgb(0 0 0 / 0) 65%, rgb(0 0 0 / .3));
	pointer-events: none;
}
.partenaire__titre {
	position: absolute;
	inset: 12% 8% auto;
	z-index: 1;
	margin: 0;
	font-weight: 700;
	font-size: 22px;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 1px 4px rgb(0 0 0 / .6);
}
.partenaire__liens {
	position: absolute;
	inset: auto 0 18%;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.partenaire__liens a { display: block; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .5)); }
.partenaire__liens a:hover, .partenaire__liens a:focus-visible { transform: scale(1.1); }

.site-pied__bas {
	max-width: 1280px;
	margin: 40px auto 0;
	text-align: center;
	font-size: 15px;
}
.site-pied__legal { margin: 0; }
.site-pied__copyright { white-space: nowrap; }

@media (min-width: 640px) {
	.site-pied__col { flex-basis: calc(33.333% - 20px); }
	.site-pied__col--partenaire { flex-basis: 210px; }
}
@media (min-width: 1100px) {
	.site-pied__grille { flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; text-align: left; }
	.site-pied__col { flex: 0 1 auto; }
	.site-pied__col--logo { flex: 0 0 150px; }
	.site-pied__col--contact { flex: 0 1 260px; }
	.site-pied__col--plan { flex: 0 1 200px; }
	.site-pied__col--partenaire { flex: 0 0 210px; }
	.site-pied__logo { margin-inline: 0; }
	.site-pied__reseaux { justify-content: flex-start; }
	.partenaire__titre { text-align: center; }
}

/* --- Pages de contenu (mentions, confidentialité) ------------------------ */
.page-contenu {
	max-width: 800px;
	margin-inline: auto;
	padding: 40px var(--marge) 75px;
	font-size: 18px;
}
.page-contenu__titre {
	color: var(--rouge);
	font-family: var(--f-titre);
	font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1;
	text-align: center;
}
.page-contenu h2, .page-contenu h3 { font-weight: 700; }
.page-contenu h2 { margin: 1.8em 0 .5em; font-size: 1.35em; line-height: 1.2; }
.page-contenu ul { padding-left: 1.2em; }
.page-contenu a { text-decoration: underline; }
/* Informations restant à compléter : [entre crochets] */
.page-contenu mark { background: #fff3a0; color: inherit; padding: 0 .15em; }
