/* Fest'Ouazé · Partenaires — charte du dossier mécènes & partenaires 2027 */
:root {
  --green: #1D5B43; --green-2: #164A36; --teal: #0F4351; --cream: #FAF5EC; --cream-2: #F3EDE0;
  --orange: #EC6B44; --blue: #22AED1; --pink: #E8B4D4; --yellow: #E3E000; --lime: #94C11F;
  --ink: #17352B; --muted: #5B6B63; --line: #E6E0D3; --white: #fff;
  --r: 22px; --r-sm: 12px;
  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --shadow: 0 1px 2px rgba(23,53,43,.06), 0 8px 24px rgba(23,53,43,.06);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased }
a { color: var(--green) } img { max-width: 100% }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto }
.narrow { width: min(520px, 100% - 32px) }
.muted { color: var(--muted) } .small { font-size: 13px } .center { text-align: center } .r { text-align: right; white-space: nowrap }
.t-orange { color: var(--orange) } .t-blue { color: #128AA8 } .t-green { color: var(--green) }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0 }
[hidden] { display: none !important }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 15px/1 Manrope, sans-serif; padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s, background .12s }
.btn:active { transform: translateY(1px) }
.btn-orange { background: var(--orange); color: #fff } .btn-orange:hover { background: #D85A34 }
.btn-dark { background: var(--green); color: var(--cream) } .btn-dark:hover { background: var(--green-2) }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green) } .btn-ghost:hover { background: rgba(29,91,67,.07) }
.btn-sm { padding: 9px 14px; font-size: 13px } .btn-block { width: 100% }
.link-btn { background: none; border: 0; padding: 0; font: 700 14px Manrope, sans-serif; color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px }
.link-btn.danger { color: #C03A2B }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(16px, calc(50% - 580px)); background: rgba(250,245,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green) }
.brand img { width: 46px; height: 46px; border-radius: 50% }
.brand b { display: block; font-family: var(--display); font-size: 19px } .brand small { color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase }
.nav { display: flex; align-items: center; gap: 22px }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px } .nav a.on:not(.btn), .nav a:not(.btn):hover { color: var(--orange) }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--green); border-radius: 50%; padding: 14px 12px; flex-direction: column; justify-content: space-between }
.burger span { display: block; height: 2px; background: var(--cream); border-radius: 2px }

