/* ============================================================
   Armenia City Directory — main.css
   Mobile-first · UTF-8 · Armenian UI
   ============================================================ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --c:       #E63329;
  --c2:      #C42B22;
  --c-bg:    #FEF2F1;
  --dk:      #0F0F0F;
  --mid:     #2D2D2D;
  --muted:   #6B7280;
  --light:   #F5F5F3;
  --border:  #E5E7EB;
  --white:   #FFFFFF;
  --r:       10px;
  --r-sm:    7px;
  --r-lg:    16px;
  --shadow:  0 2px 12px rgba(0,0,0,.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,.1);
  --trans:   .18s ease;
  --arm:     'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--arm);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mid);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* bottom nav */
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--c); text-decoration: none; }
a:hover { opacity: .82; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Topbar ── */
.topbar {
  background: var(--dk);
  padding: 7px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  position: relative; z-index: 400;
}
.topbar-city { color: #9CA3AF; display: flex; align-items: center; gap: 6px; }
.topbar-city::before { content: '📍'; font-size: 11px; }
.topbar-cta {
  background: var(--c); color: #fff;
  padding: 3px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}

/* ── Sélecteur de langue ── */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; z-index: 450; }
.lang-current {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.1); color: #E5E7EB;
  border: none; cursor: pointer;
  padding: 3px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; font-family: inherit;
}
.lang-current:hover { background: rgba(255,255,255,.18); }
.lang-current svg { opacity: .6; transition: transform .2s; }
.lang-switch.open .lang-current svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  padding: 6px; min-width: 150px; z-index: 460;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 7px;
  font-size: 13px; color: #374151; font-weight: 500;
  text-decoration: none;
}
.lang-item:hover { background: #F3F4F6; }
.lang-item.active { background: var(--c-bg, #FEF2F2); color: var(--c); font-weight: 700; }

/* ── Header ── */
#header {
  background: var(--white);
  height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  transition: box-shadow var(--trans);
}
#header.scrolled { box-shadow: var(--shadow-md); }

.logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--c); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.logo-text {
  font-size: 16px; font-weight: 700;
  color: var(--dk); letter-spacing: -.2px;
}
.logo-text em { color: var(--c); font-style: normal; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.btn-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm); border: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid); font-size: 20px;
  transition: background var(--trans);
}
.btn-icon:hover { background: var(--light); }
.btn-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Search bar (expandable) ── */
.search-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(15,23,42,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-inner {
  background: var(--white);
  max-width: 640px; margin: 0 auto;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform .25s ease;
}
.search-overlay.open .search-overlay-inner { transform: translateY(0); }
.search-overlay input {
  flex: 1; border: none; outline: none;
  font-size: 17px; font-family: var(--arm);
  color: var(--dk); background: transparent;
}
.search-overlay input::placeholder { color: #9CA3AF; }
.search-close { background: none; border: none; font-size: 22px; color: var(--muted); padding: 4px; }
.search-results {
  background: var(--white);
  max-width: 640px; margin: 0 auto;
  padding: 8px 0;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.search-item-thumb {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  object-fit: cover; background: var(--light); flex-shrink: 0;
}
.search-item-name { font-size: 14px; font-weight: 600; color: var(--dk); }
.search-item-cat  { font-size: 12px; color: var(--muted); }

/* ── Hero ── */
.hero {
  background: var(--c);
  padding: 24px 16px 22px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 7px;
}
.hero h1 {
  font-size: 24px; font-weight: 800;
  color: #fff; line-height: 1.15;
  margin-bottom: 8px; letter-spacing: -.3px;
}
.hero-sub {
  font-size: 14px; color: rgba(255,255,255,.8);
  line-height: 1.6; margin-bottom: 18px;
}
.hero-search {
  background: var(--white);
  border-radius: var(--r);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.hero-search svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; flex-shrink: 0; }
.hero-search span { font-size: 14px; color: #9CA3AF; }

/* ── Categories scroll ── */
.cats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cats-scroll {
  display: flex; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 0 12px;
}
.cats-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
  padding: 11px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: pointer;
  text-decoration: none;
  transition: color var(--trans), border-color var(--trans);
}
.cat-pill:hover, .cat-pill.active {
  color: var(--c); border-bottom-color: var(--c);
}
.cat-pill-icon { font-size: 16px; }

/* ── Section ── */
.section { padding: 20px 0; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }

.section-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 16px; margin-bottom: 14px;
}
.section-title { font-size: 17px; font-weight: 700; color: var(--dk); }
.section-more  { font-size: 13px; font-weight: 600; color: var(--c); }

/* ── Featured cards (horizontal scroll) ── */
.feat-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 4px;
}
.feat-scroll::-webkit-scrollbar { display: none; }

.feat-card {
  flex-shrink: 0; width: 220px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans);
}
.feat-card:active { transform: scale(.98); }
.feat-img {
  height: 140px; position: relative;
  overflow: hidden; background: var(--light);
}
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--c); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
}
.feat-score {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.55); color: #F59E0B;
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 20px;
  display: flex; align-items: center; gap: 3px;
}
.feat-body { padding: 12px; }
.feat-cat {
  font-size: 10px; color: var(--c); font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px;
}
.feat-name {
  font-size: 13px; font-weight: 700; color: var(--dk);
  line-height: 1.3; margin-bottom: 6px;
}
.feat-meta {
  display: flex; align-items: center;
  gap: 8px; font-size: 11px; color: var(--muted);
}
.feat-loc { display: flex; align-items: center; gap: 3px; }
.feat-loc svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Article list cards (vertical) ── */
.place-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }

