:root {
  --fg-green: #1e4d45;
  --fg-green-dark: #163a34;
  --fg-green-mid: #2a6b5f;
  --fg-green-light: #d8ebe5;
  --fg-green-soft: #eef6f3;
  --fg-pink: #d94a6a;
  --fg-pink-dark: #9e2f4a;
  --fg-pink-light: #fceef2;
  --fg-cream: #f3f8f5;
  --fg-sand: #e4f0eb;
  --fg-ink: #14332c;
  --fg-muted: #4d6660;
  --fg-border: #c5d9d1;
  --fg-radius: 18px;
  --fg-shadow: 0 8px 28px rgba(30, 77, 69, 0.1);
  --fg-shadow-lg: 0 18px 48px rgba(22, 58, 52, 0.14);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --btn-radius: 999px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg-ink);
  background: var(--fg-cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fg-border);
}
body.nav-open .site-header {
  /* backdrop-filter crée un containing block qui coupe le drawer fixed */
  backdrop-filter: none;
  background: var(--fg-cream);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 800; text-decoration: none;
  color: var(--fg-green); letter-spacing: -0.035em;
}
.brand em { color: var(--fg-pink-dark); font-style: normal; }
.nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
.nav-aside { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.nav a:not(.btn), .nav-link {
  text-decoration: none; padding: 0.45rem 0.8rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--fg-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:not(.btn):hover, .nav a:not(.btn).active,
.nav-link:hover, .nav-link.active { background: var(--fg-green-light); color: var(--fg-green); }
.nav .btn { color: #fff; }
.nav .btn.secondary { color: var(--fg-green); }
.nav-auth-guest { display: flex; align-items: center; gap: 0.35rem; }
.nav-auth-btn { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.4rem; border-radius: var(--btn-radius); border: none;
  background: var(--fg-green); color: #fff; font-weight: 700;
  text-decoration: none; cursor: pointer; font-size: 0.95rem;
  box-shadow: none;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--fg-green-dark); transform: translateY(-1px); }
.btn.secondary {
  background: var(--fg-green-soft); color: var(--fg-green); border: 1.5px solid var(--fg-border);
}
.btn.secondary:hover { border-color: var(--fg-green); background: var(--fg-green-light); }
.btn.pink { background: var(--fg-pink); }
.btn.pink:hover { background: var(--fg-pink-dark); }
.btn.small { padding: 0.5rem 1.05rem; font-size: 0.86rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Hero — vert dominant, touche de rose */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem clamp(3.25rem, 7vw, 5.25rem);
  background:
    radial-gradient(ellipse 55% 70% at 92% 8%, rgba(232, 90, 122, 0.16), transparent 55%),
    linear-gradient(160deg, #1e4d45 0%, #2a6b5f 42%, #1e4d45 100%);
  color: #fff;
}
.hero-inner {
  position: relative;
  max-width: 640px; margin: 0 auto; text-align: center;
  animation: heroIn 0.65s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  display: inline-block;
  background: rgba(232, 90, 122, 0.22); color: #ffd0db;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(232, 90, 122, 0.35);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.08; margin: 0 0 1.1rem; color: #fff;
}
.hero p {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: rgba(232, 242, 237, 0.88); margin: 0 auto 2rem; max-width: 36ch; line-height: 1.55;
}
.hero-cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.hero .btn { padding: 0.9rem 1.55rem; font-size: 1rem; background: var(--fg-pink); }
.hero .btn:hover { background: var(--fg-pink-dark); }
.hero .btn.secondary {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.section { padding: clamp(3rem, 6vw, 4.75rem) 1.25rem; background: var(--fg-cream); }
.section.sand { background: var(--fg-sand); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section-head { margin-bottom: 2rem; text-align: center; }
.section-kicker {
  color: var(--fg-pink-dark); font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 0.45rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em; margin: 0; color: var(--fg-green);
}
.section-lead { color: var(--fg-muted); margin: 0.55rem auto 0; max-width: 40ch; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.step {
  background: #fff; border-radius: var(--fg-radius); padding: 1.5rem 1.15rem;
  border: 1px solid var(--fg-border); box-shadow: none;
  text-align: center;
}
.step:hover { transform: none; border-color: var(--fg-green-mid); }
.step-num {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--fg-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; margin: 0 auto 1rem;
}
.step h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 0.4rem;
}
.step p { margin: 0; color: var(--fg-muted); font-size: 0.94rem; line-height: 1.5; }

.filters {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: end;
}
.filters label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.82rem; color: var(--fg-muted); font-weight: 600; }
.filters input, .filters select, .form input, .form select, .form textarea {
  padding: 0.7rem 0.95rem; border: 1.5px solid var(--fg-border); border-radius: 12px;
  font: inherit; background: #fff; min-width: 140px;
  transition: border-color 0.15s;
}
.filters input:focus, .filters select:focus, .form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--fg-green);
}
.form textarea { min-height: 100px; resize: vertical; width: 100%; }
.form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.88rem; font-weight: 600; }
.form-grid { display: grid; gap: 1rem; }
.form-grid.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  background: #fff; border-radius: var(--fg-radius);
  border: 1px solid var(--fg-border);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--fg-green-mid);
  box-shadow: var(--fg-shadow);
}
.card-body { padding: 1.15rem 1.2rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-top {
  height: 128px; display: flex; align-items: center; justify-content: center;
  font-size: 2.85rem; overflow: hidden; background: var(--fg-sand);
}
.card-top.photo { padding: 0; }
.card-top.photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.card-top.bouquet {
  background: linear-gradient(180deg, #e8f2ef 0%, #fff 55%);
}
.card-top.pot {
  background: linear-gradient(180deg, var(--fg-green-light) 0%, #fff 100%);
}
.card-top.autre {
  background: linear-gradient(180deg, #fff6eb 0%, #fff 100%);
}
.pickup-qr {
  width: 180px; height: 180px; margin: 0.5rem auto 0.25rem;
  border-radius: 14px; border: 1px solid var(--fg-border); display: block;
}
.pickup-qr-hint {
  color: var(--fg-muted); font-size: 0.88rem; margin: 0 0 0.75rem;
}
.badge {
  display: inline-block; padding: 0.22rem 0.6rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge.bouquet { background: var(--fg-pink-light); color: var(--fg-pink-dark); }
.badge.pot { background: var(--fg-green-light); color: var(--fg-green-dark); }
.badge.autre { background: #fff3e0; color: #b45309; }
.card h3 {
  font-family: var(--font-display); margin: 0.55rem 0 0.25rem;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
}
.card-meta { color: var(--fg-muted); font-size: 0.86rem; margin: 0.2rem 0; }
.price-row { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.85rem 0; flex-wrap: wrap; }
.price-now { font-size: 1.4rem; font-weight: 800; color: var(--fg-green); letter-spacing: -0.02em; }
.price-was { text-decoration: line-through; color: var(--fg-muted); font-size: 0.88rem; }
.discount-pill {
  background: var(--fg-pink); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.18rem 0.48rem; border-radius: 999px;
}
.card-actions { margin-top: auto; padding-top: 0.65rem; }

.empty {
  text-align: center; padding: 3rem 1rem; color: var(--fg-muted);
  background: var(--fg-sand); border-radius: var(--fg-radius); border: none;
}
.empty-cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.empty-cta p { margin: 0; max-width: 36ch; }

.site-footer {
  margin-top: auto; padding: 3.25rem 1.25rem 1.5rem;
  background: var(--fg-green-dark); color: #c5d9d1; font-size: 0.9rem;
}
.footer-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem 1.5rem;
}
.footer-grid h4 {
  color: #fff; font-size: 0.75rem; margin: 0 0 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: #c5d9d1; text-decoration: none; transition: color 0.15s ease; }
.footer-grid a:hover { color: #fff; }
.footer-tagline { margin: 0.75rem 0 0; max-width: 28ch; line-height: 1.5; color: #b7cdc4; font-size: 0.9rem; }
.footer-copy {
  max-width: var(--wrap); margin: 2.25rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: #a8bbb4;
}
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: #f28aa0; }

.account-menu { position: relative; }
.account-menu-trigger, .nav-account-trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1.05rem; border-radius: var(--btn-radius);
  border: 1.5px solid var(--fg-border); background: var(--fg-green-soft);
  color: var(--fg-green); font-weight: 700; font-size: 0.86rem;
  font-family: inherit; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.account-menu-trigger:hover, .nav-account-trigger:hover {
  border-color: var(--fg-green); background: var(--fg-green-light);
}
.account-menu-chevron { font-size: 0.65rem; opacity: 0.75; }
.account-menu-dropdown {
  position: absolute; right: 0; top: calc(100% + 0.35rem); min-width: 200px;
  background: #fff; border: 1px solid var(--fg-border); border-radius: 14px;
  box-shadow: var(--fg-shadow-lg); padding: 0.75rem; z-index: 50;
}
.account-menu-dropdown[hidden] { display: none; }
.account-menu-hello { margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--fg-muted); }
.account-menu-dropdown a, .account-menu-dropdown button {
  display: block; width: 100%; text-align: left; padding: 0.5rem 0.55rem;
  border: none; background: none; font: inherit; color: var(--fg-ink); cursor: pointer; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.account-menu-dropdown a:hover, .account-menu-dropdown button:hover { background: var(--fg-green-light); }

.legal-page { max-width: 40rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.legal-page h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 1rem; }
.legal-page p, .legal-page li { line-height: 1.65; color: var(--fg-muted); }
.legal-page a { color: var(--fg-green); }

.form-check,
.form label.form-check {
  display: flex; flex-direction: row; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; color: var(--fg-muted); margin-top: 0.75rem; font-weight: 500;
}
.form-check input[type="checkbox"],
.form label.form-check input[type="checkbox"] {
  margin: 0; flex-shrink: 0; width: 1rem; height: 1rem; align-self: center;
}
.form-check > span { line-height: 1.35; }
.form-check a { color: var(--fg-green); font-weight: 700; }

.alert.success { background: var(--fg-green-light); color: var(--fg-green-dark); }
.alert.info { background: #eef4ff; color: #1e40af; }

.page-intro { padding: 2.75rem 1.25rem 0; text-align: center; }
.page-intro h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--fg-green); }
.page-intro-lead { color: var(--fg-muted); margin: 0.6rem auto 0; max-width: 36ch; }
.page-body { padding: 1.5rem 1.25rem 3rem; max-width: 520px; margin: 0 auto; }
.form-panel textarea {
  width: 100%; min-height: 120px; padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--fg-border); border-radius: 12px; font: inherit; resize: vertical;
}

.order-list { display: flex; flex-direction: column; gap: 0.75rem; }
.order-card {
  background: #fff; border: 1px solid var(--fg-border); border-radius: 14px; padding: 1rem 1.15rem;
}
.order-card h3 { margin: 0 0 0.35rem; font-size: 1rem; font-weight: 800; }
.order-card .meta { font-size: 0.85rem; color: var(--fg-muted); }
.order-card .code { font-family: ui-monospace, monospace; font-weight: 700; color: var(--fg-green); letter-spacing: 0.08em; }

.auth-box {
  max-width: 420px; margin: 2rem auto; padding: 2rem 1.75rem;
  background: #fff; border-radius: 20px; border: 1px solid var(--fg-border);
}
.auth-box h1 {
  font-family: var(--font-display); margin: 0 0 0.5rem;
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em;
}
.alert { padding: 0.75rem 1rem; border-radius: 12px; margin: 1rem 0; font-size: 0.9rem; }
.alert.error { background: #fde8e8; color: #9b1c1c; }

.pro-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 60px); }
.pro-nav {
  background: #fff; border-right: 1px solid var(--fg-border); padding: 1.25rem 0.75rem;
}
.pro-nav a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 10px;
  text-decoration: none; color: var(--fg-muted); font-size: 0.92rem; margin-bottom: 0.2rem; font-weight: 600;
}
.pro-nav a:hover, .pro-nav a.active { background: var(--fg-green-light); color: var(--fg-green); }
.pro-main { padding: 1.5rem 1.25rem 2rem; max-width: 900px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.stat {
  background: #fff; border: 1px solid var(--fg-border); border-radius: 14px;
  padding: 1.1rem; text-align: center;
}
.stat strong { display: block; font-size: 1.7rem; color: var(--fg-green); font-weight: 800; }
.stat span { font-size: 0.82rem; color: var(--fg-muted); font-weight: 600; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; border: 1px solid var(--fg-border); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data th, table.data td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--fg-border); }
table.data th {
  background: var(--fg-sand); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--fg-muted); font-weight: 700;
}

.qr-panel {
  background: #fff; border: 1px solid var(--fg-border); border-radius: var(--fg-radius);
  padding: 1.5rem; text-align: center; max-width: 420px;
}
.qr-panel img { margin: 1rem auto; border-radius: 12px; }
.pickup-code {
  font-family: ui-monospace, monospace; font-size: 2.4rem; letter-spacing: 0.28em;
  color: var(--fg-green); font-weight: 800; text-align: center; margin: 1rem 0;
}

.view-toggle { display: flex; gap: 0.5rem; margin: 0 0 1.25rem; }
.view-toggle .btn.is-active { background: var(--fg-green); color: #fff !important; border-color: var(--fg-green); }

.filter-check {
  display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem;
  white-space: nowrap; align-self: end; padding-bottom: 0.35rem; font-weight: 600;
}
.filter-check input { width: auto; margin: 0; }

.shops-map {
  height: min(70vh, 520px); border-radius: var(--fg-radius);
  overflow: hidden; border: 1px solid var(--fg-border); margin-bottom: 1.25rem; z-index: 1;
}
.map-selected { margin-bottom: 1rem; }
.map-hint {
  margin: 0 0 1rem; padding: 1.25rem 1rem; border-radius: 14px;
  border: none; background: var(--fg-sand);
  color: var(--fg-muted); text-align: center; font-size: 0.95rem;
}
#map-selected-card .shop-tile { max-width: 22rem; }

.shop-marker { background: none; border: none; }
.shop-marker-pin {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; font-size: 1.35rem;
  background: #fff; border: 2px solid var(--fg-green); border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.site-marker.is-selected .shop-marker-pin,
.shop-marker.is-selected .shop-marker-pin {
  border-color: var(--fg-pink); transform: scale(1.1);
}

/* Tooltip carte offres */
.leaflet-tooltip.map-offer-tooltip {
  background: #fff; border: 1px solid var(--fg-border); border-radius: 12px;
  box-shadow: var(--fg-shadow); padding: 0.55rem 0.75rem; color: var(--fg-ink);
}
.leaflet-tooltip.map-offer-tooltip::before { border-top-color: #fff; }
.map-tip-title {
  font-weight: 700; font-size: 0.88rem; margin: 0 0 0.35rem;
  max-width: 14rem; line-height: 1.25;
}
.map-tip-prices { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.map-tip-now { font-weight: 800; color: var(--fg-green); font-size: 1rem; }
.map-tip-was { text-decoration: line-through; color: var(--fg-muted); font-size: 0.8rem; }
.map-tip-disc {
  font-size: 0.72rem; font-weight: 700; color: var(--fg-pink-dark);
  background: var(--fg-pink-light); padding: 0.1rem 0.4rem; border-radius: 999px;
}

.locale-switcher { position: relative; display: inline-flex; align-items: center; }
.locale-dd-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  border: 1.5px solid var(--fg-border); background: #fff; color: var(--fg-muted);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.3rem 0.55rem; border-radius: 999px; cursor: pointer;
  font-family: inherit; line-height: 1.2;
}
.locale-dd-btn:hover { border-color: var(--fg-green); color: var(--fg-green); }
.locale-dd-btn[aria-expanded="true"] {
  border-color: var(--fg-green); color: var(--fg-green); background: var(--fg-green-light);
}
.locale-dd-chevron { font-size: 0.55rem; opacity: 0.7; }
.locale-dd-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  min-width: 9.5rem; margin: 0; padding: 0.35rem;
  list-style: none; background: #fff; border: 1px solid var(--fg-border);
  border-radius: 12px; box-shadow: var(--fg-shadow-lg);
}
.locale-dd-menu button {
  display: block; width: 100%; text-align: left;
  border: none; background: none; font: inherit; cursor: pointer;
  padding: 0.45rem 0.6rem; border-radius: 8px;
  color: var(--fg-ink); font-size: 0.85rem; font-weight: 600;
}
.locale-dd-menu button:hover { background: var(--fg-green-light); color: var(--fg-green); }
.locale-dd-menu button.is-current { font-weight: 800; color: var(--fg-green); }

.qr-print-preview {
  max-width: 420px; background: #fff; border: 2px solid var(--fg-green);
  border-radius: var(--fg-radius); padding: 1.75rem 1.25rem; text-align: center;
}
.qr-print-brand { margin: 0; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-green); font-weight: 800; }
.qr-print-brand em { font-style: normal; color: var(--fg-pink); }
.qr-print-shop { font-family: var(--font-display); margin: 0.5rem 0 0.25rem; font-size: 1.5rem; font-weight: 800; }
.qr-print-tagline { margin: 0 0 1rem; color: var(--fg-muted); font-size: 0.95rem; }
.qr-print-code { margin: 0 auto; border-radius: 12px; }
.qr-print-cta { margin: 1rem 0 0; font-weight: 700; color: var(--fg-green); font-size: 0.92rem; }
.qr-print-url { margin: 0.75rem 0 0; font-size: 0.75rem; color: var(--fg-muted); word-break: break-all; }

.section-cta { text-align: center; margin-top: 2rem; }

/* Champs mot de passe + toggle */
.password-field {
  position: relative; display: flex; align-items: stretch; width: 100%;
}
.password-field input {
  width: 100%; padding-right: 2.75rem; min-width: 0;
}
.password-toggle {
  position: absolute; right: 0.35rem; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: var(--fg-muted); cursor: pointer;
  padding: 0.35rem; border-radius: 8px; line-height: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.password-toggle:hover { color: var(--fg-green); background: var(--fg-green-light); }
.password-toggle.is-visible { color: var(--fg-green); }

/* Menu mobile */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 51, 44, 0.42); backdrop-filter: blur(3px);
}
.nav-overlay.is-visible { display: block; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.5rem; height: 2.5rem; padding: 0.45rem;
  border: 1.5px solid var(--fg-border); border-radius: 12px;
  background: #fff; cursor: pointer;
  position: relative; z-index: 95;
}
.nav-toggle-bar {
  display: block; width: 100%; height: 2px; background: var(--fg-green);
  border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }
body.nav-open .cookie-banner { display: none; }

/* Bannière cookies */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 1rem 1.25rem;
  background: rgba(22, 58, 52, 0.96); color: #e8f2ef;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.cookie-banner-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.92rem; line-height: 1.45; max-width: 52ch; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.cookie-banner .btn.secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Pages légales / FAQ */
.legal-page h2, .legal-h2 {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 800;
  margin: 1.5rem 0 0.5rem; color: var(--fg-green); letter-spacing: -0.02em;
}
.legal-page ul { padding-left: 1.25rem; color: var(--fg-muted); line-height: 1.65; }
.legal-page li { margin-bottom: 0.35rem; }

/* États chargement / erreur listes */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  width: 1.75rem; height: 1.75rem;
  border: 2.5px solid rgba(45, 106, 79, 0.18);
  border-top-color: var(--fg-green);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}
.card-grid.is-loading { min-height: 200px; opacity: 0.55; pointer-events: none; }
.loading-block {
  text-align: center; padding: 2.5rem 1rem; color: var(--fg-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.85rem; min-height: 8rem;
}
.loading-block::before {
  content: '';
  width: 1.75rem; height: 1.75rem;
  border: 2.5px solid rgba(45, 106, 79, 0.18);
  border-top-color: var(--fg-green);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}
.btn.is-loading::after {
  content: '';
  display: inline-block;
  width: 1rem; height: 1rem;
  margin-left: 0.55rem;
  vertical-align: -0.15em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
.btn.secondary.is-loading::after,
.btn.small.secondary.is-loading::after {
  border-color: rgba(45, 106, 79, 0.25);
  border-top-color: var(--fg-green);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(88vw, 320px);
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4.75rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: var(--fg-cream); border-left: 1px solid var(--fg-border);
    box-shadow: -12px 0 40px rgba(22, 58, 52, 0.14);
    transform: translateX(100%); transition: transform 0.25s ease;
    z-index: 92; overflow-y: auto; -webkit-overflow-scrolling: touch;
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-links {
    display: flex; flex-direction: column; gap: 0.2rem;
    flex: 1 1 auto; min-height: 0;
  }
  .nav-links .nav-link {
    width: 100%; min-height: 44px; display: flex; align-items: center;
    padding: 0.75rem 1rem; font-size: 1rem; border-radius: 12px;
    box-sizing: border-box;
  }
  .nav-aside {
    flex: 0 0 auto;
    margin-top: auto; padding-top: 1rem;
    border-top: 1px solid var(--fg-border);
    display: flex; flex-direction: column; gap: 0.75rem;
  }
  .nav-locale { width: 100%; }
  .nav-locale .locale-switcher { width: 100%; }
  .nav-locale .locale-dd-btn { width: 100%; justify-content: space-between; padding: 0.65rem 0.85rem; font-size: 0.88rem; }
  .nav-locale .locale-dd-menu {
    position: static; width: 100%; margin-top: 0.35rem;
    box-shadow: none; border: 1px solid var(--fg-border);
  }
  .nav-auth { width: 100%; }
  .nav-auth-guest {
    flex-direction: column; gap: 0.5rem; width: 100%;
  }
  .nav-auth-btn {
    width: 100%; min-height: 44px; justify-content: center; font-size: 0.95rem;
  }
  .nav-account-trigger {
    width: 100%; min-height: 44px; justify-content: space-between;
    padding: 0.75rem 1rem; font-size: 0.95rem; border-radius: 12px;
  }
  .nav .account-menu-dropdown {
    position: static; box-shadow: none; border: 1px solid var(--fg-border);
    padding: 0.5rem; margin-top: 0.35rem; border-radius: 12px;
  }
  .pro-layout { grid-template-columns: 1fr; }
  .pro-nav { display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--fg-border); }
  .pro-nav a { white-space: nowrap; }
  .filters { flex-wrap: wrap; }
  .filter-check { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* ── Page recherche (sidebar + résultats + carte) — style gitesbde ── */
.page-search .site-footer { display: none; }
.page-search .site-shell {
  height: 100vh; height: 100dvh;
  min-height: 100vh; min-height: 100dvh;
  overflow: hidden;
}
.search-page { padding: 0; flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.search-workspace {
  display: grid;
  grid-template-columns: 300px 1fr;
  flex: 1;
  min-height: 0;
  background: #fff;
  overflow: hidden;
}
.search-workspace[data-filters="closed"] { grid-template-columns: 0 1fr; }
.search-workspace[data-filters="closed"] .search-sidebar {
  width: 0; padding: 0; border: 0; overflow: hidden; opacity: 0; pointer-events: none;
}

.search-sidebar {
  border-right: 1px solid var(--fg-border);
  background: var(--fg-sand);
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  transition: opacity 0.2s ease;
}
.sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 8px; position: sticky; top: 0; background: var(--fg-sand); z-index: 2;
}
.sidebar-title {
  margin: 0; font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 800; color: var(--fg-green); letter-spacing: -0.02em;
}
.icon-btn {
  border: 1.5px solid var(--fg-border); background: #fff; border-radius: 10px;
  width: 34px; height: 34px; cursor: pointer; font-size: 0.95rem; color: var(--fg-muted);
}
.icon-btn:hover { color: var(--fg-ink); border-color: var(--fg-green); }
.sidebar-form { overflow-y: auto; padding: 0 18px 24px; flex: 1; }
.filter-section {
  background: #fff; border: 1px solid var(--fg-border); border-radius: 14px;
  padding: 14px; margin-bottom: 12px;
}
.filter-section h2 {
  margin: 0 0 12px; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--fg-muted); font-weight: 700;
}
.filter-section .form-check { margin-bottom: 8px; }
.filter-section .form-group { margin-bottom: 10px; }
.filter-section .form-group:last-child { margin-bottom: 0; }
.filter-section .form-group label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--fg-muted); margin-bottom: 0.35rem;
}
.filter-section .form-group input,
.filter-section .form-group select {
  width: 100%; padding: 0.55rem 0.7rem; border: 1.5px solid var(--fg-border);
  border-radius: 10px; font: inherit; background: #fff; color: var(--fg-ink);
}
.filter-section .form-group input:focus,
.filter-section .form-group select:focus {
  border-color: var(--fg-green);
}
.sidebar-actions {
  display: flex; flex-direction: column; gap: 8px;
  position: sticky; bottom: 0;
  background: linear-gradient(transparent, var(--fg-sand) 30%);
  padding-top: 16px;
}
.sidebar-actions .btn { width: 100%; }

.search-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.search-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding: 12px 16px;
  border-bottom: 1px solid var(--fg-border); background: #fff;
  position: sticky; top: 0; z-index: 5;
}
.toolbar-left, .toolbar-right {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.results-count { font-weight: 700; color: var(--fg-green); font-size: 0.95rem; }
.sort-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--fg-muted); font-weight: 600;
}
.sort-label select {
  padding: 6px 10px; border: 1.5px solid var(--fg-border); border-radius: 10px;
  font: inherit; color: var(--fg-ink); background: #fff;
}
.map-controls { display: inline-flex; gap: 6px; }
.map-controls .btn.active {
  background: var(--fg-green); color: #fff; border-color: var(--fg-green);
}