/* Hero */
.hero { background: var(--green); color: var(--cream); overflow: hidden; position: relative }
.hero::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; background: var(--orange); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); opacity: .9 }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 64px 0 72px; position: relative; z-index: 1 }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange) }
.hero .kicker { color: var(--yellow) }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin: 12px 0 18px; text-transform: uppercase; font-weight: 800 }
.hero h1 em { font-style: italic; text-transform: none; color: var(--pink) }
.lead { font-size: 18px; max-width: 60ch }
.hero .lead b.t-green { color: var(--lime) } .hero .lead b.t-blue { color: var(--blue) }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px }
.hero .btn-ghost { color: var(--cream); border-color: var(--cream) } .hero .btn-ghost:hover { background: rgba(255,255,255,.08) }
.stats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; align-self: center }
.stat { border-radius: var(--r); padding: 18px; color: var(--teal); display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px }
.stat b { font-family: var(--display); font-size: 34px; line-height: 1 } .stat span { font-weight: 700; font-size: 14px }
.stat.big { grid-row: span 2 } .stat.big b { font-size: 56px }
.s-yellow { background: var(--yellow) } .s-pink { background: var(--pink) } .s-orange { background: var(--orange); color: #fff } .s-blue { background: var(--blue) } .s-lime { background: var(--lime) }

/* Formules */
#formules { margin-top: -36px; position: relative; z-index: 2 }
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.formule { border-radius: var(--r); padding: 26px; text-decoration: none; display: flex; flex-direction: column; min-height: 300px; box-shadow: var(--shadow); transition: transform .15s }
.formule:hover { transform: translateY(-3px) }
.formule .num { font-family: var(--display); font-weight: 800; font-size: 18px }
.formule h2 { font-size: 34px; font-style: italic; margin: 4px 0 8px } .formule .sub { font-weight: 800; margin: 0 0 10px } .formule p { margin: 0 0 12px; font-size: 15px }
.formule .price { margin-top: auto; font-family: var(--display); font-size: 26px; font-weight: 800; font-style: italic }
.f-blue { background: var(--blue); color: var(--teal) } .f-orange { background: var(--orange); color: #fff } .f-green { background: var(--green); color: var(--cream) }

/* Sections */
section.wrap { padding: 56px 0 8px }
.sec-h { max-width: 760px; margin-bottom: 26px } .sec-h h2 { font-size: clamp(30px, 4vw, 44px); color: var(--green) } .sec-h p { color: var(--muted) }
.sec-h.light h2 { color: var(--pink) } .sec-h.light p { color: rgba(250,245,236,.85) }
.page-h { padding-top: 48px !important } .page-h h1 { font-size: clamp(36px, 5vw, 56px); color: var(--green); text-transform: uppercase }

/* Simulateur */
.sim { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; align-items: start }
.sim-controls { display: flex; flex-direction: column; gap: 16px }
.seg { display: inline-flex; background: var(--white); border: 2px solid var(--green); border-radius: 999px; padding: 4px; gap: 4px; align-self: flex-start }
.seg label { position: relative } .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer }
.seg span { display: block; padding: 10px 20px; border-radius: 999px; font-weight: 800; color: var(--green); cursor: pointer }
.seg input:checked + span { background: var(--green); color: var(--cream) } .seg input:focus-visible + span { outline: 3px solid var(--blue) }
.seg-sm span { padding: 9px 16px }
.sim-card { border-radius: var(--r); padding: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow) }
.sim-card-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 16px }
.sim-card-h h3 { font-size: 22px; margin: 0 } .sim-card-h .num { font-family: var(--display); font-weight: 800; color: #fff; border-radius: 8px; padding: 2px 8px; font-size: 13px } .sim-card-h .muted { font-size: 13px; flex-basis: 100% }
.c-blue .num { background: var(--blue); color: var(--teal) } .c-green .num { background: var(--green) }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; min-width: 0 }
.lab { font-size: 13px; font-weight: 800; color: var(--muted) } .lab small { font-weight: 600 }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea { font: 600 16px Manrope, sans-serif; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; width: 100%; min-width: 0 }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); background: #fff }
input[readonly] { opacity: .75 }
.stepper { display: flex; align-items: stretch; border: 2px solid var(--green); border-radius: 999px; overflow: hidden; background: #fff; width: max-content }
.stepper button { width: 46px; border: 0; background: var(--green); color: var(--cream); font-size: 22px; font-weight: 800; cursor: pointer }
.stepper input { width: 76px !important; border: 0 !important; border-radius: 0 !important; text-align: center; font-family: var(--display) !important; font-size: 22px !important; background: #fff !important; -moz-appearance: textfield }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px }
.chip { font: 700 13px Manrope, sans-serif; border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px; padding: 7px 12px; cursor: pointer; color: var(--ink) }
.chip b { color: var(--green); margin-left: 4px } .chip:hover { border-color: var(--green) } .chip.on { background: var(--blue); border-color: var(--blue); color: var(--teal) } .chip.on b { color: var(--teal) }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 12px }
.input-eur { position: relative; display: block; max-width: 220px } .input-eur i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; color: var(--muted) }
.items { display: grid; gap: 8px }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--cream) }
.item input { width: 20px; height: 20px; accent-color: var(--green) }
.item b { display: block } .item small { color: var(--muted); font-size: 13px }
.item-p { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--green); white-space: nowrap } .item-p em { font-family: Manrope; font-size: 12px; font-style: normal; background: var(--line); padding: 4px 8px; border-radius: 99px; color: var(--muted) }
.item:has(input:checked) { border-color: var(--green); background: #EAF3EE } .item.off { opacity: .55; cursor: not-allowed }
.sim-result { position: sticky; top: 84px }
.res-card { background: var(--teal); color: var(--cream); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow) }
.res-title { font-family: var(--display); font-size: 22px; font-weight: 800; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.res { margin: 0 } .res div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(250,245,236,.22) }
.res dt { font-size: 14px } .res dd { margin: 0; font-weight: 800; white-space: nowrap } .res .minus dd { color: var(--lime) }
.res .res-strong { border-bottom: 0; background: rgba(227,224,0,.12); margin: 6px -10px; padding: 10px; border-radius: 10px } .res .res-strong dd { color: var(--yellow); font-family: var(--display); font-size: 22px }
.res-cout { background: var(--yellow); color: var(--teal); border-radius: 16px; padding: 14px 18px; margin: 16px 0 4px; display: grid; gap: 2px }
.res-cout > span { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em }
.res-cout b { font-family: var(--display); font-size: 44px; line-height: 1.05 } .res-cout small { font-size: 12.5px; font-weight: 600 }
.res-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 6px; padding-top: 10px; border-top: 1px dashed rgba(250,245,236,.3) }
.res-total span { font-weight: 700 } .res-total small { display: block; font-size: 11.5px; font-weight: 500; color: rgba(250,245,236,.7) }
.res-total b { font-family: var(--display); font-size: 22px; white-space: nowrap }
.res-card:has(.res-cout[hidden]) .res-total { border-top: 2px solid rgba(250,245,236,.35); margin-top: 16px } .res-card:has(.res-cout[hidden]) .res-total b { font-size: 34px }
.res-note { font-size: 12px; color: rgba(250,245,236,.72); margin: 0 0 16px }
.save-sim { margin-top: 14px } .save-sim summary { cursor: pointer; font-weight: 700; font-size: 14px } .save-sim form { display: grid; gap: 8px; margin-top: 10px }

