/* ═══════════════════════════════════════════
   STAND-UP ACADEMY — PAGE « TEAM BUILDING » (30/11/2026)
   ───────────────────────────────────────────
   Contenu fourni par Thomas (offre Team Stand Up), mis aux règles du design « épuré » :
   fond marron par section + bulles (sua-epure.css/js), cartes en verre ~75 % opaques,
   pastilles pleines orange, titres Bebas Neue, textes Inter, photos nettes sans voile,
   pas de photo plein écran. Préfixe des classes : tb-.
   Chargé APRÈS sua-epure.css.
   ═══════════════════════════════════════════ */

.tb-page { --tb-orange: #f07a1a; --tb-peach: #f2c3a0; --tb-cream: #f0ece4; --tb-muted: rgba(240, 236, 228, 0.72); }

/* ─── Haut de page : titre plus long que celui des parcours → un peu plus petit ─── */
html body:not(#sua-x) .tb-hero .fm-hero-cine-title {
    font-size: clamp(50px, 6vw, 104px);
}
html body:not(#sua-x) .tb-hero .fm-hero-cine-title em {
    font-style: normal;
    color: var(--tb-orange);
    -webkit-text-fill-color: var(--tb-orange);
    background: none;
}
/* Les 4 points forts : des mots, pas des chiffres → taille adaptée */
html body:not(#sua-x) .tb-marks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body:not(#sua-x) .tb-marks strong {
    font-size: clamp(24px, 2.3vw, 34px) !important;
    line-height: 1.05;
    white-space: nowrap;
}
html body:not(#sua-x) .tb-marks span { font-weight: 600 !important; font-size: 14px !important; }
.tb-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
}
.tb-facts li {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--he-glass-border);
    background: var(--he-glass-bg);
    backdrop-filter: var(--he-glass-blur);
    -webkit-backdrop-filter: var(--he-glass-blur);
    color: var(--tb-cream);
    font: 500 14px/1.3 'Inter', sans-serif;
}
.tb-facts b { color: var(--tb-peach); font-weight: 800; }

