/* =============================================================================
   indigo front — editorial theme (shared layout, per-brand colour/type)
   -----------------------------------------------------------------------------
   One stylesheet serves both sister sites. Layout, spacing and typographic
   scale are shared; palette + display font are swapped via the body brand
   class (.brand-boldasia / .brand-botea). Aesthetic anchor: Hermès / luxury
   editorial — generous whitespace, large light serifs, hairline buttons,
   restrained motion.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Jost:ital,wght@0,300;0,400;0,500;1,300&family=Inter:wght@300;400;500;600&display=swap');

/* ── Brand palettes ──────────────────────────────────────────────────────── */
.brand-boldasia {
  --paper:      #FBF3E7;   /* warm cream page */
  --cream:      #F0E3CB;   /* deeper cream for rhythm bands */
  --ink:        #211A12;   /* near-black warm brown */
  --ink-soft:   #4A4036;
  --muted:      #8C8070;
  --accent:     #B5621A;   /* saffron / terracotta-amber */
  --accent-deep:#8A4712;
  --line:       rgba(33, 26, 18, 0.16);
  --line-soft:  rgba(33, 26, 18, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* Bo'Tea — cool, modern-Japanese minimalism (Blue Bottle territory):
   warm rice-paper off-white, matcha/jade accent, silver-grey neutrals, and a
   geometric Jost display that reads younger/cleaner than Bol d'Asie's serif. */
.brand-botea {
  --paper:      #EEF3EC;   /* cool mint-grey off-white — clearly cooler */
  --cream:      #DCE8DB;   /* soft sage band */
  --ink:        #1E2620;   /* cool charcoal-green */
  --ink-soft:   #46514A;
  --muted:      #899389;   /* silver-sage grey */
  --accent:     #4C8A5E;   /* matcha green */
  --accent-deep:#356B43;
  --line:       rgba(30, 38, 32, 0.14);
  --line-soft:  rgba(30, 38, 32, 0.07);
  --font-display: 'Jost', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* Jost is geometric sans — give Bo'Tea headings airier tracking + lighter
   weight so the display font breathes like the minimalist anchor intends. */
.brand-botea h1, .brand-botea h2, .brand-botea h3, .brand-botea h4 {
  font-weight: 300; letter-spacing: .04em;
}
.brand-botea h1 { letter-spacing: .02em; }
.brand-botea .logo { font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 1.4rem; }
/* Jost has no true italic feel for editorial quotes — keep upright. */
.brand-botea .hero-subtitle, .brand-botea .testimonial-text { font-style: normal; }

/* ── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .35s ease; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1.15em; color: var(--ink-soft); }

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 140px) 0; }
.centered { text-align: center; }
.section-gallery { padding: 0; }

/* ── Buttons (hairline editorial) ────────────────────────────────────────── */
.btn-menu, .btn-reserve, .btn-menu-large, .btn-reserve-large, .btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .4s cubic-bezier(.16,1,.3,1), color .4s cubic-bezier(.16,1,.3,1), border-color .4s ease;
}
.btn-menu:hover, .btn-menu-large:hover, .btn-secondary:hover {
  background: var(--ink); color: var(--paper);
}
.btn-reserve, .btn-reserve-large {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.btn-reserve:hover, .btn-reserve-large:hover {
  background: var(--accent-deep); border-color: var(--accent-deep); color: #fff;
}
.btn-menu-large, .btn-reserve-large { padding: 17px 38px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  /* Glassy header: 20% page-colour tint, frosted by the backdrop blur (the
     -webkit- prefix is required for the frost to render on Safari/iOS). */
  background: color-mix(in srgb, var(--paper) 20%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  /* Always-visible brand signal: a thin accent rule on top of every page. */
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
}
.site-header .logo img { max-height: 46px; width: auto; }
/* Bo'Tea's logo is a stacked portrait mark (panda + wordmark + tagline) — give it
   more height than Bol d'Asie's horizontal logo so the wordmark stays legible. */
.brand-botea .site-header .logo img { max-height: 62px; }
.site-nav { display: flex; gap: 34px; }
.site-nav a {
  font-size: .8rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.site-nav a:hover { color: var(--accent); }
.site-header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-soft); border: 1px solid var(--line); padding: 7px 12px;
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }

/* ── Hero — typographic, image optional with a light scrim ───────────────── */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-video, .hero-slides, .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  /* light scrim keeps ink text legible whether or not a photo is set */
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--paper) 40%, transparent),
    color-mix(in srgb, var(--paper) 62%, transparent));
}
.hero-content { position: relative; z-index: 2; max-width: 880px; padding: 0 28px; }
.hero-content h1 { margin-bottom: .25em; }
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 2.2em;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── About ───────────────────────────────────────────────────────────────── */
.section-about .about-text { max-width: 780px; margin: 0 auto; text-align: center; }
.about-body { font-size: 1.12rem; color: var(--ink-soft); }
.about-body p:last-child { margin-bottom: 0; }

