/* ==========================================================================
   TOMITON MIN SI NOU — « Les choses de chez nous »
   Feuille de style de l'événement (CSS pur, aucune compilation nécessaire)
   ========================================================================== */

.tm, .tm-orbit-block {
    --tm-green: #3E5834;
    --tm-deep: #283C22;
    --tm-night: #1C2A18;
    --tm-cream: #F3EEE2;
    --tm-gold: #D9B13B;
    --tm-terra: #C4572E;
    --tm-ease: cubic-bezier(.22, .8, .24, 1);
    font-family: 'Fira Sans', system-ui, sans-serif;
    color: var(--tm-night);
}
.tm *, .tm *::before, .tm *::after { box-sizing: border-box; }
.tm picture, .tm-orbit-block picture { display: contents; } /* l'<img> se comporte comme un enfant direct */
.tm-display { font-family: 'Archivo Black', 'Fira Sans', sans-serif; font-weight: 400; letter-spacing: -.01em; line-height: .95; }
.tm-kicker { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.tm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .tm-wrap { padding: 0 40px; } }

/* ---------- Motifs ---------- */
/* Frise de chevrons (triangles) */
.tm-frieze {
    height: 16px;
    background-repeat: repeat-x;
    background-size: 32px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 16 8 0l8 16z' fill='%23D9B13B'/%3E%3Cpath d='M16 0l8 16 8-16z' fill='%23F3EEE2'/%3E%3C/svg%3E");
}
.tm-frieze--green {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 16 8 0l8 16z' fill='%233E5834'/%3E%3Cpath d='M16 0l8 16 8-16z' fill='%23D9B13B'/%3E%3C/svg%3E");
}
/* Motif géométrique en filigrane */
.tm-pattern { position: relative; isolation: isolate; }
.tm-pattern::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
    background-size: 72px 72px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' fill='none' stroke='%23F3EEE2' stroke-width='1.2'%3E%3Cpath d='M36 4 68 36 36 68 4 36z'/%3E%3Cpath d='M36 20 52 36 36 52 20 36z'/%3E%3Cpath d='M0 0l8 8M72 0l-8 8M0 72l8-8M72 72l-8-8'/%3E%3C/svg%3E");
}
.tm-pattern--dark::before {
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' fill='none' stroke='%231C2A18' stroke-width='1.2'%3E%3Cpath d='M36 4 68 36 36 68 4 36z'/%3E%3Cpath d='M36 20 52 36 36 52 20 36z'/%3E%3Cpath d='M0 0l8 8M72 0l-8 8M0 72l8-8M72 72l-8-8'/%3E%3C/svg%3E");
}
/* Trait de pinceau derrière un mot */
.tm-brush { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.tm-brush::before {
    content: ''; position: absolute; z-index: -1; left: -6%; right: -6%; top: 52%; height: 46%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M6 34c40-14 92-22 150-20 60 2 96 14 150 10 30-2 56-10 86-12-20 10-50 22-90 24-56 3-94-8-150-8-52 0-96 10-140 16-8 1-12-6-6-10z' fill='%23D9B13B'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--tm-ease) .35s;
}
.is-in .tm-brush::before, .tm-brush.is-in::before { transform: scaleX(1); }
/* Petits écrans : l'expression peut passer à la ligne ; le trait suit chaque ligne */
@media (max-width: 767px) {
    .tm-brush {
        display: inline; white-space: normal;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M6 34c40-14 92-22 150-20 60 2 96 14 150 10 30-2 56-10 86-12-20 10-50 22-90 24-56 3-94-8-150-8-52 0-96 10-140 16-8 1-12-6-6-10z' fill='%23D9B13B'/%3E%3C/svg%3E") left 0 bottom .02em / 0% .5em no-repeat;
        -webkit-box-decoration-break: clone; box-decoration-break: clone;
        transition: background-size 1s var(--tm-ease) .35s;
    }
    .tm-brush::before { display: none; }
    .is-in .tm-brush, .tm-brush.is-in { background-size: 100% .5em; }
}
/* Sécurité : aucun titre ne peut déborder de l'écran */
.tm h1, .tm h2, .tm h3 { overflow-wrap: break-word; }

/* ---------- Apparitions au défilement ---------- */
[data-reveal] {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity .9s var(--tm-ease), transform .9s var(--tm-ease);
    transition-delay: calc(var(--d, 0) * 110ms);
}
[data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
[data-reveal="right"] { transform: translate3d(32px, 0, 0); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.tm-btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px; font: 600 14px/1 'Fira Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase;
    border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; text-decoration: none;
    transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease), background-color .3s, color .3s, border-color .3s;
}
.tm-btn svg { width: 18px; height: 18px; transition: transform .3s var(--tm-ease); }
.tm-btn:hover svg { transform: translateX(4px); }
.tm-btn::after { /* reflet doré qui balaie le bouton */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .1) 56%, transparent 70%);
    transform: translateX(-120%); transition: transform .9s var(--tm-ease);
}
.tm-btn:hover::after { transform: translateX(120%); }
.tm-btn:hover { transform: translateY(-3px); }
.tm-btn:focus-visible { outline: 2px solid var(--tm-gold); outline-offset: 3px; }
.tm-btn--gold { background: var(--tm-gold); color: var(--tm-night); }
.tm-btn--gold:hover { box-shadow: 0 16px 30px -14px rgba(217, 177, 59, .75); }
.tm-btn--ghost { background: transparent; color: var(--tm-cream); border-color: rgba(243, 238, 226, .55); }
.tm-btn--ghost:hover { background: var(--tm-cream); color: var(--tm-night); border-color: var(--tm-cream); }
.tm-btn--dark { background: var(--tm-night); color: var(--tm-cream); }
.tm-btn--dark:hover { box-shadow: 0 16px 30px -14px rgba(28, 42, 24, .7); }
.tm-btn--line { background: transparent; color: var(--tm-night); border-color: var(--tm-night); }
.tm-btn--line:hover { background: var(--tm-night); color: var(--tm-cream); }
.tm-btn--block { width: 100%; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.tm-hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--tm-night); color: var(--tm-cream); overflow: hidden; isolation: isolate; }
.tm-hero__bg { position: absolute; inset: 0; z-index: -2; }
.tm-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: tm-kenburns 26s ease-in-out infinite alternate; }
.tm-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(28, 42, 24, .95) 0%, rgba(28, 42, 24, .86) 45%, rgba(28, 42, 24, .66) 100%), linear-gradient(0deg, rgba(28, 42, 24, .9), transparent 40%); }
.tm-hero__bg img { object-position: 65% 40%; }
.tm-hero__inner { width: 100%; padding-top: 150px; padding-bottom: 90px; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .tm-hero__inner { grid-template-columns: 1.25fr 1fr; padding-top: 170px; } }
.tm-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(217, 177, 59, .5); color: var(--tm-gold); background: rgba(28, 42, 24, .5); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tm-badge::before { content: ''; width: 7px; height: 7px; background: var(--tm-gold); transform: rotate(45deg); }
.tm-hero__title { font-size: clamp(2.9rem, 8.6vw, 6.4rem); margin: 26px 0 14px; text-transform: uppercase; }
.tm-hero__title span { display: block; }
.tm-hero__title .gold { color: var(--tm-gold); font-size: .72em; white-space: nowrap; margin-top: .08em; }
.tm-hero__meaning { font-style: italic; color: rgba(243, 238, 226, .75); font-size: 1.05rem; margin-bottom: 30px; }
.tm-motto { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 38px; padding: 0; list-style: none; }
.tm-motto li { font-family: 'Archivo Black', sans-serif; font-size: clamp(1.1rem, 2.4vw, 1.6rem); text-transform: uppercase; }
.tm-motto li:nth-child(even) { color: var(--tm-gold); }
.tm-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Trio de photos flottantes */
.tm-trio { position: relative; height: 420px; max-width: 460px; width: 100%; margin: 0 auto; }
.tm-trio figure { position: absolute; margin: 0; background: var(--tm-cream); padding: 8px 8px 34px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); animation: tm-float 7s ease-in-out infinite; }
.tm-trio img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tm-trio figcaption { position: absolute; left: 10px; right: 10px; bottom: 9px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--tm-deep); text-transform: uppercase; }
.tm-trio figure:nth-child(1) { width: 62%; height: 62%; left: 0; top: 4%; --rot: -6deg; }
.tm-trio figure:nth-child(2) { width: 52%; height: 50%; right: 0; top: 0; --rot: 5deg; animation-delay: -2.3s; }
.tm-trio figure:nth-child(3) { width: 58%; height: 52%; right: 10%; bottom: 0; --rot: -2deg; animation-delay: -4.6s; border-bottom: 4px solid var(--tm-gold); }
@media (max-width: 1023px) { .tm-trio { height: 330px; } }

