/* =====================================================
   Torah-Box - Campagne "Marions Rivka !"
   CSS isole : classes/ids prefixes tbmr-, regles scopees
   sous .tbmr-page -> aucune collision avec Bootstrap.
   Fichier 100% ASCII : insensible a l'encodage du serveur.
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Dancing+Script:wght@600;700&family=Inter:wght@400;500;600;700;800&display=swap');

.tbmr-page{
  --ink:#2a141f;
  --ink2:#341a27;
  --paper:#faf5ec;
  --card:#ffffff;
  --sand:#f6edda;
  --rose:#c2255c;
  --rose-d:#9c1c49;
  --gold:#c9a64c;
  --gold-d:#a8863a;
  --txt:#38222c;
  --txt-soft:#7d6a72;
  --line:rgba(56,34,44,.12);
}
.tbmr-page *,.tbmr-page *::before,.tbmr-page *::after{margin:0;padding:0;box-sizing:border-box}
.tbmr-page{font-family:'Inter',sans-serif;background:var(--paper);color:var(--txt);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.tbmr-page a,.tbmr-page button{-webkit-tap-highlight-color:transparent}
.tbmr-page img{max-width:100%;display:block}
.tbmr-page .tbmr-wrap{max-width:640px;margin:0 auto;padding:0 22px}
.tbmr-page h1,.tbmr-page h2{font-family:'Anton',sans-serif;font-weight:400;letter-spacing:.01em}
.tbmr-page .tbmr-ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ============ BOUTONS ============ */
.tbmr-page .tbmr-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--rose);color:#fff;font-weight:800;font-size:14.5px;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;padding:17px 20px;border-radius:14px;border:none;cursor:pointer;text-align:center;transition:transform .15s,background .15s;box-shadow:0 8px 22px rgba(194,37,92,.35)}
.tbmr-page .tbmr-btn:active{transform:scale(.97)}
.tbmr-page .tbmr-btn:hover{background:var(--rose-d)}
.tbmr-page .tbmr-btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.tbmr-page .tbmr-btn-block{display:flex;width:100%}
.tbmr-page .tbmr-btn .tbmr-ic{width:18px;height:18px}