.place-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow);
  transition: box-shadow var(--trans);
  text-decoration: none; color: inherit;
}
.place-card:active { box-shadow: none; }

.place-thumb {
  width: 100px; flex-shrink: 0;
  overflow: hidden; background: var(--light);
  position: relative;
}
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--border);
}

.place-body { padding: 12px 14px; flex: 1; min-width: 0; }
.place-cat {
  font-size: 10px; color: var(--c); font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px;
}
.place-name {
  font-size: 14px; font-weight: 700; color: var(--dk);
  line-height: 1.3; margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.place-excerpt {
  font-size: 12px; color: var(--muted); line-height: 1.5;
  margin-bottom: 7px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.place-foot {
  display: flex; align-items: center; justify-content: space-between;
}
.place-district {
  font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 3px;
}
.place-district svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.place-price { font-size: 12px; color: var(--muted); }

/* ── Grid 2 colonnes (catégorie / archive) ── */
.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px; padding: 0 16px;
}
.place-grid-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
}
.place-grid-img {
  height: 110px; overflow: hidden;
  background: var(--light); position: relative;
}
.place-grid-img img { width: 100%; height: 100%; object-fit: cover; }
.place-grid-badge {
  position: absolute; bottom: 6px; left: 6px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 9px; font-weight: 600;
  padding: 2px 7px; border-radius: 10px;
}
.place-grid-body { padding: 10px 11px; }
.place-grid-name {
  font-size: 12px; font-weight: 700; color: var(--dk);
  line-height: 1.3; margin-bottom: 4px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.place-grid-meta { font-size: 11px; color: var(--muted); }

/* ── Page lieu (single) ── */
.place-hero {
  height: 260px; position: relative;
  overflow: hidden; background: var(--dk);
}
.place-hero img { width: 100%; height: 100%; object-fit: cover; }
.place-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 40%, rgba(0,0,0,.5));
}
.place-hero-back {
  position: absolute; top: 14px; left: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.4); border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.place-hero-back svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.place-hero-share {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.4); border: none;
  display: flex; align-items: center; justify-content: center;
}
.place-hero-share svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.place-hero-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--c); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}
.place-hero-score {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.55); color: #F59E0B;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  display: flex; align-items: center; gap: 4px;
}

.place-body-wrap { background: var(--white); }
.place-header { padding: 18px 16px 14px; }
.place-title  {
  font-size: 22px; font-weight: 800; color: var(--dk);
  line-height: 1.15; margin-bottom: 12px; letter-spacing: -.3px;
}

/* Strip infos rapides */
.place-strip {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.strip-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted);
}
.strip-item svg { width: 14px; height: 14px; stroke: var(--c); fill: none; stroke-width: 2; }