/* Compte à rebours */
.tm-countdown { display: flex; gap: 10px; margin-top: 34px; }
.tm-countdown div { min-width: 70px; padding: 10px 8px; text-align: center; border: 1px solid rgba(217, 177, 59, .35); background: rgba(28, 42, 24, .55); }
.tm-countdown strong { display: block; font-family: 'Archivo Black', sans-serif; font-size: 1.7rem; color: var(--tm-gold); font-variant-numeric: tabular-nums; }
.tm-countdown span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 238, 226, .7); }

.tm-scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(243, 238, 226, .5); border-radius: 12px; }
.tm-scroll::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--tm-gold); border-radius: 2px; animation: tm-scroll 2s ease-in-out infinite; }
.tm-hero .tm-frieze { position: absolute; left: 0; right: 0; bottom: 0; }

/* ==========================================================================
   2. L'IDÉE
   ========================================================================== */
.tm-idea { background: var(--tm-cream); padding: 100px 0; }
.tm-idea__grid { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .tm-idea__grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; } }
.tm-h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 14px 0 26px; }
.tm-idea p.lead { font-size: 1.15rem; line-height: 1.75; color: #3b4536; margin: 0 0 14px; max-width: 34em; }
.tm-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(62, 88, 52, .2); border: 2px solid rgba(62, 88, 52, .2); }
.tm-pillar { background: var(--tm-cream); padding: 26px 22px; transition: background-color .4s; }
.tm-pillar:hover { background: #fff; }
.tm-pillar b { display: block; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.2rem); white-space: nowrap; color: var(--tm-green); text-transform: uppercase; margin-bottom: 8px; }
.tm-pillar small { display: block; font-size: 12px; font-weight: 700; color: var(--tm-gold); letter-spacing: .2em; margin-bottom: 14px; }
.tm-pillar p { margin: 0; color: #4b5545; line-height: 1.55; }

/* ==========================================================================
   3. ITINÉRAIRE — ROUTE VIVANTE
   ========================================================================== */
.tm-route-sec { background: var(--tm-deep); color: var(--tm-cream); padding: 100px 0 120px; overflow: hidden; }
.tm-route-sec .tm-h2 { color: var(--tm-cream); }
.tm-route { position: relative; margin-top: 64px; }
.tm-route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tm-route__track { fill: none; stroke: rgba(217, 177, 59, .16); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.tm-route__line { fill: none; stroke: var(--tm-gold); stroke-width: 3; stroke-linecap: round; }
.tm-route__dot { fill: var(--tm-cream); filter: drop-shadow(0 0 8px rgba(217, 177, 59, .9)); }
.tm-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 56px; }
.tm-stop { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.tm-stop__node { position: relative; z-index: 1; width: 26px; height: 26px; margin: 26px auto 0; border-radius: 50%; background: var(--tm-deep); border: 3px solid rgba(217, 177, 59, .35); transition: border-color .5s, background-color .5s, transform .5s var(--tm-ease); }
.tm-stop.is-lit .tm-stop__node { border-color: var(--tm-gold); background: var(--tm-gold); transform: scale(1.15); box-shadow: 0 0 0 8px rgba(217, 177, 59, .15); }
.tm-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: rgba(28, 42, 24, .6); border: 1px solid rgba(243, 238, 226, .1); transition: border-color .6s, background-color .6s, transform .6s var(--tm-ease); }
.tm-stop.is-lit .tm-card { border-color: rgba(217, 177, 59, .55); background: rgba(28, 42, 24, .85); }
.tm-medal { flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(217, 177, 59, .35); transition: border-color .6s, box-shadow .6s, transform .6s var(--tm-ease); }
.tm-medal img { width: 100%; height: 100%; object-fit: cover; }
.tm-stop.is-lit .tm-medal { border-color: var(--tm-gold); box-shadow: 0 0 0 6px rgba(217, 177, 59, .12); }
.tm-card__time { display: inline-block; margin-bottom: 8px; padding: 3px 9px; font-size: 12px; font-weight: 700; letter-spacing: .12em; background: var(--tm-gold); color: var(--tm-night); }
.tm-card__step { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 238, 226, .55); }
.tm-card h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.35rem; text-transform: uppercase; margin: 0 0 4px; line-height: 1.1; }
.tm-card__place { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-gold); margin: 0 0 8px; }
.tm-card p { margin: 0; color: rgba(243, 238, 226, .78); line-height: 1.55; }
.tm-card--gold { background: var(--tm-gold) !important; border-color: var(--tm-gold) !important; color: var(--tm-night); }
.tm-card--gold .tm-card__place, .tm-card--gold .tm-card__step { color: var(--tm-deep); }
.tm-card--gold p { color: var(--tm-deep); }
.tm-card--gold .tm-medal { border-color: var(--tm-night); }
.tm-substops { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tm-substops li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid rgba(243, 238, 226, .18); border-radius: 999px; font-size: 13px; color: var(--tm-cream); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--tm-ease); transition-delay: calc(var(--i) * 90ms + .2s); }
.tm-stop.is-lit .tm-substops li { opacity: 1; transform: none; }
.tm-substops img, .tm-substops .tm-initial { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tm-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--tm-green); color: var(--tm-gold); font-weight: 700; font-size: 12px; }

.tm-route__intro { margin: 0; font-size: 1.05rem; line-height: 1.7; color: rgba(243, 238, 226, .8); }
.tm-route__intro strong { color: var(--tm-gold); }
.tm-route__meal { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border: 1px solid rgba(217, 177, 59, .45); color: var(--tm-cream); font-size: 14px; }
.tm-route__meal::before { content: ''; width: 7px; height: 7px; background: var(--tm-gold); transform: rotate(45deg); }
.tm-card__time { margin-right: 4px; }
.tm-card__time--alt { background: transparent; color: var(--tm-gold); border: 1px solid var(--tm-gold); padding: 2px 8px; }
.tm-card--gold .tm-card__time--alt { color: var(--tm-night); border-color: var(--tm-night); }

/* Mobile : cartes en alternance (image à gauche, puis à droite), la route serpente d'un bord à l'autre */
@media (max-width: 1023px) {
    .tm-stops { gap: 26px; }
    .tm-stop { grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; align-items: center; }
    .tm-stop__node { grid-column: 2; grid-row: 1; width: 18px; height: 18px; margin: 0; }
    .tm-stop .tm-card { grid-column: 1; grid-row: 1; }
    .tm-stop:nth-child(even) { grid-template-columns: 24px minmax(0, 1fr); }
    .tm-stop:nth-child(even) .tm-stop__node { grid-column: 1; }
    .tm-stop:nth-child(even) .tm-card { grid-column: 2; flex-direction: row-reverse; text-align: right; }
    .tm-stop:nth-child(even) .tm-substops { justify-content: flex-end; }
    .tm-card { gap: 12px; padding: 14px; }
    .tm-medal { width: 58px; height: 58px; }
    .tm-card h3 { font-size: 1.02rem; overflow-wrap: anywhere; }
    .tm-card__place { font-size: 11px; }
    .tm-card p { font-size: 14px; }
    .tm-card__time { font-size: 11px; padding: 2px 7px; }
    .tm-substops li { font-size: 12px; }
    .tm-substops img, .tm-substops .tm-initial { width: 24px; height: 24px; }
}

/* Bureau : route sinueuse, cartes de part et d'autre */
@media (min-width: 1024px) {
    .tm-stops { gap: 30px; }
    .tm-stop { grid-template-columns: 1fr 120px 1fr; gap: 0; }
    .tm-stop__node { grid-column: 2; grid-row: 1; margin-top: 40px; }
    .tm-stop .tm-card { grid-row: 1; max-width: 470px; }
    .tm-stop:nth-child(odd) .tm-card { grid-column: 1; justify-self: end; flex-direction: row-reverse; text-align: right; }
    .tm-stop:nth-child(odd) .tm-substops { justify-content: flex-end; }
    .tm-stop:nth-child(even) .tm-card { grid-column: 3; justify-self: start; }
    .tm-stop:nth-child(odd) .tm-stop__node { transform: translateX(-34px); }
    .tm-stop:nth-child(even) .tm-stop__node { transform: translateX(34px); }
    .tm-stop.is-lit:nth-child(odd) .tm-stop__node { transform: translateX(-34px) scale(1.15); }
    .tm-stop.is-lit:nth-child(even) .tm-stop__node { transform: translateX(34px) scale(1.15); }
    .tm-medal { width: 104px; height: 104px; }
}

/* ==========================================================================

   4. POINT CULMINANT — SOFITEL
   ========================================================================== */
