/* JSST 2026 — thème global (charte v2, validée graphiste).
   Palette chaude orange/crème, marine en texte, frise tapa en signature.
   Source de vérité : docs/design/cps-charte.html. */

:root{
	/* Couleurs */
	--navy:#113569; --navy-deep:#0C2749;
	--orange:#F6910B; --orange-ink:#D97A00; --amber:#F3AD4D;
	--cream:#FDF3E2; --cream-hi:#FEFCF8;
	--teal:#46B2D6; --green:#48B276;
	--ink:#1B2C46; --muted:#5E6E86; --line:#EBD9BE;
	--surface:#FFFFFF; --surface-2:#FBF3E6;
	/* Formes */
	--radius:18px; --pill:999px; --maxw:1120px;
	--shadow:0 22px 48px -28px rgba(120,72,10,.45);
	/* Typo */
	--f-sans:'Poppins',system-ui,-apple-system,sans-serif;
	--f-script:'Amithen','Caveat',cursive;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
	margin:0; font-family:var(--f-sans); color:var(--ink); line-height:1.55; -webkit-font-smoothing:antialiased;
	background:radial-gradient(120% 140% at 100% 0%, var(--amber) 0%, #F7C070 34%, var(--cream) 70%, var(--cream-hi) 100%) fixed;
}
/* The theme's own templates space everything by hand, so the reset is right for
   them — but it also lands on every page Tickera renders, where nothing puts the
   rhythm back. « Participant » on /tickets-cart/ sat flush against the cart table
   with nothing to breathe (#164). So the reset is scoped, and the rhythm is given
   back inside the plugin-rendered regions. */
h1,h2,h3,h4{margin:0;line-height:1.12;letter-spacing:-.01em;text-wrap:balance;color:var(--navy)}
p{margin:0}
.tickera h1,.tickera h2,.tickera h3,.tickera h4,
.tc-form-ticket-fields-wrap h1,.tc-form-ticket-fields-wrap h2,
.tc-form-ticket-fields-wrap h3,.tc-form-ticket-fields-wrap h4{margin:34px 0 12px}
.tickera h1:first-child,.tickera h2:first-child,
.tc-form-ticket-fields-wrap h1:first-child,.tc-form-ticket-fields-wrap h2:first-child{margin-top:0}
.tickera p,.tc-form-ticket-fields-wrap p{margin:0 0 10px}
a{color:var(--orange-ink)}
img{max-width:100%}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- header (clair/crème) ---------- */
.site-header{background:var(--cream);border-bottom:1px solid var(--line)}
/* min-height, not height: the bar has to be allowed to grow rather than have its
   contents overflow it. On a 360px phone the CTA was 65px tall inside a bar
   pinned to 74px, with four pixels of clearance (#164). */
.site-header .bar{max-width:var(--maxw);margin:0 auto;padding:0 24px;min-height:74px;display:flex;align-items:center;gap:26px}
.site-header .brand{display:flex;align-items:center;gap:13px;text-decoration:none}
.site-header .brand img{height:44px;width:auto;display:block}
.site-header .brand span{color:var(--navy);font-weight:800;font-size:16px;letter-spacing:-.02em;line-height:1.05}
/* Two lines, never three. Unconstrained it ran to three at 360px and four at
   320px, dragging the whole lockup past the logo (#164). `line-clamp` does the
   work where it is supported; `max-height` is the floor everywhere else. */
.site-header .brand small{
	display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
	overflow:hidden;max-height:calc(2 * 1.05 * 11.5px);
	font-weight:500;font-size:11.5px;color:var(--muted);letter-spacing:0;
}
.site-nav{display:flex;gap:26px;margin-left:auto;font-size:14.5px;font-weight:500}
.site-nav a{color:var(--navy);opacity:.82;text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.site-nav a:hover{opacity:1;border-color:var(--orange)}
/* `white-space:nowrap` is the whole fix: without it « Je m'inscris » wrapped to
   two lines at every phone width tested, 320 to 430 (#164). It is the single most
   important control on the site. */
.header-cta{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:var(--orange);color:#fff;font-weight:700;font-size:14px;padding:11px 20px;border-radius:var(--pill);text-decoration:none;box-shadow:var(--shadow)}
.header-cta:hover{background:#e88503}
/* ---------- the mobile menu (#164) ---------- */

/* Hidden above the breakpoint: the row of links is the navigation there. */
.site-menu{display:none;position:relative;flex:0 0 auto;margin-left:auto}
.site-menu > summary{
	list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;
	width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--cream-hi);
}
.site-menu > summary::-webkit-details-marker{display:none}
.site-menu-i{display:block;width:20px}
.site-menu-i span{display:block;height:2px;border-radius:2px;background:var(--navy)}
.site-menu-i span + span{margin-top:4px}
/* The bars become a cross when it is open, so the control says which state it is
   in without a second label. */
.site-menu[open] .site-menu-i span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.site-menu[open] .site-menu-i span:nth-child(2){opacity:0}
.site-menu[open] .site-menu-i span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.site-menu-panel{
	position:absolute;right:0;top:calc(100% + 10px);z-index:60;min-width:220px;
	display:flex;flex-direction:column;
	background:var(--surface);border:1px solid var(--line);border-radius:16px;
	box-shadow:0 24px 48px -24px rgba(120,72,10,.45);overflow:hidden;
}
.site-menu-panel a{
	padding:14px 18px;color:var(--navy);text-decoration:none;font-weight:600;font-size:15px;
	min-height:var(--tap,44px);display:flex;align-items:center;
}
.site-menu-panel a + a{border-top:1px solid var(--line)}
.site-menu-panel a:hover{background:var(--surface-2)}

@media(max-width:820px){
	.site-nav{display:none}
	.site-menu{display:block}
	/* The brand keeps what the two controls do not need. */
	.site-header .bar{gap:14px;padding:10px 16px}
	.site-header .brand{min-width:0}
	.site-header .brand span{min-width:0}
}
/* Below 480px the subtitle goes rather than gets cut.
   Two lines of « Journées Santé & Sécurité au Travail » need 107px of column.
   Once the mark, « Je m'inscris » and the menu button have taken their share
   there are 92px at 375 and 37 at 320 — so clamping produced « Sécurité au… »,
   which is worse than not saying it. The mark and « JSST 2026 » carry the
   identity; the full title is in the hero and in the footer, on the same screen.
   Above 480 it fits whole, on two lines, and the clamp above is the floor. */
@media(max-width:480px){
	.site-header .brand small{display:none}
	.header-cta{padding:11px 15px}
	.site-header .bar{gap:12px}
}
/* Narrower still: the mark shrinks before the words do. */
@media(max-width:400px){
	.site-header .brand img{height:38px}
	.header-cta{font-size:13.5px}
}

/* ---------- boutons ---------- */
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:15.5px;padding:14px 26px;border-radius:var(--pill);text-decoration:none;cursor:pointer;border:2px solid transparent;font-family:inherit}
.btn-primary{background:var(--orange);color:#fff;box-shadow:var(--shadow)}
.btn-primary:hover{background:#e88503}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
.btn-navy{background:var(--navy);color:#fff}

/* ---------- hero (home) — composition immersive centrée (affiche) ---------- */
.hero{position:relative;overflow:hidden;text-align:center;padding-bottom:54px;isolation:isolate;
	min-height:clamp(740px,90vh,960px);
	background:radial-gradient(120% 120% at 100% 0%, var(--amber) 0%, #F7C070 30%, var(--cream) 66%, var(--cream-hi) 100%)}
/* banner du graphiste : personnes + frise tapa + dégradé + fondu déjà intégrés */
.hero .hero-bg{position:absolute;inset:0;z-index:0;pointer-events:none;
	background-image:url('hero-banner.jpg');background-size:cover;background-position:center 22%}
/* voile crème sur le bas : lave le banner pour que le bloc titre reste lisible */
.hero .hero-bg::after{content:"";position:absolute;inset:0;pointer-events:none;
	background:linear-gradient(to bottom, transparent 34%, rgba(253,243,226,.5) 56%, rgba(254,252,248,.95) 80%)}
/* eyebrow haut, aligné à gauche (comme l'affiche) */
.hero .hero-eyebrow{position:absolute;top:0;left:0;right:0;z-index:3;max-width:var(--maxw);margin:0 auto;padding:42px 24px 0}
.hero .eyerow{display:flex;align-items:flex-end;justify-content:center;gap:18px}
.hero .days{font-family:var(--f-script);color:var(--navy);font-size:66px;line-height:.8}
.hero .days b{display:block;font-family:var(--f-sans);font-size:17px;font-weight:700;letter-spacing:.02em}
.hero .kicker{text-align:left}
.hero .kicker b{display:block;color:var(--navy);font-weight:800;font-size:clamp(22px,2.8vw,31px);letter-spacing:.01em}
.hero .kicker span{color:var(--navy);opacity:.85;font-weight:600;font-size:15.5px;letter-spacing:.06em;text-transform:uppercase}
/* bloc titre centré, dans la zone lavée crème (lisible) */
.hero .hero-headline{position:relative;z-index:2;max-width:820px;margin:0 auto;padding:clamp(360px,57vh,590px) 24px 0}
.hero .years{color:var(--navy);font-weight:800;font-size:clamp(30px,4.4vw,46px)}
.hero .years em{font-family:var(--f-script);font-style:normal;font-size:1.35em;margin-right:.06em}
.hero .title{color:var(--orange);font-weight:800;font-size:clamp(32px,5.2vw,58px);line-height:1.02;margin:2px 0 16px;letter-spacing:-.015em}
.hero .meta{color:var(--navy);font-weight:700;font-size:clamp(17px,2vw,22px)}
.hero .place{color:var(--navy);opacity:.8;font-weight:600;font-size:16px;margin-top:2px}
.hero .cta-row{display:flex;align-items:center;gap:18px;margin-top:26px;flex-wrap:wrap;justify-content:center}
.hero .inscris{font-family:var(--f-script);color:var(--navy);font-size:30px;line-height:1;transform:rotate(-4deg)}
.hero .lockup{display:flex;align-items:center;gap:18px;margin-top:26px;flex-wrap:wrap;justify-content:center}
.hero .lockup img{height:56px;width:auto;display:block}
.hero .lockup .sep{width:1px;height:42px;background:rgba(17,53,105,.2)}
@media(max-width:640px){.hero{min-height:auto}.hero .hero-headline{padding-top:clamp(260px,66vh,400px)}.hero .days{font-size:46px}.hero .eyerow{gap:12px}}

/* ---------- main (pages internes) ---------- */
.site-main{max-width:var(--maxw);margin:0 auto;padding:40px 24px 60px;min-height:50vh}
.site-main > h1{font-size:clamp(26px,4vw,40px);font-weight:800;color:var(--navy);margin-bottom:18px}
/*
 * A panel for plain pages (#242). Tickera's frontend-2026 addon puts
 * `tc-front-2026` on its own pages and theme.css gives those a white panel; a
 * long document like the privacy policy had none, so it floated on the orange
 * gradient with its measure stranded against the left edge. Same treatment,
 * same tokens — and never twice, hence the :not().
 *
 * Scoped to .site-doc (page.php only): the front page, /programme/ and
 * /intervenants/ have their own templates and their own layouts.
 */
body:not(.tc-front-2026) .site-doc{
	background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
	box-shadow:var(--shadow);padding:clamp(24px,4vw,40px);margin:32px auto 52px;
}
.page-content{font-size:16px;line-height:1.7;color:var(--ink)}
/*
 * #242 — long-form pages were unreadable.
 *
 * `p{margin:0}` above is a global reset, so the privacy policy — six h2, ten
 * paragraphs, two lists — rendered as one unbroken block of text at the full
 * 1120px layout width. Gutenberg emits correct semantic HTML; nothing styled it.
 *
 * The measure goes on the prose elements, NOT on .site-main: page.php is shared
 * with the Tickera cart, checkout and order pages, whose tables need the full
 * width. Constraining the container would narrow those too.
 */
.page-content > *{max-width:72ch}
.page-content p{margin:0 0 1.15em;max-width:72ch}
.page-content p:last-child{margin-bottom:0}
.page-content h2{font-size:clamp(19px,2.2vw,23px);font-weight:700;margin:2em 0 .6em;max-width:72ch}
.page-content h3{font-size:clamp(16.5px,1.8vw,18.5px);font-weight:700;margin:1.6em 0 .5em;max-width:72ch}
.page-content h2:first-child,.page-content h3:first-child{margin-top:0}
.page-content ul,.page-content ol{margin:0 0 1.15em;padding-left:1.5em;max-width:72ch}
.page-content li{margin:0 0 .45em}
.page-content li:last-child{margin-bottom:0}
.page-content li > ul,.page-content li > ol{margin:.45em 0 0}
.page-content a{color:var(--orange-ink,var(--orange));text-underline-offset:2px}
.page-content strong{color:var(--navy)}
.page-content hr{border:0;border-top:1px solid var(--line);margin:2em 0;max-width:72ch}
/*
 * The Tickera pages hold this same .page-content (the [tc_cart] shortcode
 * renders inside it), and their tables and forms are wider than any measure.
 */
.page-content table,.page-content .tickera,.page-content form{max-width:none}
/*
 * Desktop: no measure (décision Ruben, 24 Aug — journal).
 *
 * `70ch` ≈ 70 characters a line, the readability measure (~45–75 is the
 * comfortable band). Ruben's call is that on a large screen the text should use
 * the width instead, and that is the tradeoff he is taking: longer lines on
 * desktop, the measure kept where the column is narrow anyway.
 *
 * Only the cap is lifted. The rhythm, headings, list indentation and the panel
 * — the actual #242 defect — apply at every width.
 */
@media(min-width:900px){
	.page-content > *,
	.page-content p,
	.page-content h2,
	.page-content h3,
	.page-content ul,
	.page-content ol,
	.page-content hr{ max-width:none; }
}

.site-main h2,.site-main h3{color:var(--navy)}

/* ---------- bande partenaires ---------- */
.partners-strip{background:var(--cream);border-top:1px solid var(--line)}
.partners-strip .wrap{padding-top:40px;padding-bottom:44px}
.partners-title{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--orange-ink);margin-bottom:22px}
.partners{display:flex;flex-direction:column;gap:22px}
.partners-row{display:flex;flex-wrap:wrap;align-items:center;gap:36px}
/* Three of the five files have no usable alpha — two are RGB, one is RGBA with
   every pixel at 255 — so they sat on the cream as white rectangles (#164).
   `multiply` drops white against any lighter ground, which fixes all three
   without re-cutting assets we were given. The two that ARE cut correctly are
   unaffected: multiply over transparent pixels is a no-op. */
/* Cap both dimensions: some partner PNGs are much wider than others (Préventica),
 * so a height-only rule let them dominate the row (Tekura, 24 Aug). */
/* Cap both dimensions and let each logo fill what it can (Tekura, 24 Aug):
 * a fixed height kept the square marks (SISTRA, AMT-CPME) small while wide
 * ones ran long. Bounding by width AND a generous height lets the small ones
 * grow — heights differ on purpose. */
.partners img{width:auto;height:auto;max-width:150px;max-height:76px;object-fit:contain;mix-blend-mode:multiply;filter:grayscale(1);opacity:.72;transition:.2s}
.partners img:hover{filter:none;opacity:1}
@media(max-width:600px){.partners{gap:24px}.partners img{max-width:120px;max-height:60px}}
.nowrap{white-space:nowrap}

/* ---------- footer (marine + frise) ---------- */
.site-footer{position:relative;background:var(--navy-deep);color:#eaf1fb;padding:0;overflow:hidden}
.site-footer .tapa{position:absolute;inset:0 0 auto 0;height:48px;opacity:.55;pointer-events:none;
	background:url('tapa/frise-blanche.png') top left/auto 235px repeat-x}
.site-footer .in{position:relative;max-width:var(--maxw);margin:0 auto;padding:64px 24px 24px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:34px;font-size:13.5px}
.site-footer .foot-brand-col .plate{background:#fff;border-radius:11px;padding:8px 11px;display:inline-flex;margin-bottom:14px}
.site-footer .foot-brand-col .plate img{height:38px;width:auto;display:block}
.site-footer .foot-brand-col p{font-size:13.5px;opacity:.78;max-width:40ch;line-height:1.6}
.site-footer .foot-col h3{color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.6;margin-bottom:14px;font-weight:700}
.site-footer .foot-col a,.site-footer .foot-col span{display:block;font-size:14px;opacity:.85;text-decoration:none;color:#eaf1fb;margin-bottom:10px}
.site-footer .foot-col a:hover{opacity:1;color:var(--teal)}
.site-footer .foot-bot{position:relative;max-width:var(--maxw);margin:0 auto;padding:18px 24px 30px;border-top:1px solid rgba(255,255,255,.12);font-size:12.5px;display:flex;align-items:center;justify-content:space-between;gap:14px 26px;flex-wrap:wrap}
.site-footer .foot-bot>span{opacity:.6}
.site-footer .foot-credit{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none;opacity:.6;transition:opacity .18s ease}
.site-footer .foot-credit:hover,.site-footer .foot-credit:focus-visible{opacity:1}
.site-footer .foot-credit>span{white-space:nowrap;opacity:.85}
.site-footer .foot-credit-logo{height:17px;width:auto;display:block}
.site-footer .foot-credit-plus{opacity:.75;font-size:14px;line-height:1}
.site-footer a{color:var(--teal)}
@media(max-width:560px){.site-footer .foot-bot{flex-direction:column;align-items:flex-start}}
@media(max-width:820px){.site-footer .in{grid-template-columns:1fr 1fr}.site-footer .foot-brand-col{grid-column:1/-1}}
@media(max-width:520px){.site-footer .in{grid-template-columns:1fr}}

/* ---------- landing (home) : sections ---------- */
.section{padding:64px 0}
.eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--orange-ink)}
.sec-head{max-width:60ch;margin-bottom:34px}
.sec-head h2{font-size:clamp(26px,3.4vw,38px);font-weight:800;color:var(--navy);margin-top:10px}
.sec-head p{margin-top:12px;color:var(--muted);font-size:16px}
.intro{padding-bottom:0}
.intro p{max-width:70ch;font-size:16.5px;line-height:1.62}
.intro p+p,.intro .intro-note,.intro .intro-cta{margin-top:16px}
.intro-lead{font-size:clamp(19px,2.4vw,24px);font-weight:700;color:var(--navy);line-height:1.35;text-wrap:balance}
.intro-note{max-width:70ch;padding:16px 20px;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:0 14px 14px 0}
.intro-note p{font-size:15px}
.intro-note p+p{margin-top:10px}
.intro-cta{font-weight:700;color:var(--navy)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.step{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}
.step .n{font-size:12px;font-weight:800;color:var(--orange-ink);letter-spacing:.1em;text-transform:uppercase}
.step h3{font-size:17px;font-weight:700;margin:12px 0 8px;color:var(--navy)}
.step p{font-size:14px;color:var(--muted)}
.prog-teaser{background:var(--cream)}
.track-teasers{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:26px}
.track-teaser{border-radius:var(--radius);padding:26px;color:#fff;box-shadow:var(--shadow)}
.track-teaser.matai{background:linear-gradient(120deg,var(--navy),var(--teal))}
.track-teaser.fenua{background:linear-gradient(120deg,var(--orange-ink),var(--amber))}
.track-teaser h3{color:#fff;font-size:24px;font-weight:800}
.track-teaser .role{display:block;font-size:12.5px;font-weight:600;opacity:.92;margin:2px 0 12px;text-transform:uppercase;letter-spacing:.06em}
.track-teaser p{font-size:14.5px;opacity:.95;color:#fff}
.cta-band{position:relative;overflow:hidden;background:var(--navy-deep);color:#fff;text-align:center}
.cta-band .tapa{position:absolute;inset:0;opacity:.1;pointer-events:none;background:url('tapa/frise-blanche.png') top center/auto 235px repeat}
.cta-band .wrap{position:relative;padding:56px 24px}
.cta-band h2{color:#fff;font-size:clamp(24px,3vw,34px);font-weight:800}
.cta-band p{margin:12px auto 24px;opacity:.9;max-width:52ch}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.info{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}
.info h3{font-size:16px;font-weight:700;margin-bottom:8px;color:var(--navy)}
.info p{font-size:14px;color:var(--muted)}
@media(max-width:900px){.steps{grid-template-columns:1fr 1fr}.track-teasers{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}}
@media(max-width:560px){.steps{grid-template-columns:1fr}}

/* ---------- programme (recoloré charte v2 ; layout/contenu = Plan 2) ---------- */
.programme .intro{color:var(--muted);font-size:16px;max-width:64ch;margin-bottom:26px}
.programme .day{margin:30px 0}
.programme .day-title{font-size:20px;font-weight:800;color:var(--navy);margin-bottom:14px;display:flex;align-items:center;gap:10px}
.programme .day-title::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--orange)}
.programme .tracks{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.programme .track{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.programme .track-head{padding:14px 18px;color:#fff;display:flex;flex-direction:column;gap:2px}
.programme .track-matai{background:linear-gradient(120deg,var(--navy),var(--teal))}
.programme .track-fenua{background:linear-gradient(120deg,var(--orange-ink),var(--amber))}
.programme .track-name{font-weight:800;font-size:18px}
.programme .track-sub{font-size:12px;opacity:.9}
.programme .track-list{padding:6px}
.programme .sess{display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center;padding:11px 10px}
.programme .sess + .sess{border-top:1px solid var(--line)}
.programme .sess-time{font-size:12px;font-weight:700;color:var(--navy);font-variant-numeric:tabular-nums;line-height:1.25}
.programme .sess-title{font-size:14px;font-weight:500;color:var(--ink)}
.programme .chip{display:inline-block;font-size:11px;font-weight:700;padding:3px 9px;border-radius:var(--pill);line-height:1.35}
.programme .chip-ico{font-weight:400}
.programme .chip-meta{font-weight:600;opacity:.8}
/* #197: AA-contrast fills; the icon + label carry the state, not the colour. */
.programme .chip-free{background:rgba(70,178,214,.16);color:#146584}
.programme .chip-ok{background:rgba(72,178,118,.18);color:#276b46}
.programme .chip-low{background:rgba(243,173,77,.24);color:#8a5200}
.programme .chip-full{background:rgba(200,40,40,.14);color:#a51f1f}
/* #197: the waitlist line under a « Complet » chip — fine print, still legible. */
.programme .chip-note{display:block;margin-top:4px;max-width:22rem;font-size:11px;font-weight:500;line-height:1.4;color:var(--navy);opacity:.85;white-space:normal}
@media(max-width:820px){.programme .tracks{grid-template-columns:1fr}}

/* ---------- checkout Tickera (recoloré ; refonte = Plan 3) ---------- */
.site-main table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);margin:14px 0}
.site-main th{background:var(--surface-2);color:var(--muted);font-size:12px;letter-spacing:.04em;text-transform:uppercase;text-align:left;padding:12px 14px}
.site-main td{padding:12px 14px;border-top:1px solid var(--line);font-size:14.5px}
.site-main input[type=text],.site-main input[type=email],.site-main input[type=tel],.site-main input[type=number],.site-main select{
	font-family:inherit;font-size:14.5px;padding:11px 13px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);max-width:100%;
}
.site-main input:focus,.site-main select:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:transparent}
.site-main label{font-weight:600}
.site-main input[type=submit],.site-main button,.site-main .tc_button,.site-main a.button{
	font-family:inherit;font-weight:700;font-size:14.5px;padding:12px 22px;border-radius:var(--pill);
	border:2px solid var(--orange);background:var(--orange);color:#fff;cursor:pointer;text-decoration:none;display:inline-block;
}
.site-main input[type=submit]:hover,.site-main button:hover{transform:translateY(-1px)}
.site-main .tc_buyer_info_wrap h2,.site-main .tc_owner_info_wrap h2{margin-top:26px}

/* ===== patch cosmétique tunnel (TEMPORAIRE — intégration propre = Plan 3 avec Kevin) ===== */
/* Panneau blanc derrière le formulaire, uniquement sur les pages Tickera (event + panier),
   pour que le tunnel ne « flotte » plus sur le dégradé orange (comme le fond clair de Kevin). */
body.tc-front-2026 .site-main{
	background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
	box-shadow:var(--shadow);padding:clamp(24px,4vw,40px);margin:32px auto 52px;
}
/* Bloc de Kevin (.jsst-step) : recoloré charte v2 en redéfinissant SES variables internes.
   Fond crème (pas blanc) pour se détacher du panneau blanc. */
body .jsst-step{
	--navy:#113569; --cyan:#46B2D6; --green:#48B276; --orange:#F6910B; --pale:#FDF3E2;
	--ink:#1B2C46; --muted:#5E6E86; --line:#EBD9BE; --surface:#FBF3E6; --surface-2:#F3E7CF;
	box-shadow:none;
}
body .jsst-step .jsst-title,body .jsst-step .jsst-day-h{color:var(--navy)}
/* Focus/coche aux couleurs charte (teal secondaire pour l'état sélectionné). */
body .jsst-day:has(input:checked){border-color:var(--teal);background:rgba(70,178,214,.1)}
body .jsst-day input,body .jsst-ws input{accent-color:var(--teal)}

/* Champs natifs Tickera : spécificité renforcée pour battre le style « tc-style-minimal ». */
body.tc-style-minimal .site-main input[type=text],
body.tc-style-minimal .site-main input[type=email],
body.tc-style-minimal .site-main input[type=tel],
body.tc-style-minimal .site-main input[type=number],
body.tc-style-minimal .site-main input[type=password],
body.tc-style-minimal .site-main select{
	font-family:inherit;font-size:14.5px;padding:11px 13px;border-radius:12px;
	border:1px solid var(--line);background:var(--surface-2);color:var(--ink);max-width:440px;width:100%;
}
body.tc-style-minimal .site-main input:focus,
body.tc-style-minimal .site-main select:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:transparent}
body.tc-style-minimal .site-main label{color:var(--navy);font-weight:600}
/* Bouton principal du tunnel → orange charte (!important pour battre le bouton sombre de Tickera). */
body.tc-style-minimal .site-main input[type=submit],
body.tc-style-minimal .site-main button[type=submit],
body.tc-style-minimal .site-main .tc_proceed_to_checkout,
body.tc-style-minimal .site-main a.tc_proceed_to_checkout,
body.tc-style-minimal .site-main .buy_now_button{
	background:var(--orange)!important;color:#fff!important;border:2px solid var(--orange)!important;
	border-radius:var(--pill)!important;font-weight:700!important;padding:13px 26px!important;box-shadow:var(--shadow);
}
body.tc-style-minimal .site-main input[type=submit]:hover,
body.tc-style-minimal .site-main button[type=submit]:hover{background:#e88503!important}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

/* ---- Programme : thématiques (légende du programme validé, 6 couleurs) ---- */
/* Rail gauche coloré par thématique : identifiable « en un regard » (doc client). */
.programme .th-sante{--th:#7db8d9}
.programme .th-addictions{--th:var(--orange)}
.programme .th-management{--th:var(--teal)}
.programme .th-prevention{--th:var(--green)}
.programme .th-route{--th:#E7C51E}
.programme .th-reperes{--th:var(--navy)}
.programme .sess{box-shadow:inset 3px 0 var(--th,transparent)}
.programme .theme-dot{display:inline-block;margin-top:3px;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:color-mix(in srgb,var(--th,#888) 60%,var(--ink));background:color-mix(in srgb,var(--th,#888) 16%,#fff);padding:2px 8px;border-radius:var(--pill)}
.programme .theme-legend{display:flex;flex-wrap:wrap;gap:8px 14px;list-style:none;margin:0 0 22px;padding:0}
.programme .theme-legend li{font-size:12px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:7px}
.programme .theme-legend li::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--th,#888)}

/* ---- Programme : fiches dépliables ---- */
.programme details.sess{display:block;padding:0}
.programme details.sess > summary{display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center;padding:11px 10px;cursor:pointer;list-style:none}
.programme details.sess > summary::-webkit-details-marker{display:none}
.programme .sess-main{min-width:0}
.programme .sess-side{display:flex;align-items:center;gap:8px}
.programme .sess-caret{width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .18s ease}
.programme details[open] .sess-caret{transform:rotate(-135deg)}
.programme .sess-card{padding:2px 14px 14px 82px;font-size:13.5px;color:var(--muted);line-height:1.55}
.programme .sess-card p{margin:0 0 8px}
.programme .sess-speakers{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);font-size:13px;color:var(--muted)}
.programme .sess-speakers-label{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.programme .sess-speaker b{color:var(--ink);font-weight:700}
@media(max-width:640px){.programme .sess-card{padding-left:14px}}

/* ---------- page intervenants (#184) ---------- */
.intervenants .intro{color:var(--muted);font-size:16px;max-width:64ch;margin-bottom:26px}
/* min(100%,320px) : sous 368px de viewport la carte prend la colonne entière
   au lieu d'imposer 320px et de faire défiler la page horizontalement. */
.speakers{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px}
.speaker{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}
.speaker-name{font-size:17px;font-weight:800}
.speaker-fonction{margin-top:6px;font-size:13.5px;color:var(--muted);line-height:1.45}
.speakers-group{font-size:clamp(20px,2.6vw,26px);font-weight:800;color:var(--navy);margin:34px 0 16px}
.speakers-group:first-of-type{margin-top:0}
.speaker-bio{margin-top:10px;border-top:1px dashed var(--line);padding-top:10px}
.speaker-bio-title{margin:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--orange-ink)}
.speaker-bio p{margin:8px 0 0;font-size:13.5px;line-height:1.55;color:var(--ink)}
.speaker-sessions-wrap{margin-top:12px;border-top:1px dashed var(--line);padding-top:10px}
.speaker-sessions-wrap>summary{cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--orange-ink)}
.speaker-sessions{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:9px}
.speaker-sessions li{font-size:13px;line-height:1.4}
.speaker-sessions .when{display:block;font-weight:700;color:var(--orange-ink);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase}
.speaker-sessions .what{color:var(--ink)}
.speaker-role{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:var(--pill);background:var(--navy);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}

/* Ruben's call (24 Aug, #252): on desktop the text uses the width — every
   reading-measure cap lifts above 900px, and stays on mobile where the
   viewport already enforces a sane measure. Same pattern as the long-form
   long-form block (#246). The scan kiosk's 32ch is the one deliberate exception:
   a door result is glanced at, not read. */
@media(min-width:900px){
	.site-footer .foot-brand-col p,
	.sec-head,
	.intro p,
	.intro-note,
	.cta-band p,
	.programme .intro,
	.intervenants .intro{ max-width:none; }
}