/* ─── Grilles ─── */
.tb-grid { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tb-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tb-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-reassure, .tb-moments { margin-top: 18px; }

/* ─── Carte en verre (recette de l'accueil) ─── */
.tb-card {
    position: relative;
    padding: 28px 26px;
    border-radius: 22px;
    background: var(--he-glass-bg);
    border: 1px solid var(--he-glass-border);
    backdrop-filter: var(--he-glass-blur);
    -webkit-backdrop-filter: var(--he-glass-blur);
    box-shadow: var(--he-glass-shadow);
    color: var(--tb-cream);
}
.tb-card h3 {
    font: 400 clamp(24px, 2vw, 30px)/1.05 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0 0 10px;
}
.tb-card p { margin: 0; font: 400 15px/1.6 'Inter', sans-serif; color: var(--tb-muted); }
.tb-num {
    display: block;
    font: 400 46px/1 'Bebas Neue', sans-serif;
    color: var(--tb-orange);
    margin-bottom: 10px;
}
/* Carte « allumée » (même recette que la carte « C'est fait pour toi si… ») */
html body:not(#sua-x) .tb-card.is-lit,
html body:not(#sua-x) .tb-ticket {
    background: linear-gradient(180deg, rgba(120, 48, 0, 0.78) 0%, #d8650c 100%);
    border-color: rgba(255, 170, 90, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 150, 60, 0.25), 0 24px 60px -16px rgba(240, 122, 26, 0.55);
}
.tb-card.is-lit p, .tb-ticket p { color: #fff3e6; }
.tb-card.is-lit .tb-num { color: #fff; }

/* ─── Le constat : bulles de dialogue ─── */
.tb-bubble { border-radius: 22px 22px 22px 6px; }
.tb-bubble q {
    display: block;
    quotes: "« " " »";
    font: 400 clamp(24px, 2.1vw, 30px)/1.08 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
    color: var(--tb-peach);
    margin-bottom: 10px;
}
.tb-pull {
    max-width: 880px;
    margin: 48px auto 0;
    text-align: center;
    font: 500 clamp(19px, 2vw, 24px)/1.5 'Inter', sans-serif;
    color: var(--tb-cream);
}
.tb-pull b { color: var(--tb-orange); font-weight: 700; }

/* ─── Avant / après ─── */
.tb-ba {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    gap: 14px;
    align-items: stretch;
}
.tb-ba-arrow { display: grid; place-items: center; color: var(--tb-orange); }
.tb-ba-arrow svg { width: 38px; height: 38px; }
.tb-scene-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--he-glass-border);
    color: var(--tb-muted);
    font: 700 11px/1.2 'Inter', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.tb-scene.is-win .tb-scene-tag {
    background: linear-gradient(90deg, #f1951b 0%, #f14000 100%);
    border: 0;
    color: #1a0a00;
}
.tb-card .tb-scene-line {
    font: 600 clamp(19px, 1.8vw, 23px)/1.4 'Inter', sans-serif;
    color: #fff;
    margin-bottom: 12px;
}
.tb-scene.is-win { border-color: rgba(240, 122, 26, 0.75); }
.tb-scene.is-win .tb-scene-effect { color: var(--tb-peach); }
.tb-note, .tb-fine {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: center;
    font: 400 15px/1.6 'Inter', sans-serif;
    color: var(--tb-muted);
}
.tb-fine { font-size: 14px; }

/* ─── Déroulé : frise ─── */
.tb-timeline {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
}
.tb-timeline::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 23px;
    height: 2px;
    background: linear-gradient(90deg, #f14000, #f1951b);
}
.tb-step { position: relative; padding: 0 10px; text-align: center; }
.tb-step-dot {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, #f1951b 0%, #f14000 100%);
    color: #1a0a00;
    font: 400 24px/1 'Bebas Neue', sans-serif;
    box-shadow: 0 0 0 6px #241002;
}
.tb-step h3 { font: 400 24px/1.05 'Bebas Neue', sans-serif; letter-spacing: 0.02em; color: #fff; margin: 0 0 6px; }
.tb-step p { margin: 0; font: 400 14px/1.55 'Inter', sans-serif; color: var(--tb-muted); }
.tb-outcomes {
    list-style: none;
    margin: 46px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.tb-outcomes li {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--he-glass-border);
    background: var(--he-glass-bg);
    backdrop-filter: var(--he-glass-blur);
    -webkit-backdrop-filter: var(--he-glass-blur);
    font: 600 15px/1.3 'Inter', sans-serif;
    color: var(--tb-cream);
}
.tb-outcomes li::before { content: "✓  "; color: var(--tb-orange); font-weight: 800; }

/* ─── M.I.C.R.O. ─── */
.tb-micro { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tb-micro .tb-card { text-align: center; padding: 26px 18px; }
.tb-letter {
    display: block;
    font: 400 64px/1 'Bebas Neue', sans-serif;
    color: var(--tb-orange);
    margin-bottom: 8px;
}
.tb-micro p { font-size: 14px; }

/* ─── Bénéfices + rapport ─── */
.tb-report { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.tb-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tb-ticks li {
    position: relative;
    padding-left: 38px;
    font: 400 17px/1.5 'Inter', sans-serif;
    color: var(--tb-cream);
}
.tb-ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f1951b 0%, #f14000 100%);
    color: #1a0a00;
    font-size: 13px;
    font-weight: 800;
}
.tb-ticks strong { color: var(--tb-peach); }
.tb-ticket-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #1a0a00;
    color: #fff;
    font: 700 11px/1.2 'Inter', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.tb-ticket h3 { font-size: clamp(30px, 2.8vw, 40px); }

/* ─── Lieux : photo nette en haut de la carte, texte dessous ─── */
.tb-place { padding: 14px 14px 26px; }
.tb-place-photo {
    margin: 0 0 20px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.tb-place-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-place h3, .tb-place p { padding: 0 12px; }
.tb-moments h3 { color: var(--tb-orange); }

/* ─── Process ─── */
.tb-process .tb-card { overflow: hidden; }

/* ─── Formulaire ─── */
.tb-form-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.tb-form-intro .fm-section-title,
.tb-form-intro .fm-section-sub { text-align: left; margin-left: 0; }
.tb-form-intro .tb-ticks { margin-top: 26px; }
.tb-form { display: grid; gap: 16px; padding: 30px; }
.tb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tb-form label {
    display: grid;
    gap: 7px;
    font: 700 13px/1.3 'Inter', sans-serif;
    color: var(--tb-cream);
}
.tb-form input,
.tb-form select,
.tb-form textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(240, 122, 26, 0.28);
    background: rgba(26, 10, 0, 0.6);
    color: var(--tb-cream);
    font: 400 15px/1.4 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tb-form select { appearance: auto; }
.tb-form select option { background: #2b1200; color: var(--tb-cream); }
.tb-form textarea { resize: vertical; }
.tb-form input::placeholder, .tb-form textarea::placeholder { color: rgba(240, 236, 228, 0.42); }
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus {
    outline: none;
    border-color: var(--tb-orange);
    box-shadow: 0 0 0 3px rgba(240, 122, 26, 0.22);
}
.tb-form .is-error { border-color: #ff6a5a; }
.tb-form .tb-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 400;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--tb-muted);
}
.tb-form .tb-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--tb-orange); }
.tb-form .tb-check a { color: var(--tb-cream); text-decoration: underline; }
.tb-form .tb-check input.is-error { outline: 2px solid #ff6a5a; outline-offset: 1px; }
.tb-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.tb-submit[disabled] { opacity: 0.6; cursor: wait; }
.tb-form-msg { min-height: 1.3em; margin: 0; text-align: center; font: 500 14px/1.5 'Inter', sans-serif; color: var(--tb-peach); }
.tb-form-msg.is-err { color: #ff8a7c; }
/* Champ piège pour les robots : hors écran */
.tb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ─── Tablette / téléphone ─── */
@media (max-width: 1100px) {
    .tb-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tb-micro { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .tb-g2, .tb-g3, .tb-g4, .tb-report, .tb-form-wrap, .tb-row { grid-template-columns: 1fr; }
    .tb-form-wrap { gap: 34px; }
    .tb-form { padding: 22px 18px; }
    .tb-micro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tb-ba { grid-template-columns: 1fr; }
    .tb-ba-arrow { transform: rotate(90deg); height: 40px; }
    .tb-timeline { grid-template-columns: 1fr; gap: 24px; }
    .tb-timeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, #f14000, #f1951b); }
    .tb-step { display: grid; grid-template-columns: 46px 1fr; gap: 16px; text-align: left; padding: 0; }
    .tb-step-dot { margin: 0; }
    html body:not(#sua-x) .tb-marks { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html body:not(#sua-x) .tb-marks strong { white-space: normal; font-size: 24px !important; }
    html body:not(#sua-x) .tb-hero .fm-hero-cine-title { font-size: clamp(40px, 11vw, 72px); }
}
@media (max-width: 480px) {
    .tb-micro { grid-template-columns: 1fr; }
}