/* Badges & pastilles */
.badge, .pill { display: inline-flex; align-items: center; font: 800 12px Manrope, sans-serif; padding: 4px 10px; border-radius: 99px; letter-spacing: .02em }
.badge-gold { background: var(--yellow); color: var(--teal) } .badge-blue { background: var(--blue); color: var(--teal) } .badge-green { background: var(--lime); color: var(--teal) } .badge-orange { background: var(--orange); color: #fff } .badge-pink { background: var(--pink); color: var(--teal) }
.pill-muted { background: var(--line); color: var(--muted) } .pill-violet { background: #EADFF6; color: #5B3A8C } .pill-warn { background: #FCE9C8; color: #8A5300 } .pill-info { background: #D5F0F7; color: #0D6077 } .pill-good { background: #DCEFD0; color: #2D6A11 } .pill-alert { background: #FADAD5; color: #A1281A }
.pills { display: flex; flex-wrap: wrap; gap: 6px }

/* VIP & parrainage */
.vip { background: var(--teal); color: var(--cream); margin-top: 64px; padding: 64px 0 }
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.vip-grid div { border: 1px solid rgba(250,245,236,.25); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.04) }
.vip-grid b { font-family: var(--display); font-style: italic; font-size: 20px } .vip-grid span { font-size: 14px; color: rgba(250,245,236,.82) }
.dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; margin-bottom: 8px }
.d-yellow { background: var(--yellow) } .d-pink { background: var(--pink) } .d-lime { background: var(--lime) } .d-blue { background: var(--blue) } .d-orange { background: var(--orange) } .d-white { background: #fff }
.new { display: inline-block; background: var(--pink); color: var(--teal); border-radius: 999px; padding: 12px 20px; margin-top: 22px }
.rewards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.rewards > div { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow) }
.rewards > div > b { display: block; color: var(--orange); font-family: var(--display); font-style: italic; font-size: 20px; margin: 12px 0 6px } .rewards p { margin: 0; font-size: 15px }
.rw { display: inline-grid; place-items: center; min-width: 72px; height: 72px; padding: 0 10px; border-radius: 50%; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--teal) }
.rw-yellow { background: var(--yellow) } .rw-pink { background: var(--pink) } .rw-lime { background: var(--lime) }
.rewards.compact { margin-top: 22px } .rewards.compact > div { padding: 18px } .rewards.compact .rw { min-width: 54px; height: 54px; font-size: 16px }
.parr-teaser .center { margin-top: 24px }

