/* myNFC.ch — "Maison" redesign · ivoire, encre, laiton */
:root {
  --ivory: #f5f0e7;
  --paper: #fbf8f2;
  --ink: #16130f;
  --ink-2: #221d17;
  --brass: #b0894f;
  --brass-2: #d6b47a;
  --muted: #7d7469;
  --line: #e2d8c8;
  --line-dark: rgba(245, 240, 231, .12);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--ivory); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; line-height: 1.02; margin: 0 0 .4em; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.7rem; }
em { font-style: italic; color: var(--brass); }
p { margin: 0 0 1em; }
.label { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.label.gold { color: var(--brass); }
.lead { font-size: 1.08rem; color: #4a4239; max-width: 52ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 28px; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.btn-solid { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-solid:hover { background: var(--brass); border-color: var(--brass); }
.btn-brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-brass:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.on-dark .btn-line:hover { background: var(--ivory); color: var(--ink); }
.link { font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(245, 240, 231, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header.dark { background: rgba(22, 19, 15, .88); color: var(--ivory); border-color: var(--line-dark); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.nav-l, .nav-r { display: flex; gap: 26px; align-items: center; }
.nav-r { justify-content: flex-end; }
.site-header nav a { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: .75; transition: opacity .2s; }
.site-header nav a:hover, .site-header nav a.active { opacity: 1; }
.site-header nav a.active { border-bottom: 1px solid var(--brass); padding-bottom: 3px; }
.site-header .btn { padding: 12px 18px; opacity: 1 !important; }
.logo { font-family: var(--display); font-size: 1.75rem; font-weight: 500; text-decoration: none; letter-spacing: .01em; display: flex; align-items: center; gap: 10px; }
.logo-img { height: 30px; width: auto; display: block; }
.site-header:not(.dark) .logo-img { filter: brightness(0); }
.site-langs { display: inline-flex; gap: 2px; }
.site-langs button { font: 700 .62rem var(--sans); letter-spacing: .12em; padding: 6px 7px; border: 0; background: none; color: inherit; opacity: .5; cursor: pointer; }
.site-langs button.on { opacity: 1; border-bottom: 1px solid var(--brass); }
.mobile-nav .site-langs { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-langs { display: none !important; }
@media (max-width: 1120px) {
  .site-header .bar { grid-template-columns: 1fr auto auto; gap: 6px; }
  .mobile-langs { display: inline-flex !important; }
  .mobile-langs button { padding: 8px 6px; }
  .mobile-nav .site-langs { display: none; }
}
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; justify-self: end; }
.mobile-nav { display: none; }
@media (max-width: 1120px) {
  .site-header .bar { grid-template-columns: 1fr auto auto; gap: 6px; }
  .nav-l, .nav-r { display: none; }
  .burger { display: block; }
  .mobile-nav.open { display: grid; padding: 4px 16px 24px; border-top: 1px solid var(--line); }
  .site-header.dark .mobile-nav.open { border-color: var(--line-dark); }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1 !important; }
  .site-header.dark .mobile-nav a { border-color: var(--line-dark); }
  .mobile-nav .btn { margin-top: 16px; }
}

/* Dark surfaces */
.on-dark { background: var(--ink); color: var(--ivory); }
.on-dark .lead, .on-dark p { color: #bdb3a5; }
.on-dark .label { color: #8f8577; }
.on-dark .label.gold { color: var(--brass-2); }

section { padding: 120px 0; }
@media (max-width: 700px) { section { padding: 80px 0; } }

/* Hero */
.hero { position: relative; min-height: min(calc(100vh - 76px), 820px); display: flex; align-items: center; padding: 56px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 50%, rgba(176, 137, 79, .22), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(176, 137, 79, .08), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; font-size: .85rem; }
.hero-meta b { display: block; font-family: var(--display); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--ivory); margin-bottom: 6px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { min-height: auto; } }

/* Photo hero : le badge NFC en main */
.hero-photo { position: relative; margin: 0; width: min(420px, 100%); justify-self: center; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(214,180,122,.45); }
.hero-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; }
.hero-photo .ring { position: absolute; left: 46%; top: 42.6%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); transform: translate(-50%, -50%) scale(1); opacity: 0; animation: ring 3.6s var(--ease) infinite; pointer-events: none; }
.hero-photo .ring:nth-of-type(2) { animation-delay: 1.2s; }
.hero-photo .ring:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(1); opacity: .8; } 100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; } }
.float-card { position: absolute; left: -7%; bottom: 7%; width: 220px; background: rgba(251, 248, 242, .97); color: var(--ink); padding: 18px 18px 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
.float-card .label { font-size: .56rem; }
.float-card h4 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin: 4px 0 10px; }
.float-card div { font-size: .78rem; padding: 6px 0; border-top: 1px solid var(--line); }
.float-card div span { display: flex; justify-content: space-between; }
.float-card div small { display: block; font-family: var(--display); font-style: italic; color: var(--muted); font-size: .85rem; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .float-card { left: -8px; width: 190px; } .hero-photo { width: min(360px, 90%); } }

