/* Moed web — maquettes. Tokens tirés de moed-ios/DESIGN.md (couleurs du système iOS, une teinte ambre). */
@import url("fonts/fonts.css");

:root {
  --bg: #F2F2F7;            /* systemGroupedBackground */
  --card: #FFFFFF;          /* secondarySystemGroupedBackground */
  --label: #000000;
  --label2: #6B6B70;        /* secondaryLabel, assombri : 5,3:1 sur blanc, 4,8:1 sur #F2F2F7 */
  --label3: #A1A1A6;        /* décor seulement (chevrons, points), jamais du texte */
  --sep: rgba(60, 60, 67, .16);
  --fill: rgba(120, 120, 128, .12);
  --fill2: rgba(120, 120, 128, .07);
  --tint: #B4500A;          /* 5,1:1 sur blanc */
  --tint-soft: rgba(180, 80, 10, .11);
  --on-tint: #FFFFFF;
  --glass: rgba(242, 242, 247, .82);
  --track: #BDBDC2;
  --indigo: #5856D6; --purple: #AF52DE; --brown: #8F6E45; --green: #34C759; --gray: #8E8E93;
  --r: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", system-ui, sans-serif;
  --serif: "New York", ui-serif, "Source Serif 4", Georgia, serif;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;
  --hebrew-ui: -apple-system, BlinkMacSystemFont, "SF Hebrew", "Noto Sans Hebrew", "Inter", sans-serif;
  color-scheme: light dark;
}
/* Sombre : suit l'appareil, comme l'app (DESIGN §6.4). Clair par défaut. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --card: #1C1C1E; --label: #FFFFFF; --label2: #AEAEB2; --label3: #636366;
    --sep: rgba(84, 84, 88, .65); --fill: rgba(120, 120, 128, .32); --fill2: rgba(120, 120, 128, .18);
    --tint: #FF9F45; --tint-soft: rgba(255, 159, 69, .16); --on-tint: #000000; --glass: rgba(0, 0, 0, .78); --track: #48484A;
    --indigo: #7D7AFF; --purple: #DA8FFF; --brown: #C9A77C;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --card: #1C1C1E; --label: #FFFFFF; --label2: #AEAEB2; --label3: #636366;
  --sep: rgba(84, 84, 88, .65); --fill: rgba(120, 120, 128, .32); --fill2: rgba(120, 120, 128, .18);
  --tint: #FF9F45; --tint-soft: rgba(255, 159, 69, .16); --on-tint: #000000; --glass: rgba(0, 0, 0, .78); --track: #48484A;
  --indigo: #7D7AFF; --purple: #DA8FFF; --brown: #C9A77C;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--label);
  font-family: var(--sans); font-size: 17px; line-height: 1.47;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
[dir="rtl"] body, body[dir="rtl"] { font-family: var(--hebrew-ui); }
a { color: var(--tint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.num, .t { font-variant-numeric: tabular-nums; }
.he { font-family: var(--hebrew); }
.serif { font-family: var(--serif); }
.muted { color: var(--label2); }
.tint { color: var(--tint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 18px; height: 18px; }
/* Les flèches suivent le sens de lecture ; les heures, chiffres et symboles d'objets ne se retournent pas. */
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- clavier ---------- */
:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; border-radius: 6px; }
.tool:focus-visible, .card:focus-visible, a.row:focus-visible { outline-offset: 3px; border-radius: 12px; }
.skip { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100; background: var(--card); color: var(--label); padding: 10px 16px; border-radius: 12px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.skip:focus { top: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .faq summary::after, .tool, .chip, .chips a { transition: background-color .15s ease, border-color .15s ease, transform .2s ease; }
}

/* ---------- conteneur ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }

/* ---------- barre du haut (seul verre du site) ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--sep);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--label); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.appicon { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.nav { display: flex; gap: 20px; font-size: 14px; flex: 1; }
.nav a { color: var(--label); white-space: nowrap; }
.nav a[aria-current] { color: var(--tint); font-weight: 600; }
.top-tools { display: flex; align-items: center; gap: 6px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--label); background: transparent; border: 0; cursor: pointer; }
.iconbtn:hover { background: var(--fill); }
.citypill { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--sep); color: var(--tint); font-size: 15px; font-weight: 600; white-space: nowrap; }
.citypill svg.i { width: 17px; height: 17px; }
.citypill .chev { color: var(--label2); }
.citypill:hover { text-decoration: none; background: var(--fill2); }
.lang { display: inline-flex; align-items: center; gap: 4px; height: 36px; font-size: 14px; font-weight: 600; color: var(--label); padding: 0 10px; border-radius: 999px; }
.lang:hover { background: var(--fill); text-decoration: none; }
.get { background: var(--tint); color: var(--on-tint); border-radius: 999px; padding: 0 16px; height: 36px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; white-space: nowrap; }
.get:hover { text-decoration: none; filter: brightness(1.06); }
.menu-btn { display: none; }
@media (max-width: 1100px) { .nav { display: none; } .menu-btn { display: grid; } .top .wrap { justify-content: space-between; } .top .brand { margin-inline-end: auto; } }
@media (max-width: 720px) {
  .top .wrap { height: 56px; gap: 4px; }
  .get { display: none; }               /* l'app se propose par la bannière Safari et la carte de la page */
  .brand span { display: none; }       /* sur téléphone : icône seule, la place va à la ville */
  .citypill { height: 40px; }
}