.tm-climax { position: relative; background: var(--tm-night); color: var(--tm-cream); padding: 110px 0; overflow: hidden; }
.tm-climax::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 177, 59, .16), transparent 65%); }
.tm-climax__grid { position: relative; display: grid; gap: 60px; align-items: center; }
@media (min-width: 1024px) { .tm-climax__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.tm-climax__photos { position: relative; padding-bottom: 18%; }
.tm-climax__main { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(217, 177, 59, .4); }
.tm-climax__main img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.tm-climax__inset { position: absolute; right: -4%; bottom: 0; width: 46%; aspect-ratio: 3 / 4; overflow: hidden; border: 4px solid var(--tm-gold); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.tm-climax__inset img { width: 100%; height: 100%; object-fit: cover; }
.tm-climax h2 { color: var(--tm-cream); }
.tm-climax .tm-kicker { color: var(--tm-gold); }
.tm-climax p.text { font-size: 1.1rem; line-height: 1.75; color: rgba(243, 238, 226, .78); margin: 0 0 40px; max-width: 30em; }

/* La citation qui se déconstruit */
.tm-quote { position: relative; margin: 0; padding: 30px 0 0 0; border-top: 1px solid rgba(217, 177, 59, .35); font-family: 'Archivo Black', sans-serif; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; text-transform: uppercase; }
.tm-quote::before { content: '«'; position: absolute; top: -.62em; left: 0; padding-right: 12px; background: var(--tm-night); color: var(--tm-gold); font-size: 1.6em; line-height: 1; }
.tm-swap { position: relative; display: inline-grid; vertical-align: top; }
.tm-swap > span { grid-area: 1 / 1; white-space: nowrap; }
.tm-swap__neg { position: relative; color: rgba(243, 238, 226, .9); }
.tm-swap__neg::after { content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: .12em; background: var(--tm-terra); transform: scaleX(0); transform-origin: left; }
.tm-swap__neg i { display: inline-block; font-style: normal; }
.tm-swap__pos { color: var(--tm-gold); }
.tm-swap__pos i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(.5em); }
.tm-quote.is-done .tm-swap__neg { display: none; }
.tm-quote__note { margin-top: 18px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 238, 226, .5); font-family: 'Fira Sans', sans-serif; }
.tm-quote.is-in .tm-swap__neg::after { animation: tm-strike .7s var(--tm-ease) .8s forwards, tm-fade .4s ease 2s forwards; }
.tm-quote.is-in .tm-swap__neg i { animation: tm-fall .7s var(--tm-ease) forwards; animation-delay: calc(1.6s + var(--i) * 55ms); }
.tm-quote.is-in .tm-swap__pos i { animation: tm-rise .7s var(--tm-ease) forwards; animation-delay: calc(2.3s + var(--i) * 55ms); }

/* ==========================================================================
   5. CHIFFRES CLÉS
   ========================================================================== */
.tm-stats { background: var(--tm-cream); padding: 90px 0; }
.tm-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(62, 88, 52, .18); border: 2px solid rgba(62, 88, 52, .18); }
@media (min-width: 1024px) { .tm-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.tm-stat { background: var(--tm-cream); padding: 36px 20px; text-align: center; }
.tm-stat strong { display: block; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--tm-green); line-height: 1; font-variant-numeric: tabular-nums; }
.tm-stat span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #5d6857; }

/* ==========================================================================
   6. SPONSORS
   ========================================================================== */
.tm-sponsors { background: var(--tm-deep); color: var(--tm-cream); padding: 100px 0 110px; }
.tm-sponsors .tm-h2 { color: var(--tm-cream); }
.tm-tiers { display: grid; gap: 16px; margin-top: 50px; perspective: 1200px; }
@media (min-width: 768px) { .tm-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tm-tiers { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; } .tm-tier--featured { grid-row: span 2; } }
.tm-tier {
    --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
    position: relative; display: flex; flex-direction: column; padding: 30px 28px; min-height: 230px; text-decoration: none; color: inherit;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(217, 177, 59, .16), transparent 45%), var(--tm-night);
    border: 1px solid rgba(217, 177, 59, .22); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
    transition: transform .5s var(--tm-ease), border-color .4s, box-shadow .4s;
}
.tm-tier:hover { border-color: rgba(217, 177, 59, .7); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); }
.tm-tier.is-tilting { transition: border-color .4s, box-shadow .4s; }
.tm-tier--featured { border: 2px solid var(--tm-gold); background: radial-gradient(circle at var(--mx) var(--my), rgba(217, 177, 59, .28), transparent 50%), linear-gradient(160deg, #2b3f24, var(--tm-night)); }
.tm-tier__label { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 238, 226, .55); }
.tm-tier h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.6rem; text-transform: uppercase; margin: 10px 0 14px; color: var(--tm-cream); }
.tm-tier--featured h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.tm-tier__price { font-family: 'Archivo Black', sans-serif; font-size: 1.25rem; color: var(--tm-gold); margin-bottom: 14px; }
.tm-tier--featured .tm-tier__price { font-size: 1.9rem; }
.tm-tier p { margin: 0 0 22px; color: rgba(243, 238, 226, .72); line-height: 1.55; }
.tm-tier__cta { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tm-gold); }
.tm-tier__cta::after { content: ' →'; transition: margin .3s; }
.tm-tier:hover .tm-tier__cta::after { margin-left: 6px; }

/* Mini-graphique : contribution par participant */
.tm-chart { margin-top: 60px; padding: 34px 28px; background: var(--tm-cream); color: var(--tm-night); display: grid; gap: 34px; align-items: center; }
@media (min-width: 1024px) { .tm-chart { grid-template-columns: 1fr 1.6fr; padding: 44px 48px; } }
.tm-chart h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.5rem; text-transform: uppercase; margin: 10px 0 14px; line-height: 1.1; }
.tm-chart p { margin: 0; color: #4b5545; line-height: 1.6; }
.tm-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 12px; height: 240px; padding-top: 30px; border-bottom: 2px solid var(--tm-night); }
.tm-bar { position: relative; height: var(--h); display: flex; flex-direction: column; justify-content: flex-start; }
.tm-bar__fill { flex: 1; background: var(--tm-green); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--tm-ease); transition-delay: calc(var(--i) * 160ms); }
.tm-bar:last-child .tm-bar__fill { background: var(--tm-gold); }
.tm-bar__value { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * 160ms + .6s); }
.tm-bar__axis { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: #5d6857; }
.tm-chart.is-in .tm-bar__fill { transform: scaleY(1); }
.tm-chart.is-in .tm-bar__value { opacity: 1; }
.tm-bars { margin-bottom: 34px; }
.tm-chart__legend { margin-top: 0; font-size: 12px; color: #5d6857; }

/* ==========================================================================
   7. APPEL FINAL
   ========================================================================== */
.tm-final { position: relative; background: var(--tm-night); color: var(--tm-cream); padding: 120px 0; text-align: center; overflow: hidden; isolation: isolate; }
.tm-final__bg { position: absolute; inset: 0; z-index: -2; opacity: .28; }
.tm-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.tm-final::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(28, 42, 24, .55), var(--tm-night) 75%); }
.tm-final .tm-h2 { color: var(--tm-cream); max-width: 15em; margin-left: auto; margin-right: auto; }
.tm-final p { color: rgba(243, 238, 226, .75); max-width: 36em; margin: 0 auto 40px; line-height: 1.7; }
.tm-final .tm-actions { justify-content: center; }
.tm-final .tm-frieze { position: absolute; top: 0; left: 0; right: 0; }