/* Le badge NFC (disque « MENU » réel, recadré en cercle) */
.rozet { position: relative; display: inline-block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); background: #111; }
.rozet img { position: absolute; width: 240%; max-width: none; left: -70%; top: -69.5%; }
.rozet.glow { box-shadow: 0 0 0 1px rgba(214,180,122,.5), 0 0 0 14px rgba(214,180,122,.07), 0 40px 60px -20px rgba(0,0,0,.7); }

/* Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 50s linear infinite; font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--muted); white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--brass); margin-left: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Editorial head */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.head h2 { margin: 18px 0 0; }
.head .lead { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; } }

.acts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.act { padding: 40px 36px 8px 0; border-right: 1px solid var(--line); }
.act + .act { padding-left: 36px; }
.act:last-child { border-right: 0; }
.act .num { font-family: var(--display); font-style: italic; font-size: 3.6rem; color: var(--brass); line-height: 1; }
.act h3 { margin: 22px 0 12px; }
.act p { color: var(--muted); }
@media (max-width: 860px) { .acts { grid-template-columns: 1fr; } .act, .act + .act { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* Map teaser */
.map-teaser { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper); border: 1px solid var(--line); }
.map-teaser .copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.map-teaser .stats { display: flex; gap: 40px; }
.map-teaser .stats b { display: block; font-family: var(--display); font-size: 3.2rem; font-weight: 500; line-height: 1; }
.map-teaser .stats span { font-size: .8rem; color: var(--muted); }
#teaser-map { min-height: 480px; background: #e9e3d8; }
@media (max-width: 860px) { .map-teaser { grid-template-columns: 1fr; } .map-teaser .copy { padding: 36px 24px; } #teaser-map { min-height: 340px; } }

.badge-block { display: grid; grid-template-columns: auto 1fr 1fr; gap: 64px; align-items: center; }
.perks { list-style: none; padding: 0; margin: 0; }
.perks li { padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.perks li:first-child { border-top: 1px solid var(--line-dark); }
.perks .n { font-family: var(--display); font-style: italic; color: var(--brass-2); font-size: 1.3rem; line-height: 1.2; }
.perks b { display: block; font-weight: 600; color: var(--ivory); }
.perks span { color: #a99f91; font-size: .92rem; }
.perks.light li { border-color: var(--line); }
.perks.light b { color: var(--ink); }
.perks.light span { color: var(--muted); }
.perks.light .n { color: var(--brass); }
@media (max-width: 960px) { .badge-block { grid-template-columns: 1fr; gap: 40px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--paper); }
.plan { padding: 48px 36px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan.feature { background: var(--ink); color: var(--ivory); }
.plan h3 { margin-top: 14px; }
.plan > p { color: var(--muted); font-size: .92rem; }
.plan.feature > p { color: #a99f91; }
.plan .price { font-family: var(--display); font-size: 3.4rem; line-height: 1; margin: 18px 0 6px; }
.plan .price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .05em; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 36px; flex: 1; }
.plan li { padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.plan.feature li { border-color: var(--line-dark); color: #d8cfc1; }
.plan.feature .label { color: var(--brass-2); }
.fine { font-size: .8rem; color: var(--muted); margin-top: 20px; text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } }

.services { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-top: 0; background: var(--ivory); }
.services > div { padding: 32px 36px; display: grid; gap: 4px; align-content: start; }
.services > div + div { border-left: 1px solid var(--line); }
.services h3 { margin: 8px 0 4px; }
.services p { color: var(--muted); font-size: .9rem; }
.services b { font-family: var(--display); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.services b small { font-family: var(--sans); font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .services > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Quote */
.quote { text-align: center; max-width: 900px; margin-inline: auto; }
.quote blockquote { font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.2; margin: 28px 0; }
.quote img { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; border: 1px solid var(--line); background: #fff; }

/* Forms */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; outline: 0; border-radius: 0; }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea { border-color: rgba(245,240,231,.25); }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }
.thanks { font-family: var(--display); font-size: 2rem; font-style: italic; }

/* Footer */
.site-footer { background: var(--ink); color: #a99f91; padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.site-footer .logo { color: var(--ivory); }
.site-footer h4 { font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #6f665a; margin: 0 0 18px; }
.site-footer a:not(.logo) { display: block; text-decoration: none; padding: 5px 0; font-size: .92rem; }
.site-footer a:hover { color: var(--brass-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .78rem; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Restaurants : carte + liste ---------- */
.explore { display: grid; grid-template-columns: minmax(380px, 520px) 1fr; height: calc(100vh - 77px); }
.ex-list { overflow-y: auto; border-right: 1px solid var(--line); background: var(--ivory); }
.ex-head { padding: 32px 28px 20px; position: sticky; top: 0; background: var(--ivory); z-index: 2; border-bottom: 1px solid var(--line); }
.ex-head h1 { font-size: 3.2rem; margin: 10px 0 18px; }
.ex-search { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); }
.ex-search input { border: 0; background: transparent; font: inherit; font-size: 1rem; outline: 0; width: 100%; padding: 10px 0; }
.ex-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pill { font: 600 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); }
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pill.gold.on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.ex-count { padding: 14px 28px; font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.ex-empty { padding: 40px 28px; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 1.4rem; }
.ex-map { position: relative; }
#map { position: absolute; inset: 0; background: #e9e3d8; }
.map-legend { position: absolute; left: 16px; bottom: 24px; z-index: 500; background: rgba(251,248,242,.95); padding: 12px 16px; font-size: .72rem; display: grid; gap: 8px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); }
.map-legend div { display: flex; align-items: center; gap: 10px; }
.view-toggle { display: none; }
@media (max-width: 900px) {
  .explore { grid-template-columns: 1fr; height: auto; }
  .ex-list { border-right: 0; overflow: visible; }
  .ex-head { position: static; }
  .ex-map { height: calc(100vh - 77px); display: none; }
  .explore.show-map .ex-map { display: block; }
  .explore.show-map .ex-list { display: none; }
  .map-legend { top: 16px; bottom: auto; }
  .view-toggle { display: flex; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1001; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  .view-toggle button { font: 600 .66rem var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 14px 22px; border: 0; background: var(--ink); color: #8f8577; cursor: pointer; }
  .view-toggle button.on { color: var(--ivory); background: var(--ink-2); }
}

/* Ligne établissement */
.v-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.v-row:hover, .v-row.hl { background: var(--paper); }
.v-mono { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-size: 1.35rem; font-style: italic; background: var(--paper); color: var(--muted); }
.v-mono { overflow: hidden; }
.v-mono img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; padding: 6px; }
.v-row.badged .v-mono { border-color: var(--brass); color: var(--ink); box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--ink); }
.v-row h3 { font-size: 1.45rem; margin: 0 0 2px; }
.v-meta { font-size: .78rem; color: var(--muted); }
.v-flag { font: 700 .56rem var(--sans); letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink); }
.v-flag.off { color: #a59c90; font-weight: 600; }
.v-arrow { font-family: var(--display); font-size: 1.6rem; color: var(--muted); transition: transform .2s; }
.v-row:hover .v-arrow { transform: translateX(4px); color: var(--ink); }

/* Leaflet : pins & popups */
.leaflet-tile-pane { filter: saturate(.35) sepia(.22) contrast(.94) brightness(1.03); }
.pin { width: 14px; height: 14px; border-radius: 50%; background: #9a9083; border: 2px solid var(--ivory); box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.pin.badge { width: 34px; height: 34px; background: radial-gradient(circle at 35% 30%, #3a3a3a, #0b0b0b 70%); border: 2px solid #fff; display: grid; place-items: center; color: #fff; }
.pin.badge b { font: 700 7px var(--sans); letter-spacing: .06em; }
.pin.hl { transform: scale(1.45); }
.leaflet-popup-content-wrapper { border-radius: 0 !important; background: var(--paper) !important; box-shadow: 0 20px 40px -10px rgba(0,0,0,.35) !important; }
.leaflet-popup-content { margin: 18px 20px !important; font-family: var(--sans); min-width: 200px; }
.leaflet-popup-content h4 { font-family: var(--display); font-size: 1.5rem; font-weight: 500; margin: 4px 0 2px; }
.leaflet-popup-content p { margin: 0 0 14px !important; color: var(--muted); font-size: .8rem; }
.leaflet-popup-tip { background: var(--paper) !important; }
.leaflet-container a.link { color: var(--ink); }
.leaflet-container { font-family: var(--sans); }

/* Barre d'administration WordPress (équipe connectée) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
