/* ===== Polices auto-hébergées (pas d'appel à Google Fonts) ===== */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===== Palette (reprise du logo) ===== */
:root {
  --creme: #F6F6F2;
  --creme-2: #E9EBE2;
  --papier: #FFFFFF;
  --olive: #3B4626;
  --olive-2: #4A5A2E;
  --sauge: #8A9A54;
  --brique: #B8462A;
  --brique-2: #C0492E;
  --ocre: #D9A521;
  --texte: #2F3820;
  --texte-doux: #5D6650;
  --ligne: rgba(59,70,38,.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --largeur: 1080px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--creme); color: var(--texte);
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-2); text-decoration: none; border-bottom: 1px solid rgba(74,90,46,.35); }
a:hover { color: var(--brique); border-bottom-color: rgba(184,70,42,.5); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--olive); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(34px, 5vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
strong { font-weight: 500; color: var(--olive); }
.wrap { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }

/* Repère visible pour les infos à compléter avant mise en ligne */
.todo { background: #FFE58A; color: #6B2B12; padding: 0 .3em; border-radius: 3px; font-weight: 500; }

/* ===== En-tête ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,246,242,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; border: 0; color: var(--olive); }
.brand:hover { color: var(--olive); }
.brand img { width: 68px; height: 68px; mix-blend-mode: multiply; }
.brand span { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive-2); white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--creme-2); color: var(--brique); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; border: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: var(--olive-2); color: var(--creme); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brique); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--olive-2); box-shadow: inset 0 0 0 1px rgba(74,90,46,.45); }
.btn.ghost:hover { background: var(--olive-2); color: var(--creme); }

/* ===== Héros ===== */
.hero { position: relative; overflow: hidden; padding: 105px 0 90px; text-align: center; }
.garland { position: absolute; top: 0; left: 0; right: 0; height: 85px; pointer-events: none; }
.garland i { position: absolute; left: var(--x); top: var(--y); width: var(--d); height: var(--d); border-radius: 50%; background: var(--c); transform: translate(-50%, -50%); }
.garland svg { width: 100%; height: 100%; display: block; }
.garland .t1 { animation: twinkle 4.5s ease-in-out infinite; }
.garland .t2 { animation: twinkle 6.2s ease-in-out 1.1s infinite; }
.garland .t3 { animation: twinkle 5.4s ease-in-out .6s infinite; }
@keyframes twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .35; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-inner { animation: riseIn 1.1s cubic-bezier(.2,.7,.2,1) .2s both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--brique);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 40px; height: 1px; background: rgba(59,70,38,.35); }
.hero h1 { font-size: clamp(44px, 7.5vw, 84px); margin: 18px 0 18px; }
.hero h1 em { font-style: italic; color: var(--olive-2); }
.hero .lead { max-width: 640px; margin: 0 auto 30px; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.5; color: var(--texte); }
.values {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin: 0 0 36px;
  font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-2);
}
.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ===== Sections ===== */
section.block { padding: 90px 0; }
section.block.page { position: relative; overflow: hidden; padding-top: 105px; min-height: 60vh; }
.section-head h1 { font-size: clamp(38px, 5.5vw, 54px); }
section.block.alt { background: var(--papier); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--texte-doux); font-size: 18px; }
.kicker { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--brique); font-weight: 400; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.card {
  background: var(--papier); border: 1px solid var(--ligne); border-radius: 18px; padding: 28px;
}
section.block.alt .card { background: var(--creme); }
.card h3 { margin-bottom: .35em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--creme-2);
}
.icon svg { width: 28px; height: 28px; }
.card.center { text-align: center; }
.card.center .icon { margin-left: auto; margin-right: auto; }

.activities { list-style: none; padding: 0; margin: 0; }
.activities li { padding: 6px 0 6px 22px; position: relative; }
.activities li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--sauge)); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.fact { border-left: 2px solid var(--ocre); padding: 2px 0 2px 18px; }
.fact b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--olive); }
.fact span { color: var(--texte-doux); font-size: 15px; }

/* ===== Inscription ===== */
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; color: var(--olive); text-align: center; max-width: 720px; margin: 0 auto 44px; }
.join { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 14px; }
.price b { font-family: var(--serif); font-size: 64px; font-weight: 500; color: var(--brique); line-height: 1; }
.price span { color: var(--texte-doux); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 26px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 46px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--olive-2); color: var(--creme); font-size: 14px; font-weight: 500;
}
.qr { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qr img { width: 210px; height: 210px; image-rendering: pixelated; background: #fff; padding: 12px; border-radius: 12px; border: 1px solid var(--ligne); margin: 8px 0 16px; }
.small { font-size: 14px; color: var(--texte-doux); }
.paylist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.paylist li { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--creme-2); color: var(--olive); }

/* ===== Événements ===== */
.events { display: grid; gap: 22px; }
.event { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.date {
  text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--ligne); background: var(--papier);
}
.date .m { display: block; background: var(--brique); color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.date .d { display: block; font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1.1; color: var(--olive); padding-top: 6px; }
.date .y { display: block; font-size: 13px; color: var(--texte-doux); padding-bottom: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 12px; color: var(--olive-2); font-weight: 400; }
.meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta svg { width: 18px; height: 18px; flex: none; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brique); margin-bottom: 6px; }
.no-event { text-align: center; color: var(--texte-doux); }
.note {
  margin-top: 34px; padding: 18px 22px; border-radius: 14px; background: var(--creme-2); font-size: 15px; color: var(--texte-doux);
}
.note strong { color: var(--olive); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; gap: 22px; }
.contact-grid .card { text-align: center; }
.contact-grid .big { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--olive); }

/* ===== Pied de page ===== */
.site-footer { background: var(--olive); color: rgba(246,246,242,.82); padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: var(--creme); border-bottom-color: rgba(246,246,242,.35); }
.site-footer a:hover { color: var(--ocre); border-bottom-color: var(--ocre); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.footer-brand b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--creme); }
.site-footer h4 { margin: 0 0 12px; font-size: 12px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--ocre); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(246,246,242,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(246,246,242,.6); }
.site-footer .todo { color: #6B2B12; }
.social { margin: 18px 0 0; }
.social a { display: inline-block; width: 34px; height: 34px; border: 0; color: var(--creme); opacity: .85; transition: color .2s, opacity .2s; }
.social a:hover { color: var(--ocre); opacity: 1; }
.social svg { width: 100%; height: 100%; fill: currentColor; display: block; }

/* ===== Page mentions légales ===== */
.legal { padding: 70px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); }
.legal h2 { font-size: 30px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ligne); }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 500; color: var(--olive); }
.legal dd { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3, .facts, .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .join { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 112px; }
  .site-header .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; padding-bottom: 6px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 22px; }
  .nav ul { justify-content: space-between; gap: 0; overflow-x: auto; }
  .nav a { padding: 8px 6px; font-size: 10.5px; letter-spacing: .05em; }
  .hero { padding: 88px 0 64px; }
  .garland { height: 60px; }
  .garland i { width: calc(var(--d) * .8); height: calc(var(--d) * .8); }
  .eyebrow { font-size: 11px; letter-spacing: .16em; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
  section.block { padding: 64px 0; }
  section.block.page { padding-top: 88px; }
  .event { grid-template-columns: 1fr; gap: 14px; }
  .date { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left; padding-right: 14px; }
  .date .m { padding: 12px 14px; align-self: stretch; display: grid; place-items: center; }
  .date .d { font-size: 34px; padding: 0; }
  .date .y { padding: 0; }
  .card { padding: 22px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