/* Boutons d'action (appel, WhatsApp, site) */
.place-actions {
  display: flex; gap: 8px; padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.place-actions::-webkit-scrollbar { display: none; }
.action-btn {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r);
  font-size: 13px; font-weight: 700; border: none;
  text-decoration: none; transition: opacity var(--trans);
}
.action-btn:active { opacity: .8; }
.action-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.action-btn-call    { background: var(--c);    color: #fff; }
.action-btn-wa      { background: #25D366;     color: #fff; }
.action-btn-web     { background: var(--light); color: var(--dk); border: 1px solid var(--border); }
.action-btn-insta   { background: #E1306C;     color: #fff; }
.action-btn-tg      { background: #229ED9;     color: #fff; }
.action-btn-fav     { background: var(--light); color: var(--dk); border: 1px solid var(--border); }
.action-btn-fav.active { background: #FEF2F1; color: var(--c); border-color: var(--c); }

/* Contenu principal */
.place-content { padding: 18px 16px; }
.place-content h2 { font-size: 18px; font-weight: 700; color: var(--dk); margin: 20px 0 10px; }
.place-content h3 { font-size: 16px; font-weight: 700; color: var(--dk); margin: 16px 0 8px; }
.place-content p  { font-size: 14px; color: var(--mid); line-height: 1.75; margin-bottom: 12px; }
.place-content ul { margin-left: 20px; list-style: disc; margin-bottom: 12px; }
.place-content ul li { font-size: 14px; color: var(--mid); margin-bottom: 4px; }

/* Fiche pratique */
.fiche-card {
  background: var(--light);
  border-radius: var(--r-lg); padding: 16px;
  margin: 0 16px 16px;
  border: 1px solid var(--border);
}
.fiche-title {
  font-size: 12px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
}
.fiche-row {
  display: flex; align-items: flex-start;
  gap: 11px; padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.fiche-row:last-child { border: none; padding-bottom: 0; }
.fiche-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--c); fill: none; stroke-width: 2;
  margin-top: 1px;
}
.fiche-lbl  { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.fiche-val  { font-size: 13px; color: var(--dk); font-weight: 600; }
.fiche-val a { color: var(--c); }

/* Réseaux sociaux */
.socials {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 0 16px 16px;
}
.social-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; border: 1.5px solid var(--border);
  color: var(--mid); transition: all var(--trans);
}
.social-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.social-btn:hover { border-color: var(--c); color: var(--c); }

/* ── Galerie photos ── */
.gallery { margin: 0 16px 16px; }
.gallery-title {
  font-size: 15px; font-weight: 700; color: var(--dk);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden; border-radius: 6px;
  position: relative; cursor: pointer;
  background: var(--light);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.gallery-item:active img { transform: scale(1.05); }
.gallery-more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 800;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 100%; width: 100%; }
.lightbox img {
  max-height: 80vh; width: 100%;
  object-fit: contain; border-radius: 8px;
}
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 20px; line-height: 36px; text-align: center; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 22px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.lightbox-prev { left: -6px; }
.lightbox-next { right: -6px; }
.lightbox-counter {
  text-align: center; color: rgba(255,255,255,.5);
  font-size: 12px; margin-top: 10px;
}

/* ── Reviews ── */
.reviews { padding: 0 16px 16px; }
.reviews-head { font-size: 16px; font-weight: 700; color: var(--dk); margin-bottom: 12px; }
.review-card {
  background: var(--light);
  border-radius: var(--r); padding: 13px;
  margin-bottom: 10px; border: 1px solid var(--border);
}
.review-stars { color: #F59E0B; font-size: 14px; margin-bottom: 5px; }
.review-body  { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 6px; }
.review-meta  { font-size: 11px; color: var(--muted); }

/* ── Pills / Tags ── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 16px; }
.tag-pill {
  background: var(--light); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; color: var(--mid); font-weight: 500;
  text-decoration: none;
  transition: all var(--trans);
}
.tag-pill:hover { background: var(--c-bg); border-color: var(--c); color: var(--c); }

/* ── Archive header ── */
.archive-hero {
  background: var(--dk); padding: 28px 16px 24px;
  position: relative; overflow: hidden;
}
.archive-hero h1 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.archive-hero p  { font-size: 13px; color: #9CA3AF; }
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 12px; color: #6B7280;
  margin-bottom: 10px;
}
.breadcrumb a { color: #9CA3AF; }
.breadcrumb a:hover { color: #fff; }

/* ── Filter bar ── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none; padding: 8px 12px;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; padding: 7px 14px;
  border: 1.5px solid var(--border); border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--white); margin-right: 7px;
  transition: all var(--trans); cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center;
  white-space: nowrap;
}
a.filter-btn:hover { border-color: var(--c); color: var(--c); }
.filter-btn.active { background: var(--c); border-color: var(--c); color: #fff; }

/* ── Pagination ── */
.pagination {
  display: flex; gap: 6px; justify-content: center;
  padding: 24px 16px;
}
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; color: var(--dk); font-weight: 500;
  text-decoration: none; transition: all var(--trans);
}
.page-btn.active, .page-btn:hover {
  background: var(--c); border-color: var(--c); color: #fff;
}

/* ── Auth pages ── */
.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px 20px;
}
.auth-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 28px 22px; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-md);
}
.auth-title { font-size: 22px; font-weight: 800; color: var(--dk); margin-bottom: 6px; }
.auth-sub   { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--mid); margin-bottom: 5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  font-size: 15px; font-family: var(--arm);
  color: var(--dk); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c); box-shadow: 0 0 0 3px var(--c-bg);
}
.form-textarea { height: 120px; resize: vertical; }
.form-hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--c); margin-top: 4px; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 22px; border-radius: var(--r);
  font-size: 15px; font-weight: 700; font-family: var(--arm);
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity var(--trans);
}
.btn:active { opacity: .85; }
.btn-full   { width: 100%; }
.btn-primary   { background: var(--c);    color: #fff; }
.btn-secondary { background: var(--light); color: var(--dk); border: 1.5px solid var(--border); }
.btn-danger    { background: #EF4444;    color: #fff; }
.btn-sm        { padding: 8px 14px; font-size: 13px; }

/* ── Flash messages ── */
.flash { padding: 12px 16px; font-size: 14px; font-weight: 500; }
.flash-success { background: #ECFDF5; color: #065F46; border-left: 4px solid #10B981; }
.flash-error   { background: #FEF2F2; color: #991B1B; border-left: 4px solid #EF4444; }
.flash-info    { background: #EFF6FF; color: #1E3A8A; border-left: 4px solid #3B82F6; }

/* ── Admin ── */
.admin-wrap { padding: 0 16px 24px; }
.admin-header {
  background: var(--dk); padding: 20px 16px;
  display: flex; align-items: center; gap: 12px;
}
.admin-header h1 { font-size: 18px; font-weight: 700; color: #fff; }
.admin-header p  { font-size: 12px; color: #9CA3AF; }
.admin-logo { font-size: 13px; font-weight: 700; color: var(--c); }

.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin: 16px 0;
}
.stat-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); padding: 16px;
}
.stat-num { font-size: 28px; font-weight: 800; color: var(--dk); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card.accent { background: var(--c); border-color: var(--c); }
.stat-card.accent .stat-num,
.stat-card.accent .stat-label { color: #fff; }

.admin-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
.admin-table th {
  padding: 11px 14px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--muted); background: var(--light);
  text-align: left; border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 11px 14px; font-size: 13px;
  color: var(--mid); border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border: none; }
.admin-table tr:hover td { background: #FAFAF9; }

.badge {
  display: inline-block; padding: 3px 9px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
}
.badge-published { background: #D1FAE5; color: #065F46; }
.badge-pending   { background: #FEF3C7; color: #92400E; }
.badge-draft     { background: var(--light); color: var(--muted); }
.badge-rejected  { background: #FEE2E2; color: #991B1B; }

/* Menu admin latéral (tablette+) */
.admin-layout {
  display: flex; min-height: calc(100vh - 54px);
}
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--dk); padding: 20px 0;
}
.admin-sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; font-size: 14px; font-weight: 500;
  color: #9CA3AF; text-decoration: none;
  transition: all var(--trans);
}
.admin-sidebar-item:hover, .admin-sidebar-item.active {
  background: rgba(255,255,255,.06); color: #fff;
}
.admin-sidebar-item.active { border-left: 3px solid var(--c); color: var(--c); }
.admin-sidebar-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.admin-content { flex: 1; overflow-x: hidden; }

/* ── Bottom Navigation ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  height: 60px;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; height: 100%; cursor: pointer;
  text-decoration: none; color: var(--muted);
  font-size: 10px; font-weight: 500;
  transition: color var(--trans);
}
.bottom-nav-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.bottom-nav-item.active { color: var(--c); }
.bottom-nav-item.active svg { stroke: var(--c); }

/* Bouton central add */
.bottom-nav-add {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c); border: 3px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  margin-top: -16px;
}
.bottom-nav-add svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ── Footer ── */
.footer {
  background: var(--dk); padding: 32px 16px 16px;
}
.footer-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-logo em { color: var(--c); font-style: normal; }
.footer-desc { font-size: 13px; color: #6B7280; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.footer-links a {
  font-size: 12px; color: #6B7280; padding: 5px 10px;
  border: 1px solid #374151; border-radius: 6px;
  transition: color var(--trans);
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #4B5563; border-top: 1px solid #1F2937; padding-top: 14px; }

/* ── Skeleton loading ── */
.skeleton {
  background: linear-gradient(90deg, var(--light) 25%, var(--border) 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Fade animations ── */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Spinner ── */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--c);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 24px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty state ── */
.empty {
  text-align: center; padding: 48px 24px;
  color: var(--muted);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-title { font-size: 17px; font-weight: 700; color: var(--dk); margin-bottom: 6px; }
.empty-sub { font-size: 14px; }

/* ══════════════════════════════════
   TABLETTE & DESKTOP (≥ 640px)
══════════════════════════════════ */
@media (min-width: 640px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .place-list { max-width: 640px; margin: 0 auto; }
  .place-grid { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
  .feat-card { width: 260px; }
  .hero h1 { font-size: 32px; }
  .place-title { font-size: 26px; }
  .admin-sidebar { display: block; }
}

@media (min-width: 960px) {
  .place-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Connexion Google ── */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 14px; font-weight: 600; color: #374151;
  text-decoration: none; transition: all var(--trans);
}
.btn-google:hover { background: var(--light); border-color: #d1d5db; }
