/* Pages Traiteur et Nos menus : présentation de carte imprimée, d'après le PDF de l'offre de services. Volet sombre fixe, liste sur papier. */

@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url(polices/playfair-display-italique-latin.woff2) format("woff2"); }

.rp-page-carte { font-variant-numeric: lining-nums; --tr-papier: #efece4; --tr-encre: #14211e; --tr-doux: #4a504b; --tr-filet: #14211e; --tr-nav: 46px; }

/* Héros */
.rp-tr-hero { position: relative; display: flex; align-items: flex-end; min-height: min(74vh, 660px); background: var(--rp-nuit); overflow: hidden; }
.rp-tr-hero img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 45%; }
.rp-tr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 20, 18, .94) 0%, rgba(9, 20, 18, .78) 38%, rgba(9, 20, 18, .12) 74%), linear-gradient(0deg, rgba(9, 20, 18, .55) 0%, rgba(9, 20, 18, 0) 40%); }
.rp-tr-hero-texte { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 760px; padding: 4em clamp(2em, 5vw, 80px) 3.5em; color: var(--rp-sable); }
.rp-tr-hero h1 { margin: 0; font-family: "Playfair Display", sans-serif; font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.04; }
.rp-tr-hero p { margin: 0; max-width: 34em; font-size: 1.02rem; line-height: 1.5; }
.rp-tr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.rp-tr-btn { display: inline-block; padding: 14px 28px; border-radius: 4px; background: var(--rp-sable); color: var(--rp-nuit); font-family: "Playfair Display", sans-serif; font-size: 1rem; font-weight: 600; line-height: 1; text-decoration: none; }
.rp-tr-btn:hover { background: #fff; color: var(--rp-nuit); }
.rp-tr-lien { color: var(--rp-sable); font-size: .85rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.rp-tr-lien:hover { color: #fff; }

/* Barre de sections */
.rp-tr-nav { position: sticky; top: 0; z-index: 10; display: flex; gap: clamp(18px, 3vw, 44px); height: var(--tr-nav); padding: 0 clamp(2em, 5vw, 80px); border-block: 1px solid #efe6d626; background: var(--rp-nuit); overflow-x: auto; scrollbar-width: none; }
.rp-tr-nav::-webkit-scrollbar { display: none; }
.rp-tr-nav a { display: flex; flex: none; align-items: center; border-bottom: 2px solid transparent; color: #efe6d6b8; font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.rp-tr-nav a:hover { color: var(--rp-sable); }
.rp-tr-nav a[aria-current="true"] { border-bottom-color: var(--rp-sable); color: var(--rp-sable); }

/* Section : volet sombre et carte sur papier */
.rp-tr-section { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); border-top: 1px solid #efe6d626; scroll-margin-top: var(--tr-nav); background: var(--rp-nuit); }
.rp-tr-volet { background: var(--rp-nuit); color: var(--rp-sable); }
.rp-tr-volet-collant { position: sticky; top: var(--tr-nav); }
.rp-tr-volet-image { aspect-ratio: 3 / 2; max-height: 54vh; width: 100%; overflow: hidden; }
.rp-tr-volet-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rp-tr-volet-texte { padding: 2.2em clamp(2em, 4vw, 64px) 3em; }
.rp-tr-volet h2 { margin: 0; font-family: "Playfair Display", sans-serif; font-size: clamp(2.1rem, 3.1vw, 3rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; }
.rp-tr-volet p { margin: 12px 0 0; color: #efe6d6d9; font-family: "Playfair Display", sans-serif; font-size: 1.05rem; font-style: italic; line-height: 1.35; }
.rp-tr-lien-mariage { display: inline-block; margin-top: 18px; }
.rp-tr-carte { display: flex; flex-direction: column; gap: 3.4em; padding: 3.6em clamp(2em, 5vw, 80px) 4.4em; background: var(--tr-papier) url(papier.jpg) 0 0 / 1400px auto; color: var(--tr-encre); }

/* Groupes */
.rp-tr-groupe-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1.5px solid var(--tr-filet); }
.rp-tr-groupe h3 { margin: 0; font-family: "Playfair Display", sans-serif; font-size: 1.75rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.12; }
.rp-tr-groupe-prix { flex: none; font-family: "Playfair Display", sans-serif; font-size: 1.6rem; font-variant-numeric: lining-nums; font-weight: 400; line-height: 1; }
.rp-tr-note { margin: 12px 0 0; color: var(--tr-doux); font-family: "Playfair Display", sans-serif; font-size: .92rem; font-style: italic; line-height: 1.35; }
.rp-tr-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px 44px; margin: 20px 0 0; padding: 0; list-style: none; }

/* Plats */
.rp-tr-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rp-tr-nom { font-size: .7rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.rp-tr-prix { flex: none; font-family: "Playfair Display", sans-serif; font-size: 1.12rem; font-variant-numeric: lining-nums; font-weight: 400; line-height: 1; }
.rp-tr-plat p { margin: 5px 0 0; color: var(--tr-doux); font-size: .79rem; line-height: 1.45; }

/* Forfaits encadrés, jusqu'à trois par rangée */
.rp-tr-liste:has(.rp-tr-vedette):not(:has(.rp-tr-plat:not(.rp-tr-vedette))) { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; }
/* Un seul plat en vedette dans une liste ordinaire : pleine largeur. */
.rp-tr-liste:has(.rp-tr-plat:not(.rp-tr-vedette)) .rp-tr-vedette { grid-column: 1 / -1; }
.rp-tr-vedette { padding: 18px 18px 20px; border: 1px solid var(--tr-filet); }
.rp-tr-vedette .rp-tr-ligne { padding-bottom: 10px; border-bottom: 1px solid #14211e40; }
.rp-tr-vedette .rp-tr-nom { font-family: "Playfair Display", sans-serif; font-size: 1.14rem; font-weight: 600; letter-spacing: 0; line-height: 1.15; text-transform: none; }
.rp-tr-vedette .rp-tr-prix { font-size: 1.4rem; }
.rp-tr-vedette p { margin-top: 12px; }

/* Listes compactes */
.rp-tr-compacte .rp-tr-liste { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 11px 44px; }
.rp-tr-compacte .rp-tr-nom { font-size: .79rem; font-weight: 400; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.rp-tr-compacte .rp-tr-prix { font-size: 1rem; }

/* Groupe avec photo */
.rp-tr-avec-image .rp-tr-corps { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 36px; margin-top: 20px; align-items: start; }
.rp-tr-avec-image .rp-tr-liste { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 22px 28px; }
.rp-tr-avec-image .rp-tr-note { margin-bottom: 16px; }
.rp-tr-groupe-image img { display: block; width: 100%; height: auto; }

/* Fin de carte : avis et PDF */
.rp-tr-pied-carte { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; padding-top: 14px; border-top: 1px solid #14211e40; }
.rp-tr-avis { margin: 0; color: var(--tr-doux); font-family: "Playfair Display", sans-serif; font-size: .92rem; font-style: italic; line-height: 1.35; }
.rp-tr-pdf { color: var(--tr-encre); font-size: .8rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rp-tr-pdf:hover { color: var(--rp-sapin); }

/* Allergènes et frais */
.rp-tr-infos { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3em clamp(3em, 6vw, 96px); padding: 4em clamp(2em, 5vw, 80px); border-top: 1px solid var(--tr-filet); background: var(--tr-papier) url(papier.jpg) 0 0 / 1400px auto; color: var(--tr-encre); }
.rp-tr-infos h2 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1.5px solid var(--tr-filet); font-family: "Playfair Display", sans-serif; font-size: 1.75rem; font-weight: 600; line-height: 1.12; }
.rp-tr-infos p { margin: 0 0 8px; color: var(--tr-doux); font-size: .82rem; line-height: 1.5; }
.rp-tr-infos strong { color: var(--tr-encre); font-weight: 600; }

/* Fin de page */
.rp-tr-fin { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 5em 2em; background: var(--rp-nuit); color: var(--rp-sable); scroll-margin-top: var(--tr-nav); text-align: center; }
.rp-tr-fin .rp-tr-btn { margin-top: 6px; }
.rp-tr-fin-sceau img { display: block; width: 72px; height: 72px; }
.rp-tr-fin h2 { margin: 8px 0 0; font-family: "Playfair Display", sans-serif; font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; padding-bottom: .08em; }
.rp-tr-fin h2 em { display: block; font-weight: 400; }
.rp-tr-fin p { margin: 0; max-width: 36em; color: #efe6d6d9; font-size: .92rem; line-height: 1.5; }
.rp-tr-fin p a { color: var(--rp-sable); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rp-tr-fin p a:hover { color: #fff; }
.rp-tr-fin hr { width: 56px; margin: 10px 0; border: 0; border-top: 1px solid #efe6d666; }
.rp-tr-fin-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-family: "Playfair Display", sans-serif; font-size: 1.15rem; font-variant-numeric: lining-nums; }
.rp-tr-fin-contact a { color: var(--rp-sable); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.rp-tr-fin-contact a:hover { color: #fff; }

@media (max-width: 1024px) {
	.rp-tr-section { grid-template-columns: minmax(0, 1fr); }
	.rp-tr-volet-collant { position: static; }
	.rp-tr-volet-image { aspect-ratio: 16 / 8; max-height: none; }
	.rp-tr-volet-texte { padding: 1.8em 2em 2em; }
}
@media (max-width: 767px) {
	.rp-tr-hero { min-height: 560px; }
	.rp-tr-hero::after { background: linear-gradient(0deg, rgba(9, 20, 18, .96) 0%, rgba(9, 20, 18, .82) 48%, rgba(9, 20, 18, .25) 100%); }
	.rp-tr-hero-texte { padding: 3em 2em 2.5em; }
	.rp-tr-nav { padding: 0 2em; }
	.rp-tr-volet-image { aspect-ratio: 16 / 10; }
	.rp-tr-carte { gap: 2.8em; padding: 2.6em 2em 3.2em; }
	.rp-tr-groupe h3, .rp-tr-infos h2 { font-size: 1.55rem; }
	.rp-tr-avec-image .rp-tr-corps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.rp-tr-infos { grid-template-columns: minmax(0, 1fr); gap: 2.4em; padding: 3em 2em; }
	.rp-tr-fin { padding: 4em 2em; }
	.rp-tr-fin-contact { flex-direction: column; font-size: 1.05rem; }
}
