/* Pages publiques Ashabi Heritage (Orikis, Bibliotheque, Trainings & Camp, Contact, pages legales)
   et navigation commune. S'appuie sur les variables et composants "ash-*" de style.css. */

:root {
	--ash-green: #302016;
	--ash-green-2: #4A3424;
	--ash-cream: #F7F3EC;
	--ash-cream-2: #EFE9DC;
	--ash-sand: #D8D2C4;
	--ash-gold: #66701A; /* olive fonce : lisible sur fond clair (olive vif #8F9B22 sur fonds sombres) */
	--ash-bordeaux: #7B5B43;
	--ash-ink: #1d1b1f;
	--ash-muted: #5F5A50;
	--ash-radius: 18px;
}

body.ash-site { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--ash-cream); color: var(--ash-ink); }
.ash-main { min-height: 60vh; padding-top: 76px; }
body.ash-authed .ash-main { padding-top: 72px; }
.ash-main a { text-decoration: none; }

/* ---------- Navigation : toujours visible, burger sur petits ecrans ---------- */
.ashabi-app-nav.ash-site-nav { display: block; }
.ash-site-nav .ashabi-app-nav-links a { white-space: nowrap; }
.ash-burger {
	display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(247, 243, 236, .25);
	background: transparent; position: relative; cursor: pointer; flex: 0 0 42px;
}
.ash-burger span, .ash-burger span::before, .ash-burger span::after {
	position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 2px; background: #F7F3EC; content: ""; transition: transform .2s, top .2s, opacity .2s;
}
.ash-burger span { top: 20px; }
.ash-burger span::before { left: 0; top: -6px; }
.ash-burger span::after { left: 0; top: 6px; }
.ash-burger.open span { background: transparent; }
.ash-burger.open span::before { top: 0; transform: rotate(45deg); }
.ash-burger.open span::after { top: 0; transform: rotate(-45deg); }
.ash-mobile-menu {
	position: absolute; top: 100%; left: 0; right: 0; background: #1C1917; padding: 12px 18px 20px;
	display: flex; flex-direction: column; gap: 2px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5);
}
.ashabi-guest-nav .ash-mobile-menu { background: var(--ash-green); }
.ash-mobile-menu[hidden] { display: none; }
.ash-mobile-menu a { color: #F7F3EC; padding: 12px 10px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.ash-mobile-menu a:hover, .ash-mobile-menu a.active { background: rgba(247, 243, 236, .1); color: #fff; text-decoration: none; }
.ash-mobile-menu hr { border: 0; border-top: 1px solid rgba(247, 243, 236, .15); margin: 8px 0; }

@media (max-width: 1180px) {
	.ash-site-nav .ashabi-app-nav-links { display: none; }
	.ash-site-nav .ash-burger { display: inline-block; }
	.ash-site-nav .ashabi-app-account { display: none; }
}
@media (max-width: 1080px) {
	.ashabi-guest-nav .ashabi-guest-links { display: none; }
	.ashabi-guest-nav .ash-burger { display: inline-block; }
}
@media (max-width: 640px) {
	.ashabi-guest-nav .ashabi-guest-login { display: none; }
	.ashabi-guest-nav .ashabi-guest-cta { padding: 10px 14px; font-size: 13px; }
}

/* ---------- Structure ---------- */
.ash-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ash-container-narrow { max-width: 820px; }
.ash-page-hero { background: var(--ash-green); color: var(--ash-cream); padding: 64px 0 56px; position: relative; overflow: hidden; }
.ash-page-hero::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(143, 155, 34, .28), transparent 65%); pointer-events: none;
}
.ash-page-hero h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin: 12px 0 14px; color: #FFFBF4; max-width: 820px; }
.ash-page-hero h1 em { color: #BAC251; }
.ash-page-hero p.lead { max-width: 680px; font-size: 17px; line-height: 1.65; color: #D9DCB0; margin: 0; }
.ash-page-hero .ash-hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.ash-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(247, 243, 236, .1); color: #F7F3EC; font-size: 13px; font-weight: 600; }
.ash-page-body { padding: 56px 0 90px; }
.ash-breadcrumb { font-size: 13px; color: #A9B255; margin-bottom: 6px; }
.ash-breadcrumb a { color: #D9DCB0; }
.ash-breadcrumb a:hover { color: #fff; }

.ash-flash { max-width: 1180px; margin: 20px auto 0; padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.ash-flash-ok { background: #EEF0D8; color: #4F5712; border: 1px solid #D9DCB0; }
.ash-flash-err { background: #F7E1E4; color: #8A3B12; border: 1px solid #ECC3CA; }
.ash-empty { padding: 48px 24px; text-align: center; color: var(--ash-muted); border: 1.5px dashed var(--ash-sand); border-radius: var(--ash-radius); background: rgba(255, 255, 255, .5); }

.ash-card { background: #fff; border: 1px solid #E6DFD1; border-radius: var(--ash-radius); }
.ash-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ash-badge-new { background: #EFF1DA; color: #4F5712; }
.ash-badge-free { background: #EEF0D8; color: #4F5712; }
.ash-badge-paid { background: #F7E1E4; color: #8A3B12; }
.ash-badge-member { background: #E7E4F3; color: #3D3470; }
.ash-badge-soon { background: #EFE9DC; color: #6B6458; }

.ash-btn-sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.ash-btn-green { background: var(--ash-green); color: #fff !important; }
.ash-btn-green:hover { background: #21150E; }
.ash-btn-ghost-light { background: transparent; border: 1px solid rgba(247, 243, 236, .35); color: #F7F3EC !important; }
.ash-btn-ghost-light:hover { border-color: #F7F3EC; }
.ash-btn[disabled], .ash-btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ---------- Formulaires ---------- */
.ash-form { display: grid; gap: 16px; }
.ash-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ash-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.ash-field { display: flex; flex-direction: column; gap: 7px; }
.ash-field label { font-size: 13px; font-weight: 700; color: var(--ash-ink); margin: 0; }
.ash-field label small { font-weight: 500; color: var(--ash-muted); }
.ash-field input, .ash-field select, .ash-field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #DCD4C6; border-radius: 12px; background: #fff;
	font: inherit; font-size: 15px; color: var(--ash-ink); transition: border-color .15s, box-shadow .15s;
}
.ash-field textarea { min-height: 140px; resize: vertical; }
.ash-field input:focus, .ash-field select:focus, .ash-field textarea:focus { outline: none; border-color: var(--ash-green); box-shadow: 0 0 0 3px rgba(48, 32, 22, .12); }
.ash-field .ash-field-error { color: #9B1B30; font-size: 13px; font-weight: 600; }
.ash-fieldset { border: 1px solid #E6DFD1; border-radius: var(--ash-radius); padding: 22px; background: #FFFDF9; }
.ash-fieldset legend { width: auto; padding: 0 10px; margin: 0; font-family: 'Instrument Serif', serif; font-size: 24px; color: var(--ash-green); }
.ash-form-note { font-size: 13px; color: var(--ash-muted); }
.ash-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 720px) {
	.ash-form-row, .ash-form-row-3 { grid-template-columns: 1fr; }
}

/* ---------- Orikis ---------- */
.ash-alpha { position: sticky; top: 76px; z-index: 5; background: rgba(247, 243, 236, .94); backdrop-filter: blur(6px); border-bottom: 1px solid #E6DFD1; }
body.ash-authed .ash-alpha { top: 72px; }
.ash-alpha-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 24px; max-width: 1180px; margin: 0 auto; }
.ash-alpha a, .ash-alpha span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; font-size: 14px; }
.ash-alpha a { color: var(--ash-green); background: #fff; border: 1px solid #E6DFD1; }
.ash-alpha a:hover, .ash-alpha a.active { background: var(--ash-green); color: #fff; border-color: var(--ash-green); }
.ash-alpha span { color: #C3BBAD; }
.ash-alpha .ash-alpha-search { margin-left: auto; position: relative; }
.ash-alpha .ash-alpha-search input { height: 40px; width: 260px; border-radius: 999px; border: 1px solid #DCD4C6; padding: 0 16px 0 38px; font-size: 14px; background: #fff; }
.ash-alpha .ash-alpha-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9A9283; font-size: 14px; }
@media (max-width: 760px) { .ash-alpha .ash-alpha-search { margin-left: 0; width: 100%; } .ash-alpha .ash-alpha-search input { width: 100%; } }

.ash-oriki-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; margin-bottom: 44px; }
.ash-oriki-intro h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 34px; color: var(--ash-green); margin: 6px 0 12px; }
.ash-oriki-intro p { color: var(--ash-muted); line-height: 1.7; font-size: 16px; }
.ash-oriki-quote { background: var(--ash-green); color: #EDE5D3; border-radius: var(--ash-radius); padding: 28px; font-family: 'Instrument Serif', serif; font-size: 23px; line-height: 1.35; position: relative; }
.ash-oriki-quote::before { content: "\201C"; position: absolute; top: -18px; left: 20px; font-size: 90px; color: var(--ash-gold); line-height: 1; }
.ash-oriki-quote small { display: block; margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #A9B255; }
@media (max-width: 900px) { .ash-oriki-intro { grid-template-columns: 1fr; } }

.ash-letter-group { margin-bottom: 40px; scroll-margin-top: 150px; }
.ash-letter-group h3 { display: flex; align-items: center; gap: 14px; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 44px; color: var(--ash-bordeaux); margin: 0 0 18px; }
.ash-letter-group h3::after { content: ""; flex: 1; height: 1px; background: #E2DACB; }
.ash-oriki-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ash-oriki-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
.ash-oriki-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(48, 32, 22, .45); border-color: #CFC4B0; color: inherit; }
.ash-oriki-card-head { display: flex; align-items: center; gap: 14px; }
.ash-monogram { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 28px; color: #F7F3EC; background: linear-gradient(135deg, var(--ash-green), var(--ash-green-2)); overflow: hidden; }
.ash-monogram img { width: 100%; height: 100%; object-fit: cover; }
.ash-oriki-card strong { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 25px; line-height: 1.05; color: var(--ash-green); display: block; }
.ash-oriki-card small { color: var(--ash-muted); font-size: 13px; }
.ash-oriki-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ash-muted); flex: 1; }
.ash-oriki-card .ash-badge-new { position: absolute; top: 14px; right: 14px; }
.ash-oriki-card .ash-more { font-size: 13px; font-weight: 700; color: var(--ash-bordeaux); }
.ash-oriki-card.is-draft p { font-style: italic; color: #9A9283; }

.ash-oriki-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.ash-oriki-section { padding: 28px; margin-bottom: 20px; }
.ash-oriki-section h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; color: var(--ash-green); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.ash-oriki-section h2 i { font-size: 18px; color: var(--ash-gold); }
.ash-oriki-section .ash-text { white-space: pre-line; line-height: 1.75; font-size: 16px; color: #3A372F; }
.ash-oriki-litany { background: linear-gradient(160deg, #302016, #4A3424); color: #F2EBDB; border: 0; }
.ash-oriki-litany h2 { color: #F7F3EC; }
.ash-oriki-litany .ash-text { font-family: 'Instrument Serif', serif; font-size: 23px; line-height: 1.5; color: #F2EBDB; font-style: italic; }
.ash-oriki-pending { padding: 30px; text-align: center; color: var(--ash-muted); }
.ash-oriki-pending i { font-size: 28px; color: var(--ash-gold); margin-bottom: 10px; display: block; }
.ash-aside-card { padding: 24px; margin-bottom: 18px; }
.ash-aside-card .ash-monogram { width: 100%; height: 220px; border-radius: 14px; font-size: 92px; margin-bottom: 16px; }
.ash-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ash-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px dashed #E6DFD1; padding-bottom: 8px; }
.ash-facts li span:first-child { color: var(--ash-muted); }
.ash-facts li span:last-child { font-weight: 700; text-align: right; }
.ash-aside-cta { background: var(--ash-bordeaux); color: #FFF6F2; border: 0; }
.ash-aside-cta h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 26px; margin: 0 0 8px; color: #fff; }
.ash-aside-cta p { font-size: 14px; line-height: 1.6; color: #F5D9DE; }
.ash-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.ash-prevnext a { padding: 16px 18px; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.ash-prevnext a:hover { border-color: var(--ash-green); }
.ash-prevnext small { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash-muted); }
.ash-prevnext strong { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 21px; color: var(--ash-green); }
.ash-prevnext .ash-next { text-align: right; }
@media (max-width: 960px) { .ash-oriki-detail { grid-template-columns: 1fr; } }

/* ---------- Bibliotheque ---------- */
.ash-lib { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.ash-lib-cats { padding: 18px; position: sticky; top: 100px; }
.ash-lib-cats h3 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash-muted); margin: 4px 6px 12px; }
.ash-lib-cats button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ash-ink); cursor: pointer; text-align: left; }
.ash-lib-cats button span { font-size: 12px; color: var(--ash-muted); font-weight: 600; }
.ash-lib-cats button:hover { background: var(--ash-cream); }
.ash-lib-cats button.active { background: var(--ash-green); color: #fff; }
.ash-lib-cats button.active span { color: #D9DCB0; }
.ash-lib-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ash-lib-toolbar h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 32px; color: var(--ash-green); margin: 0; }
.ash-lib-search { position: relative; }
.ash-lib-search input { height: 46px; width: 320px; max-width: 100%; border-radius: 999px; border: 1px solid #DCD4C6; padding: 0 18px 0 42px; font-size: 14px; background: #fff; }
.ash-lib-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9A9283; }
.ash-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ash-res { display: flex; flex-direction: column; padding: 20px; gap: 12px; }
.ash-res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ash-res-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--ash-cream); color: var(--ash-green); font-size: 20px; }
.ash-res .ash-kicker { font-size: 10.5px; color: var(--ash-gold); }
.ash-res h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 23px; line-height: 1.12; color: var(--ash-green); margin: 0; }
.ash-res p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ash-muted); flex: 1; }
.ash-res-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.ash-res-price { font-weight: 800; color: var(--ash-ink); font-size: 15px; }
.ash-pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.ash-pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid #DCD4C6; background: #fff; font-weight: 700; cursor: pointer; }
.ash-pager button.active { background: var(--ash-green); color: #fff; border-color: var(--ash-green); }
@media (max-width: 900px) { .ash-lib { grid-template-columns: 1fr; } .ash-lib-cats { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .ash-lib-cats h3 { width: 100%; } .ash-lib-cats button { width: auto; } .ash-lib-cats button span { margin-left: 8px; } }

.ash-modal-back { position: fixed; inset: 0; background: rgba(18, 23, 20, .62); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px; overflow-y: auto; }
.ash-modal-back[hidden] { display: none; }
.ash-modal { background: #FFFDF9; border-radius: 22px; max-width: 760px; width: 100%; padding: 34px; position: relative; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.ash-modal h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 36px; color: var(--ash-green); margin: 6px 40px 16px 0; }
.ash-modal .ash-text { white-space: pre-line; line-height: 1.8; font-size: 16px; color: #3A372F; }
.ash-modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E6DFD1; background: #fff; cursor: pointer; font-size: 18px; }

/* ---------- Trainings & Camp ---------- */
.ash-programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ash-program { overflow: hidden; display: flex; flex-direction: column; }
.ash-program-cover { height: 170px; background: linear-gradient(135deg, #4A3424, #302016); position: relative; display: flex; align-items: center; justify-content: center; color: rgba(247, 243, 236, .35); font-size: 52px; }
.ash-program-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ash-program-date { position: absolute; left: 16px; bottom: -22px; width: 64px; height: 64px; border-radius: 16px; background: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ash-bordeaux); line-height: 1; }
.ash-program-date b { font-size: 24px; font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--ash-green); }
.ash-program-date span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ash-program-date.is-soon span { font-size: 9.5px; text-align: center; padding: 0 4px; }
.ash-program-body { padding: 34px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ash-program-body h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--ash-green); margin: 0; }
.ash-program-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ash-muted); }
.ash-program-meta i { color: var(--ash-gold); margin-right: 4px; }
.ash-program-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ash-muted); flex: 1; }
.ash-program-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ash-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ash-filter-row button { padding: 9px 16px; border-radius: 999px; border: 1px solid #DCD4C6; background: #fff; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--ash-ink); }
.ash-filter-row button.active { background: var(--ash-green); border-color: var(--ash-green); color: #fff; }

.ash-camp { background: linear-gradient(180deg, #2A1810 0%, #4A2716 55%, #7A3B1C 100%); color: #FBEBDC; border-radius: 28px; overflow: hidden; margin-top: 70px; }
.ash-camp-hero { padding: 54px 48px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.ash-camp-hero h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1; margin: 10px 0 16px; color: #FFF4E6; }
.ash-camp-hero h2 em { color: #F2B26B; }
.ash-camp-hero p { color: #EBCDB4; line-height: 1.7; font-size: 16px; }
.ash-camp-fire { position: relative; height: 260px; display: flex; align-items: flex-end; justify-content: center; }
.ash-camp-fire .ash-fire-glow { position: absolute; bottom: 10px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 140, 60, .55), rgba(242, 140, 60, 0) 65%); animation: ashGlow 3s ease-in-out infinite; }
.ash-camp-fire i { position: relative; font-size: 110px; color: #F29A4A; filter: drop-shadow(0 0 22px rgba(242, 154, 74, .7)); }
@keyframes ashGlow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
.ash-camp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 48px 40px; }
.ash-camp-pillar { background: rgba(255, 244, 230, .07); border: 1px solid rgba(255, 244, 230, .14); border-radius: 18px; padding: 20px; }
.ash-camp-pillar i { color: #F2B26B; font-size: 22px; }
.ash-camp-pillar h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 24px; margin: 10px 0 6px; color: #FFF4E6; }
.ash-camp-pillar p { margin: 0; font-size: 14px; line-height: 1.6; color: #E5C6AB; }
.ash-camp-form { background: #FFFDF9; color: var(--ash-ink); padding: 40px 48px 46px; }
.ash-camp-form h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 34px; color: #5A2A12; margin: 0 0 6px; }
.ash-camp-form .ash-fieldset legend { color: #7A3B1C; }
@media (max-width: 900px) {
	.ash-camp-hero { grid-template-columns: 1fr; padding: 40px 24px 24px; }
	.ash-camp-fire { height: 160px; }
	.ash-camp-pillars { grid-template-columns: 1fr; padding: 0 24px 28px; }
	.ash-camp-form { padding: 30px 22px; }
}

/* ---------- Contact ---------- */
.ash-contact { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: start; }
.ash-contact-info { padding: 28px; background: var(--ash-green); color: #EDE5D3; border: 0; }
.ash-contact-info h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 32px; color: #fff; margin: 0 0 18px; }
.ash-contact-info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ash-contact-info li { display: flex; gap: 14px; font-size: 15px; line-height: 1.5; }
.ash-contact-info li i { color: #BAC251; margin-top: 4px; width: 18px; }
.ash-contact-info a { color: #fff; }
.ash-contact-form { padding: 30px; }
@media (max-width: 900px) { .ash-contact { grid-template-columns: 1fr; } }

/* ---------- Pages legales ---------- */
.ash-prose { padding: 40px 44px; }
.ash-prose h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; color: var(--ash-green); margin: 34px 0 10px; }
.ash-prose h2:first-child { margin-top: 0; }
.ash-prose h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.ash-prose p, .ash-prose li { font-size: 16px; line-height: 1.8; color: #3A372F; }
.ash-prose ul, .ash-prose ol { padding-left: 22px; }
.ash-prose a { color: var(--ash-bordeaux); text-decoration: underline; }
.ash-prose-meta { margin-top: 26px; font-size: 13px; color: var(--ash-muted); }
@media (max-width: 640px) { .ash-prose { padding: 26px 20px; } }

/* ---------- Pied de page ---------- */
.ash-footer-contact { margin-top: 16px !important; font-size: 13px !important; line-height: 1.8 !important; color: #8FA492; }
.ash-footer-contact a { color: #C3CFC1; }
.ash-footer-contact a:hover { color: #fff; }

/* ---------- Page arbre : la barre de navigation est toujours affichee ---------- */
.mh-page .ashabi-app-nav.ash-site-nav ~ .mh-app { top: 72px; }

/* Les anciennes regles generiques (".pt-login h3"...) ne doivent pas toucher les nouvelles pages. */
.ash-main h1, .ash-main h2, .ash-main h3, .ash-main h4, .ash-footer h3 { padding: 0; border: 0; }

/* ---------- Palette Ashabi : framboise #7B5B43 + olive #8F9B22 ---------- */
.ashabi-app-nav.ash-site-nav, .ash-mobile-menu { background: #302016; }
/* Olive : vif (#8F9B22) sur fonds sombres et aplats ; fonce (#66701A) pour le texte sur fonds clairs. */
:root { --ashbi-gold: #66701A; }
.ash-steps span, .ash-plan-card li i, .ash-faq-list summary span, .ash-res .ash-kicker { color: #66701A; }
.ashabi-app-brand-kicker { color: #8F9B22; }
.ashabi-app-avatar { background: #EFE6DC; }

/* ---------- Abonnements et commandes ---------- */
.ash-period { display: inline-flex; background: #fff; border: 1px solid #E6DFD1; border-radius: 999px; padding: 4px; margin: 0 auto 28px; position: relative; left: 50%; transform: translateX(-50%); }
.ash-period button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--ash-muted); cursor: pointer; }
.ash-period button.on { background: #7B5B43; color: #fff; }
.ash-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: start; }
.ash-plan { padding: 30px 26px; position: relative; }
.ash-plan.is-featured { border: 2px solid #7B5B43; box-shadow: 0 24px 50px -28px rgba(123, 91, 67, .45); }
.ash-plan-flag { position: absolute; top: -13px; left: 24px; background: #8F9B22; color: #1E1A1C; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.ash-plan h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 32px; margin: 0 0 10px; color: #302016; }
.ash-plan .ash-plan-price { margin-bottom: 18px; }
.ash-plan .ash-plan-price b { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 44px; color: #1E1A1C; }
.ash-plan .ash-plan-price span { color: var(--ash-muted); font-size: 14px; }
.ash-plan-cta .ash-btn { width: 100%; }
.ash-plan-features { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.ash-plan-features i { width: 18px; color: #66701A; }
.ash-plan-features li.off { color: #A49E97; }
.ash-plan-features li.off i { color: #C9C3BA; }
.ash-plans-note { text-align: center; color: var(--ash-muted); margin: 28px 0 0; font-size: 14px; }
.ash-btn.is-disabled { opacity: .55; pointer-events: none; }

.ash-checkout-page { padding: 34px 0 70px; }
.ash-back { display: inline-flex; gap: 8px; align-items: center; color: var(--ash-muted); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.ash-page-title { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 40px; color: #302016; margin: 0 0 22px; }
.ash-steps-bar { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.ash-steps-bar li { flex: 1; text-align: center; padding: 10px 6px; border-radius: 10px; background: #EFE9DC; color: var(--ash-muted); font-size: 13px; font-weight: 700; }
.ash-steps-bar li.on { background: #7B5B43; color: #fff; }
.ash-steps-bar li.done { background: #EEF0D8; color: #4F5712; }
.ash-checkout { display: grid; gap: 18px; }
.ash-checkout-box { padding: 26px 28px; margin-bottom: 18px; }
.ash-checkout .ash-checkout-box { margin-bottom: 0; }
.ash-checkout-box h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 34px; color: #302016; margin: 6px 0 16px; }
.ash-checkout-box h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 26px; color: #302016; margin: 0 0 14px; }
.ash-checkout-line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F0EADF; align-items: center; }
.ash-checkout-line:last-child { border-bottom: 0; }
.ash-checkout-total b { font-size: 24px; color: #7B5B43; }
.ash-muted-text { color: var(--ash-muted); font-size: 14.5px; line-height: 1.6; margin: 12px 0; }
.ash-delivery { display: grid; gap: 10px; margin-bottom: 12px; }
.ash-delivery-opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid #E6DFD1; border-radius: 12px; padding: 13px 16px; cursor: pointer; margin: 0; }
.ash-delivery-opt:has(input:checked) { border-color: #7B5B43; background: #F7F1EA; }
.ash-delivery-opt input { accent-color: #7B5B43; width: 18px; height: 18px; }
.ash-delivery-opt span { display: flex; justify-content: space-between; flex: 1; gap: 10px; flex-wrap: wrap; }
.ash-delivery-opt small { color: #66701A; font-weight: 700; font-size: 13px; }
.ash-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.ash-mono-ref { font-family: 'JetBrains Mono', monospace !important; letter-spacing: .04em; }
.ash-checkout-box h1.ash-mono-ref { font-size: 28px; }
.ash-order-status { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #EFE9DC; color: var(--ash-muted); white-space: nowrap; }
.ash-order-status.is-awaiting { background: #F7F1EA; color: #7B5B43; }
.ash-order-status.is-verifying { background: #EFF1DA; color: #4F5712; }
.ash-order-status.is-paid { background: #EEF0D8; color: #3A400E; }
.ash-order-status.is-rejected { background: #F7E1E4; color: #8A3B12; }
.ash-pay-steps { padding-left: 20px; margin: 0 0 8px; display: grid; gap: 12px; line-height: 1.6; }
.ash-momo { list-style: none; padding: 0; margin: 8px 0 4px; display: grid; gap: 6px; }
.ash-momo li { background: #F7F1EA; border: 1px solid #E6D8CA; border-radius: 10px; padding: 9px 12px; font-weight: 700; color: #302016; }
.ash-momo i { color: #7B5B43; margin-right: 6px; }
.ash-order-ok, .ash-order-wait { text-align: center; }
.ash-order-ok > i, .ash-order-wait > i { font-size: 40px; color: #66701A; margin-bottom: 10px; }
.ash-order-wait > i { color: #7B5B43; }
.ash-link-btn { background: none; border: 0; color: var(--ash-muted); text-decoration: underline; cursor: pointer; font-size: 13.5px; }
.ash-order-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F0EADF; color: inherit !important; align-items: center; }
.ash-order-row:last-child { border-bottom: 0; }
.ash-order-row small { color: var(--ash-muted); }
.ash-order-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
@media (max-width: 640px) {
	.ash-checkout-box { padding: 20px 18px; }
	.ash-steps-bar li { font-size: 11.5px; }
}

/* ---------- Accueil : haut de page anime (rubriques du menu) ---------- */
.ash-hero { --tab-dur: 5.5s; position: relative; }
.ash-in { animation: ash-reveal .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * .12s + .1s); }
.ash-hero-copy h1 .ash-rotator { display: grid; font-style: italic; }
.ash-rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(.38em); filter: blur(8px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease; }
.ash-rotator span.on { opacity: 1; transform: none; filter: none; }
.ash-rotator span.out { opacity: 0; transform: translateY(-.38em); filter: blur(8px); }

.ash-hero-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; max-width: 620px; }
.ash-hero-tab { position: relative; display: flex; flex-direction: row; align-items: center; gap: 13px; padding: 13px 16px 17px 13px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); color: #E9E6D8 !important; text-decoration: none !important; overflow: hidden; transition: background .35s, border-color .35s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.ash-hero-tab:hover, .ash-hero-tab.on { background: rgba(255, 255, 255, .075); border-color: rgba(143, 155, 34, .45); transform: translateY(-3px); }
.ash-hero-tab i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; background: rgba(143, 155, 34, .14); color: #BAC251; transition: background .35s, color .35s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.ash-hero-tab.on i { background: #8F9B22; color: #302016; transform: rotate(-8deg) scale(1.06); }
.ash-hero-tab b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; }
.ash-hero-tab small { display: block; font-size: 12px; line-height: 1.4; color: rgba(233, 230, 216, .62); margin-top: 3px; }
.ash-hero-tab-bar { position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.ash-hero-tab-bar::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #8F9B22, #7B5B43); }
.ash-hero-tab.on .ash-hero-tab-bar::after { animation: ash-progress var(--tab-dur) linear forwards; }
.ash-hero.is-paused .ash-hero-tab.on .ash-hero-tab-bar::after { animation-play-state: paused; }
.ash-hero-trust { margin: 0; padding: 0; list-style: none; font-size: 13px; color: rgba(233, 230, 216, .72); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.ash-hero-trust li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ash-hero-trust i { color: #8F9B22; font-size: 11px; }

/* Les anneaux lumineux sont centres sur les portraits (left/top = centre de l'anneau). */
.ash-hero-art-frame i { margin-left: -6.7%; margin-top: -6.7%; }

.ash-spot { position: absolute; left: 3%; bottom: 9%; z-index: 3; width: min(320px, 70%); height: 78px; animation: ash-float 7s ease-in-out infinite; }
.ash-spot-card { position: absolute; inset: 0; display: flex; align-items: center; gap: 13px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(48, 32, 22, .78); border: 1px solid rgba(211, 217, 154, .32); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.ash-spot-card.on { opacity: 1; transform: none; }
.ash-spot-ico { flex: 0 0 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #7B5B43, #5E4433); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 8px 18px -8px rgba(123, 91, 67, .8); }
.ash-spot-card small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8F9B22; }
.ash-spot-card b { display: block; color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.ash-spot-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #302016; font-size: 12.5px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); opacity: 0; animation: ash-chip 12s ease-in-out infinite; }
.ash-spot-chip i { color: #7B5B43; }
.ash-spot-chip-a { top: 9%; right: 4%; animation-delay: 2.5s; }
.ash-spot-chip-b { top: 46%; right: 1%; animation-delay: 8.5s; }

@keyframes ash-progress { from { width: 0; } to { width: 100%; } }
@keyframes ash-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ash-chip { 0%, 100% { opacity: 0; transform: translateY(10px) scale(.94); } 6%, 38% { opacity: 1; transform: none; } 46% { opacity: 0; transform: translateY(-8px) scale(.97); } }

@media (max-width: 980px) {
	.ash-spot { bottom: 4%; left: 50%; margin-left: -150px; width: 300px; }
	.ash-spot-chip-b { display: none; }
}
@media (max-width: 520px) {
	.ash-hero-tab small { display: none; }
	.ash-hero-tab { padding: 12px 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.ash-in { opacity: 1; animation: none; }
	.ash-rotator span { transition: none; filter: none; }
	.ash-spot, .ash-spot-chip { animation: none; }
	.ash-spot-chip { opacity: 1; }
	.ash-hero-tab.on .ash-hero-tab-bar::after { animation: none; width: 100%; }
}

/* ---------- Tableau de bord : bande compacte "Votre arbre" ---------- */
.ash-tree-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #302016; color: #fff; border-radius: 18px; padding: 16px 20px; margin: 18px 0; box-shadow: 0 16px 32px -22px rgba(48, 32, 22, .7); }
.ash-tree-strip-text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ash-tree-strip-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8F9B22; }
.ash-tree-strip-text b { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 19px; line-height: 1.25; }
.ash-tree-strip-track { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; max-width: 360px; }
.ash-tree-strip-track i { display: block; height: 100%; background: linear-gradient(90deg, #8F9B22, #7B5B43); border-radius: 4px; }
.ash-tree-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ash-tree-strip-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 11px; font-weight: 700; font-size: 14px; color: #fff !important; text-decoration: none !important; border: 1px solid rgba(255, 255, 255, .28); white-space: nowrap; transition: background .2s, border-color .2s; }
.ash-tree-strip-btn:hover { border-color: #8F9B22; background: rgba(255, 255, 255, .06); }
.ash-tree-strip-btn.is-primary { background: #7B5B43; border-color: #7B5B43; }
.ash-tree-strip-btn.is-primary:hover { background: #654A37; border-color: #654A37; }
@media (max-width: 560px) {
	.ash-tree-strip-actions { width: 100%; }
	.ash-tree-strip-btn { flex: 1; justify-content: center; padding: 0 10px; font-size: 13px; }
}


/* ---------- Accueil : haut de page sur tablette et mobile ----------
   Ordre : titre, texte, 2 boutons cote a cote, animation de l'arbre (cadre carre), rubriques 2x2, garanties. */
@media (max-width: 980px) {
	.ash-hero { display: flex !important; flex-direction: column; gap: 18px !important; padding: 30px 20px 40px !important; }
	.ash-hero-copy { display: contents; }
	.ash-hero-copy > .ash-kicker { order: 1; }
	.ash-hero-copy > h1 { order: 2; }
	.ash-hero-copy > p { order: 3; }
	.ash-hero-actions { order: 4; }
	.ash-hero-art { order: 5; }
	.ash-hero-tabs { order: 6; max-width: none; }
	.ash-hero-trust { order: 7; }

	.ash-hero-art { width: 100%; max-width: 440px; height: auto !important; aspect-ratio: 1 / 1; margin: 4px auto 0; border-radius: 24px; background: radial-gradient(circle at 50% 45%, rgba(160, 122, 94, .12), rgba(0, 0, 0, 0) 70%); }
	.ash-hero-art-frame { height: 100%; }
	.ash-spot { left: 6%; right: 6%; width: auto; bottom: 5%; margin-left: 0; height: 66px; }
	.ash-spot-card { padding: 9px 14px 9px 9px; gap: 11px; border-radius: 15px; }
	.ash-spot-ico { flex-basis: 42px; height: 42px; font-size: 16px; border-radius: 12px; }
	.ash-spot-card b { font-size: 13.5px; }
	.ash-spot-chip-a { top: 5%; right: 4%; font-size: 11.5px; padding: 6px 11px; }
}
@media (max-width: 640px) {
	.ash-hero { padding: 22px 16px 32px !important; gap: 16px !important; }
	.ash-hero-copy > .ash-kicker { font-size: 10px; letter-spacing: .14em; line-height: 1.6; }
	.ash-hero-copy > h1 { font-size: 34px !important; line-height: 1.08 !important; }
	.ash-hero-copy > p { font-size: 15px !important; line-height: 1.6 !important; margin: 0; }
	.ash-hero-actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; width: 100%; }
	.ash-hero-actions .ash-btn { width: 100%; min-width: 0; height: 50px; padding: 0 10px; font-size: 13.5px; line-height: 1.2; text-align: center; white-space: normal; border-radius: 12px; }
	.ash-hero-art { max-width: 340px; border-radius: 20px; }
	.ash-hero-tabs { gap: 8px; }
	.ash-hero-tab { padding: 10px 10px 14px; gap: 9px; border-radius: 13px; }
	.ash-hero-tab i { flex-basis: 32px; width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
	.ash-hero-tab b { font-size: 12.5px; line-height: 1.25; }
	.ash-hero-tab small { display: none; }
	.ash-hero-tab-bar { left: 10px; right: 10px; bottom: 6px; }
	.ash-hero-trust { gap: 6px 14px; font-size: 12.5px; }
	.ash-hero-trust li:nth-child(2) { white-space: normal; }
}
@media (max-width: 360px) {
	.ash-hero-copy > h1 { font-size: 30px !important; }
	.ash-hero-actions .ash-btn { font-size: 12.5px; }
}

/* ---------- Nom du site a cote du logo (menu visiteur), aussi sur mobile ---------- */
.ashabi-guest-logo .ash-brand-text em { font-style: normal; }
@media (max-width: 780px) {
	.ashabi-guest-logo { gap: 9px; }
	.ashabi-guest-logo span.ash-brand-text { display: flex !important; flex-direction: column; line-height: 1.05; font-size: 16px; white-space: nowrap; }
	.ashabi-guest-logo .ash-brand-text em { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #8F9B22; margin-top: 3px; }
}
@media (max-width: 380px) {
	.ashabi-guest-nav-inner { padding: 0 12px !important; }
	.ashabi-guest-logo { gap: 7px; }
	.ashabi-guest-logo img { width: auto !important; height: 40px !important; }
	.ashabi-guest-logo span.ash-brand-text { font-size: 14px !important; }
	.ashabi-guest-logo .ash-brand-text em { font-size: 8.5px; letter-spacing: .16em; }
	.ashabi-guest-nav-actions { gap: 8px !important; }
	.ashabi-guest-nav .ashabi-guest-cta { padding: 9px 11px !important; font-size: 12px !important; white-space: nowrap; }
	.ashabi-guest-nav .ash-burger { width: 38px; height: 38px; flex-basis: 38px; }
	.ashabi-guest-nav .ash-burger span, .ashabi-guest-nav .ash-burger span::before, .ashabi-guest-nav .ash-burger span::after { left: 9px; }
	.ashabi-guest-nav .ash-burger span { top: 18px; }
}

/* Illustration de l'arbre recoloree aux couleurs de la charte : son fond (#302016) se fond dans le haut de page. */