/* Formulaires / cartes */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px; min-width: 0 }
.card h2 { font-size: 24px; color: var(--green) } .card h3 { font-size: 17px; margin-top: 16px }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px } .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; align-items: end }
.s2 { grid-column: span 2 }
.step { display: flex; align-items: center; gap: 12px; font-size: 26px; color: var(--green); margin: 30px 0 14px }
.step span { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 18px }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0 14px; cursor: pointer } .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none }
.sticky-submit { position: sticky; bottom: 12px; z-index: 5; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--green); color: var(--cream); padding: 12px 12px 12px 22px; border-radius: 999px; box-shadow: 0 10px 30px rgba(23,53,43,.25) }
.sticky-submit b { font-family: var(--display); font-size: 22px } .sticky-submit .btns { display: flex; gap: 8px } .sticky-submit .btn-ghost { color: var(--cream); border-color: var(--cream) }
.flash { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 700; margin: 16px 0 }
.flash-ok { background: #DCEFD0; color: #2D6A11 } .flash-err { background: #FADAD5; color: #A1281A } .flash-info { background: #D5F0F7; color: #0D6077 }
.reco-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px }
.done { text-align: center; padding: 36px } .done .copy { max-width: 560px; margin: 16px auto }
.code-box { display: inline-flex; flex-direction: column; align-items: center; background: var(--yellow); color: var(--teal); border-radius: var(--r); padding: 14px 26px; margin: 8px 0 }
.code-box span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em } .code-box b { font-family: var(--display); font-size: 36px; letter-spacing: .12em }
.code-box.sm b { font-size: 24px }
.copy { display: flex; gap: 8px } .copy input { flex: 1 }
.login { text-align: center; margin-top: 48px } .login-logo { width: 84px } .login form { text-align: left }
.login h1 { color: var(--green); font-size: 34px }