/* ---------- fil d'Ariane et en-tête de page ---------- */
.crumbs { font-size: 14px; color: var(--label2); margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs a { color: var(--label2); }
.crumbs .sep { color: var(--label3); display: inline-flex; }
.crumbs .sep svg.i { width: 14px; height: 14px; }
.head { margin: 14px 0 24px; }
.eyebrow { font-size: 15px; color: var(--label2); margin: 0 0 4px; }
h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 0; text-wrap: balance; }
h1.h1s { font-size: 32px; letter-spacing: -.02em; }
.hdate { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.hdate-he { font-family: var(--hebrew); font-size: 20px; font-weight: 500; color: var(--label2); margin: 4px 0 0; }
.lede { font-size: 19px; line-height: 1.5; color: var(--label); margin: 14px 0 0; max-width: 62ch; text-wrap: pretty; }
.lede strong { font-weight: 600; }
[dir="rtl"] h1, [dir="rtl"] .hdate { font-family: var(--hebrew); letter-spacing: 0; }
@media (max-width: 720px) {
  h1 { font-size: 32px; }
  h1.h1s { font-size: 26px; }
  .hdate { font-size: 34px; }
  .lede { font-size: 17px; }
  .crumbs { margin-top: 14px; }
  .hide-m { display: none; }
}

/* ---------- réglages de la page (ville, coutume, jour) ---------- */
.controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--card); color: var(--label); font-size: 15px; border: 1px solid var(--sep); }
.chip:hover { text-decoration: none; background: var(--fill2); }
.chip .tint { font-weight: 600; }
.chip .k { color: var(--label2); }
.chip svg.i { width: 17px; height: 17px; color: var(--tint); }
.chip svg.i.d { color: var(--label2); }
@media (max-width: 720px) { .chip { min-height: 44px; } }

/* ---------- grilles ---------- */
.g2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.g2e { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.stack > * + * { margin-top: 20px; }
@media (max-width: 900px) { .g2, .g2e { grid-template-columns: minmax(0, 1fr); } .g3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .g3 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } }

/* Page ville : la réponse d'abord. Bureau : Chabbat | prochain zman, puis zmanim | colonne qui suit le défilement.
   Téléphone : Chabbat, prochain zman, zmanim, le reste. */