/* ============ HERO ============ */
.tbmr-page .tbmr-hero{position:relative;background:var(--ink);color:#fff;overflow:hidden}
.tbmr-page .tbmr-hero-media{position:relative}
.tbmr-page .tbmr-hero-media img{display:block;width:100%;height:auto}
.tbmr-page .tbmr-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 52%,rgba(42,20,31,.35) 74%,var(--ink) 100%)}
.tbmr-page .tbmr-hero-txt{position:relative;margin-top:-46vw;padding-bottom:38px;text-align:center}
.tbmr-page .tbmr-hero-badge{display:inline-block;background:linear-gradient(100deg,var(--gold),#e3c06e);color:#241423;font-family:'Anton',sans-serif;font-size:clamp(15px,4vw,19px);letter-spacing:.08em;text-transform:uppercase;padding:8px 18px;border-radius:4px;transform:rotate(-1.2deg);margin-bottom:14px}
.tbmr-page .tbmr-hero h1{font-family:'Dancing Script',cursive;font-weight:700;font-size:clamp(48px,15vw,104px);line-height:1;color:#fff;text-shadow:0 6px 34px rgba(0,0,0,.55);margin-bottom:12px}
.tbmr-page .tbmr-hero h1 .tbmr-hl{color:#ff5c93}
.tbmr-page .tbmr-hero-sub{font-size:17px;line-height:1.55;color:rgba(255,255,255,.92);max-width:42ch;margin:0 auto 24px;text-shadow:0 2px 14px rgba(0,0,0,.5)}
.tbmr-page .tbmr-hero-sub strong{color:#fff}
.tbmr-page .tbmr-hero-jauge{max-width:420px;margin:20px auto 0}
.tbmr-page .tbmr-hero-jauge .tbmr-track{height:12px;background:rgba(255,255,255,.2);margin-top:0}
.tbmr-page .tbmr-hero-jauge-txt{font-size:13.5px;font-weight:600;color:rgba(255,255,255,.85);margin-top:8px}
.tbmr-page .tbmr-hero-jauge-txt strong{color:#fff}

/* ============ INTRO RAV ============ */
.tbmr-page .tbmr-intro{background:var(--ink);padding:26px 0 52px}
.tbmr-page .tbmr-ubox{background:var(--sand);border:1.5px solid var(--gold);border-radius:16px;padding:22px;color:var(--txt)}
.tbmr-page .tbmr-ubox-head{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-d);margin-bottom:10px}
.tbmr-page .tbmr-ubox p{font-size:15.5px;line-height:1.6}
.tbmr-page .tbmr-ubox strong{color:#241220}
.tbmr-page .tbmr-hl30{background:linear-gradient(to top,rgba(201,166,76,.45) 42%,transparent 42%);font-weight:800;color:#241220;padding:0 2px}

/* ============ SECTIONS ============ */
.tbmr-page .tbmr-sec{padding:56px 0}
.tbmr-page .tbmr-sec-dark{background:var(--ink2);color:rgba(255,255,255,.9)}
.tbmr-page .tbmr-sh{font-size:clamp(28px,7.5vw,42px);line-height:1.08;text-transform:uppercase;color:#241220;margin-bottom:20px}

/* ============ VIDEO + CITATION ============ */
.tbmr-page .tbmr-vframe{position:relative;margin:0 -22px;aspect-ratio:9/16;background:#000;border-radius:0;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.tbmr-page .tbmr-vframe iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tbmr-page .tbmr-vframe video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.tbmr-page .tbmr-vquote{font-family:'Anton',sans-serif;font-size:clamp(24px,6.2vw,34px);line-height:1.24;color:#fff;margin:30px 0 8px}
.tbmr-page .tbmr-vquote .tbmr-hl{color:var(--gold)}
.tbmr-page .tbmr-vquote-by{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:26px}

/* ============ HISTOIRE ============ */
.tbmr-page .tbmr-story h3{font-size:12.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--rose-d);margin:26px 0 8px}
.tbmr-page .tbmr-story h3:first-of-type{margin-top:0}
.tbmr-page .tbmr-story p{margin-bottom:18px}
.tbmr-page .tbmr-story p:last-child{margin-bottom:0}
.tbmr-page .tbmr-story strong{color:#241220}
.tbmr-page .tbmr-story .tbmr-hl-txt{color:var(--rose-d);font-weight:600;font-style:italic}

/* ============ JAUGE ============ */
.tbmr-page .tbmr-track{height:14px;background:rgba(56,34,44,.12);border-radius:99px;overflow:hidden;margin-top:16px}
.tbmr-page .tbmr-fill{height:100%;width:0;background:linear-gradient(90deg,var(--rose),var(--gold));border-radius:99px;transition:width 1.2s cubic-bezier(.2,.7,.2,1)}

/* ============ BESOINS ============ */
.tbmr-page .tbmr-besoins-sub{font-size:17px;color:var(--txt-soft);margin-bottom:24px}
.tbmr-page .tbmr-besoins-sub strong{color:#241220}
.tbmr-page .tbmr-grp{margin-bottom:26px}
.tbmr-page .tbmr-grp-head{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--rose-d);margin-bottom:12px}
.tbmr-page .tbmr-grp-head .tbmr-ic{width:18px;height:18px}
.tbmr-page .tbmr-item{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:15px 15px;margin-bottom:10px;box-shadow:0 4px 14px rgba(56,34,44,.05)}
.tbmr-page .tbmr-item-txt{flex:1;min-width:0}
.tbmr-page .tbmr-item-lbl{font-weight:700;font-size:15.5px;color:#241220;line-height:1.3}
.tbmr-page .tbmr-item-prix{font-size:14px;font-weight:600;color:var(--txt-soft);margin-top:2px}
.tbmr-page .tbmr-offrir{flex:none;background:var(--rose);color:#fff;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;border:none;border-radius:10px;padding:12px 18px;cursor:pointer;transition:background .15s,transform .15s}
.tbmr-page .tbmr-offrir:hover{background:var(--rose-d)}
.tbmr-page .tbmr-offrir:active{transform:scale(.96)}
.tbmr-page .tbmr-offrir:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.tbmr-page .tbmr-libre{text-align:center;font-size:15px;color:var(--txt-soft);margin:26px 0 16px}

/* ============ CLOTURE ============ */
.tbmr-page .tbmr-fin{position:relative;background:var(--ink);color:#fff;overflow:hidden}
.tbmr-page .tbmr-fin-img{position:absolute;inset:0;background-image:url("../img/houppa.jpg");background-size:cover;background-position:center 20%;opacity:.4;filter:blur(2px)}
.tbmr-page .tbmr-fin-fade{position:absolute;inset:0;background:linear-gradient(to bottom,var(--ink) 0%,rgba(42,20,31,.55) 45%,rgba(42,20,31,.92) 100%)}
.tbmr-page .tbmr-fin-in{position:relative;padding:80px 0 150px;text-align:center}
.tbmr-page .tbmr-fin h2{font-size:clamp(34px,9.5vw,62px);line-height:1.06;text-transform:uppercase;margin-bottom:18px}
.tbmr-page .tbmr-fin h2 .tbmr-hl{color:var(--gold)}
.tbmr-page .tbmr-fin p.tbmr-lead{font-size:18px;color:rgba(255,255,255,.88);margin:0 auto 28px;max-width:40ch}
.tbmr-page .tbmr-fin p.tbmr-lead .tbmr-part{font-family:'Anton',sans-serif;font-size:20px;color:#fff;display:block;margin-top:14px}
.tbmr-page .tbmr-fin .tbmr-blessing{margin:26px auto 0;font-size:14.5px;color:rgba(255,255,255,.7);max-width:52ch;font-style:italic}

/* ============ STICKY CTA ============ */
.tbmr-page .tbmr-sticky{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(42,20,31,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transform:translateY(110%);transition:transform .3s;z-index:50}
.tbmr-page .tbmr-sticky.tbmr-on{transform:translateY(0)}
.tbmr-page .tbmr-sticky.tbmr-off{transform:translateY(110%)!important}
.tbmr-page .tbmr-sticky .tbmr-btn{display:flex;width:100%;padding:16px}

/* ============ POPUP DON ============ */
.tbmr-page .tbmr-dmodal{position:fixed;inset:0;z-index:100;display:none;align-items:flex-end;justify-content:center;background:rgba(26,10,18,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.tbmr-page .tbmr-dmodal.tbmr-on{display:flex}
.tbmr-page .tbmr-dcard{position:relative;background:var(--paper);border-radius:22px 22px 0 0;padding:28px 22px calc(26px + env(safe-area-inset-bottom));width:100%;max-width:520px;max-height:88svh;overflow-y:auto;animation:tbmr-dup .25s ease}
@keyframes tbmr-dup{from{transform:translateY(40px);opacity:0}}
.tbmr-page .tbmr-dcard h3{font-family:'Anton',sans-serif;font-weight:400;font-size:28px;text-transform:uppercase;line-height:1.05;color:#241220;margin-bottom:6px;padding-right:40px}
.tbmr-page .tbmr-dsub{font-size:14px;color:var(--txt-soft);margin-bottom:20px}
.tbmr-page .tbmr-dgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tbmr-page .tbmr-damt{background:var(--rose);border:none;border-radius:16px;padding:20px 0;font-family:'Anton',sans-serif;font-size:26px;color:#fff;cursor:pointer;transition:background .15s,transform .12s;box-shadow:0 6px 18px rgba(194,37,92,.3)}
.tbmr-page .tbmr-damt:hover{background:var(--rose-d)}
.tbmr-page .tbmr-damt:active{transform:scale(.96)}
.tbmr-page .tbmr-damt:focus-visible{outline:3px solid #241220;outline-offset:2px}
.tbmr-page .tbmr-damt.tbmr-dwide{grid-column:1/-1}
.tbmr-page .tbmr-dautre{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}
.tbmr-page .tbmr-dautre label{display:block;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--txt-soft);margin-bottom:8px}
.tbmr-page .tbmr-drow{position:relative;margin-bottom:12px}
.tbmr-page .tbmr-drow input{width:100%;border:1.5px solid var(--line);border-radius:14px;background:#fff;padding:16px 44px 16px 16px;font-family:'Anton',sans-serif;font-size:24px;color:#241220;outline:none}
.tbmr-page .tbmr-drow input:focus{border-color:var(--rose)}
.tbmr-page .tbmr-drow .tbmr-deuro{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-family:'Anton',sans-serif;font-size:22px;color:var(--txt-soft)}
.tbmr-page #tbmr-dgo:disabled{opacity:.45;cursor:default}
.tbmr-page .tbmr-dclose{position:absolute;top:18px;right:18px;width:36px;height:36px;border:none;border-radius:50%;background:rgba(56,34,44,.08);color:#241220;font-size:20px;font-weight:700;cursor:pointer;line-height:1}

/* ============ DESKTOP ============ */
@media(min-width:900px){
  .tbmr-page .tbmr-wrap{max-width:1080px}
  .tbmr-page .tbmr-btn{font-size:15px;padding:18px 28px}
  .tbmr-page .tbmr-wrap-n{max-width:680px;margin-left:auto;margin-right:auto}
  .tbmr-page .tbmr-hero-media img{width:100%;max-height:92vh;object-fit:cover;object-position:center top}
  .tbmr-page .tbmr-hero-media::after{background:linear-gradient(to bottom,transparent 48%,rgba(42,20,31,.55) 74%,var(--ink) 100%)}
  .tbmr-page .tbmr-hero .tbmr-hero-txt{margin:-230px auto 0;max-width:760px;padding-bottom:56px}
  .tbmr-page .tbmr-intro .tbmr-ubox{max-width:680px;margin:0 auto}
  .tbmr-page .tbmr-items-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .tbmr-page .tbmr-items-grid .tbmr-item{margin-bottom:0}
  .tbmr-page .tbmr-vframe{margin:0;border-radius:16px}
  .tbmr-page .tbmr-fin-in{padding:120px 0 140px}
  .tbmr-page .tbmr-sticky{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0 16px 26px;pointer-events:none}
  .tbmr-page .tbmr-sticky .tbmr-btn{max-width:420px;margin:0 auto;pointer-events:auto;box-shadow:0 14px 38px rgba(0,0,0,.5),0 8px 22px rgba(194,37,92,.35)}
  .tbmr-page .tbmr-dmodal{align-items:center}
  .tbmr-page .tbmr-dcard{border-radius:22px;padding:32px 30px 30px}
}
@media(prefers-reduced-motion:reduce){
  .tbmr-page .tbmr-fill{transition:none}
  .tbmr-page .tbmr-sticky{transition:none}
  .tbmr-page .tbmr-dcard{animation:none}
}