/* Espace */
.space-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 40px !important }
.space-h h1 { font-size: clamp(30px, 4vw, 46px); color: var(--green); margin: 6px 0 10px }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 18px 0 0 !important; border-bottom: 2px solid var(--line); scrollbar-width: none }
.tabs a { white-space: nowrap; padding: 12px 16px; font-weight: 800; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px }
.tabs a.on { color: var(--green); border-color: var(--orange) } .tabs a em { font-style: normal; background: var(--orange); color: #fff; border-radius: 99px; padding: 1px 7px; font-size: 12px }
.timeline { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s }
.timeline li { background: #fff; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 12px; font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; color: var(--muted) }
.timeline li span { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 800; color: var(--muted) }
.timeline li.done { border-color: var(--lime); color: var(--ink) } .timeline li.done span { background: var(--lime); color: var(--teal) }
.timeline li.now { border-color: var(--orange); color: var(--ink) } .timeline li.now span { background: var(--orange); color: #fff }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start }
.tbl { width: 100%; border-collapse: collapse; margin: 6px 0 12px } .tbl td { padding: 9px 4px; border-bottom: 1px solid var(--line) } .tbl .tot td { font-weight: 800; font-size: 18px; border-top: 2px solid var(--green) }
.todo { list-style: none; padding: 0; margin: 10px 0 } .todo li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px dashed var(--line) }
.todo li::before { content: ''; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line) }
.todo li.ok::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4351' stroke-width='4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--lime) }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px } .kpis.mini { grid-template-columns: repeat(3, 1fr) }
.kpi { border-radius: var(--r); padding: 16px; color: var(--teal); display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.kpi span { font-size: 13px; font-weight: 800 } .kpi b { font-family: var(--display); font-size: 30px; line-height: 1.1 } .kpi small { font-size: 12px; font-weight: 600 }
.kpis.mini .kpi b { font-size: 22px }
.k-orange { background: var(--orange); color: #fff } .k-green { background: var(--lime) } .k-blue { background: var(--blue) } .k-pink { background: var(--pink) } .k-yellow { background: var(--yellow) }
.add-ticket .btn { margin-top: 4px }
.tickets { display: grid; gap: 8px }
.ticket { border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--cream) } .ticket.tk-vip { border-left: 6px solid var(--orange) } .ticket.tk-seche { border-left: 6px solid var(--lime) }
.ticket summary { display: grid; grid-template-columns: 150px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none }
.ticket summary::-webkit-details-marker { display: none }
.ticket[open] summary { border-bottom: 1px solid var(--line) } .ticket form { padding: 12px 14px 0 } .ticket form:last-child { padding-bottom: 12px }
.t-jour { font-weight: 800; color: var(--green) } .t-nom { font-weight: 700 } .t-kind { font-size: 12px; font-weight: 800; background: #fff; border-radius: 99px; padding: 3px 10px } .ticket code { font-size: 13px; color: var(--muted) }
.row-btns { padding-bottom: 12px }
.upload { margin: 14px 0 } .drop { display: block; position: relative; border: 2px dashed var(--green); border-radius: var(--r); padding: 26px; text-align: center; background: var(--cream); margin-bottom: 12px; cursor: pointer }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer } .drop small { color: var(--muted) }
.files { display: grid; gap: 8px; margin-top: 12px }
.file { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px }
.thumb { width: 64px; height: 64px; border-radius: 8px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/14px 14px; display: grid; place-items: center; overflow: hidden }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain } .thumb span { font-weight: 800; color: var(--green); font-size: 13px }
.file b { display: block; font-size: 14px } .file small { color: var(--muted); font-size: 12px; word-break: break-all }
.list { list-style: none; padding: 0; margin: 0 } .list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line) }
.list li b { display: block } .list li small { color: var(--muted) }

.page-h.compact { padding-top: 28px !important } .page-h.compact h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 4px } .page-h.compact .lead { font-size: 16px; margin: 0 }
section.wz-sec { padding-top: 14px }

/* Choix de la formule */
.choice { display: flex; flex-direction: column; gap: 10px }
.choice-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 4px }
.f-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.f-card { position: relative; cursor: pointer }
.f-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer }
.f-card > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 14px; border-radius: var(--r); border: 3px solid transparent; background: #fff; box-shadow: var(--shadow); transition: transform .12s, border-color .12s }
.f-card b { font-family: var(--display); font-size: 22px; font-style: italic } .f-card small { font-size: 13px; line-height: 1.4; color: var(--muted) } .f-card em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 800; font-size: 14px }
.fc-blue b, .fc-blue em { color: #128AA8 } .fc-green b, .fc-green em { color: var(--green) } .fc-orange b, .fc-orange em { color: var(--orange) }
.f-card:hover > span { transform: translateY(-2px) }
.fc-blue input:checked + span { border-color: var(--blue); background: #E9F7FB } .fc-green input:checked + span { border-color: var(--green); background: #EAF3EE } .fc-orange input:checked + span { border-color: var(--orange); background: #FDEEE8 }
.f-card input:checked + span::after { content: '✓'; position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 14px }
.f-card input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px }

/* Souscription en étapes */
.wz-progress { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: sticky; top: 67px; z-index: 6; background: var(--cream); padding: 10px 0 }
.wz-progress li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--muted); font-size: 14px; cursor: pointer }
.wz-progress li span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-weight: 800 }
.wz-progress li.now { border-color: var(--orange); color: var(--ink) } .wz-progress li.now span { background: var(--orange); color: #fff }
.wz-progress li.done { border-color: var(--lime); color: var(--ink) } .wz-progress li.done span { background: var(--lime); color: var(--teal) }
.wz-step .step { margin-top: 18px }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; position: sticky; bottom: 12px; z-index: 5; background: var(--green); color: var(--cream); padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(23,53,43,.25) }
.wz-nav .btn-ghost { color: var(--cream); border-color: var(--cream) } .wz-nav .btn-orange:only-child { margin-left: auto }
.wz-total b { font-family: var(--display); font-size: 22px }
.wz-recap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--teal); color: var(--cream); border: 0 } .wz-recap span:first-child { flex: 1 } .wz-recap .link-btn { color: var(--yellow) }
.wz-lines { list-style: none; padding: 0; margin: 0 } .wz-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line) }
.wz-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px } .wz-sum b { font-family: var(--display); font-size: 28px; color: var(--green) }
.card-h h3 { margin: 0 }

