/* ==========================================================================
   Bereshit Santé — feuille de style unique
   Couleurs et typographie : modifier les variables ci-dessous.
   ========================================================================== */

:root {
  --bg: #faf6ee;          /* crème */
  --surface: #ffffff;
  --sand: #f2ebdd;        /* fond des sections alternées */
  --ink: #2a2723;         /* texte */
  --muted: #6a645a;       /* texte secondaire */
  --line: #e2d9c6;
  --green: #3e5b3a;       /* vert olive (couleur principale) */
  --green-dark: #2c4229;
  --green-soft: #e5ebdc;
  --red: #a3343f;         /* rouge grenade (accent) */
  --red-soft: #f6e6e3;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --maxw: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .93);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--green); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: .97rem;
}
.site-nav a:hover { background: var(--green-soft); color: var(--green-dark); }
.site-nav a[aria-current="page"] { color: var(--green-dark); font-weight: 600; background: var(--green-soft); }
.site-nav a.nav-cta { background: var(--green); color: #fff; margin-left: 6px; padding-inline: 18px; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { background: var(--green-dark); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s;
}
.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav a { padding: 12px 14px; border-radius: 10px; }
  .js .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--green);
  background: var(--green); color: #fff; font: 600 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-dark); }
.btn--ghost:hover { background: var(--green-soft); color: var(--green-dark); border-color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.eyebrow {
  display: inline-block; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Accueil : héros ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-hebrew { font-family: var(--serif); font-size: 1.5rem; color: var(--red); margin: 0 0 6px; text-align: left; }
.hero h1 em { font-style: italic; color: var(--green); font-weight: 500; }
.hero .lead { margin-top: 18px; }
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand);
  box-shadow: 0 30px 60px -30px rgba(62, 91, 58, .45);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual { position: relative; max-width: 400px; justify-self: center; width: 100%; }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.2);
  font-size: .9rem; line-height: 1.35; max-width: 230px;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--green-dark); }
@media (max-width: 820px) {
  .hero { padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 250px; order: -1; margin-bottom: 80px; } /* place pour l'encadré qui dépasse sous la photo */
  .arch { aspect-ratio: 1; }
  /* En bas à gauche, débordant de la photo sans sortir de l'écran (12px de marge minimum) */
  .hero-badge { left: max(-48px, calc((250px - 100vw) / 2 + 12px)); bottom: -80px; }
}

/* ---------- Trois piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.pillar svg { width: 36px; height: 36px; color: var(--green); margin-bottom: 14px; }
.pillar h3 { margin-bottom: .3em; }
.pillar p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cartes d'offre ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.offer-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.offer:hover .offer-img img { transform: scale(1.03); }
.offer-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.offer-body p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: baseline; font-size: .96rem; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-2px); }
.offer .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } }

/* ---------- Pathologies ---------- */
.conditions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.condition--tall { grid-row: span 2; }
@media (max-width: 980px) { .conditions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .conditions { grid-template-columns: 1fr; } .condition--tall { grid-row: auto; } }
.condition { background: var(--surface); border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line); }
.condition h3 { font-size: 1.08rem; margin-bottom: .35em; color: var(--green-dark); }
.condition p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* ---------- À propos ---------- */
.quote {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.35; font-style: italic;
  margin: 0 0 12px; color: var(--green-dark);
}
.quote-src { color: var(--muted); font-size: .95rem; }
.cv { list-style: none; padding: 0; margin: 0; }
.cv li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cv li:first-child { padding-top: 0; }
.cv li:last-child { border-bottom: 0; }

/* ---------- Encadrés ---------- */
.note {
  background: var(--red-soft); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0;
  padding: 18px 22px; font-size: .97rem;
}
.note p:last-child, .note ul:last-child, .note ol:last-child { margin-bottom: 0; }
.note > :first-child { margin-top: 0; }
.note--green { background: var(--green-soft); border-left-color: var(--green); }

