/* Dan Nadlan · Dan Chemla — feuille de style unique. Mobile d'abord.
   Charte : noir (#000), or (#795630), beige (#f5df83), dégradé or ↔ beige. Police : Urbanist (auto-hébergée). */
@font-face { font-family: "Frank Ruhl Libre"; src: url("/assets/fonts/frank-ruhl-libre-hebrew.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-2010, U+20AA, U+25CC; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #000;
  --ink: #141210;
  --text: #2e2a25;
  --muted: #6c6358;
  --gold: #795630;
  --gold-2: #9a7442;
  --beige: #f5df83;
  --sand: #fbf4e2;          /* tuiles crème des fiches */
  --sand-2: #f6ead0;
  --paper: #fff;
  --line: #ebe3d3;
  --grad: linear-gradient(100deg, #f5df83 0%, #c9a65e 45%, #795630 100%);
  --grad-dark: linear-gradient(100deg, #795630 0%, #b8924f 55%, #f5df83 100%);
  --wa: #128a4d; --wa-2: #0e6f3e;
  --r-lg: 34px; --r: 22px; --r-sm: 14px;
  --sans: "Urbanist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hebrew: "Frank Ruhl Libre", "Frank Ruehl CLM", "David CLM", "Times New Roman", serif;
  --wide: 76rem; --max: 46rem;
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sx-open, html.loading { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--text); font: 460 1.0625rem/1.65 var(--sans); padding-bottom: 5.5rem; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--black); }
h1, h2, h3 { color: var(--black); font-family: var(--sans); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 9vw, 4.6rem); margin: 0 0 1.1rem; font-weight: 520; }
h2 { font-size: clamp(1.8rem, 6vw, 2.9rem); margin: 2.75rem 0 .9rem; font-weight: 500; }
h3 { font-size: 1.22rem; margin: 1.6rem 0 .45rem; letter-spacing: -0.015em; }
p, ul, ol { margin: 0 0 1rem; text-wrap: pretty; }
li { margin-bottom: .35rem; }
strong { color: var(--black); font-weight: 650; }
::selection { background: var(--beige); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Écran de chargement (une fois par visite) */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--black); display: grid; place-items: center; animation: loader-out .7s var(--ease) 2.6s forwards; }
.loader-in { display: grid; justify-items: center; gap: 1.4rem; perspective: 900px; }
.loader-mark { width: 7.5rem; height: auto; animation: mark-spin 1.9s var(--ease) both; transform-style: preserve-3d; filter: drop-shadow(0 0 0 rgba(245,223,131,0)); }
.loader-mark svg { display: block; width: 100%; height: auto; color: #fff; }
.loader-shine { position: relative; overflow: hidden; }
.loader-shine::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255,247,214,.85) 50%, transparent 60%); transform: translateX(-100%); animation: shine 1.1s ease-in-out 1.35s both; mix-blend-mode: screen; }
.loader-word { width: 13rem; opacity: 0; animation: word-in .8s var(--ease) 1.1s forwards; color: #fff; }
.loader-word svg { width: 100%; height: auto; display: block; }
@keyframes mark-spin { 0% { opacity: 0; transform: rotateY(-180deg) scale(.7); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotateY(0) scale(1); filter: drop-shadow(0 0 22px rgba(245,223,131,.45)); } }
@keyframes shine { to { transform: translateX(100%); } }
@keyframes word-in { from { opacity: 0; transform: translateY(8px); letter-spacing: .1em; } to { opacity: 1; transform: none; } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
html.seen .loader { display: none; }

/* ---------- En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.scrolled .site-header { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: .75rem 1.25rem; min-height: 4.25rem; position: relative; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--black); margin-right: auto; }
.brand svg { height: 2.9rem; width: auto; display: block; }
.nav { display: flex; gap: .15rem; font-size: .98rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--text); padding: .45rem .7rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--black); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--black); background: var(--sand); }
.icon-btn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--black); cursor: pointer; }
.icon-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; }
.bsd { position: absolute; top: .2rem; right: 1.25rem; font-size: .7rem; color: var(--muted); font-family: var(--hebrew); }
.home .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; position: absolute; left: 0; right: 0; }
.home .site-header .brand { color: #fff; }
.home .site-header .nav a { color: rgba(255,255,255,.82); }
.home .site-header .nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.home .site-header .icon-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.home .bsd { color: rgba(255,255,255,.6); }

/* ---------- Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.45rem; border-radius: 999px; font: 600 1rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-gold { background: var(--grad-dark); color: #fff; box-shadow: 0 10px 26px -10px rgba(121,86,48,.7); background-size: 140% 100%; }
.btn-gold:hover { color: #fff; background-position: 100% 0; }
.btn-dark { background: var(--black); color: var(--beige); }
.btn-dark:hover { color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1px #d8cdb7; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--black); }
.btn-primary { background: var(--black); color: var(--beige); }
.btn-primary:hover { color: #fff; }

/* Barre d'actions (téléphone) */
.dock { position: fixed; z-index: 50; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .45rem; background: var(--black); border-radius: 999px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); }
.dock .btn { padding: .8rem .9rem; font-size: .95rem; }
.dock .btn-search { background: transparent; color: var(--beige); box-shadow: inset 0 0 0 1px rgba(245,223,131,.35); }

/* ---------- Accueil : héros */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: sepia(.35) saturate(.8); transform: scale(1.06); animation: hero-zoom 14s ease-out both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 10%, transparent, rgba(0,0,0,.65) 60%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.92)); }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-grid { display: grid; gap: 2.25rem; padding-block: 7.5rem 3rem; align-items: end; min-height: min(100svh, 56rem); }
.hero h1 { color: #fff; font-weight: 340; font-size: clamp(2.3rem, 9vw, 4.3rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.25rem; max-width: 16ch; }
.sig { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.8rem; }
.sig img { width: 3.6rem; height: 3.6rem; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 28%; box-shadow: 0 0 0 2px var(--black), 0 0 0 3px rgba(245,223,131,.7); }
.sig p { margin: 0; line-height: 1.3; }
.sig strong { display: block; color: #fff; font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; }
.sig span { display: block; color: var(--beige); opacity: .8; font-size: .82rem; letter-spacing: .04em; }
.hero h1 .gold { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.84); font-size: 1.15rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.hero-search { margin-top: 1.5rem; display: flex; gap: .4rem; max-width: 34rem; padding: .35rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(245,223,131,.28); backdrop-filter: blur(10px); }
.hero-search input { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: #fff; font: 500 1rem var(--sans); padding: .6rem 1rem; }
.hero-search input::placeholder { color: rgba(255,255,255,.55); }
.hero-search .btn { padding: .75rem 1.1rem; }
.hero-card { position: relative; justify-self: start; width: min(100%, 22rem); }
.hero-card img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.hero-card .tag-pill { position: absolute; left: 1rem; bottom: 1rem; }
.tag-pill { display: inline-flex; flex-direction: column; gap: .05rem; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(245,223,131,.3); border-radius: 18px; padding: .6rem .9rem; font-size: .85rem; line-height: 1.25; }
.tag-pill strong { color: var(--beige); font-weight: 600; font-size: .95rem; }
.hero-rise > * { animation: rise 1s var(--ease) both; }
.hero-rise > *:nth-child(2) { animation-delay: .12s; } .hero-rise > *:nth-child(3) { animation-delay: .24s; } .hero-rise > *:nth-child(4) { animation-delay: .36s; } .hero-rise > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.seen .hero-rise > * { animation-duration: .8s; }
html:not(.seen) .hero-rise > * { animation-delay: calc(2.75s + var(--d, 0s)); }

/* Bande verset */
.verse-band { background: var(--black); color: #fff; padding: 3.5rem 0 4rem; text-align: center; border-top: 1px solid rgba(245,223,131,.15); }
.verse-he { font-family: var(--hebrew); font-size: clamp(2rem, 8vw, 3.4rem); margin: 0 0 .5rem; line-height: 1.25; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.verse-fr { font-size: 1.12rem; color: rgba(255,255,255,.8); margin: 0 auto; max-width: 34rem; }
.verse-ref { font-size: .9rem; color: var(--beige); opacity: .75; margin: .6rem 0 0; }

/* Sections */
.section { padding: 4rem 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--black); color: rgba(255,255,255,.78); }
.section.dark h2, .section.dark h3, .section.dark strong { color: #fff; }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.dark .section-head p { color: rgba(255,255,255,.65); }
.rule { width: 3.5rem; height: 3px; border: 0; border-radius: 3px; background: var(--grad); margin: 0 0 1.4rem; }
.kicker { font-size: .95rem; color: var(--gold); font-weight: 600; margin: 0 0 .5rem; }
.eyebrow { font-size: .95rem; color: var(--gold); font-weight: 600; margin: 0 0 .5rem; }

/* Services : trois blocs */
.services { display: grid; gap: 1rem; }
.services.six .service h3 { font-size: 1.25rem; }
.note-pros { margin: 1.5rem 0 0; font-weight: 600; color: var(--ink); }
.bridge { display: grid; gap: 0; align-items: center; }
.bridge-side { background: var(--sand); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; }
.bridge-side strong { display: block; font-size: 1.35rem; color: var(--black); margin-bottom: .3rem; }
.bridge-side span { color: var(--muted); }
.bridge-side.pros { background: var(--black); color: rgba(255,255,255,.8); }
.bridge-side.pros strong { color: #fff; }
.bridge-side ul { list-style: none; padding: 0; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.bridge-side li { border: 1px solid rgba(245,223,131,.45); color: var(--beige); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; font-weight: 600; }
.bridge-mid { position: relative; display: grid; place-items: center; height: 6.5rem; }
.bridge-mid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: var(--grad); border-radius: 3px; }
.bridge-mid span { position: relative; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); display: grid; place-items: center; }
.bridge-mid svg { width: 2.6rem; height: auto; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 0 0 3.6rem; min-height: 2.6rem; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -.1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--black); color: var(--beige); font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; font-size: 1.15rem; color: var(--black); }
.steps span { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: .9rem; }
.check-list li { position: relative; padding: 1rem 1.1rem 1rem 3rem; background: var(--sand); border-radius: var(--r-sm); }
.check-list li::before { content: ""; position: absolute; left: 1.1rem; top: 1.35rem; width: .9rem; height: .5rem; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.check-list strong { display: block; color: var(--black); }
.steps.steps-col { grid-template-columns: 1fr !important; gap: 1.1rem !important; margin: 1rem 0 2rem; }
.steps.steps-col li { padding: 0 0 0 3.6rem !important; }
.service { position: relative; background: #fff; border-radius: var(--r-lg); padding: 1.75rem 1.5rem 1.6rem; border: 1px solid var(--line); overflow: hidden; }
.service .ico { width: 3.2rem; height: 3.2rem; border-radius: 16px; background: var(--sand); display: grid; place-items: center; margin-bottom: 1.1rem; }
.service .ico svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.service p { margin: 0; }

/* Critères religieux : tuiles façon fiche */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.tile { background: var(--sand); border-radius: var(--r); padding: 1.15rem 1rem; }
.tile .ico { display: block; width: 1.6rem; height: 1.6rem; margin-bottom: .6rem; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile strong { display: block; font-size: 1.05rem; margin-bottom: .25rem; line-height: 1.25; }
.tile span { color: var(--muted); font-size: .93rem; line-height: 1.45; display: block; }
.tile span a { color: var(--gold); }

/* Parcours */
.split { display: grid; gap: 2rem; align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.portrait .tag-pill { position: absolute; right: 1rem; bottom: 1rem; }
.terrains { display: grid; gap: .8rem; margin-top: 1.5rem; }
.terrain { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.terrain:first-child { border-top: 0; }
.terrain .ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(245,223,131,.1); }
.terrain .ico svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--beige); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.terrain strong { display: block; font-size: 1.1rem; margin-bottom: .15rem; }

/* Recherche (bloc accueil) */
.ask-block { background: var(--black); border-radius: var(--r-lg); padding: 2rem 1.5rem; color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.ask-block::before { content: ""; position: absolute; width: 22rem; height: 22rem; right: -8rem; top: -10rem; border-radius: 50%; background: radial-gradient(circle, rgba(245,223,131,.22), transparent 70%); }
.ask-block h2 { color: #fff; margin: 0 0 .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.chip { font: 500 .92rem var(--sans); color: var(--black); background: var(--sand); border: 1px solid transparent; border-radius: 999px; padding: .5rem .9rem; cursor: pointer; text-decoration: none; transition: border-color .2s; }
.chip:hover { border-color: var(--gold); color: var(--black); }
.ask-block .chip { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(245,223,131,.25); }
.ask-block .chip:hover { border-color: var(--beige); color: #fff; }

/* Grande barre de contact (comme le bas des fiches) */
.callbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--black); color: #fff; border-radius: 999px; padding: 1rem 1rem 1rem 1.75rem; text-decoration: none; border: 1px solid rgba(121,86,48,.6); transition: transform .25s var(--ease); }
.callbar:hover { transform: translateY(-2px); color: #fff; }
.callbar small { display: block; font-size: .75rem; letter-spacing: .22em; color: var(--beige); opacity: .85; }
.callbar span { display: block; font-size: clamp(1.6rem, 6.5vw, 2.6rem); font-weight: 500; letter-spacing: .01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.callbar i { flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--grad-dark); display: grid; place-items: center; }
.callbar i svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: #000; stroke-width: 1.8; }

/* Scroll : apparition douce (navigateurs récents uniquement) */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ---------- Pages intérieures */
.page-hero { background: var(--black); color: rgba(255,255,255,.75); padding: 3rem 0 2.5rem; margin-bottom: 1.5rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 8vw, 3.6rem); }
.page-hero .lead { color: rgba(255,255,255,.72); }
.page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .meta { color: rgba(255,255,255,.55); }
.page-hero .kicker { color: var(--beige); }
.article-head { padding: 2.25rem 0 .5rem; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 40rem; }
.meta { color: var(--muted); font-size: .92rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.toc { background: var(--sand); border-radius: var(--r); padding: 1.1rem 1.35rem; margin: 1.5rem 0; font-size: .97rem; }
.toc ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.note { border-left: 3px solid var(--gold); background: var(--sand); padding: 1rem 1.15rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 1.5rem 0; font-size: .98rem; }
.check { color: var(--gold); font-weight: 650; }
.verify { background: #fbecc4; color: #6b4a14; padding: 0 .35em; border-radius: 4px; font-size: .9em; font-weight: 600; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 1rem 0 .5rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; background: var(--sand); color: var(--black); }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.source { font-size: .85rem; color: var(--muted); margin: .25rem 0 1.5rem; }
.sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }
.sources h2 { font-size: 1.1rem; margin-top: 0; }
.disclaimer { font-size: .9rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; }
.cta-box { background: var(--black); color: rgba(255,255,255,.72); border-radius: var(--r-lg); padding: 2rem 1.6rem; margin: 2.5rem 0 1rem; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; width: 18rem; height: 18rem; right: -6rem; bottom: -9rem; border-radius: 50%; background: radial-gradient(circle, rgba(245,223,131,.18), transparent 70%); }
.cta-box h2, .cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,.72); }
.cta-box a:not(.btn) { color: var(--beige); }
.article-list { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 0; }
.article-list li { margin: 0; }
.article-list a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.35rem; transition: border-color .25s, transform .25s var(--ease); }
.article-list a:hover { border-color: var(--gold); transform: translateY(-3px); }
.article-list h2, .article-list h3 { margin: 0 0 .45rem; font-size: 1.25rem; line-height: 1.2; }
.article-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.tag { display: inline-block; font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: .45rem; }

/* FAQ */
.faq-tools { position: sticky; top: 4.4rem; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); padding: .75rem 0; margin: 0 0 .5rem; }
.search { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .2rem .5rem .2rem 1.1rem; transition: border-color .2s; }
.search:focus-within { border-color: var(--gold); }
.search svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.search input { flex: 1; min-width: 0; width: 100%; border: 0; outline: none; font: 500 1.05rem var(--sans); padding: .75rem 0; background: transparent; color: var(--black); }
.cat-nav { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0 .2rem; scrollbar-width: none; }
.cat-nav a { white-space: nowrap; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--text); background: var(--sand); border-radius: 999px; padding: .45rem .9rem; }
.cat-nav a:hover { color: var(--black); box-shadow: inset 0 0 0 1px var(--gold); }
.faq-list { display: flex; flex-direction: column; }
.faq-cat { scroll-margin-top: 9rem; display: flex; flex-direction: column; }
.faq-cat h2 { font-size: 1.6rem; margin: 2.4rem 0 .9rem; }
details.qa { border-bottom: 1px solid var(--line); scroll-margin-top: 9rem; }
details.qa summary { list-style: none; cursor: pointer; padding: 1.15rem 2.6rem 1.15rem 0; font-weight: 600; font-size: 1.08rem; color: var(--black); position: relative; line-height: 1.35; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: .3rem; top: 1.3rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23795630' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/.8rem no-repeat; transition: transform .3s var(--ease); }
details.qa[open] summary::after { transform: rotate(135deg); }
.qa-body { padding: 0 0 1.25rem; }
details.qa[open] .qa-body { animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.qa-body ul { padding-left: 1.2rem; }
.qa-src { font-size: .85rem; color: var(--muted); padding-top: .6rem; margin: .6rem 0 0; }
.qa-src a { color: var(--muted); }
.no-result { background: var(--sand); border-radius: var(--r); padding: 1.25rem; }

/* Fenêtre de recherche */
.sx { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 0; animation: fade .25s ease; }
.sx[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sx-box { background: #fff; width: 100%; max-width: 44rem; min-height: 100%; display: flex; flex-direction: column; animation: drop .35s var(--ease); }
@keyframes drop { from { transform: translateY(-16px); opacity: 0; } }
.sx-bar { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.sx-bar svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--gold); stroke-width: 2; flex: none; }
.sx-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.15rem var(--sans); padding: .55rem 0; color: var(--black); background: transparent; }
.sx-x { border: 0; background: var(--sand); color: var(--black); font: 600 .9rem var(--sans); padding: .55rem .9rem; border-radius: 999px; cursor: pointer; }
.sx-res { overflow-y: auto; padding: .5rem 1rem 2rem; flex: 1; }
.sx-hint { color: var(--muted); padding: 1rem 0; }
.sx-item { display: block; padding: 1rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.sx-item strong { display: block; color: var(--black); margin-bottom: .2rem; font-size: 1.05rem; }
.sx-item span { font-size: .93rem; color: var(--muted); }
.sx-item:hover strong { color: var(--gold); }
.sx-all { display: inline-block; margin-top: 1rem; font-weight: 600; }
.sx-empty { padding: 1.5rem 0; }

/* Outils */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.3rem; margin: 1.5rem 0; box-shadow: 0 30px 60px -40px rgba(121,86,48,.45); }
.field { margin-bottom: 1.2rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .45rem; color: var(--black); }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.input-money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.input-money:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--sand); }
.input-money input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; font: 600 1.3rem var(--sans); padding: .75rem .9rem; color: var(--black); outline: none; }
.input-money span { padding: 0 .9rem; color: var(--muted); font-weight: 600; }
.row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.row-2 > * { min-width: 0; }
.choice { display: grid; gap: .55rem; }
.choice label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .8rem .9rem; cursor: pointer; margin: 0; background: #fff; transition: border-color .2s, background .2s; }
.choice label:has(input:checked) { border-color: var(--gold); background: var(--sand); }
.choice input { margin-top: .3rem; accent-color: var(--gold); }
.choice small { display: block; color: var(--muted); font-weight: 400; }
.result { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1.2rem; }
.result-total { display: inline-block; font-size: clamp(2.2rem, 10vw, 3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin: .2rem 0 .3rem; background: var(--black); color: var(--beige); padding: .45rem 1.1rem; border-radius: var(--r); }
.result-sub { color: var(--muted); margin-bottom: 1rem; }
.alert { background: #fbecc4; color: #6b4a14; border-radius: var(--r-sm); padding: .75rem .9rem; font-size: .95rem; }

/* Pied de page */
.site-footer { background: var(--black); color: rgba(255,255,255,.6); margin-top: 4rem; padding: 3rem 0 6.5rem; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--beige); }
.foot-brand svg { height: 3.4rem; width: auto; color: #fff; }
.foot-brand p { margin: .9rem 0 0; max-width: 24rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .dock { left: auto; right: 1.5rem; bottom: 1.5rem; display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 44rem); padding-block: 10rem 6rem; align-items: center; min-height: min(100svh, 50rem); }
  .hero-card { justify-self: end; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .bridge { grid-template-columns: 1fr 9rem 1.3fr; }
  .bridge-mid { height: 100%; min-height: 8rem; }
  .bridge-mid::before { top: 50%; bottom: auto; left: -1rem; right: -1rem; width: auto; height: 3px; transform: translateY(-50%); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps li { padding: 3.6rem 0 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .section { padding: 6rem 0; }
  .ask-block { padding: 3rem; }
  .cta-box { padding: 2.75rem 2.5rem; }
  .article-list.two { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding-bottom: 3rem; }
  .site-footer .wrap { grid-template-columns: 1.2fr 1fr; }
  .sx { padding: 6vh 1rem; }
  .sx-box { min-height: 0; max-height: 80vh; border-radius: var(--r-lg); overflow: hidden; }
}
@media (max-width: 759px) {
  .bar { flex-wrap: wrap; row-gap: 0; padding-top: .55rem; }
  .bar .icon-btn { margin-left: auto; }
  .nav { order: 3; width: 100%; justify-content: space-between; margin: 0 -.7rem; width: calc(100% + 1.4rem); padding-bottom: .35rem; }
}
@media (max-width: 400px) { .nav a { padding: .4rem .55rem; font-size: .95rem; } .brand svg { height: 2rem; } }
@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .loader { display: none; }
}
@media print { .dock, .loader, .site-header nav, .site-footer { display: none; } }

/* liste de visite */
.visit h2 { margin-top: 2rem; }
.visit ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .45rem; }
.visit label { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; background: var(--sand); border-radius: var(--r-sm); cursor: pointer; }
.visit input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--gold); flex: none; }
.visit input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.visit-notes { width: 100%; min-height: 6rem; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem; font: inherit; }
/* glossaire */
.gloss { margin: 1rem 0 2rem; }
.gloss dt { font-weight: 700; color: var(--black); margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
.gloss dt span[lang="he"] { font-family: var(--hebrew); font-weight: 500; color: var(--gold); font-size: 1.15rem; }
.gloss dd { margin: .2rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.gloss-filter { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; margin-top: .5rem; }
@media print { .visit label { background: none; border: 1px solid #ccc; } .no-print, .cta-box { display: none !important; } }

/* compteur des 100 brakhot */
.brk-page { max-width: 36rem; }
.brk-hero { background: var(--black); color: #fff; border-radius: var(--r-lg); padding: 1rem 1.1rem 1.4rem; text-align: center; }
.brk-nav { display: flex; align-items: center; gap: .5rem; }
.brk-nav button { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(245,223,131,.35); background: transparent; color: var(--beige); font-size: 1.4rem; cursor: pointer; }
.brk-date { flex: 1; min-width: 0; }
.brk-date div:first-child { font-weight: 600; text-transform: capitalize; }
.brk-date div[lang="he"] { font-family: var(--hebrew); color: var(--beige); opacity: .85; }
.brk-today { margin: .6rem auto 0; border: 0; background: rgba(245,223,131,.14); color: var(--beige); font: 600 .85rem var(--sans); padding: .4rem .9rem; border-radius: 999px; cursor: pointer; }
.brk-ring { position: relative; width: min(60vw, 15rem); aspect-ratio: 1; margin: .8rem auto 0; }
.brk-ring svg { width: 100%; height: 100%; }
#brk-arc { transition: stroke-dashoffset .5s var(--ease); }
.brk-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.brk-big { font-size: clamp(3.6rem, 17vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brk-of { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: .2rem; }
.brk-status { margin: .6rem 0 0; font-weight: 500; }
.brk-status b { color: var(--beige); }
.brk.ok .brk-status { color: var(--beige); }
.brk.ok .brk-ring { animation: brk-glow 1.4s ease-out 1; }
@keyframes brk-glow { 40% { filter: drop-shadow(0 0 22px rgba(245,223,131,.7)); } }
.brk-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: .8rem; }
.brk-tag { font-size: .8rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(245,223,131,.35); color: rgba(255,255,255,.85); }
.brk-tag.g { background: var(--grad); color: #000; border-color: transparent; font-weight: 700; }
.brk-span { font-size: .78rem; color: rgba(255,255,255,.55); margin: .6rem 0 0; }
.brk-hint { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: var(--r-sm); background: rgba(245,223,131,.12); color: var(--beige); font-size: .88rem; text-align: left; }
.brk-sec { margin-top: 1.4rem; }
.brk-sh { display: flex; align-items: center; gap: .6rem; margin: 0 .2rem .55rem; }
.brk-ic { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--black); color: var(--beige); display: grid; place-items: center; }
.brk-ic svg { width: 1.15rem; height: 1.15rem; }
.brk-sh h2 { margin: 0; font-size: 1.15rem; flex: 1; }
.brk-sum { font-size: .88rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.brk-sh button { border: 1px solid var(--line); background: #fff; color: var(--gold); font: 600 .8rem var(--sans); padding: .35rem .7rem; border-radius: 999px; cursor: pointer; }
.brk-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.brk-item, .brk-step { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem .85rem; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; font: inherit; text-align: left; }
.brk-item { cursor: pointer; }
.brk-list > :first-child { border-top: 0; }
.brk-item.on, .brk-step.has { background: var(--sand); }
.brk-pill { flex: none; min-width: 2.6rem; height: 2.6rem; padding: 0 .4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--gold); border: 1.5px solid rgba(121,86,48,.35); }
.brk-item.on .brk-pill { background: var(--black); color: var(--beige); border-color: var(--black); }
.brk-txt { flex: 1; min-width: 0; display: block; }
.brk-lab { display: block; font-weight: 600; color: var(--ink); }
.brk-sub { display: block; font-size: .8rem; color: var(--muted); margin-top: .1rem; }
.brk-sub [lang="he"] { font-family: var(--hebrew); font-size: .92rem; }
.brk-ck { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #000; }
.brk-ck svg { width: .9rem; height: .9rem; opacity: 0; }
.brk-item.on .brk-ck { background: var(--grad); border-color: transparent; }
.brk-item.on .brk-ck svg { opacity: 1; }
.brk-ctl { display: flex; align-items: center; gap: .35rem; flex: none; }
.brk-ctl button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.brk-ctl button.plus { background: var(--black); color: var(--beige); border-color: var(--black); }
.brk-ctl output { min-width: 1.6rem; text-align: center; font-weight: 700; }
.brk-foot { margin-top: 1.6rem; font-size: .85rem; color: var(--muted); }
.brk-foot p { margin: 0 0 .6rem; }
.brk-genre { display: inline-flex; gap: .25rem; margin-top: .8rem; padding: .25rem; border-radius: 999px; border: 1px solid rgba(245,223,131,.3); }
.brk-genre button { border: 0; background: transparent; color: rgba(255,255,255,.75); font: 600 .9rem var(--sans); padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer; }
.brk-genre button[aria-pressed="true"] { background: var(--grad); color: #000; }
/* page autonome (compteur des brakhot) : aucun élément du site */
body.solo { padding-bottom: 2rem; }
.solo-head { position: relative; display: flex; justify-content: center; padding: 1.4rem 16px .4rem; }
.solo-logo svg { width: 9.5rem; height: auto; display: block; color: var(--black); }
.solo-head .bsd { top: .5rem; right: 16px; }
.solo .article-head { padding-top: .8rem; text-align: center; }
