:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f1ece3;
  --ink: #2a2723;
  --ink-soft: #5c564e;
  --line: #e4ddd1;
  --accent: #4f6f5f;
  --accent-strong: #3c5749;
  --accent-soft: #e3ebe5;
  --warm: #b8734f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(42,39,35,.05), 0 8px 24px rgba(42,39,35,.06);
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--warm); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin: .2em 0; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-200%); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { transform: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; margin-right: auto; }
.brand strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.brand span { font-size: .78rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }
.nav-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; }
.main-nav { display: none; }
.main-nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 4px; text-decoration: none; color: var(--ink); font-size: .98rem; }
.main-nav a[aria-current="page"] { color: var(--accent-strong); font-weight: 600; }
.main-nav .sub a { padding-left: 18px; font-size: .92rem; color: var(--ink-soft); }
.site-header .header-cta { display: none; }
[hidden] { display: none !important; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.open { display: block; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
  .main-nav > ul { display: flex; gap: 2px; align-items: center; }
  .main-nav > ul > li { position: relative; }
  .main-nav a { padding: 8px 11px; border-radius: 999px; font-size: .93rem; }
  .main-nav a:hover { background: var(--surface-2); color: var(--ink); }
  .main-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
  .main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: block; }
  .main-nav .sub a { padding: 8px 12px; color: var(--ink); border-radius: 8px; }
  .site-header .header-cta { display: inline-flex; }
  .site-header .main-nav { order: 1; }
  .site-header .lang-fr { order: 2; }
  .site-header .header-cta { order: 3; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans); transition: background .15s, color .15s, transform .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 84px 0; } }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--warm); font-weight: 600; margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.alt { background: var(--surface-2); }

.hero { padding: 48px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 88px 0; } .hero .wrap { grid-template-columns: 1.2fr .8fr; } }
.hero-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-card dl { margin: 0; display: grid; gap: 14px; }
.hero-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.hero-card dd { margin: 2px 0 0; font-weight: 500; }
.langs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 26px; }
.pill { font-size: .85rem; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 500; }

.page-head { padding: 56px 0 24px; }
.page-head .lead { margin-top: .6em; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.crumbs a { color: var(--ink-soft); }

.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent-strong); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 0; }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-size: 2rem; color: var(--warm); display: block; margin-bottom: 6px; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.4em; }
.two-col { display: grid; gap: 36px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 320px; align-items: start; } .two-col aside { position: sticky; top: 92px; } }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-box h3 { margin-bottom: .4em; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; margin: 0; }
.cond-group { margin-bottom: 22px; }
.cond-group h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }

.callout { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 32px; }
.callout h2, .callout h3 { color: #fff; }
.callout p { color: rgba(255,255,255,.88); }
.callout .btn-primary { background: #fff; color: var(--accent-strong); }
.callout .btn-ghost { border-color: #fff; color: #fff; }
.callout .btn-ghost:hover { background: #fff; color: var(--accent-strong); }

.support { background: #23303a; color: #eef2f4; }
.support h2 { color: #fff; }
.support p { color: #c9d3d9; }
.support .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .support .wrap { grid-template-columns: 1fr 1fr; align-items: center; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 500; font-size: .95rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.note { font-size: .88rem; color: var(--ink-soft); }

/* Orientation tool */
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.guide fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.guide legend { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--bg); transition: border-color .15s, background .15s; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--warm); outline-offset: 2px; }
.guide-progress { height: 4px; background: var(--line); border-radius: 4px; margin-bottom: 22px; overflow: hidden; }
.guide-progress div { height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.guide-result { display: none; }
.guide-result.show { display: block; }
.guide-nav { display: flex; gap: 10px; justify-content: space-between; }

/* Footer */
.site-footer { background: #2a2723; color: #d8d2c8; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.3rem; }
.site-footer .cols { display: grid; gap: 32px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #45403a; font-size: .85rem; color: #a8a196; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; }
.hours dt { color: inherit; }
.hours dd { margin: 0; white-space: nowrap; }

/* Floating WhatsApp */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.wa:hover { color: #fff; transform: scale(1.05); }

.portrait { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--accent-soft), var(--surface-2)); display: grid; place-items: center; color: var(--accent-strong); font-family: var(--serif); font-size: 4rem; border: 1px solid var(--line); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 28px; position: relative; margin: 8px 0; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); border: 4px solid var(--accent); box-sizing: border-box; }

/* Cartes articles avec photo */
.card.media { padding: 0; overflow: hidden; }
.card.media .cover { height: auto; flex: none; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.card.media .cover-empty { background: linear-gradient(135deg, var(--accent-soft), var(--surface-2)); }
.card.media .media-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card.media h3 { font-size: 1.15rem; }
.article-cover { width: 100%; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-top: 24px; }

/* Articles */
.article table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.2em 0; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 140px; }
.article th { background: var(--surface-2); font-weight: 600; }
.article h2 { font-size: 1.6rem; }
.article h3 { font-size: 1.2rem; }

/* Langues */
.main-nav a, .brand span, .header-cta { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1199px) { .main-nav a { padding: 7px 8px; font-size: .88rem; } .site-header .wrap { gap: 10px; } }
.langs-nav { display: flex; gap: 2px; }
.langs-nav a { display: inline-block !important; font-size: .82rem !important; color: var(--ink-soft) !important; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-size: .88rem; }
.lang-switch a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
:lang(he) body, [lang="he"] body { font-family: "Heebo", var(--sans); }
[dir="rtl"] body { font-family: "Heebo", var(--sans); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Heebo", var(--serif); font-weight: 600; letter-spacing: 0; }
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .list-check li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .list-check li::before { left: auto; right: 0; }
[dir="rtl"] .faq summary { padding: 16px 0 16px 36px; }
[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
[dir="rtl"] .wa { right: auto; left: 16px; }
.site-header .lang-switch + .header-cta { display: inline-flex; }
@media (max-width: 520px) { .site-header .lang-switch + .header-cta { display: none; } }

.prose .photo { margin: 28px 0; max-width: 420px; }
.prose .photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

.sos-logo { display: block; width: 120px; height: auto; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 16px; }

.place { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 4px 0; }
.place + .place { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.maps { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.map-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent-strong); font-size: .8rem; font-weight: 600; text-decoration: none; line-height: 1.4; }
.map-btn:hover { background: var(--accent-strong); color: #fff; }
.site-footer li .maps { display: flex; margin-top: 6px; margin-bottom: 8px; }
.site-footer .map-btn { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.site-footer .map-btn:hover { background: rgba(255,255,255,.12); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.nowrap { white-space: nowrap; }

.lang-fr { flex-shrink: 0; }
@media (max-width: 520px) {
  .site-header .wrap { gap: 8px; }
  .lang-fr { gap: 0; }
  .lang-fr a { padding: 6px 8px; }
  .lang-fr a[aria-current="page"] { display: none; }
  .nav-toggle { padding: 8px 12px; }
}
@media (max-width: 340px) { .brand strong { font-size: 1.02rem; } .brand span { font-size: .66rem; letter-spacing: .03em; } }
[dir="rtl"] .main-nav .sub { left: auto; right: 0; }
[dir="rtl"] .main-nav .sub a { padding-left: 12px; padding-right: 18px; }

