/* CDR v2 : « Où manger ? » — cartes des restaurants, page de la rubrique, fiche. Reprend les cartes et boutons du guide. */

/* Cartes : toute la carte ouvre la fiche */
.cdr-restos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.cdr-restos > li { margin: 0; display: flex; }
@media (min-width: 1101px) { .cdr-restos:has(> li:nth-child(5)) { grid-template-columns: repeat(3, 1fr); } } /* cinq ou six adresses : trois par ligne */
.cdr-resto { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--cdr-line); border-radius: 20px; overflow: hidden; transition: transform .25s var(--cdr-ease-out), box-shadow .25s ease; }
.cdr-main a.cdr-resto { color: var(--cdr-ink); }
.cdr-resto:active { transform: scale(.985); }
.cdr-resto__ph { position: relative; display: block; aspect-ratio: 4/3; background: var(--cdr-sand); overflow: hidden; }
.cdr-resto__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cdr-ease-out); }
.cdr-resto__vide { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cdr-gold-2); background: linear-gradient(160deg, var(--cdr-sand), #e9dcc3); }
.cdr-resto__vide svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cdr-resto__coeur, .cdr-resto__brouillon { position: absolute; left: 12px; top: 12px; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.cdr-resto__coeur { background: var(--cdr-gold); color: var(--cdr-night); }
.cdr-resto__coeur--fiche { position: static; display: inline-block; margin: 0 0 14px; }
.cdr-resto__brouillon { left: auto; right: 12px; background: #b42318; color: #fff; }
.cdr-resto__c { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.cdr-resto__c small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cdr-gold-text); font-weight: 700; line-height: 1.4; }
.cdr-resto__c b { font-family: var(--cdr-serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.cdr-resto__q { font-size: 14px; font-weight: 700; color: var(--cdr-navy); }
.cdr-resto__p { font-size: 15px; line-height: 1.5; color: var(--cdr-soft); }
.cdr-resto__bas { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.cdr-resto__prix { white-space: nowrap; font-size: 14px; font-weight: 700; background: var(--cdr-ivory); border: 1px solid var(--cdr-line); border-radius: 999px; padding: 6px 12px; }
.cdr-resto__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--cdr-navy); }
@media (hover: hover) and (pointer: fine) {
	.cdr-resto:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 28, 48, .12); }
	.cdr-resto:hover .cdr-resto__ph img { transform: scale(1.04); }
}

/* Lien discret « Donnez-nous votre avis » */
.cdr-resto-avis { margin: 26px 0 0; font-size: 14.5px; color: var(--cdr-soft); }
.cdr-main .cdr-resto-avis a, .cdr-main .cdr-lien { color: var(--cdr-navy); text-decoration: underline; text-decoration-color: var(--cdr-gold-2); text-underline-offset: 3px; }

/* Bouton du haut de la page d'un lieu : le haut de page gagne la hauteur du bouton, le texte ne passe pas sous le menu */
.cdr-lhero__act { margin-top: 20px !important; }
.cdr-lhero--act { height: calc(74svh + 64px); min-height: 600px; }
.cdr-lhero--act .cdr-lhero__t { bottom: 44px; }

/* Entrée « Où manger ? » de /guide/ */
.cdr-resto-entree { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: -8px 0 clamp(26px, 3.5vw, 40px); padding: 14px 16px; background: #fff; border: 1px solid var(--cdr-line); border-radius: 22px; }
.cdr-resto-entree__t { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding-right: 10px; }
.cdr-resto-entree__t svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--cdr-gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cdr-resto-entree__t b { display: block; font-family: var(--cdr-serif); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--cdr-ink); }
.cdr-resto-entree__t small { display: block; font-size: 14px; color: var(--cdr-soft); }
.cdr-resto-entree__c { display: flex; flex-wrap: wrap; gap: 8px; }
.cdr-resto-entree__c a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: var(--cdr-sand); font-weight: 700; font-size: 14px; color: var(--cdr-navy); transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) {
	.cdr-resto-entree__c a:hover { background: var(--cdr-navy); color: #fff; }
	.cdr-resto-entree__t:hover .cdr-arrow { transform: translateX(4px); }
}

/* Page /guide/ou-manger/ : toutes les adresses, zone par zone, avec une barre de raccourcis qui reste sous l'en-tête */
.cdr-resto-zones { position: sticky; top: var(--cdr-header-h); z-index: 5; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--cdr-pad)) 8px; padding: 12px var(--cdr-pad); background: var(--cdr-ivory); border-bottom: 1px solid var(--cdr-line); }
.cdr-resto-zones::-webkit-scrollbar { display: none; }
.cdr-resto-zones a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--cdr-sand); color: var(--cdr-ink); font: 700 15px var(--cdr-sans); text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.cdr-resto-zones a span { font-weight: 400; font-size: 13px; color: var(--cdr-soft); }
.cdr-resto-zones a:hover, .cdr-resto-zones a:focus-visible { background: var(--cdr-navy); color: #fff; }
.cdr-resto-zones a:hover span, .cdr-resto-zones a:focus-visible span { color: #c9c2b4; }
.cdr-resto-zone { scroll-margin-top: 24px; /* s’ajoute au scroll-padding-top du site (en-tête) pour passer sous la barre de zones */ padding-top: clamp(34px, 5vw, 56px); }
.cdr-resto-zone__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.cdr-main .cdr-resto-zone__t h2 { margin: 0; font-family: var(--cdr-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); }
.cdr-resto-zone__t h2 i { font-size: .6em; color: var(--cdr-soft); }
.cdr-resto-bascule { margin: 14px 0 0; }
.cdr-resto-zone__p { margin: -8px 0 20px; color: var(--cdr-soft); max-width: 620px; }
.cdr-main .cdr-eyebrow a { color: inherit; }

/* Fiche */
.cdr-apercu { margin: calc(var(--cdr-header-h) + 16px) var(--cdr-pad) 0; padding: 14px 18px; border-radius: 14px; background: #fff4e5; border: 1px solid #f0c27a; font-size: 15px; }
.cdr-apercu b { display: block; }
.cdr-apercu ul { margin: 6px 0 0 18px; padding: 0; }
.cdr-apercu + .cdr-rf { padding-top: 36px; }
.cdr-rf { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cdr-rf__retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--cdr-navy); margin-bottom: 10px; }
.cdr-main .cdr-rf__retour { color: var(--cdr-navy); }
.cdr-rf h1 { margin-bottom: 18px; }
.cdr-rf__desc p { font-size: 18px; line-height: 1.75; color: #3b424d; margin: 0 0 14px; }
.cdr-rf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cdr-rf__tel { margin: 14px 0 0; font-size: 15px; color: var(--cdr-soft); }
.cdr-main .cdr-rf__tel a { color: var(--cdr-navy); font-weight: 700; white-space: nowrap; }
.cdr-rf__ph { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; background: var(--cdr-sand); }
.cdr-rf__ph img { width: 100%; height: 100%; object-fit: cover; }
.cdr-rf__img { margin: 0; height: 100%; }
/* Deux ou trois photos : la principale en grand, les autres dessous */
.cdr-rf__ph--g2, .cdr-rf__ph--g3 { display: grid; gap: 8px; aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; grid-template-columns: 1fr 1fr; }
.cdr-rf__ph--g2 .cdr-rf__img, .cdr-rf__ph--g3 .cdr-rf__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.cdr-rf__ph--g3 .cdr-rf__img:first-child { grid-column: 1 / -1; border-radius: 22px; }
.cdr-rf__credit { position: absolute; right: 10px; bottom: 10px; font-size: 12px; color: #fff; background: rgba(15, 28, 48, .6); padding: 4px 9px; border-radius: 999px; }
.cdr-rf__ph--g2 .cdr-rf__credit, .cdr-rf__ph--g3 .cdr-rf__credit { position: static; grid-column: 1 / -1; justify-self: end; color: var(--cdr-soft); background: none; padding: 0; }
.cdr-rf__ph .cdr-resto__vide svg { width: 84px; height: 84px; }

.cdr-rf-infos { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cdr-rf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cdr-rf-bloc { background: var(--cdr-ivory); border: 1px solid var(--cdr-line); border-radius: 20px; padding: 22px; }
.cdr-main .cdr-rf-bloc h2 { font-family: var(--cdr-sans); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--cdr-gold-text); margin: 0 0 10px; line-height: 1.4; }
.cdr-rf-bloc p, .cdr-rf-bloc li { font-size: 15.5px; line-height: 1.55; margin: 0 0 8px; }
.cdr-rf-bloc ul { margin: 0; padding-left: 18px; }
.cdr-rf-gros { font-family: var(--cdr-serif); font-size: 22px !important; line-height: 1.25 !important; color: var(--cdr-ink); }
.cdr-rf-h { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 8px; font-size: 15.5px; }
.cdr-rf-h dt { font-weight: 700; }
.cdr-rf-h dd { margin: 0; }
.cdr-rf-note { color: var(--cdr-soft); font-size: 14.5px !important; }
.cdr-rf-atouts { list-style: none; padding: 0 !important; }
.cdr-rf-atouts li { position: relative; padding-left: 24px; }
.cdr-rf-atouts li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--cdr-gold-2); border-bottom: 2px solid var(--cdr-gold-2); transform: rotate(-45deg); }
.cdr-rf-maj { margin: 26px 0 0; font-size: 14px; color: var(--cdr-soft); }
.cdr-main .cdr-rf-maj a { color: var(--cdr-navy); font-weight: 700; margin-left: 6px; }
.cdr-rf-barre { display: none; }

@media (max-width: 1100px) {
	.cdr-restos, .cdr-rf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
	.cdr-rf { grid-template-columns: 1fr; }
	.cdr-rf__ph { order: -1; }
	.cdr-rf__actions .cdr-btn { flex: 1 1 auto; }
	/* La fiche remplace la barre « Appeler / Voir les locations » par ses propres actions */
	.single-cdr_resto .cdr-callbar { display: none; }
	.cdr-rf-barre { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: 1.6fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; }
	.cdr-rf-barre a { white-space: nowrap; border-radius: 999px; padding: 15px 10px; text-align: center; font-weight: 700; font-size: 14.5px; min-height: 48px; background: #fff; color: var(--cdr-navy); box-shadow: 0 10px 30px rgba(15, 28, 48, .3); }
	.cdr-rf-barre a:first-child { background: var(--cdr-gold); color: var(--cdr-night); }
	.single-cdr_resto .cdr-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
	.cdr-restos, .cdr-rf-grid { grid-template-columns: 1fr; }
	.cdr-resto { flex-direction: row; }
	.cdr-resto__ph { flex: 0 0 34%; aspect-ratio: auto; min-height: 150px; }
	.cdr-resto__c { padding: 14px 16px 12px; gap: 4px; }
	.cdr-resto__c b { font-size: 21px; }
	.cdr-resto__p { font-size: 14.5px; }
	.cdr-resto-entree { padding: 12px; }
	.cdr-resto-entree__c a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.cdr-resto, .cdr-resto__ph img { transition: none; }
}

/* Onglet « Où manger ? » de la page du guide */
.cdr-onglet-resto + .cdr-onglet-resto { margin-top: clamp(30px, 4vw, 44px); }
.cdr-onglet-resto__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cdr-onglet-resto__t h4 { margin: 0; font-family: var(--cdr-serif); font-weight: 400; font-size: 26px; }
.cdr-onglet-resto__fin { margin: 30px 0 0; }

/* Escapades gourmandes (page « Où manger ? ») */