/* Barre d'actions flottante (mobile) */
.tm-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(28, 42, 24, .94); backdrop-filter: blur(10px); border-top: 2px solid var(--tm-gold); transform: translateY(110%); transition: transform .45s var(--tm-ease); }
.tm-dock.is-visible { transform: none; }
.tm-dock .tm-btn { padding: 14px 10px; font-size: 12px; }
@media (min-width: 1024px) { .tm-dock { display: none; } }

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */
.tm-formhero { position: relative; background: var(--tm-night); color: var(--tm-cream); padding: 160px 0 120px; overflow: hidden; }
.tm-formhero .tm-frieze { position: absolute; left: 0; right: 0; bottom: 0; }
.tm-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(243, 238, 226, .7); font-size: 14px; text-decoration: none; margin-bottom: 28px; }
.tm-back:hover { color: var(--tm-gold); }
.tm-formhero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 18px 0 16px; }
.tm-formhero p { max-width: 40em; color: rgba(243, 238, 226, .78); font-size: 1.1rem; line-height: 1.7; margin: 0; }
.tm-formbody { background: var(--tm-cream); padding: 0 0 100px; }
.tm-formgrid { display: grid; gap: 30px; margin-top: -60px; position: relative; }
@media (min-width: 1024px) { .tm-formgrid { grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; } }
.tm-aside { background: var(--tm-deep); color: var(--tm-cream); padding: 30px 28px; }
@media (min-width: 1024px) { .tm-aside { position: sticky; top: 120px; } }
.tm-aside h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.25rem; text-transform: uppercase; margin: 0 0 18px; }
.tm-aside ul { list-style: none; margin: 0; padding: 0; }
.tm-aside li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(243, 238, 226, .1); font-size: 14px; }
.tm-aside li b { color: var(--tm-gold); font-weight: 600; white-space: nowrap; }
.tm-aside li b small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: rgba(243, 238, 226, .6); }
.tm-aside li b:has(small) { white-space: normal; text-align: right; }
.tm-note { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--tm-gold); background: rgba(28, 42, 24, .55); font-size: 14px; line-height: 1.6; }
.tm-note strong { color: var(--tm-gold); }
.tm-form { background: #fff; padding: 34px 24px; box-shadow: 0 40px 80px -50px rgba(28, 42, 24, .55); border-top: 4px solid var(--tm-gold); }
@media (min-width: 768px) { .tm-form { padding: 46px 48px; } }
.tm-form h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.6rem; text-transform: uppercase; margin: 0 0 6px; }
.tm-form__intro { color: #5d6857; margin: 0 0 30px; }
.tm-fields { display: grid; gap: 22px; }
@media (min-width: 768px) { .tm-fields { grid-template-columns: 1fr 1fr; } .tm-field--full { grid-column: 1 / -1; } }
.tm-label { display: block; font-size: 13px; font-weight: 600; color: var(--tm-night); margin-bottom: 8px; }
.tm-label em { font-style: normal; color: var(--tm-terra); }
.tm-label small { font-weight: 400; color: #7a8475; }
.tm-input { width: 100%; padding: 14px 15px; font: 400 16px 'Fira Sans', sans-serif; color: var(--tm-night); background: #fff; border: 1.5px solid #cfd3c7; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.tm-input:hover { border-color: #9aa392; }
.tm-input:focus { outline: none; border-color: var(--tm-green); box-shadow: 0 0 0 3px rgba(217, 177, 59, .35); }
.tm-input.has-error { border-color: var(--tm-terra); }
.tm-error { margin-top: 6px; font-size: 13px; color: var(--tm-terra); }
.tm-alert { margin-bottom: 26px; padding: 14px 16px; border-left: 4px solid var(--tm-terra); background: #fbeee8; color: #7c2f15; font-size: 14px; }

/* Choix sous forme de cartes / pastilles */
.tm-choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .tm-choices--tiers { grid-template-columns: 1fr 1fr; } }
.tm-choice { position: relative; display: block; cursor: pointer; }
.tm-choice input { position: absolute; opacity: 0; pointer-events: none; }
.tm-choice__box { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid #cfd3c7; transition: border-color .2s, background-color .2s; }
.tm-choice__box b { font-weight: 600; }
.tm-choice__box span { font-size: 13px; color: #5d6857; white-space: nowrap; }
.tm-choice:hover .tm-choice__box { border-color: #9aa392; }
.tm-choice input:checked + .tm-choice__box { border-color: var(--tm-green); background: rgba(62, 88, 52, .07); box-shadow: inset 4px 0 0 var(--tm-gold); }
.tm-choice input:focus-visible + .tm-choice__box { outline: 2px solid var(--tm-gold); outline-offset: 2px; }
.tm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tm-pill span { display: inline-block; padding: 9px 16px; border: 1.5px solid #cfd3c7; font-size: 14px; cursor: pointer; transition: all .2s; user-select: none; }
.tm-pill:hover span { border-color: var(--tm-night); }
.tm-pill input:checked + span { background: var(--tm-green); border-color: var(--tm-green); color: var(--tm-cream); }
.tm-pill input:focus-visible + span { outline: 2px solid var(--tm-gold); outline-offset: 2px; }
.tm-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: #3b4536; cursor: pointer; }
.tm-consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--tm-green); flex-shrink: 0; }
.tm-honey { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tm-form__foot { margin-top: 32px; padding-top: 26px; border-top: 1px solid #e3e5dd; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tm-form__foot small { color: #7a8475; max-width: 26em; line-height: 1.5; }

/* Confirmation animée */
.tm-done { text-align: center; padding: 20px 0 10px; }
.tm-done svg { width: 96px; height: 96px; margin: 0 auto 26px; display: block; }
.tm-done circle { fill: none; stroke: var(--tm-gold); stroke-width: 4; stroke-dasharray: 290; stroke-dashoffset: 290; animation: tm-draw 1s var(--tm-ease) .1s forwards; }
.tm-done path { fill: none; stroke: var(--tm-green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: tm-draw .6s var(--tm-ease) .9s forwards; }
.tm-done h2 { margin-bottom: 12px; }
.tm-done p { color: #4b5545; max-width: 30em; margin: 0 auto 30px; line-height: 1.7; }
.tm-done .tm-actions { justify-content: center; }
.tm-done > *:not(svg) { animation: tm-up .7s var(--tm-ease) both; animation-delay: 1.1s; }

/* ==========================================================================
   ORBITE DE SOUVENIRS (page Tourisme)
   ========================================================================== */
.tm-orbit-block { position: relative; width: 100%; max-width: 520px; margin: 0 auto; color: var(--tm-cream); text-align: center; }
.tm-orbit-block .tm-badge { margin-bottom: 4px; }
.tm-orbit { position: relative; width: 100%; aspect-ratio: 1 / .86; perspective: 1100px; perspective-origin: 50% 40%; container-type: inline-size; }
.tm-orbit__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.tm-orbit::before { /* disque sombre qui ancre l'orbite sur la photo de fond */
    content: ''; position: absolute; left: 50%; top: 50%; width: 108%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(28, 42, 24, .9) 0%, rgba(28, 42, 24, .72) 42%, rgba(28, 42, 24, 0) 70%); pointer-events: none;
}
.tm-orbit__center {
    position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; margin: -15% 0 0 -15%; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--tm-gold); box-shadow: 0 0 0 10px rgba(217, 177, 59, .12), 0 30px 60px -20px rgba(0, 0, 0, .8);
    transform: translateZ(0); animation: tm-breathe 6s ease-in-out infinite;
}
.tm-orbit__center img { width: 100%; height: 100%; object-fit: cover; }
.tm-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(var(--tilt)) rotateZ(0deg); animation: tm-spin var(--dur) linear infinite; }
.tm-ring--outer { --tilt: 64deg; --rad: 45cqw; --size: 14cqw; --dur: 46s; }
.tm-ring--inner { --tilt: 60deg; --rad: 30cqw; --size: 10.5cqw; --dur: 34s; animation-direction: reverse; }
.tm-ring__path { position: absolute; left: 0; top: 0; width: calc(var(--rad) * 2); height: calc(var(--rad) * 2); border: 1px dashed rgba(217, 177, 59, .4); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.tm-ring__item { --a: calc(var(--i) * 360deg / var(--n)); position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateZ(var(--a)) translateX(var(--rad)) rotateZ(calc(-1 * var(--a))); }
.tm-ring__face { transform-style: preserve-3d; animation: tm-counter var(--dur) linear infinite; animation-direction: inherit; }
.tm-ring--inner .tm-ring__face { animation-direction: reverse; }
.tm-thumb {
    display: block; position: relative; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
    border-radius: 50%; overflow: visible; cursor: pointer; transition: transform .45s var(--tm-ease);
}
.tm-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--tm-gold); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .8); }
.tm-thumb__name { position: absolute; left: 50%; top: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; padding: 4px 10px; background: var(--tm-gold); color: var(--tm-night); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .3s, transform .3s var(--tm-ease); pointer-events: none; }
.tm-thumb:hover, .tm-thumb:focus-visible { transform: scale(1.45); z-index: 5; outline: none; }
.tm-thumb:hover .tm-thumb__name, .tm-thumb:focus-visible .tm-thumb__name { opacity: 1; transform: translate(-50%, 0); }
.tm-orbit.is-paused .tm-ring, .tm-orbit.is-paused .tm-ring__face, .tm-orbit.is-paused .tm-orbit__center { animation-play-state: paused; }
.tm-orbit-block__text { margin: 10px auto 22px; max-width: 26em; font-size: 15px; line-height: 1.6; color: rgba(243, 238, 226, .85); }
.tm-orbit-block__title { font-family: 'Archivo Black', sans-serif; font-size: 1.5rem; text-transform: uppercase; margin: 14px 0 0; color: var(--tm-cream); }
.tm-orbit-block__title span { color: var(--tm-gold); }
@media (max-width: 1023px) {
    .tm-orbit { aspect-ratio: 1 / .72; }
    .tm-ring--inner { display: none; }
    .tm-ring--outer { --size: 17cqw; --n: 5 !important; }
    .tm-ring--outer .tm-ring__item:nth-child(n+7) { display: none; } /* version allégée : 5 vignettes */
}

/* ---------- Ajouts : titre-logo, infos pratiques, photo de « L'idée » ---------- */
.tm { overflow-x: clip; }
.tm-hero__logo { margin: 22px 0 24px; width: min(380px, 100%); line-height: 0; font-size: 0; }
.tm-hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .55)); }


.tm-idea__photo { position: relative; margin: 0 18px 18px 0; }
.tm-idea__photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--tm-gold); z-index: 0; }
.tm-idea__photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tm-idea__photo figcaption { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 10px 16px; background: var(--tm-night); color: var(--tm-cream); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 1024px) { .tm-idea__photo { max-width: 460px; justify-self: end; } }
.tm-idea__motto { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 30px 0 0; }
.tm-idea__motto span { font-family: 'Archivo Black', sans-serif; font-size: 1.05rem; text-transform: uppercase; color: var(--tm-green); }
.tm-idea__motto span:nth-child(even) { color: var(--tm-terra); }