.city { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "sh nx" "zm side"; gap: 20px; align-items: start; }
.city > .a-sh { grid-area: sh; } .city > .a-nx { grid-area: nx; } .city > .a-zm { grid-area: zm; } .city > .a-side { grid-area: side; position: sticky; top: 76px; }
@media (max-width: 900px) { .city { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sh" "nx" "zm" "side"; } .city > .a-side { position: static; } }

/* ---------- cartes ---------- */
.card { background: var(--card); border-radius: var(--r); padding: 20px 22px; }
.card.flush { padding: 4px 0; }
.card-h { display: flex; align-items: center; gap: 10px; }
.card-h .ttl { font-size: 17px; font-weight: 600; flex: 1; min-width: 0; }
.card-k { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--label2); }
.big { font-size: 48px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.big.xl { font-size: 64px; }
.pill { display: inline-flex; align-items: center; gap: 4px; background: var(--tint-soft); color: var(--tint); border-radius: 999px; padding: 3px 12px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.pill.sm { font-size: 13px; padding: 1px 9px; }
.pill.gray { background: var(--fill); color: var(--label2); }
.sub { font-size: 15px; color: var(--label2); }
.split { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 22px; margin-top: 14px; }
.split .vr { background: var(--sep); }
@media (max-width: 720px) { .big { font-size: 40px; } .big.xl { font-size: 52px; } .split { gap: 16px; } }

/* ---------- section ---------- */
.sec { margin-top: 44px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 10px; }
.sec-h h2 { font-size: 24px; letter-spacing: -.015em; margin: 0; font-weight: 700; }
.sec-h a { font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; }
.sec-h a svg.i { width: 16px; height: 16px; }
.sh { font-size: 15px; font-weight: 600; color: var(--label2); margin: 22px 4px 8px; }
@media (max-width: 720px) { .sec { margin-top: 36px; } .sec-h h2 { font-size: 22px; } }

/* ---------- listes groupées (style iOS) ---------- */
.list { background: var(--card); border-radius: var(--r); padding: 0 20px; list-style: none; margin: 0; }
.row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 11px 0; }
.list > .row + .row::before, .list > li + li > .row::before { content: ""; position: absolute; top: 0; inset-inline-start: 36px; inset-inline-end: 0; height: 1px; background: var(--sep); }
.list.noicon > .row + .row::before { inset-inline-start: 0; }
.row .ic { width: 22px; color: var(--label2); display: grid; place-items: center; flex: none; }
.row .tx { flex: 1; min-width: 0; }
.row .tx b { font-weight: 400; display: block; }
.row .tx small { display: block; font-size: 15px; color: var(--label2); line-height: 1.35; }
.row .v { font-variant-numeric: tabular-nums; text-align: end; white-space: nowrap; }
.row .chev { color: var(--label3); display: inline-flex; }
/* Passé : le texte reste lisible (label2, 4,5:1), seule l'icône s'efface ; un mot le dit au lecteur d'écran. */
.row.past .ic { opacity: .45; }
.row.past .tx b, .row.past .v { color: var(--label2); }
.row.next .v, .row.next .ic, .row.next b { color: var(--tint); }
.row.next b, .row.next .v { font-weight: 600; }
a.row { color: inherit; }
a.row:hover { text-decoration: none; }
a.row:hover .tx b { color: var(--tint); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }

/* ---------- horaires de plusieurs Chabbats : liste en grille (bureau et téléphone) ---------- */
.sched { background: var(--card); border-radius: var(--r); padding: 4px 20px; }
.sched .sr-row, .sched .hd { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; column-gap: 16px; align-items: center; }
.sched .hd { font-size: 13px; color: var(--label2); padding: 10px 0 8px; }
.sched .hd span:not(:first-child), .sched .t { text-align: end; }
.sched .sr-row { padding: 12px 0; border-top: 1px solid var(--sep); }
.sched .p b { display: block; font-weight: 500; }
.sched .p small { display: block; font-size: 15px; color: var(--label2); }
.sched .t { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 17px; }
.sched .now .p b, .sched .now .t { color: var(--tint); font-weight: 600; }
@media (max-width: 480px) { .sched .sr-row, .sched .hd { grid-template-columns: minmax(0, 1fr) 58px 58px; column-gap: 10px; } .sched .hd { font-size: 12px; } }

/* ---------- arc du jour ---------- */
.arc { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.arc-legend { display: flex; justify-content: space-between; font-size: 15px; margin-top: 6px; }
.arc-legend div { display: flex; flex-direction: column; }
.arc-legend div:nth-child(2) { align-items: center; }
.arc-legend div:last-child { align-items: flex-end; }
.arc-legend span { color: var(--label2); }
.arc-legend b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- texte éditorial ---------- */
.prose { font-size: 17px; line-height: 1.6; max-width: 68ch; }
.prose h2 { font-size: 26px; letter-spacing: -.015em; line-height: 1.2; margin: 40px 0 10px; }
.prose h3 { font-size: 19px; margin: 28px 0 6px; }
.prose p { margin: 0 0 14px; text-wrap: pretty; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 14px; }
.prose li { margin: 4px 0; }
.note { font-size: 13px; color: var(--label2); line-height: 1.5; }
.note.m { font-size: 15px; }

/* ---------- questions fréquentes ---------- */
.faq { background: var(--card); border-radius: var(--r); padding: 0 20px; }
.faq details { border-top: 1px solid var(--sep); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; min-height: 52px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-inline-end: 2px solid var(--label2); border-bottom: 2px solid var(--label2); transform: translateY(-3px) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: 0 0 16px; color: var(--label); max-width: 70ch; }

/* ---------- tableaux ---------- */
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { font-size: 13px; font-weight: 500; color: var(--label2); text-align: start; padding: 12px 0 8px; }
.tbl td { padding: 12px 0; border-top: 1px solid var(--sep); }
.tbl td.r, .tbl th.r { text-align: end; white-space: nowrap; }
.tbl tr.now td { color: var(--tint); font-weight: 600; }

/* ---------- badge App Store (reproduction pour la maquette ; en production : fichier officiel d'Apple, localisé) ---------- */
.asb { display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff; border-radius: 10px; padding: 6px 14px 6px 11px; height: 48px; border: 1px solid #A6A6A6; }
.asb:hover { text-decoration: none; }
.asb svg { width: 24px; height: 24px; fill: #fff; margin-top: -3px; }
.asb span { display: flex; flex-direction: column; line-height: 1.05; }
.asb small { font-size: 10px; letter-spacing: .01em; }
.asb strong { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }

/* ---------- carte « l'app » ---------- */
.appcard { display: flex; gap: 16px; align-items: center; }
.appcard .appicon { width: 60px; height: 60px; border-radius: 14px; }
.appcard .t1 { font-weight: 600; }
.appcard .t2 { font-size: 15px; color: var(--label2); }

/* ---------- pied de page ---------- */
.foot { margin-top: 72px; border-top: 1px solid var(--sep); padding: 36px 0 48px; font-size: 15px; color: var(--label2); }
.foot .cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.foot h2 { margin: 0 0 4px; font-size: 15px; color: var(--label); font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--label2); }
.foot .brand { color: var(--label); }
.foot .applink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--tint); font-weight: 600; }
.langs { display: flex; flex-wrap: wrap; gap: 0 4px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--sep); }
.langs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; color: var(--label2); }
.langs a[aria-current] { color: var(--label); font-weight: 600; }
.legal { margin-top: 18px; font-size: 13px; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- formulaires ---------- */
.seg { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { white-space: nowrap; border: 0; background: transparent; padding: 0 16px; min-height: 38px; border-radius: 999px; font: inherit; font-size: 15px; color: var(--label); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--card); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.fields { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 10px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--label2); }
.field input, .field select { font: inherit; font-size: 17px; height: 46px; border-radius: 12px; border: 1px solid var(--sep); background: var(--bg); padding: 0 14px; color: var(--label); width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--label2) 50%), linear-gradient(135deg, var(--label2) 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input[aria-invalid="true"] { border-color: #C4291C; }
.err { color: #C4291C; font-size: 13px; }
.switch { display: flex; align-items: center; gap: 14px; min-height: 54px; margin-top: 8px; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 999px; background: var(--fill); position: relative; flex: none; margin: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { inset-inline-start: 22px; }
.search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; background: var(--card); border-radius: 999px; border: 1px solid var(--sep); color: var(--label2); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; background: var(--card); color: var(--label); padding: 0 14px; border-radius: 999px; font-size: 15px; border: 1px solid var(--sep); }
.chips a:hover { text-decoration: none; border-color: var(--tint); }
.chips a.more { color: var(--tint); font-weight: 600; }
@media (max-width: 720px) { .chips a { min-height: 44px; } }

/* ---------- outils et articles ---------- */
.tool { background: var(--card); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--label); }
.tool:hover { text-decoration: none; box-shadow: inset 0 0 0 2px var(--tint-soft); }
.tool .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; margin-bottom: 6px; flex: none; }
.tool b { font-size: 17px; font-weight: 600; text-wrap: balance; }
.tool span { font-size: 15px; color: var(--label2); line-height: 1.4; }
.post { background: var(--card); border-radius: var(--r); overflow: hidden; color: var(--label); display: flex; flex-direction: column; }
.post:hover { text-decoration: none; box-shadow: inset 0 0 0 2px var(--tint-soft); }
.post .media { aspect-ratio: 16 / 9; background: var(--tint-soft); color: var(--tint); display: grid; place-items: center; overflow: hidden; }
.post .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.post .media svg.i { width: 56px; height: 56px; stroke-width: 1.2; }
.post .body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.post .body b { font-size: 17px; font-weight: 600; text-wrap: balance; }
.post .body span { font-size: 15px; color: var(--label2); line-height: 1.4; }
.figure { margin: 26px 0; }
.figure figcaption { font-size: 13px; color: var(--label2); margin-top: 8px; }
.chart text { fill: var(--label2); font-size: 12px; }
.chart text.strong { fill: var(--label); font-weight: 600; font-size: 13px; }
.chart .grid { stroke: var(--sep); }
.chart .line { stroke: var(--tint); }
.chart .dotp { fill: var(--tint); }
.chart .today { stroke: var(--label2); stroke-dasharray: 2 4; }
.hero-img { margin: 0 0 8px; }
.hero-img img { border-radius: var(--r); width: 100%; aspect-ratio: 21 / 9; max-height: 360px; object-fit: cover; object-position: 50% 60%; background: var(--fill); }
@media (max-width: 720px) { .hero-img img { aspect-ratio: 4 / 3; object-position: 55% 50%; } }

/* ---------- bloc de l'app (accueil) ---------- */
.appband { margin-top: 44px; background: var(--tint-soft); border-radius: var(--r); padding: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
.appband ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 12px; }
.appband li { display: flex; gap: 12px; align-items: center; }
.appband li svg.i { color: var(--tint); }
.phone { width: 240px; border-radius: 42px; padding: 9px; background: #1d1d1f; flex: none; }
.phone img { border-radius: 33px; background: #fff; }
@media (max-width: 720px) { .appband { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 24px; } .phone { width: 200px; margin: 0 auto; } }

/* ---------- Hanoukka ---------- */
.menorah .arm { stroke: var(--tint); }
.menorah .base { fill: var(--tint); }
.menorah .wax { fill: var(--card); stroke: var(--tint); stroke-width: 1.5; }
.menorah .wax.lit { fill: #F6E7D6; }
.menorah .flame { fill: url(#flame); }
.menorah .glow { fill: var(--tint-soft); }
.nightno { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--label); font-weight: 600; font-variant-numeric: tabular-nums; flex: none; font-size: 15px; }
.row.next .nightno { background: var(--tint); color: var(--on-tint); }
.cnd { display: inline-flex; gap: 3px; align-items: flex-end; flex: none; }
.cnd i { width: 5px; height: 16px; border-radius: 2px; background: var(--tint); }
.cnd i.off { height: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--label3); }
.nights .row { align-items: center; }
.nights .times { display: grid; grid-template-columns: 70px 70px; column-gap: 12px; text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nights .times small { display: block; font-size: 12px; color: var(--label2); }
.nights .hd { display: flex; justify-content: flex-end; padding: 10px 0 2px; }
.nights .hd .times { font-size: 13px; color: var(--label2); }
@media (max-width: 720px) {
  .nights .row { flex-wrap: wrap; row-gap: 6px; }
  .nights .row .tx { flex-basis: calc(100% - 46px); }
  .nights .row .cnd { margin-inline-start: 46px; }
  .nights .row .times { margin-inline-start: auto; }
  .nights .hd .times { grid-template-columns: 60px 60px; }
  .nights .times { grid-template-columns: 60px 60px; }
}
.answer { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 720px) {
  .tool { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .tool .ico { margin: 0; }
  .tool b { flex: 1; min-width: 0; }
  .tool > span:not(.ico) { flex-basis: 100%; }
}
@media (max-width: 720px) { #hero-date { font-size: 44px !important; } }
@media (max-width: 480px) { .hide-xs { display: none; } }
.search input::placeholder { color: var(--label2); }
.search:focus-within { outline: 2px solid var(--tint); outline-offset: 2px; }
.search input:focus-visible { outline: none; }
/* r1 : réglages après la première passe de rendu */
.sec-h { flex-wrap: wrap; row-gap: 0; }
.sec-h h2 { flex: 1 1 16ch; }
.faq summary::after { border-inline-end: 0; border-right: 2px solid var(--label2); }
@media (max-width: 720px) {
  .seg { display: flex; } .seg button { flex: 1; padding: 0 8px; font-size: 14px; }
}
.chart-m { display: none; }
@media (max-width: 600px) { .chart-d { display: none; } .chart-m { display: block; } }
@media (max-width: 480px) { .fetes .v { display: none; } }
@media (min-width: 481px) { .show-xs { display: none; } }