/* Pied */
.foot { margin-top: 72px; background: var(--green); color: var(--cream); padding: 30px 0; font-size: 14px }
.foot a { color: var(--yellow) } .foot-logo { width: 72px; height: 72px } .foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap } .foot-r { text-align: right; margin-left: auto }

/* Responsive */
@media (max-width: 980px) {
  .hero-in, .sim, .cols { grid-template-columns: 1fr }
  .sim-result { position: static }
  .formules, .rewards, .vip-grid { grid-template-columns: 1fr 1fr }
  .kpis { grid-template-columns: 1fr 1fr } .grid4 { grid-template-columns: 1fr 1fr }
}
@media (max-width: 720px) {
  .burger { display: flex }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none }
  .nav.open { display: flex } .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line) } .nav .btn { margin-top: 12px }
  .formules, .rewards, .vip-grid, .grid2, .row2, .timeline, .kpis.mini { grid-template-columns: 1fr }
  .s2 { grid-column: auto }
  .stats { grid-template-columns: 1fr 1fr } .stat.big { grid-row: auto; grid-column: span 2 } .stat.big b { font-size: 44px }
  .formule { min-height: 0 }
  .ticket summary { grid-template-columns: 1fr auto; } .ticket summary code { display: none }
  .file { grid-template-columns: 56px 1fr } .file .link-btn, .file form { grid-column: 2 }
  .sticky-submit { border-radius: var(--r); padding: 12px } .sticky-submit .btn { flex: 1 }
  .f-cards { grid-template-columns: 1fr }
  .wz-progress { top: 64px; gap: 4px } .wz-progress li { padding: 6px; justify-content: center } .wz-progress li b { display: none }
  .wz-nav { border-radius: var(--r); padding: 8px; gap: 8px; flex-wrap: nowrap } .wz-nav .btn { padding: 13px 14px; font-size: 14px } .wz-nav .btn-orange { flex: 1 } .wz-nav .btn-ghost { flex: none; width: 48px; padding: 13px 0; font-size: 0 } .wz-nav .btn-ghost::before { content: '←'; font-size: 18px }
  .wz-total { display: none }
  .wz-recap { gap: 6px 12px }
  .space-h { flex-direction: column; align-items: flex-start }
  .foot-r { text-align: left }
  .copy { flex-direction: column }
}