.tm-final__partner { margin: 34px auto 0 !important; font-size: 14px; color: rgba(243, 238, 226, .6) !important; }
.tm-final__partner a { color: var(--tm-gold); text-decoration: underline; text-underline-offset: 3px; }

.tm-dock { grid-template-columns: 1fr auto !important; align-items: center; }
.tm-dock__price { font-family: 'Archivo Black', sans-serif; color: var(--tm-gold); font-size: 1.05rem; line-height: 1.1; }
.tm-dock__price small { display: block; font-family: 'Fira Sans', sans-serif; font-size: 11px; color: rgba(243, 238, 226, .7); letter-spacing: .06em; }
.tm-dock .tm-btn { padding: 14px 22px; }

/* Mobile : en-tête plus compact */
@media (max-width: 767px) {
    .tm-hero__inner { padding-top: 120px; padding-bottom: 70px; gap: 40px; }
    .tm-hero__logo { width: min(330px, 86%); margin: 18px 0 22px; }
    .tm-motto li { font-size: 1.05rem; }
    .tm-actions .tm-btn { flex: 1 1 auto; }
    .tm-countdown { gap: 6px; }
    .tm-countdown div { min-width: 0; flex: 1; padding: 8px 4px; }
    .tm-countdown strong { font-size: 1.3rem; }
    .tm-idea, .tm-route-sec, .tm-climax, .tm-stats, .tm-final { padding-top: 70px; padding-bottom: 70px; }
    .tm-climax__inset { right: 0; }
}

