@charset "utf-8";
/* Le site Racing Kart JPR, tel que rendu côté visiteur (charte en dur, indépendante du thème du BO) */
@font-face { font-family: "Cedra 4F"; src: url("../fonts/Cedra4F-WideThin.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Cedra 4F"; src: url("../fonts/Cedra4F-WideLight.woff2") format("woff2"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "Cedra 4F"; src: url("../fonts/Cedra4F-Wide.woff2") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Racing Sport"; src: url("../fonts/RacingSportDisplay-Regular.otf") format("opentype"); font-display: swap; }
.frame {
  --j-red: #e51e13; --j-red-dark: #a81122; --j-ink: #232327; --j-text: #343333; --j-soft: #f0f0f0; --j-line: #e4e4e4; --j-green: #1ba94c;
  --j-font: "Cedra 4F", Montserrat, "Helvetica Neue", Arial, sans-serif; --j-display: "Cedra 4F", "Racing Sport", Montserrat, sans-serif;
  background: #fff; color: var(--j-text);
}
.site { font-family: var(--j-font); font-size: 16px; line-height: 1.6; color: var(--j-text); border-radius: 10px; overflow: clip; }
.s-head { display: flex; align-items: center; gap: 22px; padding: 14px 40px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); position: relative; z-index: 2; flex-wrap: wrap; }
.s-head img.logo { height: 54px; width: auto; display: block; }
.s-nav { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; justify-content: center; align-items: center; }
.s-btn-h { background: var(--j-red); color: #fff; font-weight: 700; padding: 9px 14px; border-radius: 4px; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; white-space: nowrap; }
.s-live { font-weight: 700; font-size: 13px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--j-red); animation: rec 1.2s infinite; }
@keyframes rec { 50% { opacity: .2; } }
.s-loupe { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--j-line); display: grid; place-items: center; color: var(--j-text); }
.s-loupe svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.s-lock { position: absolute; right: 10px; top: 6px; font: 700 11px "Atkinson Hyperlegible", system-ui, sans-serif; background: #fff; color: #5a6470; border: 1px solid #d6dde6; border-radius: 99px; padding: 2px 8px; opacity: 0; transition: opacity .2s; z-index: 3; }
.s-head:hover .s-lock, .s-foot:hover .s-lock { opacity: 1; }
.s-main { padding: 40px 40px 56px; display: block; }
.s-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #6a6a6a; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; cursor: pointer; flex-wrap: wrap; }
.s-meta b { background: var(--j-red); color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; }
.s-foot { position: relative; background: #fff; border-top: 1px solid var(--j-line); color: var(--j-text); }
.s-foot-in { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 30px; padding: 36px 40px; font-size: 14px; }
.s-foot img { height: 46px; width: auto; display: block; margin-bottom: 12px; }
.s-foot h4 { margin: 10px 0 2px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.s-foot p { margin: 0; }
.s-foot .pillbtn { display: inline-block; margin-top: 14px; background: var(--j-ink); color: #fff; border-radius: 30px; padding: 9px 18px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.s-foot ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 4px; }
.s-foot strong { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; color: var(--j-ink); }
.s-socials { display: flex; gap: 8px; margin-top: 8px; }
.s-socials i { width: 30px; height: 30px; border-radius: 50%; background: var(--j-ink); display: grid; place-items: center; color: #fff; font: 700 11px var(--j-font); font-style: normal; }
.footer-bar { height: 30px; background: var(--j-red); }

.s-h { font-family: var(--j-display); text-transform: uppercase; font-weight: 700; color: var(--j-ink); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: .01em; }
.s-h1 { font-size: calc(46px * var(--k, 1)); }
.s-h2 { font-size: calc(32px * var(--k, 1)); }
.s-h3 { font-size: calc(22px * var(--k, 1)); }
.s-h.bar::after { content: ""; display: block; width: 90px; height: 6px; background: var(--j-red); margin-top: 16px; }
.s-h.bar[style*="center"]::after { margin-inline: auto; } .s-h.bar[style*="right"]::after { margin-left: auto; }
.s-sub { font-size: 18px; color: #6a6a6a; margin: 8px 0 0; }
.s-text { font-size: calc(16px * var(--k, 1)); }
.s-text p { margin: 0 0 .7em; } .s-text p:last-child { margin: 0; }
.s-text a, .s-html a { color: var(--j-red); font-weight: 600; }
.s-text ul { margin: .3em 0; padding-left: 1.3em; }
.s-text h2, .s-text h3 { font-family: var(--j-display); text-transform: uppercase; color: var(--j-ink); }
.s-fig { margin: 0; max-width: 100%; }
.s-imgwrap { position: relative; }
.s-imgwrap img { width: 100%; display: block; aspect-ratio: 16/8; object-fit: cover; }
.s-imgwrap.round img { border-radius: 16px; }
.s-fig figcaption { font-size: 13px; color: #777; margin-top: 8px; font-style: italic; }
.s-img2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-img2 .s-imgwrap img { aspect-ratio: 4/3; }
.s-it { display: grid; grid-template-columns: var(--w) 14px 1fr; align-items: center; gap: 0 28px; }
.s-it.right { grid-template-columns: 1fr 14px var(--w); }
.s-it.right .s-it-img { order: 3; } .s-it.right .rs-col { order: 2; } .s-it.right .s-it-txt { order: 1; }
.s-it-img { position: relative; min-width: 0; }
.s-it-img img { width: 100%; aspect-ratio: 17/10; object-fit: cover; display: block; }
.s-it.rounded .s-it-img img { border-radius: 50%; aspect-ratio: 1; }
.s-it-txt { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.s-it.barc .s-it-txt { border-left: 6px solid var(--j-red); padding-left: 22px; }
.s-btnrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s-btn { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding: 14px 28px; border-radius: 4px; background: var(--bc, var(--j-red)); color: #fff; min-width: 4ch; }
.s-btn.outline { background: transparent; color: var(--bc, var(--j-red)); box-shadow: inset 0 0 0 2px var(--bc, var(--j-red)); }
.s-btn.pillb { border-radius: 30px; background: var(--j-ink); }
.s-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--j-ink); }
.s-tel i { width: 38px; height: 38px; border-radius: 50%; background: var(--j-red); display: grid; place-items: center; color: #fff; font-style: normal; }
.s-dest { display: none; align-items: center; gap: 4px; font: 700 12px "Atkinson Hyperlegible", system-ui, sans-serif; color: #1d5fd0; background: #e2ebfb; padding: 4px 9px; border-radius: 99px; cursor: pointer; border: 0; }
.s-dest.broken { color: #c42b2b; background: #fbe2e2; }
.blk.is-sel .s-dest { display: inline-flex; }
.s-tbb { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--j-soft); padding: 30px 34px; }
.s-cta-img { position: relative; min-height: 340px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.s-cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-cta-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.1)); z-index: 1; }
.s-cta-img .in { position: relative; z-index: 2; padding: 34px; max-width: 560px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.s-cta-img .s-h { color: #fff; }
.s-gal { display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: 8px; }
.s-gal-it { position: relative; }
.s-gal-it img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.s-gal-it:nth-child(3n+1) img { aspect-ratio: 3/4; }
.s-galmini .tags { display: flex; gap: 6px; margin: 12px 0; flex-wrap: wrap; }
.s-galmini .tags span { border: 1px solid var(--j-ink); border-radius: 30px; padding: 4px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.s-galmini .tags span.on { background: var(--j-ink); color: #fff; }
.s-galmini .strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.s-galmini .strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.del-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 17px; line-height: 1; display: none; place-items: center; z-index: 2; }
.blk.is-sel > .blk-body .del-x { display: grid; }
.add-x { display: none; border: 2px dashed #c4c8ce; background: transparent; border-radius: 4px; color: #50565e; font: 700 13px "Atkinson Hyperlegible", system-ui, sans-serif; align-items: center; justify-content: center; min-height: 70px; padding: 8px; }
.blk.is-sel > .blk-body .add-x { display: flex; }
.s-cols { display: grid; grid-template-columns: calc(var(--r) * 1%) 14px 1fr; gap: 0 18px; }
.col-list { min-height: 60px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.col-list:empty { border: 2px dashed #cdd1d6; border-radius: 6px; display: grid; place-items: center; cursor: pointer; min-height: 120px; }
.col-list:empty::before { content: "Glissez un bloc ici ou cliquez"; font: 14px "Atkinson Hyperlegible", system-ui, sans-serif; color: #6b7178; padding: 12px; text-align: center; }
.s-infos { background: var(--j-soft); padding: 24px 28px; }
.s-infos dl { margin: 10px 0 0; }
.s-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #cfcfcf; align-items: baseline; position: relative; }
.s-row:last-child { border-bottom: 0; }
.s-row dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.s-row .del-x { position: static; width: 22px; height: 22px; font-size: 14px; }
.s-call { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 22px; border-left: 6px solid; font-size: calc(16px * var(--k, 1)); }
.s-call strong { display: block; font-size: 1.05em; margin-bottom: 2px; text-transform: uppercase; color: var(--j-ink); }
.s-call-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.tone-info { background: #f3f3f3; border-color: var(--j-ink); } .tone-info .s-call-ic { background: var(--j-ink); }
.tone-warn { background: #fdecea; border-color: var(--j-red); } .tone-warn .s-call-ic { background: var(--j-red); }
.tone-ok { background: #e6f6ec; border-color: var(--j-green); } .tone-ok .s-call-ic { background: var(--j-green); }
.s-quote { margin: 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--j-red); }
.s-quote p { font-style: italic; font-size: calc(22px * var(--k, 1)); line-height: 1.4; margin: 0 0 8px; color: var(--j-ink); }
.s-quote cite { font-style: normal; font-weight: 700; color: #777; font-size: 14px; display: block; }
.s-hr { border: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--j-ink) 0 14px, transparent 14px 28px); margin: 6px 0; opacity: .85; }
.s-space { position: relative; }
.s-space-lbl { display: none; position: absolute; inset: 0; place-items: center; font: 700 12px "Atkinson Hyperlegible", system-ui, sans-serif; color: #1d5fd0; background: repeating-linear-gradient(45deg, transparent 0 8px, rgba(29,95,208,.1) 8px 16px); border-radius: 4px; }
.blk.is-sel .s-space-lbl, .blk:hover .s-space-lbl { display: grid; }
.s-html { min-height: 30px; }
.s-html-empty { border: 2px dashed #cdd1d6; padding: 18px; font: 14px "Atkinson Hyperlegible", system-ui, sans-serif; color: #6b7178; text-align: center; }

/* Gabarits JPR */
.s-welcome { text-align: center; padding: 10px 0; }
.s-welcome .s-h { font-size: 48px; }
.s-welcome p { font-size: 20px; text-transform: uppercase; letter-spacing: .08em; margin: 8px 0 0; }
.s-hero { position: relative; min-height: 420px; display: grid; grid-template-columns: 32% 1fr; }
.s-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero .vid { position: absolute; right: 16px; bottom: 16px; z-index: 2; font: 700 12px "Atkinson Hyperlegible", system-ui, sans-serif; background: rgba(0,0,0,.7); color: #fff; padding: 5px 10px; border-radius: 99px; display: flex; gap: 6px; align-items: center; }
.s-hero .menu { position: relative; z-index: 1; background: rgba(255,255,255,.95); border-top: 6px solid var(--j-red); display: flex; flex-direction: column; justify-content: center; padding: 26px 0; }
.s-hero .hb { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 26px; font-weight: 700; text-transform: uppercase; border-left: 5px solid var(--hc, var(--j-red)); margin: 4px 0; font-size: 15px; color: var(--j-ink); position: relative; }
.s-hero .hb::after { content: "›"; font-size: 24px; color: var(--hc, var(--j-red)); line-height: 1; }
.s-hero .hb .del-x { position: static; margin-left: auto; margin-right: 10px; width: 22px; height: 22px; font-size: 14px; }
.s-visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.s-vcard { background: var(--cc); color: #fff; min-height: 150px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; position: relative; font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.2; }
.s-vcard::after { content: "→"; font-size: 26px; }
.s-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.s-price { border: 2px solid var(--j-ink); padding: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.s-price b { font-family: var(--j-display); text-transform: uppercase; font-size: 18px; color: var(--j-ink); }
.s-price em { font-style: normal; font-size: 30px; font-weight: 800; color: var(--j-red); font-variant-numeric: tabular-nums; }
.s-price small { color: #666; }
.s-ex { display: inline-block; font: 700 10px "Atkinson Hyperlegible", system-ui, sans-serif; background: #fff3cd; color: #7a5600; border-radius: 4px; padding: 1px 6px; text-transform: none; letter-spacing: 0; vertical-align: middle; }
.s-circuit { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: center; }
.s-circuit .map { position: relative; background: #1d2a1f; border-radius: 4px; aspect-ratio: 1; overflow: hidden; }
.s-circuit .map img { position: absolute; inset: 6%; width: 88%; height: 88%; transition: opacity .3s; filter: invert(1) brightness(1.4); }
.s-circuit .pt { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--j-red); border: 3px solid #fff; transform: translate(-50%, -50%); }
.s-circuit .side { display: flex; flex-direction: column; gap: 8px; }
.s-circuit .side span { border: 1px solid var(--j-ink); border-radius: 30px; padding: 6px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; text-align: center; }
.s-circuit .side span.on { background: var(--j-ink); color: #fff; }
.s-tl { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 18px; overflow-x: auto; padding-top: 30px; }
.s-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: var(--j-ink); }
.s-tl-it { position: relative; display: flex; flex-direction: column; gap: 4px; }
.s-tl-it::before { content: ""; position: absolute; top: -27px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--j-red); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--j-red); }
.s-tl-it .y { font-family: var(--j-display); font-size: 26px; color: var(--j-red); font-weight: 700; }
.s-tl-it h4 { margin: 0; text-transform: uppercase; font-size: 15px; color: var(--j-ink); }
.s-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.s-ncard { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--j-line); position: relative; }
.s-ncard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.s-ncard .b { padding: 0 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.s-ncard .d { font-size: 12px; text-transform: uppercase; color: #888; font-weight: 700; }
.s-ncard h4 { margin: 0; font-size: 16px; text-transform: uppercase; color: var(--j-ink); line-height: 1.2; }
.s-ncard .fav { position: absolute; top: 10px; left: 10px; background: var(--j-red); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; }
.s-ncard .more { color: var(--j-red); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.s-faq { display: flex; flex-direction: column; margin-top: 14px; }
.s-faq-it { border-bottom: 1px solid var(--j-line); padding: 14px 0; position: relative; }
.s-faq-it .q { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--j-ink); font-size: 17px; }
.s-faq-it .q::after { content: "−"; color: var(--j-red); font-size: 22px; line-height: 1; }
.s-faq-it .a { margin-top: 8px; color: #555; }
.s-faq-it .del-x { top: 12px; right: 30px; }
.s-app { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; background: var(--j-soft); padding: 30px; }
.s-app .phone { width: 180px; aspect-ratio: 9/18; border-radius: 26px; background: var(--j-ink); padding: 8px; margin: 0 auto; }
.s-app .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.s-app .badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.s-app .badges img { height: 42px; width: auto; }
.s-form .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.s-form .cards div { border: 2px solid var(--j-line); padding: 14px; font-size: 13px; color: #666; }
.s-form .cards div.on { border-color: var(--j-red); }
.s-form .cards b { display: block; text-transform: uppercase; color: var(--j-ink); font-size: 15px; }
.s-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-form .fields span { border: 1px solid #cfcfcf; padding: 11px 12px; font-size: 13px; color: #888; }
.s-form .fields span.w { grid-column: 1 / -1; height: 80px; }
.s-social { display: flex; gap: 10px; flex-wrap: wrap; }
.s-social span { display: inline-flex; align-items: center; gap: 8px; background: var(--j-ink); color: #fff; padding: 10px 16px; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.s-map { position: relative; height: 300px; background: #e8eadf; overflow: hidden; }
.s-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%), linear-gradient(20deg, transparent 60%, #fff 60% 62%, transparent 62%), radial-gradient(circle at 70% 30%, #c9dcb7 0 18%, transparent 18%), radial-gradient(circle at 20% 75%, #c9dcb7 0 14%, transparent 14%); }
.s-map .pin { position: absolute; left: 52%; top: 44%; transform: translate(-50%, -100%); background: var(--j-red); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 4px; white-space: nowrap; }
.s-map .pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-top-color: var(--j-red); border-bottom: 0; }
.s-map .osm { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: #666; background: rgba(255,255,255,.8); padding: 1px 5px; }
.s-video { position: relative; aspect-ratio: 16/9; background: #111 center / cover; display: grid; place-items: center; }
.s-video::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.s-video .play { position: relative; width: 74px; height: 52px; border-radius: 14px; background: #e51e13; display: grid; place-items: center; }
.s-video .play::after { content: ""; border: 13px solid transparent; border-left: 20px solid #fff; margin-left: 10px; }
.s-video .cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 700; text-transform: uppercase; }
.s-apex { border: 1px solid var(--j-line); }
.s-apex .ah { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--j-ink); color: #fff; padding: 10px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; flex-wrap: wrap; }
.s-apex .ah small { font: 700 11px "Atkinson Hyperlegible", system-ui, sans-serif; text-transform: none; background: rgba(255,255,255,.15); padding: 2px 8px; border-radius: 99px; }
.s-apex table { width: 100%; border-collapse: collapse; font-size: 14px; }
.s-apex td, .s-apex th { padding: 9px 14px; border-bottom: 1px solid var(--j-line); text-align: left; font-variant-numeric: tabular-nums; }
.s-apex th { font-size: 11px; text-transform: uppercase; color: #888; letter-spacing: .05em; }
.s-apex .rb { background: var(--j-red); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; display: inline-block; }
.s-apex .full { color: #999; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.s-apex .best { color: #8e24aa; font-weight: 700; }
.s-apex .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--j-line); font-size: 12px; }
.s-apex .cal div { background: #fff; min-height: 64px; padding: 6px; }
.s-apex .cal i { display: block; font-style: normal; background: var(--j-red); color: #fff; border-radius: 3px; padding: 1px 4px; margin-top: 3px; font-size: 10px; font-weight: 700; }
.s-apex .cal i.l { background: var(--j-ink); }
.apex-note { font: 12px "Atkinson Hyperlegible", system-ui, sans-serif; color: #6b7178; padding: 8px 14px; background: #fafafa; }

@container (max-width: 700px) {
  .s-head { padding: 12px 16px; } .s-nav { display: none; } .s-head img.logo { height: 40px; }
  .s-main { padding: 26px 16px 40px; }
  .s-h1 { font-size: calc(30px * var(--k, 1)); } .s-h2 { font-size: calc(24px * var(--k, 1)); } .s-welcome .s-h { font-size: 30px; }
  .s-cols, .s-it, .s-it.right, .s-tbb, .s-circuit, .s-app,   .s-it.right .s-it-img { order: 0; }
  .rs-col { display: none !important; }
  .s-gal { grid-template-columns: repeat(2, 1fr); } .s-news { grid-template-columns: 1fr; }
  .s-galmini .strip { grid-template-columns: repeat(3, 1fr); }
  .s-fig { width: 100% !important; }
  .s-form .cards, .s-form .fields { grid-template-columns: 1fr; }
  .s-foot-in { grid-template-columns: 1fr; padding: 26px 16px; }
  .s-hero { min-height: 0; } .s-hero .menu { margin-top: 220px; }
}

/* Chrome d'édition posé sur les blocs */
.blocks { display: flex; flex-direction: column; gap: 30px; }
.blk { position: relative; }
.blk::after { content: ""; position: absolute; inset: -8px; border: 2px solid transparent; border-radius: 6px; pointer-events: none; transition: border-color .12s; }
.blk:hover::after { border-color: rgba(29,95,208,.45); border-style: dashed; }
.blk.is-sel::after { border-color: #1d5fd0; border-style: solid; }
.blk .blk .blk-grip { left: -32px; }
.blk-grip { position: absolute; left: -46px; top: 0; width: 30px; height: 38px; border-radius: 6px; display: grid; place-items: center; color: #586678; background: #fff; border: 1px solid #d6dde6; cursor: grab; opacity: 0; transition: opacity .12s; touch-action: none; z-index: 3; }
.blk:hover > .blk-grip, .blk.is-sel > .blk-grip { opacity: 1; }
.ins { position: absolute; left: 50%; top: -30px; transform: translate(-50%, 0) scale(.6); width: 28px; height: 28px; border-radius: 50%; border: 0; background: #1d5fd0; color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; opacity: 0; z-index: 4; transition: opacity .12s, transform .12s; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.blk:hover > .ins { opacity: 1; transform: translate(-50%, 0) scale(1); }
.anim-badge { position: absolute; right: -4px; top: -20px; font: 700 11px "Atkinson Hyperlegible", system-ui, sans-serif; background: #6a3fd0; color: #fff; border-radius: 99px; padding: 2px 8px; opacity: 0; z-index: 3; pointer-events: none; }
.blk:hover > .anim-badge, .blk.is-sel > .anim-badge { opacity: 1; }
.gab-badge { position: absolute; left: 0; top: -22px; font: 11px ui-monospace, Menlo, monospace; color: #586678; background: #fff; border: 1px solid #d6dde6; border-radius: 4px; padding: 1px 6px; opacity: 0; z-index: 3; pointer-events: none; }
.expert .blk.is-sel > .gab-badge { opacity: 1; }
.blk-ghost { opacity: .35; }
.blocks > .pal-item, .col-list > .pal-item { min-height: 64px; border: 2px dashed #1d5fd0; background: #e2ebfb; color: #1d5fd0; flex-direction: row; align-items: center; }
.blocks > .pal-item small, .col-list > .pal-item small, .blocks > .pal-item code, .col-list > .pal-item code { display: none; }
.blk.flash::after { animation: flash 1.2s ease; }
@keyframes flash { 0%, 40% { border-color: #1d5fd0; background: rgba(29,95,208,.12); } 100% { background: transparent; } }
.blk.drop-target::after { border: 3px solid #1b7f48 !important; background: rgba(27,127,72,.12); }
.drop-line { height: 4px; background: #1b7f48; border-radius: 2px; margin: -17px 0; }
[contenteditable="true"] { outline: none; cursor: text; border-radius: 2px; }
[contenteditable="true"]:focus { box-shadow: 0 0 0 2px rgba(29,95,208,.3); background: rgba(29,95,208,.04); }
[data-ph]:empty::before { content: attr(data-ph); color: #9aa0a8; font-style: italic; pointer-events: none; text-transform: none; }
.img-swap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; background: rgba(15,20,28,.84); color: #fff; font: 700 14px "Atkinson Hyperlegible", system-ui, sans-serif; padding: 11px 16px; border-radius: 99px; display: none; align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.3); z-index: 3; white-space: nowrap; }
.img-swap svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.img-acts { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; gap: 8px; z-index: 3; }
.img-acts .img-swap { position: static; transform: none; display: inline-flex; }
.s-imgwrap:hover > .img-acts, .s-it-img:hover > .img-acts, .s-cta-img:hover > .img-acts, .s-hero:hover > .img-acts { display: flex; }
.rs-handle { display: none; }
.rs-handle.rs-col { display: block; }
.blk.is-sel > .blk-body > .rs-text, .blk.is-sel > .blk-body > .s-fig .rs-corner, .blk.is-sel > .blk-body > .s-space > .rs-v { display: block; }
.rs-corner { position: absolute; right: -9px; bottom: -9px; width: 22px; height: 22px; border-radius: 50%; background: #1d5fd0; border: 3px solid #fff; cursor: nwse-resize; box-shadow: 0 2px 8px rgba(0,0,0,.25); touch-action: none; z-index: 2; }
.rs-col { align-self: stretch; cursor: col-resize; position: relative; touch-action: none; }
.rs-col::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: rgba(29,95,208,.35); }
.rs-col::after { content: ""; position: absolute; left: -2px; top: 50%; width: 18px; height: 40px; margin-top: -20px; border-radius: 9px; background: #1d5fd0; border: 3px solid #fff; }
.s-cols > .rs-col, .s-it > .rs-col { visibility: hidden; }
.blk.is-sel > .blk-body > .s-cols > .rs-col, .blk.is-sel > .blk-body > .s-it > .rs-col { visibility: visible; }
.rs-v { position: absolute; left: 50%; bottom: -10px; width: 44px; height: 18px; margin-left: -22px; border-radius: 9px; background: #1d5fd0; border: 3px solid #fff; cursor: ns-resize; touch-action: none; }
.rs-text { position: absolute; right: -16px; bottom: -16px; height: 26px; padding: 0 8px; border-radius: 99px; background: #1d5fd0; color: #fff; border: 2px solid #fff; cursor: ew-resize; font: 700 12px/22px "Atkinson Hyperlegible", system-ui, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.25); touch-action: none; white-space: nowrap; z-index: 2; user-select: none; }
.rs-badge { position: fixed; z-index: 90; background: #18212c; color: #fff; font: 700 13px "Atkinson Hyperlegible", system-ui, sans-serif; padding: 5px 10px; border-radius: 6px; pointer-events: none; transform: translate(14px, -130%); }
.add-end { margin-top: 34px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px dashed #c6cbd2; background: transparent; border-radius: 8px; padding: 18px; font: 700 16px "Atkinson Hyperlegible", system-ui, sans-serif; color: #4c535c; }
.add-end:hover { border-color: #1d5fd0; color: #1d5fd0; }
.add-end svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.add-end.empty { padding: 60px 20px; flex-direction: column; font-size: 18px; }
.add-end.empty small { font-weight: 400; font-size: 15px; color: #6b7178; }
.chrome-svg svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Aperçu : retirer le chrome */
.is-preview .blk-grip, .is-preview .ins, .is-preview .add-end, .is-preview .s-lock, .is-preview .anim-badge, .is-preview .gab-badge, .is-preview .s-dest, .is-preview .del-x, .is-preview .add-x, .is-preview .img-swap, .is-preview .img-acts, .is-preview .s-ex, .is-preview .apex-note { display: none !important; }
.is-preview .blk::after { display: none; }
.is-preview .col-list:empty { display: none; }
.is-preview .s-space-lbl { display: none !important; }

/* Options d'accessibilité appliquées par le visiteur */
.frame.a11y-big .site { font-size: 18px; } .frame.a11y-bigger .site { font-size: 20px; }
.frame.a11y-big .s-text { font-size: calc(18px * var(--k, 1)); } .frame.a11y-bigger .s-text { font-size: calc(20px * var(--k, 1)); }
.frame.a11y-contrast .site { color: #000; } .frame.a11y-contrast .s-text, .frame.a11y-contrast .s-sub { color: #000; } .frame.a11y-contrast .s-infos, .frame.a11y-contrast .frame.a11y-dys .site, .frame.a11y-dys .s-h { font-family: "Atkinson Hyperlegible", Verdana, sans-serif !important; letter-spacing: .03em; word-spacing: .12em; line-height: 1.8; }
.frame.a11y-motion .rec-dot { animation: none; }
.frame.wm .s-imgwrap::after, .frame.wm .s-it-img::after, .frame.wm .s-gal-it::after { content: var(--wm, "© Racing Kart JPR"); position: absolute; right: 8px; bottom: 6px; font: 700 11px var(--j-font); color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.7); pointer-events: none; }
.frame.protect img { -webkit-user-drag: none; user-select: none; }

/* Calques visiteur : cookies, accessibilité, pop-up article libre */
.v-layer { position: fixed; inset: 0; z-index: 74; pointer-events: none; }
.v-layer > * { pointer-events: auto; }
.ck-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 1; }
.ck { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(640px, calc(100% - 24px)); background: #fff; color: #343333; border-top: 5px solid #e51e13; box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 22px; z-index: 2; font-family: "Cedra 4F", Montserrat, sans-serif; display: flex; flex-direction: column; gap: 12px; }
.ck img { height: 34px; width: auto; align-self: flex-start; }
.ck h2 { margin: 0; font-size: 19px; text-transform: uppercase; color: #232327; }
.ck p { margin: 0; font-size: 14px; }
.ck a { color: #e51e13; font-weight: 700; }
.ck .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ck button { font: 700 13px "Cedra 4F", Montserrat, sans-serif; text-transform: uppercase; padding: 11px 16px; border: 2px solid #232327; background: #fff; color: #232327; cursor: pointer; }
.ck button.acc { background: #e51e13; border-color: #e51e13; color: #fff; }
.ck .cats { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #eee; padding-top: 10px; font-size: 13px; }
.ck .cats label { display: flex; gap: 10px; align-items: flex-start; }
.ck .cats b { display: block; font-size: 14px; color: #232327; }
.a11y-btn { position: fixed; z-index: 3; width: 52px; height: 52px; border-radius: 50%; background: #e51e13; color: #fff; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.3); display: grid; place-items: center; cursor: pointer; }
.a11y-btn svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.ck-reopen { position: fixed; z-index: 3; background: #232327; color: #fff; border: 0; font: 700 12px "Cedra 4F", Montserrat, sans-serif; text-transform: uppercase; padding: 9px 13px; border-radius: 99px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.a11y-panel { position: fixed; z-index: 4; width: 290px; background: #fff; color: #232327; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 18px; font-family: "Atkinson Hyperlegible", system-ui, sans-serif; display: flex; flex-direction: column; gap: 12px; }
.a11y-panel h2 { margin: 0; font-size: 18px; display: flex; justify-content: space-between; }
.a11y-panel h2 button { border: 0; background: none; font-size: 22px; cursor: pointer; line-height: 1; }
.a11y-panel .grp b { display: block; font-size: 13px; margin-bottom: 5px; }
.a11y-panel .opts { display: flex; gap: 5px; flex-wrap: wrap; }
.a11y-panel .opts button { border: 2px solid #d6d6d6; background: #fff; border-radius: 6px; padding: 6px 10px; font: 700 13px "Atkinson Hyperlegible", system-ui, sans-serif; cursor: pointer; color: #232327; }
.a11y-panel .opts button.on { border-color: #e51e13; background: #fdecea; color: #a81122; }
.a11y-panel .reset { border: 0; background: none; text-decoration: underline; font-weight: 700; cursor: pointer; align-self: flex-start; padding: 0; color: #232327; }
.jp-scrim { position: fixed; inset: 0; z-index: 5; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px; animation: fadein .25s ease; }
.jp { width: min(480px, 100%); background: #fff; color: #343333; font-family: "Cedra 4F", Montserrat, sans-serif; box-shadow: 0 30px 80px rgba(0,0,0,.45); position: relative; animation: pop .3s ease; max-height: calc(100% - 20px); overflow: auto; }
.jp-h { background: #e51e13; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: .02em; gap: 10px; }
.jp-h button { border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.jp img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.jp-b { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.jp-b h3 { margin: 0; text-transform: uppercase; color: #232327; font-size: 18px; }
.jp-b p { margin: 0; font-size: 14px; }
.jp-b .go { align-self: flex-end; margin-top: 10px; background: #e51e13; color: #fff; font-weight: 700; text-transform: uppercase; padding: 11px 18px; font-size: 13px; letter-spacing: .04em; border: 0; }
.jp-arrow { position: absolute; right: 150px; bottom: 26px; width: 70px; height: 40px; }
.jp-count { font: 700 11px "Atkinson Hyperlegible", system-ui, sans-serif; background: rgba(255,255,255,.25); border-radius: 99px; padding: 2px 8px; }

/* Bandeau d'ouverture (reprend bandeau-ouverture.blade.php) */
.s-open { position: relative; border-top: 16px solid #fff; background: var(--j-soft); padding: 22px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; --sc: var(--j-green); }
.s-open.closed { --sc: var(--j-red); }
.s-open .st { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; text-transform: uppercase; color: var(--sc); }
.s-open .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sc) 25%, transparent); }
.s-open .note { margin: 0; font-size: 14px; color: #555; }
.s-open .note.day { font-weight: 700; color: var(--j-ink); }
.s-open ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 26px; flex-wrap: wrap; }
.s-open li { display: flex; gap: 8px; align-items: baseline; }
.s-open .lb { font-weight: 700; text-transform: uppercase; font-size: 13px; color: #777; }
.s-open li.priv .lb { background: #fff; color: var(--j-red); border: 1px solid var(--j-red); border-radius: 99px; padding: 1px 9px; font-size: 12px; }
.s-open.closed li.priv .lb { background: var(--j-red); color: #fff; }
.sim-chip, .ex-chip { position: absolute; top: -14px; right: 10px; font: 700 11px "Atkinson Hyperlegible", system-ui, sans-serif; background: #6a3fd0; color: #fff; border-radius: 99px; padding: 2px 9px; }
.ex-chip { right: auto; left: 10px; background: #a85f00; }
.is-preview .sim-chip, .is-preview .ex-chip { display: none; }

/* Vidéo d'accueil et couleur des boutons */
.s-hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-chip { position: absolute; left: -15px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #c9ced6, 0 2px 6px rgba(0,0,0,.25); cursor: pointer; padding: 0; z-index: 2; opacity: 0; transition: opacity .15s, transform .15s; }
.blk:hover .hc-chip, .blk.is-sel .hc-chip { opacity: 1; }
.hc-chip:hover { transform: scale(1.2); }
.blk.is-sel .s-hero .hb { border-left-width: 8px; }

/* Entête et pied de page pilotés par les menus */
.s-nav .mi { position: relative; font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--j-text); letter-spacing: .02em; padding: 8px 0; white-space: nowrap; cursor: default; }
.s-nav .mi.on > .ml { border-bottom: 2px solid var(--j-red); }
.s-nav .mi.dd > .ml::after { content: " ▾"; font-size: 10px; }
.s-nav .sub { position: absolute; top: 100%; left: -14px; min-width: 200px; background: var(--dc, var(--j-red)); color: #fff; display: none; flex-direction: column; padding: 8px 0; z-index: 5; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.s-nav .mi.dd:hover > .sub, .s-nav .mi.dd.force > .sub { display: flex; }
.s-nav .sub span { padding: 8px 16px; font-size: 12px; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.s-nav .sub span:hover { background: rgba(0,0,0,.15); }
.s-nav .mbtn { background: var(--bc, var(--j-red)); color: #fff; font-weight: 700; padding: 9px 14px; border-radius: 4px; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; white-space: nowrap; }
.s-nav .mi .rec-dot { display: inline-block; margin-right: 6px; vertical-align: middle; }
.s-edit-menu { position: absolute; right: 10px; bottom: -14px; z-index: 6; font: 700 12px "Atkinson Hyperlegible", system-ui, sans-serif; background: #1d5fd0; color: #fff; border: 0; border-radius: 99px; padding: 5px 12px; opacity: 0; transition: opacity .15s; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.s-foot .s-edit-menu { top: -14px; bottom: auto; }
.s-head:hover .s-edit-menu, .s-foot:hover .s-edit-menu { opacity: 1; }
.is-preview .s-edit-menu { display: none; }
.s-foot .fmenu { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; align-content: start; }
.s-foot .fmenu strong { margin-bottom: 4px; }

/* ===== Animations ===== */
.blk-body[data-anim].anim-play { animation: var(--an) var(--ad, .7s) var(--ae, ease) var(--adl, 0s) both; }
.blk-body[data-stagger].anim-play { animation: none; }
.blk-body[data-stagger].anim-play :is(.s-vcard, .s-price, .s-gal-it, .s-ncard, .s-faq-it, .s-tl-it, .hb, .s-img2 > *, .s-row, .strip > img) { animation: var(--an) var(--ad, .7s) var(--ae, ease) both; animation-delay: calc(var(--adl, 0s) + var(--i, 0) * var(--ast, .12s)); }
.is-preview .blk-body[data-anim]:not(.anim-play):not(.anim-off) { opacity: 0; }
@keyframes a-fade { from { opacity: 0; } }
@keyframes a-up { from { opacity: 0; transform: translateY(50px); } }
@keyframes a-down { from { opacity: 0; transform: translateY(-50px); } }
@keyframes a-left { from { opacity: 0; transform: translateX(-80px); } }
@keyframes a-right { from { opacity: 0; transform: translateX(80px); } }
@keyframes a-zoomin { from { opacity: 0; transform: scale(.8); } }
@keyframes a-zoomout { from { opacity: 0; transform: scale(1.2); } }
@keyframes a-flip { from { opacity: 0; transform: perspective(900px) rotateX(70deg); transform-origin: top; } }
@keyframes a-rotate { from { opacity: 0; transform: rotate(-8deg) scale(.9); } }
@keyframes a-blur { from { opacity: 0; filter: blur(14px); } }
@keyframes a-bounce { 0% { opacity: 0; transform: translateY(70px); } 60% { opacity: 1; transform: translateY(-12px); } 80% { transform: translateY(5px); } 100% { transform: none; } }
@keyframes a-curtain { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes a-wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes a-elastic { 0% { opacity: 0; transform: scaleX(.3); } 50% { opacity: 1; transform: scaleX(1.08); } 70% { transform: scaleX(.96); } 100% { transform: none; } }
@keyframes a-skew { from { opacity: 0; transform: translateX(-70px) skewX(14deg); } }
.blk-body[data-hover] { transition: transform .35s ease, box-shadow .35s ease; }
.blk-body[data-hover="zoomimg"] :is(.s-imgwrap, .s-it-img, .s-gal-it, .s-ncard, .s-cta-img) { overflow: hidden; }
.blk-body[data-hover="zoomimg"] img { transition: transform .6s ease; }
.blk-body[data-hover="zoomimg"] :is(.s-imgwrap, .s-it-img, .s-gal-it, .s-ncard, .s-cta-img):hover img { transform: scale(1.08); }
.blk-body[data-hover="lift"]:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.blk-body[data-hover="grow"]:hover { transform: scale(1.03); }
.blk-body[data-hover="tilt"]:hover { transform: perspective(900px) rotateX(3deg) rotateY(-5deg); }
.blk-body[data-hover="darken"] img { transition: filter .4s; }
.blk-body[data-hover="darken"]:hover img { filter: brightness(.7); }
.blk-body[data-hover="shine"] :is(.s-imgwrap, .s-it-img, .s-btn, .s-cta-img, .s-vcard, .s-price) { position: relative; overflow: hidden; }
.blk-body[data-hover="shine"] :is(.s-imgwrap, .s-it-img, .s-btn, .s-cta-img, .s-vcard, .s-price)::before { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); pointer-events: none; z-index: 2; }
.blk-body[data-hover="shine"] :is(.s-imgwrap, .s-it-img, .s-btn, .s-cta-img, .s-vcard, .s-price):hover::before { animation: a-shine .9s ease; }
@keyframes a-shine { to { left: 130%; } }
.blk-body[data-loop="pulse"] > :first-child { animation: a-pulse 2s ease-in-out infinite; }
.blk-body[data-loop="heartbeat"] > :first-child { animation: a-heart 1.6s ease-in-out infinite; }
.blk-body[data-loop="float"] > :first-child { animation: a-float 3.2s ease-in-out infinite alternate; }
.blk-body[data-loop="shake"] > :first-child { animation: a-shake 4s ease-in-out infinite; }
.blk-body[data-loop="glow"] .s-btn, .blk-body[data-loop="glow"]:not(:has(.s-btn)) > :first-child { animation: a-glow 2s ease-out infinite; }
.blk-body[data-loop="kenburns"] :is(.s-imgwrap, .s-it-img, .s-gal-it, .s-cta-img, .s-hero) { overflow: hidden; }
.blk-body[data-loop="kenburns"] img { animation: a-ken 14s ease-in-out infinite alternate; }
@keyframes a-pulse { 50% { transform: scale(1.035); } }
@keyframes a-heart { 0%, 28%, 70% { transform: scale(1); } 14%, 42% { transform: scale(1.07); } }
@keyframes a-float { to { transform: translateY(-10px); } }
@keyframes a-shake { 0%, 86%, 100% { transform: none; } 88% { transform: rotate(-2deg); } 91% { transform: rotate(2deg); } 94% { transform: rotate(-1.5deg); } 97% { transform: rotate(1deg); } }
@keyframes a-glow { 0% { box-shadow: 0 0 0 0 rgba(229,30,19,.55); } 100% { box-shadow: 0 0 0 16px rgba(229,30,19,0); } }
@keyframes a-ken { from { transform: scale(1); } to { transform: scale(1.14) translate(-2%, -2%); } }
.blk-body[data-scroll="parallax"] :is(.s-imgwrap, .s-it-img, .s-cta-img) { overflow: hidden; }
.blk-body[data-scroll="parallax"] img { transform: translateY(var(--py, 0px)) scale(1.18); will-change: transform; }
.frame.no-anim .blk-body, .frame.no-anim .blk-body * { animation: none !important; opacity: 1 !important; }
.frame.a11y-motion .blk-body, .frame.a11y-motion .blk-body * { animation: none !important; opacity: 1 !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .blk-body, .blk-body * { animation: none !important; opacity: 1 !important; } }

/* Carte du circuit (reprend circuit-map.blade.php) */
.s-cmap { position: relative; }
.cm-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 25px; flex-wrap: wrap; }
.cm-fbtn { padding: 10px 22px; border: 0; border-radius: 50px; background: #f0f0f0; font: 400 13px var(--j-font); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: transform .3s, background .3s, box-shadow .3s; color: #343333; }
.cm-fbtn:hover { transform: scale(1.05); }
.cm-fbtn[data-cf="all"].active { background: #e51e13; color: #fff; box-shadow: 0 6px 20px rgba(229,30,19,.35); }
.cm-fbtn[data-cf="loisir"].active { background: #C20E1A; color: #fff; box-shadow: 0 6px 20px rgba(194,14,26,.35); }
.cm-fbtn[data-cf="fia"].active { background: #070809; color: #fff; box-shadow: 0 6px 20px rgba(7,8,9,.35); }
.cm-layout { display: flex; align-items: center; }
.cm-wrap { position: relative; width: 100%; flex-shrink: 0; display: flex; justify-content: center; transition: width .45s ease; }
.s-cmap.panel-open .cm-wrap { width: 75%; }
.cm-inner { position: relative; width: 100%; max-width: 650px; aspect-ratio: 1; margin: 0 auto; }
.cm-img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s ease; }
.cm-compet { z-index: 1; } .cm-loisir { z-index: 2; }
.cm-inner.filter-fia .cm-loisir, .cm-inner.filter-loisir .cm-compet { opacity: 0; }
.cm-inner.filter-fia .cm-pt.t-loisir, .cm-inner.filter-loisir .cm-pt.t-fia { opacity: 0; pointer-events: none; }
.cm-points { position: absolute; inset: 0; z-index: 3; }
.cm-pt { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid #e51e13; cursor: pointer; transform: translate(-50%, -50%); transition: transform .3s, box-shadow .3s, opacity .3s, background .3s; padding: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
.cm-pt::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(229,30,19,.3); animation: cm-ring 2.2s ease-out infinite; }
.cm-pt:hover, .cm-pt.active { transform: translate(-50%, -50%) scale(1.3); background: #e51e13; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 15px rgba(229,30,19,.5); }
@keyframes cm-ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.cm-panel { width: 0; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; display: flex; flex-direction: column; flex-shrink: 0; position: relative; transition: width .45s ease, opacity .35s ease .1s; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.s-cmap.panel-open .cm-panel { width: 25%; min-width: 260px; max-height: none; visibility: visible; opacity: 1; }
.cm-close { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9); border: 0; font-size: 24px; color: #343333; cursor: pointer; z-index: 3; width: 36px; height: 36px; border-radius: 50%; line-height: 1; }
.cm-close:hover { color: #fff; background: #e51e13; }
.cm-pimg { height: 200px; overflow: hidden; } .cm-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fadein .4s ease; }
.cm-ptitle { font: 400 18px var(--j-font); text-transform: uppercase; color: #e51e13; margin: 20px 20px 10px; }
.cm-ptext { font: 300 15px/1.6 var(--j-font); color: #343333; margin: 0 20px 20px; }
.cm-nav { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 0 20px 20px; margin-top: auto; }
.cm-nav button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #e51e13; background: #fff; color: #e51e13; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.cm-nav button:hover { background: #e51e13; color: #fff; transform: scale(1.1); }
.cm-count { font: 400 14px var(--j-font); }
@container (max-width: 900px) { .cm-layout { flex-direction: column; align-items: stretch; } .cm-wrap, .s-cmap.panel-open .cm-wrap { width: 100%; } .s-cmap.panel-open .cm-panel { width: 100%; min-width: 0; } .cm-pt { width: 18px; height: 18px; border-width: 3px; } }

/* Page introuvable dans l'aperçu */
.s-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 80px 20px !important; }
.s-404 img { height: 70px; }
[data-nav], [data-href] { cursor: pointer; }
.is-preview [data-nav]:hover { opacity: .85; }

/* ================= PV3 · thème neutre (sites partis de zéro) =================
   Activé par la classe .t-neutral (sur <body>). La couleur d'accent vient de la
   première couleur de Configuration › Couleurs (--t-accent). */
body.t-neutral, .t-neutral .frame {
  --j-red: var(--t-accent, #2563eb); --j-red-dark: color-mix(in srgb, var(--j-red) 78%, #000);
  --j-ink: #111827; --j-text: #374151; --j-soft: #f3f4f6; --j-line: #e5e7eb;
  --j-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --j-display: var(--j-font);
}
.t-neutral .s-h, .t-neutral .s-text h2, .t-neutral .s-text h3, .t-neutral .s-price b, .t-neutral .s-meta { text-transform: none; letter-spacing: -.015em; }
.t-neutral .s-h { font-weight: 800; }
.t-neutral .s-h.bar::after { width: 56px; height: 4px; border-radius: 4px; }
.t-neutral :is(.s-btn, .s-btn-h, .s-nav .mbtn, .s-foot .pillbtn, .s-hero .hb) { text-transform: none; letter-spacing: 0; }
.t-neutral :is(.s-btn, .s-btn-h, .s-nav .mbtn) { border-radius: 8px; }
.t-neutral .s-head { box-shadow: none; border-bottom: 1px solid var(--j-line); }
.t-neutral .s-head img.logo { height: 40px; }
.t-neutral .s-foot { background: var(--j-soft); border-top: 0; }
.t-neutral .s-foot h4 { text-transform: none; letter-spacing: 0; }
.t-neutral .footer-bar { height: 4px; }
.t-neutral .s-tbb, .t-neutral .s-app { border-radius: 14px; }
.t-neutral .s-cta-img { border-radius: 14px; }
.t-neutral .s-cta-img::before { background: linear-gradient(90deg, rgba(17,24,39,.78), rgba(17,24,39,.15)); }
.t-neutral .s-video .play { background: var(--j-red); }
.t-neutral .jp-arrow { stroke: var(--j-red); }
.t-neutral .ck { border-top-color: var(--j-red); color: var(--j-text); font-family: var(--j-font); border-radius: 12px; }
.t-neutral .ck h2 { text-transform: none; color: var(--j-ink); }
.t-neutral .ck a { color: var(--j-red); }
.t-neutral .ck button, .t-neutral .ck-reopen { font-family: var(--j-font); text-transform: none; border-radius: 8px; }
.t-neutral .ck button { border-color: var(--j-ink); color: var(--j-ink); }
.t-neutral .ck button.acc { background: var(--j-red); border-color: var(--j-red); color: #fff; }
.t-neutral .a11y-btn { background: var(--j-red); }
.t-neutral .a11y-panel .opts button.on { border-color: var(--j-red); background: color-mix(in srgb, var(--j-red) 10%, #fff); color: var(--j-red-dark); }
.t-neutral .jp { font-family: var(--j-font); border-radius: 12px; overflow: hidden; }
.t-neutral .jp-h, .t-neutral .jp-b .go { background: var(--j-red); text-transform: none; }
.t-neutral .jp-b .go { border-radius: 8px; }

/* Bloc application : changer la capture, badges sans lien (éditeur seulement) */
.s-app .phone { position: relative; }
.s-app .phone:hover > .img-acts { display: flex; }
.s-app .badges [data-href] { cursor: pointer; }
.s-app-off { opacity: .35; cursor: pointer; outline: 2px dashed #9ca3af; outline-offset: 3px; border-radius: 6px; }

/* Thème neutre : pas de majuscules forcées (style « course » de JPR) */
.t-neutral :is(.site, .ck, .jp, .ck-reopen, .a11y-panel) :is(*, *::before), .t-neutral .ck-reopen { text-transform: none; }
.t-neutral .s-nav .mi { font-size: 15px; letter-spacing: 0; font-weight: 500; }
.t-neutral .s-nav .mi.on { font-weight: 700; }
.t-neutral .s-nav .sub span { font-size: 14px; }
.t-neutral .s-foot strong { font-size: 14px; letter-spacing: 0; }

/* ================= Agenda : en-tête d'un événement et bloc « Agenda » ================= */
.s-evmeta { display: flex; gap: 18px; align-items: center; padding: 18px 20px; margin-bottom: 22px; background: var(--j-soft); border-left: 5px solid var(--j-red); border-radius: 6px; }
.s-evmeta[data-act] { cursor: pointer; }
.s-ev-d { flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; background: var(--j-red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.s-ev-d b { font-size: 26px; font-family: var(--j-display); }
.s-ev-d span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }
.s-ev-i { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--j-text); font-size: 15px; }
.s-ev-i strong { flex-basis: 100%; color: var(--j-ink); font-size: 17px; }
.s-ev-cat { background: #fff; border: 1px solid var(--j-line); border-radius: 30px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.s-ev-btn { padding: 9px 16px; font-size: 13px; }
.s-agenda .s-h2 { margin-bottom: 16px; }
.s-aglist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.s-agcard { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--j-line); border-radius: 10px; background: #fff; cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.s-agcard:hover { border-color: var(--j-red); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.s-agcard .s-ev-d { width: 54px; height: 54px; }
.s-agcard .s-ev-d b { font-size: 21px; }
.s-agcard h4 { margin: 0 0 3px; font-size: 16px; color: var(--j-ink); line-height: 1.25; }
.s-agcard p { margin: 0; font-size: 13px; color: #6b7280; }
.s-agempty { color: #6b7280; font-style: italic; }
@container (max-width: 600px) { .s-evmeta { align-items: flex-start; } }

/* ===== Formulaires construits (PV3) ===== */
.pv3f { position: relative; }
.pv3f .pf-intro { color: #555; margin: 8px 0 4px; }
.pv3f .pf-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 16px 0; }
.pv3f .pf-cat { position: relative; border: 2px solid var(--j-line); padding: 14px; font-size: 13px; color: #666; cursor: pointer; border-radius: 6px; display: block; }
.pv3f .pf-cat input { position: absolute; opacity: 0; pointer-events: none; }
.pv3f .pf-cat.on { border-color: var(--j-red); }
.pv3f .pf-cat b { display: block; color: var(--j-ink); font-size: 15px; margin-bottom: 2px; }
.pv3f .pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.pv3f .pf-f { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pv3f .pf-f.half { grid-column: auto; }
.pv3f .pf-f[hidden] { display: none; }
.pv3f .pf-f > label { font-weight: 700; font-size: 14px; color: var(--j-ink); }
.pv3f .pf-f i { color: var(--j-red); font-style: normal; }
.pv3f input[type=text], .pv3f input[type=email], .pv3f input[type=tel], .pv3f input[type=number], .pv3f input[type=date], .pv3f select, .pv3f textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; color: var(--j-ink); width: 100%; box-sizing: border-box; }
.pv3f input:focus, .pv3f select:focus, .pv3f textarea:focus { outline: none; border-color: var(--j-red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--j-red) 15%, transparent); }
.pv3f :disabled { opacity: 1; cursor: default; }
.pv3f .pf-f small { color: #777; font-size: 12px; }
.pv3f .pf-opts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pv3f .pf-opts label, .pv3f .pf-one { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--j-text); font-weight: 400; }
.pv3f .pf-opts input, .pv3f .pf-one input { margin-top: 3px; accent-color: var(--j-red); }
.pv3f .pf-sec { grid-column: 1 / -1; margin: 10px 0 0; font-size: 17px; color: var(--j-ink); border-bottom: 1px solid var(--j-line); padding-bottom: 6px; }
.pv3f .pf-info { grid-column: 1 / -1; margin: 0; color: #555; font-size: 14px; background: var(--j-soft); padding: 10px 12px; border-radius: 6px; }
.pv3f .pf-consent { margin-top: 14px; }
.pv3f .pf-err { color: #c0262d; font-size: 12.5px; font-weight: 600; min-height: 0; }
.pv3f .pf-f.bad input, .pv3f .pf-f.bad select, .pv3f .pf-f.bad textarea { border-color: #c0262d; }
.pv3f .pf-foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; }
.pv3f .pf-msg { color: #555; font-size: 14px; }
.pv3f button.s-btn { border: 0; cursor: pointer; font: inherit; }
.pv3f button.s-btn:disabled { opacity: .6; cursor: wait; }
.pv3f .pf-ok { margin-top: 16px; padding: 18px; border-radius: 8px; background: color-mix(in srgb, var(--j-green) 12%, #fff); color: var(--j-ink); font-weight: 600; }
.pv3f .pf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@container (max-width: 640px) { .pv3f .pf-grid { grid-template-columns: 1fr; } .pv3f .pf-f.half { grid-column: 1 / -1; } }
/* Éditeur : le formulaire n'est pas saisissable, un bouton ouvre le constructeur */
.pv3f.pf-edit .pf-grid, .pv3f.pf-edit .pf-cats, .pv3f.pf-edit .pf-consent { pointer-events: none; }
.pv3f .pf-build { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; background: #1d4ed8; color: #fff; font: 700 13px/1 system-ui, sans-serif; padding: 9px 12px; border-radius: 8px; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.pv3f .pf-build svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.t-neutral .pv3f .pf-cat.on, .t-neutral .pv3f input:focus { border-color: var(--t-accent, #2563eb); }

/* ===== Modules du site (FAQ, application) ===== */
.s-gmod { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--j-line); }
.s-gmod .s-gm-intro { color: #555; margin: 6px 0 0; }
.s-gmod.acc .s-faq-it { cursor: pointer; }
.s-gmod.acc .s-faq-it .q::after { content: "+"; }
.s-gmod.acc .s-faq-it.open .q::after { content: "−"; }
.s-gmod.acc .s-faq-it .a { display: none; }
.s-gmod.acc .s-faq-it.open .a { display: block; }