.cta-band { background: var(--green); color: #eef2ea; border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--red-soft); border-color: var(--red-soft); }
.cta-band .btn-row { justify-content: center; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); position: relative; }
.page-hero::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; border-bottom: 1px solid var(--line); }
.page-hero--image { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .page-hero--image { grid-template-columns: 1fr; } }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Étapes (consultations) ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px 18px 70px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark); font: 600 1.05rem/34px var(--serif); text-align: center;
}
.steps h3 { font-size: 1.12rem; margin-bottom: .2em; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Tarifs ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.price-label { color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
.price-amount { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; color: var(--green-dark); margin-bottom: 6px; }
.price-amount small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.price p:last-child { margin: 0; font-size: .93rem; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; font-size: .97rem; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--sand); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Programme jour par jour (séjours) ---------- */
.days { display: grid; gap: 18px; }
.day {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.day-name { font-family: var(--serif); font-size: 1.4rem; color: var(--green-dark); line-height: 1.2; }
.day-name small { display: block; font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.day ul { margin: 0; padding-left: 1.1em; }
.day li + li { margin-top: 4px; }
.day-photos { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.day-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; }
@media (max-width: 640px) { .day { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.gallery--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery--wide img { aspect-ratio: 3 / 2; }

/* ---------- Articles ---------- */
.article-list { display: grid; gap: 24px; }
.article-card {
  display: grid; grid-template-columns: 260px 1fr; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
}
.article-card:hover { color: var(--ink); border-color: var(--green); }
.article-card img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.article-card div { padding: 24px 26px; }
.article-card p { color: var(--muted); margin-bottom: .6em; }
.article-card .more { color: var(--green); font-weight: 600; }
@media (max-width: 680px) { .article-card { grid-template-columns: 1fr; } .article-card img { aspect-ratio: 16/9; min-height: 0; } }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.04rem; }
.prose li + li { margin-top: .35em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: 12px; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red);
  font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--green-dark);
}
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.8em 0; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.recipe-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 1.6em 0; }
.recipe-box h3 { margin-top: 0; }
.recipe-box ul, .recipe-box ol { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.contact-email { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.4rem); word-break: break-all; }
.copy-btn { margin-left: 8px; font: 500 .85rem var(--sans); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; vertical-align: middle; }
.copy-btn:hover { border-color: var(--green); }

.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { min-height: 160px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-help { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { font-size: .95rem; margin: 0; color: var(--green-dark); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-dark); color: #d9e0d3; margin-top: clamp(56px, 8vw, 96px); padding-block: 48px 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3c9c4; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 6px; }
.footer-title { font-weight: 600; color: #fff; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; font-size: .88rem; color: #b8c2b1; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.site-footer.no-gap { margin-top: 0; }

.price-amount--text { font-size: 1.4rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.figure-portrait img { max-height: 520px; width: auto; margin-inline: auto; }
mark { background: #fff1a8; padding: 0 4px; border-radius: 3px; }

/* ---------- Dates : séjours et ateliers (gérés dans l'administration) ---------- */
.events { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
}
.event-date {
  margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green-dark); border-radius: 12px; padding: 8px 4px; line-height: 1.1;
}
.event-day { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.event-month { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.event-year { font-size: .75rem; color: var(--muted); }
.event-type { margin: 0 0 2px; font: 600 .76rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.event h3 { margin: 0 0 4px; font-size: 1.2rem; }
.event-meta { margin: 0; color: var(--muted); font-size: .95rem; }
.event-desc { margin-top: 8px; font-size: .95rem; }
.event-desc p:last-child { margin-bottom: 0; }
.event-action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.event-tarif { text-align: right; }
.event-price { margin: 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.1; color: var(--green-dark); white-space: nowrap; }
.event-acompte { margin: 2px 0 0; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.event.is-annule { opacity: .7; }
.event.is-annule h3 { text-decoration: line-through; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge--ouvert { background: var(--green-soft); color: var(--green-dark); }
.badge--complet { background: var(--red-soft); color: var(--red); }
.badge--annule { background: #ece9e3; color: var(--muted); }
.btn--small { padding: 9px 18px; font-size: .92rem; }
@media (max-width: 640px) {
  .event { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  /* Tarif à gauche (ou rien), disponibilité toujours à droite, « S'inscrire » centré sur sa propre ligne */
  .event-action { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .event-tarif { grid-column: 1; text-align: left; }
  .event-action .badge { grid-column: 2; justify-self: end; }
  .event-action .btn { grid-column: 1 / -1; justify-self: center; min-width: 60%; }
}

/* Atelier avec description : fiche dépliable */
.event-fiche { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.event-fiche > summary { list-style: none; cursor: pointer; border: 0; background: transparent; }
.event-fiche > summary::-webkit-details-marker { display: none; }
.event-fiche > summary:hover h3 { color: var(--green-dark); }
.event-fiche > summary:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; border-radius: var(--radius); }
.event-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--green); }
.event-toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.event-fiche[open] .event-toggle { font-size: 0; }
.event-fiche[open] .event-toggle::before { content: "Masquer le détail"; font-size: .9rem; }
.event-fiche[open] .event-toggle::after { transform: translateY(2px) rotate(-135deg); }
.event-detail { padding: 4px 22px 22px 118px; }
.event-detail > :first-child { margin-top: 0; }
.event-detail > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .event-detail { padding: 0 16px 18px; } }
.event h3 a { color: inherit; text-decoration: none; }
.event h3 a:hover { color: var(--green); text-decoration: underline; }

/* Accueil : 1 à 3 cartes selon les pages visibles */
.offers--3 { grid-template-columns: repeat(3, 1fr); }
.offers--1 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
@media (max-width: 1000px) { .offers--3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.cta-band a:not(.btn) { color: #fff; }
.note a { color: inherit; }
.article-meta { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.article-card--text { grid-template-columns: 1fr; }
.lead p:last-child { margin-bottom: 0; }

/* Aperçu depuis l'administration */
.preview-banner {
  position: sticky; top: 68px; z-index: 40; margin: 0; padding: 8px var(--gutter);
  background: #fff1a8; color: #5c4d00; text-align: center; font-weight: 600; font-size: .9rem;
}

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