/* ---------- Inscription : catégories d'âge et total ---------- */
.tm-ages { display: grid; gap: 10px; }
@media (min-width: 640px) { .tm-ages { grid-template-columns: 1fr 1fr; } }
.tm-age { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 14px; border: 1.5px solid #cfd3c7; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.tm-age.is-on { border-color: var(--tm-green); background: rgba(62, 88, 52, .06); box-shadow: inset 4px 0 0 var(--tm-gold); }
.tm-age__check { display: flex; align-items: center; gap: 12px; cursor: pointer; min-width: 0; flex: 1; }
.tm-age__check input { position: absolute; opacity: 0; pointer-events: none; }
.tm-age__box { flex-shrink: 0; width: 22px; height: 22px; border: 2px solid #9aa392; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.tm-age__check input:checked + .tm-age__box { background: var(--tm-green); border-color: var(--tm-green); }
.tm-age__check input:checked + .tm-age__box::after { content: ''; width: 6px; height: 11px; border: solid var(--tm-cream); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.tm-age__check input:focus-visible + .tm-age__box { outline: 2px solid var(--tm-gold); outline-offset: 2px; }
.tm-age__label b { display: block; font-weight: 600; font-size: 15px; }
.tm-age__label small { display: block; font-size: 12px; color: #6b7566; }
.tm-qty { display: flex; align-items: center; flex-shrink: 0; opacity: .35; transition: opacity .2s; }
.tm-age.is-on .tm-qty { opacity: 1; }
.tm-qty button { width: 34px; height: 36px; border: 1.5px solid #cfd3c7; background: #fff; font-size: 18px; line-height: 1; color: var(--tm-night); cursor: pointer; }
.tm-qty button:hover { border-color: var(--tm-green); color: var(--tm-green); }
.tm-qty input { width: 42px; height: 36px; border: 1.5px solid #cfd3c7; border-left: 0; border-right: 0; text-align: center; font: 600 15px 'Fira Sans', sans-serif; -moz-appearance: textfield; }
.tm-qty input::-webkit-outer-spin-button, .tm-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tm-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 14px 0 0; padding: 14px 16px; background: var(--tm-night); color: var(--tm-cream); }
.tm-total span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tm-gold); }
.tm-total__amount { margin-left: auto; font-family: 'Archivo Black', sans-serif; font-size: 1.3rem; color: var(--tm-gold); }

/* ---------- Participants (inscription de plusieurs personnes) ---------- */
.tm-people { border: 0; padding: 0; margin: 6px 0 0; }
.tm-people[hidden] { display: none; }
.tm-people__me, .tm-person { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px; border: 1.5px solid #cfd3c7; background: #fff; }
.tm-people__me { border-color: var(--tm-green); box-shadow: inset 4px 0 0 var(--tm-gold); }
.tm-people__num { width: 34px; height: 34px; display: grid; place-items: center; background: var(--tm-night); color: var(--tm-gold); font-family: 'Archivo Black', sans-serif; font-size: 14px; }
.tm-people__title { font-weight: 600; margin-bottom: 10px; }
.tm-people__title small { font-weight: 400; color: #6b7566; font-size: 13px; }
.tm-people__lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #3b4536; }
.tm-people__lbl em { color: var(--tm-terra); font-style: normal; }
.tm-people__lbl small { font-weight: 400; color: #7a8475; }
.tm-people__unknown { margin: 16px 0; padding: 14px 16px; background: rgba(217, 177, 59, .12); border-left: 3px solid var(--tm-gold); }
.tm-people__unknown small { display: block; color: #6b7566; font-size: 13px; }
.tm-people__list { display: grid; gap: 10px; }
.tm-people__list.is-off { display: none; }
.tm-person__tag { display: inline-block; margin-left: 8px; padding: 2px 8px; font-size: 12px; font-weight: 600; background: rgba(62, 88, 52, .1); color: var(--tm-green); }
.tm-person__fields { display: grid; gap: 10px; }
@media (min-width: 640px) { .tm-person__fields { grid-template-columns: 1fr 1fr; } .tm-person__fields > :last-child { grid-column: 1 / -1; } }
.tm-person { animation: tm-person-in .35s var(--tm-ease) both; }
@keyframes tm-person-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .tm-person { animation: none; } }

/* ---------- Paiement ---------- */
.tm-pay__amount { font-family: 'Archivo Black', sans-serif; font-size: clamp(2.2rem, 7vw, 3.2rem); color: var(--tm-green); margin: 6px 0 2px; line-height: 1; }
.tm-pay__means { margin: 14px 0 0; text-align: center; font-size: 13px; color: #5d6857; }
.tm-pay__sandbox { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--tm-terra); font-weight: 600; }
.tm-pay__later { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #e3e5dd; font-size: 13px; color: #6b7566; overflow-wrap: anywhere; }
.tm-pay__later a { color: var(--tm-green); }

/* ---------- En-tête : tient dans l'écran, décompte à gauche du badge ---------- */
.tm-hero { min-height: 100svh; }
.tm-hero__inner { padding-top: 140px !important; padding-bottom: 48px !important; }
.tm-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tm-hero__top .tm-countdown { margin: 0; gap: 6px; }
.tm-hero__top .tm-countdown div { min-width: 50px; padding: 5px 6px; }
.tm-hero__top .tm-countdown strong { font-size: 1.1rem; line-height: 1.1; }
.tm-hero__top .tm-countdown span { font-size: 9px; letter-spacing: .12em; }
.tm-hero__logo { width: clamp(190px, 36vh, 360px) !important; margin: 20px 0 22px !important; }
.tm-hero__bg img { object-position: 50% 35% !important; }
.tm-hero__credit { position: absolute; right: 14px; bottom: 22px; z-index: 2; font-size: 11px; color: rgba(243, 238, 226, .55); text-decoration: none; }
.tm-hero__credit:hover { color: var(--tm-gold); }
/* Porte du Non-Retour : on garde le haut de l'image */
.tm-trio figure:nth-child(2) img { object-position: center top; }
@media (max-height: 760px) and (min-width: 1024px) { .tm-trio { height: 340px; } }
@media (max-width: 1023px) {
    .tm-hero__inner { padding-top: 128px !important; padding-bottom: 56px !important; }
    .tm-trio, .tm-scroll { display: none; }
    .tm-hero__logo { width: clamp(180px, 34vh, 300px) !important; }
    .tm-hero__credit { bottom: 20px; font-size: 10px; }
}

/* ---------- Phrase d'accroche ---------- */
.tm-hero__catch { max-width: 30em; margin: 0 0 32px; padding-left: 16px; border-left: 3px solid var(--tm-gold); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; color: rgba(243, 238, 226, .9); }
.tm-idea__closing { margin: 30px 0 0; font-family: 'Archivo Black', sans-serif; font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.35; text-transform: uppercase; color: var(--tm-green); max-width: 26em; }
.tm-badge + .tm-hero__logo { margin-top: 22px !important; }

/* ---------- Chiffres clés : 3 colonnes ---------- */
.tm-stats__grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 480px) { .tm-stat { padding: 28px 8px; } .tm-stat span { font-size: 11px; letter-spacing: .14em; } }

/* ---------- Compte à rebours « sceau doré » ---------- */
.tm-seal {
    position: fixed; right: 22px; bottom: 26px; z-index: 44;
    display: flex; align-items: center; height: 66px; max-width: 66px; padding: 0;
    border-radius: 33px; border: 1px solid rgba(217, 177, 59, .35); overflow: hidden; cursor: pointer;
    background: rgba(28, 42, 24, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: var(--tm-cream); text-align: left; font-family: 'Fira Sans', sans-serif;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .75);
    transition: max-width .55s var(--tm-ease), border-color .3s;
    animation: tm-seal-in .8s var(--tm-ease) 1s both, tm-seal-float 7s ease-in-out 2s infinite;
}
.tm-seal:hover, .tm-seal.is-open, .tm-seal:focus-visible { max-width: 250px; border-color: rgba(217, 177, 59, .7); }
.tm-seal:focus-visible { outline: 2px solid var(--tm-gold); outline-offset: 3px; }
.tm-seal__badge { flex-shrink: 0; width: 64px; height: 64px; }
.tm-seal__track { fill: none; stroke: rgba(217, 177, 59, .2); stroke-width: 3; }
.tm-seal__ring { fill: none; stroke: var(--tm-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 175.9; transform: rotate(-90deg); transform-origin: 33px 33px; transition: stroke-dashoffset .9s linear; }
.tm-seal__j { font-family: 'Archivo Black', sans-serif; font-size: 15px; fill: var(--tm-cream); }
.tm-seal__date { font-family: 'Fira Sans', sans-serif; font-weight: 700; font-size: 8px; letter-spacing: 1px; fill: var(--tm-gold); }
.tm-seal__more { display: flex; flex-direction: column; padding: 0 20px 0 4px; white-space: nowrap; line-height: 1.25; opacity: 0; transition: opacity .3s ease .1s; }
.tm-seal:hover .tm-seal__more, .tm-seal.is-open .tm-seal__more, .tm-seal:focus-visible .tm-seal__more { opacity: 1; }
.tm-seal__more b { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 16px; color: var(--tm-gold); font-variant-numeric: tabular-nums; }
.tm-seal__more small { font-size: 11px; color: rgba(243, 238, 226, .7); }
@media (max-width: 1023px) {
    .tm-seal { right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); }
    .tm-seal.is-tucked { visibility: hidden; }
}
@keyframes tm-seal-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes tm-seal-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -5px, 0); } }
@media (prefers-reduced-motion: reduce) { .tm-seal { animation: none !important; transition: none; } .tm-seal__ring { transition: none; } }

/* ---------- Images : apparition douce ---------- */
.tm img[loading="lazy"] { background: rgba(62, 88, 52, .25); }

/* ---------- Animations ---------- */
@keyframes tm-kenburns { from { transform: scale(1.12) translate3d(-1%, 0, 0); } to { transform: scale(1) translate3d(1%, -1%, 0); } }
@keyframes tm-float { 0%, 100% { transform: rotate(var(--rot)) translate3d(0, 0, 0); } 50% { transform: rotate(var(--rot)) translate3d(0, -12px, 0); } }
@keyframes tm-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes tm-strike { to { transform: scaleX(1); } }
@keyframes tm-fade { to { opacity: 0; } }
@keyframes tm-fall { to { opacity: 0; transform: translateY(.8em) rotate(8deg); } }
@keyframes tm-rise { to { opacity: 1; transform: none; } }
@keyframes tm-draw { to { stroke-dashoffset: 0; } }
@keyframes tm-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tm-spin { from { transform: rotateX(var(--tilt)) rotateZ(0deg); } to { transform: rotateX(var(--tilt)) rotateZ(360deg); } }
@keyframes tm-counter { from { transform: rotateZ(0deg) rotateX(calc(-1 * var(--tilt))); } to { transform: rotateZ(-360deg) rotateX(calc(-1 * var(--tilt))); } }
@keyframes tm-breathe { 0%, 100% { box-shadow: 0 0 0 10px rgba(217, 177, 59, .12), 0 30px 60px -20px rgba(0, 0, 0, .8); } 50% { box-shadow: 0 0 0 18px rgba(217, 177, 59, .06), 0 30px 60px -20px rgba(0, 0, 0, .8); } }

/* ---------- Animations réduites (réglage du système) ---------- */
@media (prefers-reduced-motion: reduce) {
    .tm [data-reveal], .tm-orbit-block [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .tm-hero__bg img, .tm-trio figure, .tm-scroll::after, .tm-orbit__center { animation: none !important; }
    .tm-ring, .tm-ring__face { animation-duration: 240s !important; }
    .tm-brush::before { transform: scaleX(1); transition: none; }
    .tm-brush { transition: none; }
    .tm-substops li { opacity: 1; transform: none; transition: none; }
    .tm-bar__fill { transform: none; transition: none; }
    .tm-bar__value { opacity: 1; transition: none; }
    .tm-quote .tm-swap__neg { display: none; }
    .tm-quote .tm-swap__pos i { opacity: 1; transform: none; animation: none !important; }
    .tm-btn, .tm-btn::after, .tm-tier { transition: none; }
    .tm-done circle, .tm-done path { stroke-dashoffset: 0; animation: none; }
    .tm-done > *:not(svg) { animation: none; }
}

/* ---------- En-tête mobile : photo moins zoomée ----------
   La photo est en 16:9 ; étirée sur tout un écran de téléphone (très haut), elle était
   agrandie ~4 fois. Sur mobile, elle occupe le haut de l'en-tête et se fond dans le vert. */
@media (max-width: 767px) {
    .tm-hero__bg { bottom: auto; height: 64%; }
    .tm-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 42, 24, .5) 0%, rgba(28, 42, 24, .3) 40%, rgba(28, 42, 24, .85) 80%, var(--tm-night) 100%); }
    .tm-hero__bg img { animation: none !important; transform: none !important; object-position: 50% 30% !important; }
}

/* Barre d'inscription : jamais plus large que l'écran, même sur les très petits téléphones */
.tm-dock { grid-template-columns: minmax(0, 1fr) auto !important; }
.tm-dock__price { min-width: 0; white-space: nowrap; }
@media (max-width: 359px) {
    .tm-dock { gap: 6px; padding-left: 10px; padding-right: 10px; }
    .tm-dock__price { font-size: .92rem; }
    .tm-dock .tm-btn { padding: 13px 12px; letter-spacing: .08em; }
}

/* Inscription : tarif affiché sur chaque catégorie d'âge */
.tm-age__label small.tm-age__price { margin-top: 2px; font-weight: 700; color: var(--tm-green); }
.tm-consent--image { padding: 14px 16px; background: rgba(62, 88, 52, .06); border-left: 3px solid var(--tm-gold); font-size: 13.5px; }
.tm-consent--image strong { display: block; margin-bottom: 2px; color: var(--tm-night); }
/* Texte du droit à l'image : replié par défaut (JavaScript actif), « lire plus » pour tout lire */
.tm-more__dots { display: none; }
.tm-more__btn { display: inline; padding: 0; margin-left: 4px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--tm-green); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.tm-more__btn:focus-visible { outline: 2px solid var(--tm-gold); outline-offset: 2px; }
.has-more:not(.is-open) .tm-more__rest { display: none; }
.has-more:not(.is-open) .tm-more__dots { display: inline; }
/* Catégories d'âge : côte à côte seulement s'il y a la place (sinon l'une sous l'autre) */
.tm-ages { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important; }

/* ---------- Appel à candidatures : hôtesses ---------- */
.tm-recruit { position: relative; overflow: hidden; padding: 110px 0; background: var(--tm-night); color: var(--tm-cream); isolation: isolate; }
.tm-recruit::after { content: ''; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 177, 59, .16), transparent 62%); z-index: -1; }
.tm-recruit__grid { display: grid; gap: 50px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .tm-recruit__grid { grid-template-columns: 1.05fr 1fr; gap: 70px; } }
.tm-recruit .tm-h2 { color: var(--tm-cream); }
.tm-recruit__count { color: var(--tm-gold); white-space: nowrap; }
.tm-recruit__lead { font-size: 1.1rem; line-height: 1.7; color: rgba(243, 238, 226, .82); max-width: 34em; margin: 0 0 26px; }
.tm-recruit__missions { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.tm-recruit__missions { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tm-recruit__missions li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: rgba(243, 238, 226, .06); border: 1px solid rgba(243, 238, 226, .12); transition: transform .4s var(--tm-ease), background .3s, border-color .3s; }
.tm-recruit__missions li:hover { transform: translateY(-4px); background: rgba(217, 177, 59, .1); border-color: rgba(217, 177, 59, .45); }
.tm-recruit__num { font-family: 'Archivo Black', sans-serif; font-size: 14px; color: var(--tm-gold); line-height: 1.4; }
.tm-recruit__missions b { display: block; font-size: 15px; margin-bottom: 3px; }
.tm-recruit__missions small { display: block; font-size: 13px; line-height: 1.5; color: rgba(243, 238, 226, .7); }
.tm-recruit__criteria { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 9px; }
.tm-recruit__criteria li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.tm-recruit__criteria svg { flex-shrink: 0; width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--tm-gold); color: var(--tm-night); }
.tm-recruit__note { align-self: center; font-size: 13px; color: rgba(243, 238, 226, .65); }