.search-body {
  display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 0;
}
.search-workspace[data-map="hide"] .search-body { grid-template-columns: 1fr; }
.search-workspace[data-map="hide"] .search-map-pane { display: none; }
.search-workspace[data-map="full"] .search-body { grid-template-columns: 280px 1fr; }
.search-workspace[data-map="full"] .results-list { grid-template-columns: 1fr; }

.search-results-pane {
  overflow-y: auto; padding: 16px; min-height: 0; background: var(--fg-cream);
}
.results-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.results-list .card.is-map-selected {
  outline: 2px solid var(--fg-pink); outline-offset: 2px;
}
.search-map-pane {
  min-height: 0; position: relative; height: 100%;
  padding: 12px 12px 12px 0;
}
.search-map-pane #map {
  height: 100%; border-radius: 14px; border: 1px solid var(--fg-border); z-index: 1;
}
.search-map-selected {
  position: absolute; left: 12px; right: 24px; bottom: 24px; z-index: 10;
  max-width: 22rem; pointer-events: none;
}
.search-map-selected .card {
  pointer-events: auto; max-height: 40vh; overflow: auto; box-shadow: var(--fg-shadow-lg);
}

.filters-backdrop {
  position: fixed; inset: 0; background: rgba(20, 51, 44, 0.4); z-index: 40;
}