/* ── Featured menu (carte) ───────────────────────────────────────────────── */
.section-carte { background: var(--cream); }
.section-carte h2 { margin-bottom: 1.4rem; }
.dish-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px 36px; margin-top: 28px;
}
.dish-card { text-align: center; }
.dish-img {
  aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 20px;
  background: var(--paper);
}
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.dish-card:hover .dish-img img { transform: scale(1.05); }
.dish-card h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.dish-desc { font-size: .92rem; color: var(--muted); margin-bottom: .5rem; }
.dish-price {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--accent);
}

/* ── Gallery strip ───────────────────────────────────────────────────────── */
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip-item { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.strip-item:hover img { transform: scale(1.06); }

/* ── Reviews ─────────────────────────────────────────────────────────────── */
.section-reviews { text-align: center; }
.reviews-header { margin-bottom: 48px; }
.rating-summary { margin-top: 10px; }
.rating-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--ink); }
.rating-star { color: var(--accent); font-size: 1.6rem; }
.rating-out { color: var(--muted); }
.rating-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.testimonial-card {
  max-width: 720px; margin: 0 auto; padding: 0 20px; text-align: center;
}
.testimonial-text {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--ink);
}
.stars { color: var(--accent); letter-spacing: .15em; margin: 14px 0; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-author span { font-size: .85rem; letter-spacing: .08em; color: var(--ink-soft); }
.swiper-pagination { position: static; margin-top: 28px; }
.swiper-pagination-bullet { background: var(--muted); opacity: .4; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.section-faq { background: var(--cream); }
.section-faq h2 { text-align: center; margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 0 24px; color: var(--ink-soft); }

/* ── Map ─────────────────────────────────────────────────────────────────── */
.section-fullmap iframe { display: block; filter: grayscale(.3) contrast(1.05); }

/* ── Menu page ───────────────────────────────────────────────────────────── */
.menu-page h1 { text-align: center; margin-bottom: 24px; }
.menu-jump {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  margin: 0 0 60px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft);
}
.menu-jump a {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.menu-jump a:hover { color: var(--accent); }
.menu-category { margin-bottom: 72px; }
.menu-category h2 { text-align: center; margin-bottom: 36px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
/* Vertical card: image on top, text below. Photos are transparent cutouts, so
   object-fit:contain lets the dish/drink float on the warm/cool page colour. */
.menu-card { display: flex; flex-direction: column; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.menu-card img { width: 100%; height: 200px; object-fit: contain; }
.menu-card-body { flex: 1; }
.menu-card-body h3 { display: inline; font-size: 1.3rem; }
.menu-card .price {
  float: right; font-family: var(--font-display); font-size: 1.25rem; color: var(--accent);
}
.menu-card .desc { clear: both; font-size: .92rem; color: var(--muted); margin-top: 6px; }

/* serve-option badges + legend (Bo'Tea: froid / chaud / lait végétal) */
.menu-badges { display: flex; gap: 9px; margin-top: 11px; }
.menu-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; flex-shrink: 0;
}
.menu-badge svg { width: 100%; height: 100%; display: block; }
.badge-cold    { color: #3a7bbf; }  /* blue  — disponible en froid */
.badge-hot     { color: #c0492f; }  /* red   — option chaude */
.badge-vegetal { color: #2f8f53; }  /* green — option lait végétal */

.menu-legend {
  margin: 8px 0 0; padding: 30px 34px;
  background: var(--cream); border: 1px solid var(--line-soft); border-radius: 3px;
  display: grid; gap: 22px;
}
.legend-keys { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.legend-keys li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.legend-options { margin: 0; display: flex; flex-wrap: wrap; gap: 18px 44px; }
.legend-options > div { min-width: 0; }
.legend-options dt {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.legend-options dd { margin: 0; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.legend-note { margin: 0; font-size: .76rem; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  padding: 80px 40px 40px;
}
.site-footer h3 {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.site-footer p, .site-footer a, .site-footer td, .site-footer th {
  color: color-mix(in srgb, var(--paper) 82%, transparent); font-size: .92rem;
}
.site-footer a:hover { color: var(--accent); }
.footer-hours-table { width: 100%; border-collapse: collapse; }
.footer-hours-table th { text-align: left; font-weight: 400; padding: 3px 0; }
.footer-hours-table td { text-align: right; }
.social-links { display: flex; flex-direction: column; gap: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-universe {
  grid-column: 1 / -1; margin-top: 36px; padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  text-align: center;
}
.footer-universe-label {
  display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.footer-universe-links { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.footer-universe-links a {
  font-family: var(--font-display); font-size: 1.5rem;
  color: color-mix(in srgb, var(--paper) 88%, transparent);
}
.footer-universe-links a:hover { color: var(--accent); }
.footer-bottom {
  grid-column: 1 / -1; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  font-size: .8rem; color: color-mix(in srgb, var(--paper) 60%, transparent);
  text-align: center;
}
.footer-bottom a { color: color-mix(in srgb, var(--paper) 75%, transparent); }

/* ── Popup ───────────────────────────────────────────────────────────────── */
/* Hidden until site.js adds .is-open (1s after load, unless dismissed). */
#site-popup { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
#site-popup.is-open { display: flex; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.popup-content {
  position: relative; z-index: 2; background: var(--paper); max-width: 460px;
  width: 90%; padding: 40px; text-align: center;
}
.popup-content img { margin: 0 auto 20px; }
.popup-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-soft);
}

/* ── Inner page header ───────────────────────────────────────────────────── */
.page-head { padding-bottom: clamp(32px, 5vw, 64px); }
.page-head h1 { margin: 0; }

/* ── Gallery page ────────────────────────────────────────────────────────── */
.gallery-page { padding-bottom: clamp(64px, 9vw, 140px); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
}
.gallery-cell { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.gallery-cell:hover img { transform: scale(1.05); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  font-size: .8rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  opacity: 0; transition: opacity .4s ease;
}
.gallery-cell:hover .gallery-cap { opacity: 1; }

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 920px; margin: 0 auto;
}
.contact-block h2 { font-size: 1.7rem; margin-bottom: 20px; }
.contact-line { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 8px; }
.contact-social { display: flex; gap: 18px; margin-top: 18px; }
.contact-social a {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.contact-hours { width: 100%; border-collapse: collapse; }
.contact-hours th { text-align: left; font-weight: 400; padding: 6px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.contact-hours td { text-align: right; padding: 6px 0; color: var(--ink); border-bottom: 1px solid var(--line-soft); }

/* ── Story row (asymmetric image + text) ─────────────────────────────────── */
.story-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 80px); max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.story-row.is-reverse .story-media { order: 2; }
.story-media { overflow: hidden; aspect-ratio: 4 / 5; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16,1,.3,1); }
.story-row:hover .story-media img { transform: scale(1.04); }
.story-text h2 { margin-bottom: .6em; }

/* ── Full-bleed atmospheric band ─────────────────────────────────────────── */
.full-band {
  position: relative; min-height: clamp(340px, 52vh, 600px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; overflow: hidden;
}
.full-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--ink) 28%, transparent),
    color-mix(in srgb, var(--ink) 46%, transparent));
}
.full-band .band-statement {
  position: relative; z-index: 2; max-width: 760px; padding: 0 28px;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.25; color: #fff;
}

/* ── Craft / ingredients three-up ────────────────────────────────────────── */
.section-craft { text-align: center; }
.craft-eyebrow { margin-bottom: 2.4rem; }
.craft-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px);
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.craft-cell img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 18px;
  transition: transform .8s cubic-bezier(.16,1,.3,1); }
.craft-cell:hover img { transform: scale(1.05); }
.craft-cap { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }

/* ── Editorial mosaic gallery (varied spans) ─────────────────────────────── */
.mosaic-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; gap: 4px;
}
.mosaic-grid .gallery-cell, .mosaic-grid .strip-item { aspect-ratio: auto; }
.mosaic-grid .gallery-cell:nth-child(6n+1), .mosaic-grid .strip-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.mosaic-grid .gallery-cell:nth-child(6n+4), .mosaic-grid .strip-item:nth-child(6n+4) { grid-row: span 2; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-footer { grid-template-columns: 1fr; gap: 36px; }
  .story-row { grid-template-columns: 1fr; }
  .story-row.is-reverse .story-media { order: 0; }
  .craft-grid { grid-template-columns: 1fr; gap: 36px; }
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic-grid .gallery-cell:nth-child(6n+1), .mosaic-grid .strip-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .mosaic-grid .gallery-cell:nth-child(6n+4), .mosaic-grid .strip-item:nth-child(6n+4) { grid-row: span 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { padding: 14px 20px; }
  .container { padding: 0 20px; }
  .menu-card .price { float: none; display: block; margin-top: 4px; }
}