/* Illustration animée */
.tm-recruit__visual { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.tm-recruit__halo { position: absolute; left: 8%; right: 8%; top: 6%; bottom: 10%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(243, 238, 226, .12), transparent 65%); border: 1px dashed rgba(217, 177, 59, .3); animation: tm-halo-spin 60s linear infinite; }
.tm-hostess-art { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.tm-hostess__body { transform-box: fill-box; transform-origin: 50% 100%; animation: tm-hostess-float 6s ease-in-out infinite; }
.tm-hostess--2 .tm-hostess__body { animation-delay: -2s; }
.tm-hostess--3 .tm-hostess__body { animation-delay: -4s; }
.tm-hostess__wave { transform-box: fill-box; transform-origin: 0% 100%; animation: tm-hostess-wave 2.4s ease-in-out infinite; }
.tm-recruit__spark { position: absolute; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid var(--tm-gold); opacity: .85; animation: tm-spark 7s ease-in-out infinite; }
.tm-recruit__spark--1 { left: 4%; top: 12%; }
.tm-recruit__spark--2 { right: 6%; top: 4%; border-bottom-color: var(--tm-terra); animation-delay: -2.5s; transform: scale(.8); }
.tm-recruit__spark--3 { right: 14%; bottom: 18%; border-bottom-color: #f3eee2; animation-delay: -5s; transform: scale(.6); }
.tm-recruit__tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 8px 18px; background: var(--tm-gold); color: var(--tm-night); font-family: 'Archivo Black', sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8); }
@keyframes tm-hostess-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(-.6deg); } }
@keyframes tm-hostess-wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-12deg); } }
@keyframes tm-halo-spin { to { transform: rotate(360deg); } }
@keyframes tm-spark { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -16px; rotate: 40deg; } }
@media (max-width: 767px) { .tm-recruit { padding: 70px 0; } .tm-recruit__visual { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) {
    .tm-hostess__body, .tm-hostess__wave, .tm-recruit__halo, .tm-recruit__spark { animation: none !important; }
}
.tm-recruit__period { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 7px 14px; border: 1px solid rgba(217, 177, 59, .45); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--tm-cream); }
.tm-recruit__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tm-gold); }
.tm-recruit__dot.is-live { background: #3ccf3c; box-shadow: 0 0 0 0 rgba(60, 207, 60, .6); animation: tm-live 2s infinite; }
@keyframes tm-live { 70% { box-shadow: 0 0 0 8px rgba(60, 207, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 60, 0); } }

/* ---------- Formulaire de candidature hôtesse ---------- */
.tm-hjob__art { margin: -10px -6px 10px; }
.tm-hostess-art--small { max-width: 300px; margin: 0 auto; }
.tm-hjob__list { list-style: none; margin: 0 0 22px; padding: 0; }
.tm-hjob__list li { padding: 12px 0; border-bottom: 1px solid rgba(243, 238, 226, .1); font-size: 14px; }
.tm-hjob__list b { display: block; color: var(--tm-gold); font-weight: 600; }
.tm-hjob__list span { color: rgba(243, 238, 226, .75); line-height: 1.5; }
.tm-hjob__sub { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1rem; text-transform: uppercase; margin: 0 0 12px; }
.tm-hjob__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tm-hjob__checks li { display: flex; gap: 9px; font-size: 14px; line-height: 1.45; }
.tm-hjob__checks svg { flex-shrink: 0; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--tm-gold); color: var(--tm-night); }