@media (max-width: 1100px) {
  .search-workspace[data-map="split"] .search-body { grid-template-columns: 1fr 0.9fr; }
}
@media (max-width: 960px) {
  .search-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .search-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: min(320px, 92vw);
    z-index: 50; box-shadow: 8px 0 30px rgba(0,0,0,0.15);
    transform: translateX(-105%); opacity: 1; pointer-events: auto;
    transition: transform 0.25s ease;
  }
  .search-workspace[data-filters="open"] .search-sidebar { transform: translateX(0); }
  .search-workspace[data-filters="closed"] .search-sidebar {
    transform: translateX(-105%); width: min(320px, 92vw); opacity: 1;
  }
  .search-body { grid-template-columns: 1fr !important; }
  .search-workspace[data-map="split"] .search-map-pane,
  .search-workspace[data-map="full"] .search-map-pane {
    position: relative; top: 0; height: 55vh; padding: 0 12px 12px;
  }
  .search-workspace[data-map="full"] .search-body {
    display: flex; flex-direction: column-reverse;
  }
  .search-workspace[data-map="full"] .search-map-pane { height: 70vh; }
  .search-workspace[data-map="full"] .search-results-pane { max-height: 35vh; }
}

/* —— Landing partenaire —— */
.hero-compact {
  padding: 3.5rem 1.25rem 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(232, 90, 122, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(30, 77, 69, 0.1), transparent 50%),
    linear-gradient(165deg, #eef6f3 0%, #f3f8f5 45%, #e4f0eb 100%);
}
.hero-copy { max-width: 40rem; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 0.75rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-green-mid);
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--fg-green-dark); margin: 0 0 1rem;
}
.hero-lead {
  margin: 0 auto 1.5rem; max-width: 34rem;
  font-size: 1.05rem; color: var(--fg-muted);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center;
}
.cards-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem;
}
.cards-grid.three { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .cards-grid.three { grid-template-columns: repeat(3, 1fr); }
}
.card.soft {
  background: #fff; border: 1px solid var(--fg-border);
  border-radius: var(--fg-radius); padding: 1.35rem 1.25rem;
  box-shadow: var(--fg-shadow);
}
.card.soft h3 {
  font-family: var(--font-display); font-size: 1.15rem;
  margin: 0 0 0.5rem; color: var(--fg-green-dark);
}
.card.soft p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; }
.steps-list {
  max-width: 40rem; margin: 0 auto; padding: 0 1.25rem 0 2.5rem;
  color: var(--fg-muted); line-height: 1.65;
}
.steps-list li { margin-bottom: 0.75rem; }

/* Accessibilité */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--fg-green); color: #fff; padding: 0.65rem 1rem;
  border-radius: var(--btn-radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; outline: 2px solid #fff; outline-offset: 2px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible,
.filters input:focus-visible, .filters select:focus-visible,
.filter-section .form-group input:focus-visible,
.filter-section .form-group select:focus-visible,
.btn:focus-visible, .nav-link:focus-visible, .icon-btn:focus-visible {
  outline: 2px solid var(--fg-green); outline-offset: 2px;
}
.alert[role="alert"] { scroll-margin-top: 5rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