/* Places simplifiées */
form.inline { display: inline }
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 4px }
.day { background: var(--cream); border: 2px solid var(--line); border-radius: var(--r-sm); padding: 14px; display: flex; flex-direction: column; gap: 4px }
.day > b { font-family: var(--display); font-size: 18px; color: var(--green); margin-bottom: 4px }
.day input[type=number] { font-family: var(--display) !important; font-size: 24px !important; max-width: 120px }
.places-count { font-weight: 700; min-height: 1.4em } .places-count.err { color: #A1281A } .places-count.ok { color: #2D6A11 }
.pay-big { font-size: 17px } .pay-big b { font-family: var(--display); font-size: 24px; color: var(--green) }
.ech { margin-bottom: 4px } .ech .field { max-width: 200px; flex: none }
@media (max-width: 720px) { .days { grid-template-columns: 1fr } }
/* Kit visuels (partagé espace partenaire / gestion) */
.kit { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start }
.kit-view { background: repeating-conic-gradient(#EFEBE2 0 25%, #F7F4EE 0 50%) 0 0/24px 24px; border-radius: 16px; padding: 18px; display: flex; justify-content: center; align-items: center; min-height: 420px }
.kit-view canvas { max-width: 100%; max-height: 78vh; height: auto; width: auto; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.18) }
.kit-btns { display: flex; gap: 6px; flex-wrap: wrap }
.kit-btns button { flex: 1; min-width: 90px; font: 800 13px Manrope, sans-serif; padding: 9px 8px; border-radius: 10px; border: 2px solid #E4DFD3; background: #fff; color: #1D5B43; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px }
.kit-btns button small { font-weight: 600; font-size: 11px; color: #637169 }
.kit-btns button.on { border-color: #1D5B43; background: #1D5B43; color: #FAF5EC } .kit-btns button.on small { color: #E3E000 }
.kit textarea { width: 100%; font: 500 13px/1.5 Manrope, sans-serif }
@media (max-width: 900px) { .kit { grid-template-columns: 1fr } .kit-view { min-height: 0 } }

.res-vip { background: var(--yellow); color: var(--teal); font-weight: 800; border-radius: 12px; padding: 10px 14px; margin: -4px 0 14px }
.res-gap { font-size: 13px; color: rgba(250,245,236,.85); border: 1px dashed rgba(250,245,236,.4); border-radius: 12px; padding: 8px 12px; margin: -4px 0 14px }
.formule .vipplus { display: inline-block; background: var(--yellow); color: var(--teal); font-weight: 800; font-size: 13px; border-radius: 12px; padding: 6px 12px; margin-top: 4px; line-height: 1.35 }
.vip-plus-box { background: #FBF8C9; border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 10px 0 }

.vipplus-band { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--yellow); color: var(--teal); border-radius: var(--r); padding: 18px 22px; margin-top: 26px }
.vipplus-band .vp-tag { font-family: var(--display); font-weight: 800; font-size: 30px; background: var(--teal); color: var(--yellow); border-radius: 14px; padding: 6px 14px }
.vipplus-band div { flex: 1 1 260px } .vipplus-band b { display: block; font-size: 18px } .vipplus-band span { font-weight: 600 }
.aftermovie { padding-top: 10px }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--teal); box-shadow: var(--shadow) }
.yt iframe, .yt-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }
.yt-play { cursor: pointer; background-size: cover; background-position: center; display: grid; place-items: center; padding: 0 }
.yt-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,67,81,.05), rgba(15,67,81,.55)) }
.yt-btn { position: relative; z-index: 1; transition: transform .15s } .yt-play:hover .yt-btn { transform: scale(1.1) }
.yt-label { position: absolute; z-index: 1; left: 22px; bottom: 18px; color: #fff; font-weight: 800; font-size: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.4) }

.pay-due { margin-top: -6px; color: var(--orange); font-weight: 700 }

.inv-box { background: #FFF8E8; border: 1px solid #F1DDB0; margin: 12px 0 } .inv-check, .inv-box .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 } .inv-check input, .inv-box .check input { margin-top: 4px; flex: none; width: auto }

.reco-list li { align-items: center; gap: 10px; flex-wrap: wrap } .reco-a { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end } .reco-a form { margin: 0 }

.reco-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.reco-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; background: #fff }
.reco-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap } .reco-top b { font-size: 16px }
.reco-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 14px; margin: 0 }
.reco-dl div { min-width: 0 } .reco-dl .w { grid-column: 1 / -1 } .reco-dl dt { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted) }
.reco-dl dd { margin: 0; word-break: break-word } .reco-dl a { color: var(--green) } .reco-mot { font-style: italic; background: #F6F1E7; border-left: 3px solid var(--orange); border-radius: 6px; padding: 6px 10px }

.vis-box { background: #F6F1E7; border-radius: 12px; padding: 10px 14px; margin: 8px 0 12px } .vis-box ul { margin: 6px 0 0; padding-left: 0; list-style: none } .vis-box li { margin: 3px 0 }

.cl-form h2 { margin-bottom: 4px } .cl-max { color: var(--green) }
.cl-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 10px 0 }
.cl-modes label { display: flex; gap: 8px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer }
.cl-modes label:has(input:checked) { border-color: var(--green); background: #EAF3EE } .cl-modes input { margin-top: 3px; width: auto } .cl-modes small { display: block; color: var(--muted); font-size: 12px }
.cl-rows { display: grid; gap: 6px; max-height: 360px; overflow: auto; padding-right: 4px }
.cl-row { display: grid; grid-template-columns: 82px 1fr 110px; gap: 8px; align-items: center } .cl-n { font-weight: 700; font-size: 13px }
.cl-m { display: flex; align-items: center; gap: 4px; font-weight: 700 } .cl-m input { text-align: right }
.cl-row.ro .cl-m input { background: #F3EEE3; color: var(--muted) }
.cl-sum { margin: 10px 0; padding: 8px 12px; border-radius: 10px; background: #F6F1E7 } .cl-sum.bad { background: #FBE2DC } .cl-over { color: #B3261E; font-weight: 800 } .cl-left { color: #B5651D; font-weight: 700 }
@media (max-width: 560px) { .cl-row { grid-template-columns: 1fr 100px } .cl-n { grid-column: 1 / -1 } }

.enf-field .lab b { color: var(--green) } .enf-field input { background: #F2F8F3 } .enf-hint { background: #F2F8F3; border-radius: 10px; padding: 8px 12px }

/* Recherche d'entreprise */
.ent-search { position: relative; background: #F2F8F3; border: 1px solid #CFE3D5; border-radius: 14px; padding: 12px 14px 4px; margin-bottom: 14px }
.ent-search .field { margin-bottom: 4px } .ent-search input[type=search] { font-size: 16px }
.ent-list { position: absolute; left: 10px; right: 10px; top: 78px; z-index: 30; background: #fff; border: 1px solid #CFE3D5; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.15); max-height: 360px; overflow: auto }
.ent-item { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #EEE7DA; background: #fff; padding: 9px 12px; cursor: pointer; font: inherit; color: inherit }
.ent-item:hover, .ent-item.on { background: #EAF3EE } .ent-item small { display: block; color: #66736C; font-size: 12px; margin-top: 2px } .ent-item .ent-act { font-style: italic }
.ent-ens { color: #66736C; font-size: 12px } .ent-ferme { background: #FBE2DC; color: #B3261E; border-radius: 99px; padding: 1px 7px; font-size: 11px; font-weight: 800 }
.ent-empty { padding: 12px; font-size: 13.5px; color: #66736C }
.ent-status { font-size: 13px; margin: 2px 0 4px; min-height: 1px } .ent-status.ok { color: #2F6E45 } .ent-status.err { color: #B5651D }
.ent-hint { font-size: 12px; color: #66736C; margin: 0 0 8px } .ent-hint .link-btn { font-size: 12px; padding: 0; background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer }
.ent-filled { box-shadow: 0 0 0 3px rgba(78,154,95,.35) !important; transition: box-shadow .3s }

.lock-card { border: 2px solid var(--orange) } .lock-card.ok { border-color: var(--green); background: #F2F8F3 } .lock-card h2 { margin-bottom: 6px }