/* Progression (visible seulement quand le JavaScript gère les étapes) */
.tm-steps { list-style: none; margin: 0 0 10px; padding: 0; display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tm-steps__bar { display: none; height: 3px; background: #e3e5dd; margin: 0 0 28px; }
.tm-hform.has-steps .tm-steps { display: grid; }
.tm-hform.has-steps .tm-steps__bar { display: block; }
.tm-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; color: #9aa392; transition: color .3s; }
.tm-steps li span { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid #cfd3c7; background: #fff; font-family: 'Archivo Black', sans-serif; font-size: 13px; transition: all .35s var(--tm-ease); }
.tm-steps li b { font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.tm-steps li.is-current { color: var(--tm-night); }
.tm-steps li.is-current span { border-color: var(--tm-gold); background: var(--tm-gold); color: var(--tm-night); transform: scale(1.12); box-shadow: 0 10px 20px -10px rgba(217, 177, 59, .9); }
.tm-steps li.is-done { color: var(--tm-green); }
.tm-steps li.is-done span { border-color: var(--tm-green); background: var(--tm-green); color: #fff; }
.tm-steps__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tm-green), var(--tm-gold)); transition: width .5s var(--tm-ease); }

/* Étapes */
.tm-step { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.is-stepped .tm-step.is-active { animation: tm-step-in .5s var(--tm-ease) both; }
.tm-step__title { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: 'Archivo Black', sans-serif; font-size: 1.35rem; text-transform: uppercase; color: var(--tm-night); }
.tm-step__title span { font-size: .8rem; color: var(--tm-gold); padding: 4px 8px; border: 1.5px solid var(--tm-gold); }
form:not(.is-stepped) .tm-step + .tm-step { margin-top: 34px; padding-top: 30px; border-top: 1px solid #e3e5dd; }
@keyframes tm-step-in { from { opacity: 0; transform: translateX(24px); } }
.tm-steps__foot { justify-content: flex-end; }
.tm-steps__foot [data-step-prev] { margin-right: auto; }

/* Taille avec unité */
.tm-unit { position: relative; }
.tm-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #7a8475; font-weight: 600; pointer-events: none; }
.tm-unit .tm-input { padding-right: 46px; }

/* Choix en pastilles */
.tm-hgroup { margin: 0 0 24px; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chip { position: relative; cursor: pointer; }
.tm-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tm-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid #cfd3c7; background: #fff; font-size: 14px; font-weight: 500; transition: all .25s var(--tm-ease); user-select: none; }
.tm-chip--lg span { padding: 14px 22px; font-weight: 600; }
.tm-chip:hover span { border-color: var(--tm-night); transform: translateY(-2px); }
.tm-chip input:checked + span { background: var(--tm-green); border-color: var(--tm-green); color: #fff; box-shadow: 0 10px 18px -12px rgba(62, 88, 52, .9); }
.tm-chip input:focus-visible + span { outline: 2px solid var(--tm-gold); outline-offset: 2px; }
.tm-chip.is-new span { animation: tm-chip-pop .45s var(--tm-ease); }
@keyframes tm-chip-pop { from { transform: scale(.6); opacity: 0; } }
.tm-lvl { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.tm-lvl b { width: 4px; background: currentColor; opacity: .25; }
.tm-lvl b:nth-child(1) { height: 5px; }
.tm-lvl b:nth-child(2) { height: 9px; }
.tm-lvl b:nth-child(3) { height: 14px; }
.tm-lvl--1 b:nth-child(1), .tm-lvl--2 b:nth-child(-n+2), .tm-lvl--3 b { opacity: 1; }
.tm-addlang { display: flex; gap: 8px; margin-top: 12px; }
.tm-addlang .tm-input { flex: 1; min-width: 0; }
.tm-addlang .tm-btn { flex-shrink: 0; padding: 12px 16px; }

/* Disponibilité : grande case */
.tm-dispo { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; margin-bottom: 18px; border: 2px dashed #cfd3c7; cursor: pointer; transition: all .3s var(--tm-ease); }
.tm-dispo input { position: absolute; opacity: 0; pointer-events: none; }
.tm-dispo__box { flex-shrink: 0; width: 28px; height: 28px; border: 2px solid #9aa392; display: grid; place-items: center; transition: all .25s; }
.tm-dispo input:checked ~ .tm-dispo__box { background: var(--tm-green); border-color: var(--tm-green); }
.tm-dispo input:checked ~ .tm-dispo__box::after { content: ''; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -2px); }
.tm-dispo:has(input:checked) { border-style: solid; border-color: var(--tm-green); background: rgba(62, 88, 52, .06); }
.tm-dispo input:focus-visible ~ .tm-dispo__box { outline: 2px solid var(--tm-gold); outline-offset: 2px; }
.tm-dispo__text b { display: block; font-size: 15px; }
.tm-dispo__text small { color: #6b7566; font-size: 13px; }

/* Photo */
.tm-drop { position: relative; display: block; border: 2px dashed #cfd3c7; background: #fbf9f4; cursor: pointer; transition: all .3s var(--tm-ease); overflow: hidden; }
.tm-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tm-drop:hover, .tm-drop.is-over { border-color: var(--tm-gold); background: #fdf7e6; }
.tm-drop.has-error { border-color: var(--tm-terra); }
.tm-drop.has-file { border-style: solid; border-color: var(--tm-green); }
.tm-drop__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 16px; text-align: center; color: #5d6857; }
.tm-drop__empty[hidden] { display: none; }
.tm-drop__empty svg { width: 44px; height: 44px; color: var(--tm-gold); margin-bottom: 4px; transition: transform .4s var(--tm-ease); }
.tm-drop:hover .tm-drop__empty svg { transform: translateY(-4px) scale(1.08); }
.tm-drop__empty b { color: var(--tm-night); }
.tm-drop__empty small { font-size: 13px; }
.tm-drop__preview { display: flex; align-items: center; gap: 16px; padding: 14px; }
.tm-drop__preview[hidden] { display: none; }
.tm-drop__preview img { width: 88px; height: 110px; object-fit: cover; object-position: top; box-shadow: 0 12px 20px -12px rgba(0, 0, 0, .5); animation: tm-chip-pop .5s var(--tm-ease); }
.tm-drop__preview small { font-size: 13px; color: #5d6857; word-break: break-word; }

/* États (pas encore ouvert / clos) */
.tm-hstate { text-align: center; padding: 30px 10px; }
.tm-hstate__icon { display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 18px; border-radius: 50%; background: rgba(217, 177, 59, .16); color: var(--tm-gold); }
.tm-hstate__icon svg { width: 34px; height: 34px; }
.tm-hstate h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; text-transform: uppercase; margin-bottom: 10px; }
.tm-hstate p { color: #4b5545; max-width: 30em; margin: 0 auto 24px; line-height: 1.7; }
@media (max-width: 480px) { .tm-steps li b { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) {
    .is-stepped .tm-step.is-active, .tm-chip.is-new span, .tm-drop__preview img { animation: none; }
    .tm-chip:hover span { transform: none; }
}
/* Mobile : le formulaire avant la présentation du poste (déjà détaillée sur la page de l'événement) */
@media (max-width: 1023px) { .tm-hjob { order: 2; } }

/* Boutons d'étapes : texte + flèche ; flèche seule sur mobile */
.tm-stepbtn { gap: 10px; }
.tm-stepbtn span { font-size: 18px; line-height: 1; }
@media (max-width: 640px) {
    .tm-steps__foot { flex-wrap: nowrap; gap: 10px; }
    .tm-stepbtn { width: 52px; height: 52px; padding: 0; flex: 0 0 52px !important; justify-content: center; }
    .tm-stepbtn b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tm-stepbtn span { font-size: 22px; }
    .tm-steps__foot [data-step-next] { margin-left: auto; }
    .tm-steps__foot [data-step-submit] { flex: 1 1 auto; }
}

/* ---------- Partenaires : bandeau défilant ---------- */
.tm-partners { position: relative; padding: 70px 0 64px; background: var(--tm-cream); overflow: hidden; }
.tm-partners::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--tm-gold), transparent); opacity: .6; }
.tm-partners__head { text-align: center; margin-bottom: 34px; }
.tm-partners__head .tm-kicker { color: var(--tm-green); }
.tm-partners__title { margin: 8px 0 0; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.9rem); text-transform: uppercase; color: var(--tm-night); }

.tm-marquee {
    position: relative; display: flex; width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tm-marquee__track {
    display: flex; flex-shrink: 0; gap: 22px; margin: 0; padding: 14px 11px 18px; list-style: none;
    animation: tm-marquee var(--tm-speed, 40s) linear infinite;
}
.tm-marquee:hover .tm-marquee__track, .tm-marquee:focus-within .tm-marquee__track { animation-play-state: paused; }
@keyframes tm-marquee { to { transform: translateX(-100%); } }

.tm-logo > a, .tm-logo > div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: inherit; outline: none; }
.tm-logo__card {
    display: grid; place-items: center; width: 190px; height: 100px; padding: 6px 10px;
    transition: transform .45s var(--tm-ease);
}
.tm-logo__card img { max-width: 100%; max-height: 84px; object-fit: contain; filter: grayscale(1) contrast(.95); opacity: .62; transition: filter .45s, opacity .45s, transform .45s var(--tm-ease); }
.tm-logo__name { font-size: 13px; font-weight: 600; color: var(--tm-night); text-align: center; max-width: 200px; }
.tm-logo__url { display: inline-flex; align-items: center; gap: 4px; margin-top: -4px; font-size: 12px; color: var(--tm-green); opacity: .75; transition: opacity .3s, transform .3s var(--tm-ease); }
.tm-logo__url svg { width: 12px; height: 12px; transition: transform .3s var(--tm-ease); }
.tm-logo a:hover .tm-logo__card, .tm-logo a:focus-visible .tm-logo__card, .tm-logo > div:hover .tm-logo__card, .tm-logo.is-touched .tm-logo__card { transform: translateY(-5px); }
.tm-logo a:hover img, .tm-logo a:focus-visible img, .tm-logo > div:hover img, .tm-logo.is-touched img { filter: drop-shadow(0 10px 14px rgba(28, 42, 24, .22)); opacity: 1; transform: scale(1.08); }
.tm-logo.is-touched .tm-logo__url { opacity: 1; }
.tm-marquee.is-touched .tm-marquee__track { animation-play-state: paused; }
.tm-logo a:hover .tm-logo__url, .tm-logo a:focus-visible .tm-logo__url { opacity: 1; }
.tm-logo a:hover .tm-logo__url svg { transform: translate(2px, -2px); }
.tm-logo a:focus-visible .tm-logo__card { outline: 2px solid var(--tm-gold); outline-offset: 3px; }

/* Variante sombre (pages des formulaires) */
.tm-partners--dark { background: #f6f1e4; }

@media (max-width: 640px) {
    .tm-partners { padding: 54px 0 48px; }
    .tm-logo__card { width: 140px; height: 80px; padding: 4px 6px; }
    .tm-logo__card img { max-height: 66px; }
    .tm-marquee__track { gap: 14px; }
}
/* Téléphones réglés sur « animations réduites » (mode économie d'énergie, etc.) :
   le bandeau continue de défiler, simplement plus lentement */
@media (prefers-reduced-motion: reduce) {
    .tm-marquee__track { animation-duration: calc(var(--tm-speed, 40s) * 1.6); }
}

/* Organisateurs : « … présentent » */
.tm-presents { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 14px 0 6px; font-size: 13px; line-height: 1.5; color: rgba(243, 238, 226, .72); letter-spacing: .02em; }
.tm-presents b { font-weight: 700; color: var(--tm-cream); letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }
.tm-presents span { font-style: italic; }
.tm-presents--small { margin: 0 0 14px; font-size: 12px; }
.tm-presents--small b { font-size: 11.5px; color: var(--tm-gold); }

/* Nom complet du lieu sous le titre du point culminant */
.tm-climax__venue { margin: -4px 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-gold); }

/* Polaroid du Sofitel : nom complet sur deux lignes sans chevaucher la photo */
.tm-trio figure:nth-child(3) { padding-bottom: 46px; }
.tm-trio figure:nth-child(3) figcaption { font-size: 11px; line-height: 1.3; bottom: 7px; }

/* Page sponsor : nombre de participants prévus */
.tm-aside__figure { display: flex; align-items: baseline; gap: 10px; margin: 0 0 22px; padding: 14px 18px; border: 1px solid rgba(217, 177, 59, .45); background: rgba(217, 177, 59, .08); }
.tm-aside__figure b { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 2rem; line-height: 1; color: var(--tm-gold); }
.tm-aside__figure span { font-size: 14px; font-weight: 600; letter-spacing: .04em; }

/* Lien discret « Postuler » à côté de « Devenir sponsor » */
.tm-final__sep { margin: 0 10px; color: var(--tm-gold); opacity: .6; }
