/* Jetons de l'événement (site/theme.css) */
/* Trail Marseille-Aix 2027 : jetons de marque (repris de l'ancien site). Polices : licences dans /assets/licences/. */
@font-face{font-family:'Pramukh Rounded';font-style:normal;font-weight:600;font-display:optional;src:url(/assets/fonts/pramukh-rounded-latin-600-normal.5f3d32016d.woff2) format('woff2');}
@font-face{font-family:'Pramukh Rounded';font-style:normal;font-weight:700;font-display:optional;src:url(/assets/fonts/pramukh-rounded-latin-700-normal.1475b82ff5.woff2) format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:optional;src:url(/assets/fonts/manrope-latin-wght-normal.a30ddcd349.woff2) format('woff2');}
@font-face{font-family:'Caveat Brush';font-style:normal;font-weight:400;font-display:optional;src:url(/assets/fonts/caveat-brush-latin-400-normal.e2e69f4a04.woff2) format('woff2');}
:root{
  --couleur-sombre:#232F62; --couleur-sur-sombre:#FFFFFF; --couleur-texte:#232F62;
  --couleur-fond:#F6F2EC; --couleur-fond-page:#EFE9E0; --couleur-carte:#FFFFFF; --couleur-bordure:#E6E1D8;
  --couleur-action:#BB5124; --couleur-action-texte:#FFFFFF;
  --couleur-texte-doux:#4A5276; --couleur-texte-discret:#585F82;
  --couleur-sur-sombre-doux:#DCE4F2; --couleur-sur-sombre-discret:#B9C6E0;
  --couleur-surtitre:#A3471F; --couleur-lien:#156795; --couleur-focus:#36A9E1;
  --couleur-note:#F39200; --couleur-date:#F39200; --couleur-manuscrit:#36A9E1; --couleur-titre-degrade:#A9D6F0;
  --couleur-mot-eteint:#868CAE; --couleur-badge-fond:#F7E3D9; --couleur-badge-texte:#93320F;
  --couleur-carte-2:#156795; --couleur-carte-3:#BB5124; --couleur-carte-4:#006633; --couleur-carte-5:#232F62; --couleur-carte-6:#93320F;
  --police-titres:'Pramukh Rounded','Arial Narrow',sans-serif; --police-texte:'Manrope',sans-serif; --police-manuscrite:'Caveat Brush',cursive;
  --motif-clair:url(/assets/img/pattern-light.1d59649050.svg); --motif-sombre:url(/assets/img/pattern-dark.e09c12b381.svg); --motif-action:url(/assets/img/pattern-terra.ce5cd61050.svg);
}

/* Modèle « trail » */
/* Modèle « trail » : landing d'inscription Playground (repris du Trail Marseille-Aix 2027,
   procédure .claude/skills/landing-evenement-playground). Aucune valeur de marque ici :
   uniquement les jetons de site/theme.css. Jetons facultatifs : repli indiqué dans var(). */
:root{
  --tr-sombre:var(--couleur-sombre);
  --tr-sur-sombre:var(--couleur-sur-sombre);
  --tr-sur-sombre-doux:var(--couleur-sur-sombre-doux, var(--couleur-sur-sombre));
  --tr-sur-sombre-discret:var(--couleur-sur-sombre-discret, var(--tr-sur-sombre-doux));
  --tr-texte:var(--couleur-texte);
  --tr-texte-doux:var(--couleur-texte-doux, var(--couleur-texte));
  --tr-texte-discret:var(--couleur-texte-discret, var(--tr-texte-doux));
  --tr-fond-page:var(--couleur-fond-page, var(--couleur-fond));
  --tr-carte:var(--couleur-carte, var(--couleur-sur-sombre));
  --tr-bordure:var(--couleur-bordure);
  --tr-action:var(--couleur-action);
  --tr-action-texte:var(--couleur-action-texte);
  --tr-surtitre:var(--couleur-surtitre, var(--couleur-action));
  --tr-lien:var(--couleur-lien, var(--couleur-texte));
  --tr-focus:var(--couleur-focus, var(--couleur-action));
  --tr-note:var(--couleur-note, var(--couleur-action));
  --tr-manuscrit:var(--couleur-manuscrit, var(--tr-sur-sombre-doux));
  --tr-degrade-fin:var(--couleur-titre-degrade, var(--couleur-sur-sombre));
  --tr-date:var(--couleur-date, var(--tr-note));
  --tr-mot-eteint:var(--couleur-mot-eteint, color-mix(in srgb, var(--tr-texte) 60%, var(--tr-fond-page))); /* défaut ≥ 3:1 (grand texte) */
  --tr-badge-fond:var(--couleur-badge-fond, var(--tr-fond-page));
  --tr-badge-texte:var(--couleur-badge-texte, var(--tr-surtitre));
  --tr-erreur:var(--couleur-erreur-sur-sombre, var(--couleur-sur-sombre));
  --tr-carte-2:var(--couleur-carte-2, var(--tr-lien));
  --tr-carte-3:var(--couleur-carte-3, var(--tr-action));
  --tr-carte-4:var(--couleur-carte-4, var(--tr-texte));
  --tr-carte-5:var(--couleur-carte-5, var(--tr-sombre));
  --tr-carte-6:var(--couleur-carte-6, var(--tr-surtitre));
  --tr-titres:var(--police-titres, system-ui, sans-serif);
  --tr-texte-police:var(--police-texte, system-ui, sans-serif);
  --tr-manuscrite:var(--police-manuscrite, var(--tr-titres));
  --tr-blanc-6:color-mix(in srgb, var(--tr-sur-sombre) 6%, transparent);
  --tr-blanc-18:color-mix(in srgb, var(--tr-sur-sombre) 18%, transparent);
  --tr-ease:cubic-bezier(0.22,1,0.36,1);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--tr-fond-page)}
html{scroll-behavior:smooth}
.tr-page{font-family:var(--tr-texte-police);color:var(--tr-texte);background:var(--tr-fond-page);width:100%}
a{color:var(--tr-lien)}a:hover{color:var(--tr-sombre)}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
img{max-width:100%;height:auto}
[hidden]{display:none !important}
.sr-only{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-64px;padding:8px 12px;background:var(--tr-carte);color:var(--tr-texte);font-size:14px;font-weight:600;border-radius:8px;z-index:10}
.skip-link:focus{top:16px}
.tr-motif-clair{background-image:var(--motif-clair, none);background-size:480px 240px;background-repeat:repeat}
.tr-motif-sombre{background-image:var(--motif-sombre, none);background-size:480px 240px;background-repeat:repeat}
.tr-motif-action{background-image:var(--motif-action, none);background-size:480px 240px;background-repeat:repeat}

/* ---------- Boutons ---------- */
.tr-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:700;border-radius:9999px;border:0;cursor:pointer;font-family:inherit;transition:transform 300ms var(--tr-ease),background-color 300ms var(--tr-ease),box-shadow 300ms var(--tr-ease)}
.tr-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px color-mix(in srgb, var(--tr-sombre) 25%, transparent)}
.tr-btn:active{transform:scale(0.98)}
.tr-btn--action{background:var(--tr-action);color:var(--tr-action-texte);font-size:16px;line-height:24px;padding:12px 24px}
.tr-btn--action:hover{color:var(--tr-action-texte)}
.tr-btn--sombre{background:var(--tr-sombre);color:var(--tr-sur-sombre)}
.tr-btn--sombre:hover{color:var(--tr-sur-sombre)}
.tr-btn--grand{font-size:18px;line-height:28px;font-weight:600;padding:12px 32px}
.tr-btn--maj{text-transform:uppercase;letter-spacing:0.04em;padding:12px 28px}
.tr-btn:focus-visible,summary:focus-visible,input:focus-visible,button:focus-visible,a:focus-visible,[role="tab"]:focus-visible{outline:2px solid var(--tr-focus);outline-offset:3px}

/* ---------- Mise en page commune ---------- */
.tr-section{padding:96px 24px}
.tr-section--sans-bas{padding-bottom:0}
.tr-section--sans-haut{padding-top:0}
.tr-conteneur{max-width:1120px;margin:0 auto}
.tr-conteneur--etroit{max-width:880px}
.tr-pile{display:flex;flex-direction:column;gap:48px}
.tr-entete{display:flex;flex-direction:column;gap:16px;max-width:680px}
.tr-surtitre{margin:0;font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--tr-surtitre)}
.tr-h2{margin:0;font-family:var(--tr-titres);font-size:48px;line-height:1.2;font-weight:700;text-transform:uppercase}
.tr-texte-doux{margin:0;font-size:16px;line-height:24px;color:var(--tr-texte-doux)}
.tr-texte-discret{color:var(--tr-texte-discret)}
.tr-petit{margin:12px auto 0;font-size:12px;line-height:16px}
.tr-texte-doux.tr-petit{margin:0;font-size:14px;line-height:20px}
.tr-card{transition:transform 500ms var(--tr-ease)}
.tr-card:hover{transform:translateY(-4px)}

/* ---------- Haut de page ---------- */
.tr-hero{position:relative;z-index:0;isolation:isolate;overflow:hidden;background-color:var(--tr-sombre);color:var(--tr-sur-sombre);padding:12px 24px 96px}
.tr-hero-bg{position:absolute;inset:0;width:100%;height:100% !important;max-width:none;z-index:-1;pointer-events:none;object-fit:cover}
.tr-hero-video + .tr-hero-poster{display:none}
.tr-hero-veil{background:linear-gradient(180deg,color-mix(in srgb, var(--tr-sombre) 70%, transparent) 0,transparent 180px),linear-gradient(90deg,color-mix(in srgb, var(--tr-sombre) 88%, transparent) 0%,color-mix(in srgb, var(--tr-sombre) 88%, transparent) 55%,color-mix(in srgb, var(--tr-sombre) 45%, transparent) 100%)}
.tr-hero-toggle{position:absolute;right:max(16px, env(safe-area-inset-right, 0px));bottom:16px;z-index:1;width:44px;height:44px;border-radius:9999px;border:1px solid color-mix(in srgb, var(--tr-sur-sombre) 50%, transparent);background:color-mix(in srgb, var(--tr-sombre) 60%, transparent);color:var(--tr-sur-sombre);display:flex;align-items:center;justify-content:center;cursor:pointer}
.tr-topbar{max-width:1232px;margin:0 auto 8px;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.tr-topbar-label{font-size:14px;line-height:20px;font-weight:500;margin-right:4px}
.tr-reseau{width:32px;height:32px;background:var(--tr-action);color:var(--tr-action-texte)}
.tr-reseau:hover{color:var(--tr-action-texte)}

.tr-nav{position:relative;max-width:1232px;margin:0 auto;height:56px;padding:0 6px 0 24px;border-radius:9999px;background:var(--tr-carte);color:var(--tr-texte);display:flex;align-items:center;justify-content:space-between;gap:16px}
.tr-nav-group{flex:1 1 0;display:flex;align-items:center;gap:32px}
.tr-nav-group--fin{justify-content:flex-end}
.tr-nav-link{color:var(--tr-texte);text-decoration:none;font-size:14px;line-height:20px;font-weight:600;transition:color 300ms var(--tr-ease)}
.tr-nav-link:hover,.tr-nav-home{color:var(--tr-action)}
.tr-nav-home{display:flex}
.tr-nav-cta{font-size:14px;line-height:20px;text-transform:uppercase;letter-spacing:0.04em;padding:12px 20px 12px 24px}
.tr-nav-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:112px;height:112px;border-radius:9999px;background:var(--tr-carte);box-shadow:0 2px 6px color-mix(in srgb, var(--tr-sombre) 12%, transparent);display:flex;align-items:center;justify-content:center;z-index:2;text-decoration:none;transition:transform 500ms var(--tr-ease)}
.tr-nav-logo:hover{transform:translate(-50%,-50%) scale(1.04)}
.tr-nav-logo img{width:76px;height:auto}
.tr-nav-logo-texte{font-family:var(--tr-titres);font-size:14px;line-height:1.1;font-weight:700;text-transform:uppercase;text-align:center;color:var(--tr-texte);padding:8px}
.tr-nav-menu{display:none;height:44px;padding:0 16px;background:transparent;color:var(--tr-action);font-size:14px;text-transform:uppercase;letter-spacing:0.06em}
.tr-mobile-menu{max-width:1232px;margin:16px auto 0;padding:24px;border-radius:24px;background:var(--tr-carte);display:flex;flex-direction:column;gap:16px}
.tr-mobile-menu .tr-nav-link{font-size:18px;line-height:28px}
.tr-mobile-menu .tr-btn{align-self:flex-start}

.tr-hero-body{max-width:1120px;margin:0 auto;padding-top:80px}
.tr-hero-col{max-width:760px;display:flex;flex-direction:column;gap:24px}
.tr-hero-logo{width:160px;height:auto}
.tr-manuscrit{margin:0;font-family:var(--tr-manuscrite);font-size:24px;line-height:32px;color:var(--tr-manuscrit)}
.tr-hero-titre{margin:0;padding-top:4px;font-family:var(--tr-titres);font-size:60px;line-height:1.2;font-weight:700;text-transform:uppercase;max-width:680px;background:linear-gradient(90deg,var(--tr-sur-sombre) 0%,var(--tr-degrade-fin) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.tr-hero-titre span{display:block}
.tr-hero-intro{margin:0;max-width:680px;font-size:18px;line-height:28px;font-weight:500;color:var(--tr-sur-sombre-doux)}
.tr-hero-date{margin:0;font-family:var(--tr-titres);font-size:32px;line-height:40px;font-weight:600;text-transform:uppercase;color:var(--tr-date)}
.tr-hero-date span{white-space:nowrap}
.tr-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.tr-hero-cta-note{font-size:14px;line-height:20px;color:var(--tr-sur-sombre-doux)}

/* Encarts de preuve et chiffres : même hauteur, la note garde son fond orangé */
.tr-preuves{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding-top:16px;border-top:1px solid var(--tr-blanc-18)}
.tr-preuve{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-radius:16px;background:var(--tr-blanc-6);border:1px solid var(--tr-blanc-18)}
.tr-preuve:has(.tr-note),.tr-chiffre--note{background:color-mix(in srgb, var(--tr-note) 14%, transparent);border-color:color-mix(in srgb, var(--tr-note) 45%, transparent)}
.tr-preuve-titre{font-family:var(--tr-titres);font-size:24px;line-height:32px;font-weight:600}
.tr-preuve-texte{font-size:12px;line-height:16px;color:var(--tr-sur-sombre-discret)}
.tr-preuve-note{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.tr-note{position:relative;display:inline-flex;--taille:22px}
.tr-note--petite{--taille:18px}
.tr-note svg,.tr-etoiles svg{width:var(--taille,16px);height:var(--taille,16px);flex:none}
.tr-note__fond,.tr-note__plein{display:inline-flex;gap:2px}
.tr-note__fond{color:color-mix(in srgb, var(--tr-sur-sombre) 25%, transparent)}
.tr-note__plein{position:absolute;inset:0 auto 0 0;width:var(--note);overflow:hidden;color:var(--tr-note)}

/* ---------- Épreuves et sélecteur de parcours ---------- */
.tr-route-panel{position:relative;border-radius:24px;overflow:hidden;color:var(--tr-sur-sombre);background:var(--c)}
.tr-route-panel:focus-visible{outline:3px solid var(--tr-sombre);outline-offset:3px}
.tr-route-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tr-route-veil{position:absolute;inset:0}
.tr-route-grid{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:24px;align-items:center;padding:48px}
.tr-route-text{display:flex;flex-direction:column;gap:8px}
.tr-route-verb{margin:0;font-family:var(--tr-manuscrite);font-size:72px;line-height:72px}
.tr-route-sub{margin:0 0 8px;font-family:var(--tr-manuscrite);font-size:36px;line-height:40px}
.tr-route-title{margin:0;font-family:var(--tr-titres);font-size:40px;line-height:44px;font-weight:700;text-transform:uppercase}
.tr-route-arrivee{margin:8px 0 0;font-size:20px;line-height:28px;font-weight:700}
.tr-route-facts{margin:16px 0 0;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:20px;line-height:28px;font-weight:700}
.tr-route-map{position:relative;width:100%;aspect-ratio:5/4}
.tr-route-map svg{position:absolute;inset:0;width:100%;height:100%}
.tr-route-trace{fill:none;stroke:var(--tr-sur-sombre);stroke-width:12;stroke-linecap:round;stroke-linejoin:round}
.tr-route-depart{fill:var(--c);stroke:var(--tr-sur-sombre);stroke-width:6}
.tr-route-arrivee-pt{fill:var(--tr-action);stroke:var(--tr-sur-sombre);stroke-width:6}
.tr-route-pin{position:absolute;display:flex;flex-direction:column;padding:6px 16px;border-radius:9999px;background:var(--tr-carte);color:var(--tr-texte)}
.tr-route-pin-k{font-size:11px;line-height:14px;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;color:var(--tr-texte-doux)}
.tr-route-pin-v{font-size:18px;line-height:22px;font-weight:700;text-transform:uppercase;white-space:nowrap}
.tr-route-note{position:relative;margin:0;padding:0 48px 24px;text-align:right;font-size:13px;line-height:18px;font-weight:600}
.tr-route-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.tr-route-card{cursor:pointer}
.tr-route-card[aria-selected="true"]{box-shadow:0 0 0 3px var(--c)}
.tr-route-cta{font-size:14px;line-height:20px;font-weight:700}
.tr-epreuve{background:var(--tr-carte);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:16px}
.tr-epreuve-haut{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:0}
.tr-epreuve-haut:empty{display:none}
.tr-picto{width:88px;height:88px}
.tr-badge{font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;padding:4px 8px;border-radius:9999px;background:var(--tr-badge-fond);color:var(--tr-badge-texte)}
.tr-epreuve-km{margin:0;font-family:var(--tr-titres);font-size:30px;line-height:36px;font-weight:600;color:var(--c)}
.tr-epreuve-route{margin:4px 0 0;font-size:14px;line-height:20px;font-weight:600}
.tr-epreuve-pitch{margin:0;font-size:14px;line-height:20px;color:var(--tr-texte-doux);flex-grow:1}
.tr-epreuve-faits{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:16px;border-top:1px solid var(--tr-bordure)}
.tr-epreuve-faits dt{font-size:12px;line-height:16px;color:var(--tr-texte-discret)}
.tr-epreuve-faits dd{margin:0;font-size:14px;line-height:20px;font-weight:700}

/* ---------- Phrase-promesse ---------- */
.tr-tagline{background:var(--tr-carte);padding:128px 24px}
.tr-tagline p{margin:0 auto;max-width:1120px;font-family:var(--tr-titres);font-size:clamp(36px,5vw,60px);line-height:1.15;font-weight:600;text-transform:uppercase;color:var(--tr-texte)}
.tr-word{transition:color 500ms var(--tr-ease)}
.js .tr-word{color:var(--tr-mot-eteint)}
.js .tr-word.is-lit{color:var(--tr-texte)}

/* ---------- Bande photos ---------- */
.tr-bande{background:var(--tr-carte);padding:0 24px 96px}
.tr-bande-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.tr-bande-grille img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:24px}
.tr-bande .tr-petit{color:var(--tr-texte-discret)}

/* ---------- Pourquoi : carrousel et cartes ---------- */
.tr-carrousel{display:flex;flex-direction:column;gap:16px}
.tr-carrousel-piste{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:8px;scrollbar-width:thin}
.tr-carrousel-piste figure{flex:0 0 min(820px,86%);margin:0;position:relative;scroll-snap-align:start}
.tr-carrousel-piste img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:24px}
.tr-carrousel-piste figcaption{position:absolute;left:16px;bottom:16px;padding:4px 12px;border-radius:9999px;background:color-mix(in srgb, var(--tr-sombre) 82%, transparent);font-size:14px;line-height:20px;font-weight:500;color:var(--tr-sur-sombre)}
.tr-carrousel-pied{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tr-carrousel-boutons{display:flex;gap:8px}
.tr-rond{width:48px;height:48px;background:var(--tr-sombre);color:var(--tr-sur-sombre)}
.tr-rond--clair{background:var(--tr-carte);color:var(--tr-texte);border:1px solid var(--tr-texte)}
.tr-benefices{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.tr-benefice{background:var(--tr-carte);border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:12px}
.tr-benefice h3{margin:0;font-family:var(--tr-titres);font-size:24px;line-height:32px;font-weight:600;text-transform:uppercase}
.tr-benefice p{margin:0;font-size:16px;line-height:24px;color:var(--tr-texte-doux)}
.tr-benefice:nth-child(6n+1){background:var(--tr-sombre);color:var(--tr-sur-sombre)}
.tr-benefice:nth-child(6n+1) p{color:var(--tr-sur-sombre-doux)}
.tr-benefice:nth-child(6n+2) h3{color:var(--tr-carte-2)}
.tr-benefice:nth-child(6n+3) h3{color:var(--tr-carte-3)}
.tr-benefice:nth-child(6n+4) h3{color:var(--tr-carte-4)}
.tr-benefice:nth-child(6n+5) h3{color:var(--tr-carte-5)}
.tr-benefice:nth-child(6n+6) h3{color:var(--tr-carte-6)}

/* ---------- Tarifs FOMO ---------- */
.tr-tarifs{background:var(--tr-carte);border-top:8px solid var(--tr-action)}
.tr-tarifs .tr-pile{gap:40px}
.tr-tarifs-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.tr-tarif-col{display:flex;flex-direction:column;gap:12px}
.tr-tarif-tete{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding-bottom:8px}
.tr-tarif-tete .tr-picto{width:96px;height:96px}
.tr-tarif-route{font-size:13px;line-height:20px;font-weight:600;color:var(--tr-texte-doux)}
.tr-paliers{display:flex;flex-direction:column;gap:8px}
.tr-palier{padding:20px 24px;border-radius:16px;display:flex;flex-direction:column;gap:4px}
.tr-palier-label{font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase}
.tr-palier-prix{font-family:var(--tr-titres);font-size:36px;line-height:40px;font-weight:600}
.tr-palier-qte{font-size:13px;line-height:20px;font-weight:600}
.tr-tarifs-pied{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.tr-tarifs-pied .tr-petit{margin:0}

/* ---------- Chiffres ---------- */
.tr-sombre{background-color:var(--tr-sombre);color:var(--tr-sur-sombre)}
.tr-chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.tr-chiffre{padding:16px 20px;border-radius:16px;background:var(--tr-blanc-6);border:1px solid var(--tr-blanc-18)}
.tr-chiffre-valeur{margin:0;font-family:var(--tr-titres);font-size:60px;line-height:60px;font-weight:700}
.tr-chiffre-texte{margin:8px 0 0;font-size:14px;line-height:20px;color:var(--tr-sur-sombre-discret)}
.tr-chiffre--note .tr-chiffre-texte{color:var(--tr-sur-sombre-doux)}

/* ---------- Avis ---------- */
.tr-avis{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.tr-avis-carte{margin:0;background:var(--tr-carte);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:16px}
.tr-etoiles{display:inline-flex;gap:2px;color:var(--tr-note)}
.tr-avis-carte blockquote{margin:0;font-size:16px;line-height:24px;font-weight:500;flex-grow:1}
.tr-avis-carte figcaption{font-size:12px;line-height:16px;color:var(--tr-texte-discret)}
#avis .tr-pile{gap:32px}

/* ---------- FAQ ---------- */
.tr-faq{display:flex;flex-direction:column;gap:12px}
.tr-faq details{background:var(--tr-carte);border-radius:16px;padding:0 24px}
.tr-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;font-size:18px;line-height:28px;font-weight:600}
.tr-faq summary::-webkit-details-marker{display:none}
.tr-plus{flex-shrink:0;color:var(--tr-action);transition:transform 300ms var(--tr-ease)}
.tr-faq details[open] .tr-plus{transform:rotate(45deg)}
.tr-faq-reponse{padding:0 0 24px;font-size:16px;line-height:24px;color:var(--tr-texte-doux)}
.tr-faq-reponse p{margin:0 0 8px}
#faq .tr-pile{gap:32px}

/* ---------- Appel final ---------- */
.tr-cta-final{max-width:1120px;margin:0 auto;background-color:var(--tr-action);color:var(--tr-action-texte);border-radius:32px;padding:64px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.tr-cta-final img{width:96px;height:auto}
.tr-cta-final .tr-h2{max-width:680px}

/* ---------- Formulaire d'alerte (envoi vers Brevo) ---------- */
.tr-alert{display:flex;flex-direction:column;gap:10px;max-width:560px;width:100%;text-align:left}
.tr-alert__label{font-size:14px;line-height:20px;font-weight:600}
.tr-alert__row{display:flex;flex-wrap:wrap;gap:8px}
.tr-alert__input{flex:1 1 240px;min-width:0;min-height:48px;font-family:inherit;font-size:16px;line-height:24px;padding:12px 18px;border-radius:9999px;border:1px solid color-mix(in srgb, currentColor 55%, transparent);background:color-mix(in srgb, var(--tr-sombre) 22%, transparent);color:inherit} /* fond assombri : texte clair lisible sur toute couleur d'action */
.tr-alert__input::placeholder{color:color-mix(in srgb, currentColor 70%, transparent)}
.tr-alert__input[aria-invalid="true"]{border-color:var(--tr-erreur);box-shadow:0 0 0 2px color-mix(in srgb, var(--tr-erreur) 50%, transparent)}
.tr-alert__btn{min-height:48px;font-size:16px;line-height:24px;font-weight:600;padding:12px 24px;color:var(--tr-action-texte)}
.tr-alert--hero .tr-alert__btn{background:var(--tr-action)}
.tr-alert--fin .tr-alert__btn{background:var(--tr-sombre);color:var(--tr-sur-sombre)}
.tr-alert__btn[disabled]{opacity:.7;cursor:progress}
.tr-alert__check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:19px}
.tr-alert--hero .tr-alert__check{color:var(--tr-sur-sombre-doux)}
.tr-alert__check input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:var(--tr-action)}
.tr-alert--fin .tr-alert__check input{accent-color:var(--tr-sombre)}
.tr-alert__check a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tr-alert__msg{margin:0;min-height:20px;font-size:14px;line-height:20px;font-weight:600}
.tr-alert__msg.is-error{color:var(--tr-erreur)}

/* ---------- Pied de page ---------- */
.tr-pied{background-color:var(--tr-sombre);color:var(--tr-sur-sombre-discret);padding:48px 24px}
.tr-pied-logos{max-width:1120px;margin:0 auto 32px;padding-bottom:32px;border-bottom:1px solid color-mix(in srgb, var(--tr-sur-sombre) 15%, transparent);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:48px 64px}
.tr-pied-logo-orga{height:48px;width:auto}
.tr-pied-sep{width:1px;height:40px;background:color-mix(in srgb, var(--tr-sur-sombre) 25%, transparent)}
.tr-pied-partenaires{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.tr-pied-partenaires img{height:32px;width:auto}
.tr-pied-label{font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase}
.tr-pied-bas{max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;font-size:14px;line-height:20px}
.tr-pied-bas p{margin:0}
.tr-pied-bas .tr-petit{margin:4px 0 0}
.tr-pied-liens{display:flex;flex-wrap:wrap;gap:24px}
.tr-pied-liens a,.tr-pied-liens button,.page-footer a,.page-footer button{color:var(--tr-sur-sombre);font:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:24px}

/* ---------- Pages de texte (règlement, mentions, confidentialité, 404) ---------- */
.page-header{background-color:var(--tr-sombre);color:var(--tr-sur-sombre);padding:16px 24px}
.page-header__inner{max-width:880px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.page-header__logo{display:flex;min-width:72px;height:72px;border-radius:9999px;background:var(--tr-carte);align-items:center;justify-content:center;text-decoration:none;padding:0 12px}
.page-header__nom{font-family:var(--tr-titres);font-weight:700;text-transform:uppercase;color:var(--tr-texte)}
.page-header__back{display:inline-flex;align-items:center;gap:8px;color:var(--tr-sur-sombre);font-weight:600;font-size:14px;text-decoration:none;padding:10px 16px;border-radius:9999px;border:1px solid color-mix(in srgb, var(--tr-sur-sombre) 40%, transparent)}
.page-header__back:hover{color:var(--tr-sur-sombre);background:color-mix(in srgb, var(--tr-sur-sombre) 10%, transparent)}
.page-main{padding:48px 16px 96px}
.page-article{max-width:880px;margin:0 auto;background:var(--tr-carte);border-radius:24px;border-top:8px solid var(--tr-action);padding:40px clamp(20px,5vw,48px)}
.page-kicker{margin:0;font-size:12px;line-height:16px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--tr-surtitre)}
.page-title{margin:8px 0 4px;font-family:var(--tr-titres);font-size:clamp(32px,6vw,44px);line-height:1.2;font-weight:700;text-transform:uppercase}
.page-date{margin:0 0 24px;font-size:13px;line-height:20px;color:var(--tr-texte-doux)}
.page-pdf{background:var(--tr-action);color:var(--tr-action-texte) !important;padding:12px 24px;margin-bottom:8px}
.page-article h2{margin:32px 0 8px;font-family:var(--tr-titres);font-size:22px;font-weight:600;text-transform:uppercase;color:var(--tr-lien)}
.page-article p,.page-article li{font-size:16px;line-height:26px;color:var(--tr-texte-doux)}
.page-article p{margin:0 0 12px}
.page-article ul{margin:0 0 12px;padding-left:22px}
.page-article .table-wrap{overflow-x:auto;margin:8px 0 16px}
.page-article table{border-collapse:collapse;width:100%;min-width:520px;font-size:15px;line-height:22px}
.page-article th,.page-article td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--tr-bordure)}
.page-article th{background:var(--tr-fond-page);font-weight:700;color:var(--tr-texte)}
.page-article blockquote{margin:0 0 16px;padding:12px 16px;background:var(--tr-fond-page);border-radius:12px;font-size:14px;color:var(--tr-texte-doux)}
.page-footer{background-color:var(--tr-sombre);color:var(--tr-sur-sombre-discret);padding:32px 24px;text-align:center;font-size:14px;line-height:20px}
.page-footer p{margin:0 0 12px}
.page-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 24px}

/* ---------- Bandeau cookies ---------- */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:200;font-family:var(--tr-texte-police)}
.cookie-banner__inner{max-width:960px;margin:0 auto;background:var(--tr-carte);color:var(--tr-texte);border-radius:24px;border-top:6px solid var(--tr-action);box-shadow:0 16px 48px color-mix(in srgb, var(--tr-sombre) 30%, transparent);padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.cookie-banner__text{flex:1 1 420px}
.cookie-banner__text p{margin:0;font-size:14px;line-height:20px;color:var(--tr-texte-doux)}
.cookie-banner__text .cookie-banner__title{font-family:var(--tr-titres);font-size:18px;line-height:24px;font-weight:600;text-transform:uppercase;color:var(--tr-texte);margin-bottom:4px}
.cookie-banner__actions{display:flex;gap:8px;flex:0 0 auto}
.cookie-btn{font-family:inherit;font-size:15px;line-height:20px;font-weight:700;padding:12px 24px;min-height:44px;border-radius:9999px;border:2px solid var(--tr-sombre);background:var(--tr-sombre);color:var(--tr-sur-sombre);cursor:pointer}
.cookie-btn:hover{background:var(--tr-lien);border-color:var(--tr-lien)}

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1099px){
  .tr-route-grid{padding:32px;gap:16px}
  .tr-route-verb{font-size:52px;line-height:52px}
  .tr-route-sub{font-size:28px;line-height:32px}
  .tr-route-title{font-size:30px;line-height:34px}
  .tr-route-arrivee,.tr-route-facts{font-size:17px;line-height:24px}
  .tr-route-note{padding:0 32px 20px}
  .tr-route-map{width:calc(100% - 56px)}
  .tr-route-pin{padding:4px 10px}
  .tr-route-pin-k{font-size:9px;line-height:12px}
  .tr-route-pin-v{font-size:13px;line-height:16px}
}
@media (max-width: 900px){
  .tr-nav-group{display:none}
  .tr-nav-menu{display:inline-flex}
  .tr-nav{padding-left:120px;justify-content:flex-end}
  .tr-nav-logo{left:45px;width:92px;height:92px;box-shadow:none}
  .tr-nav-logo img{width:60px}
  .tr-topbar-label{display:none}
  .tr-hero-veil{background:color-mix(in srgb, var(--tr-sombre) 86%, transparent)}
}
@media (max-width: 600px){
  .tr-hero-titre{font-size:40px;line-height:44px}
  .tr-h2{font-size:36px;line-height:40px}
  .tr-hero{padding-bottom:64px}
  .tr-hero-date{font-size:26px;line-height:32px}
  .tr-section{padding-top:64px;padding-bottom:64px}
  .tr-section--sans-bas{padding-bottom:0}
  .tr-section--sans-haut{padding-top:0}
  .tr-tagline{padding-top:80px;padding-bottom:80px}
  .tr-route-grid{grid-template-columns:1fr;padding:32px 24px}
  .tr-route-verb{font-size:48px;line-height:48px}
  .tr-route-note{padding:0 24px 24px;text-align:left}
  .tr-carrousel-pied{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .tr-btn,.tr-card,.tr-plus,.tr-word,.tr-route-card{transition:none}
  .tr-card:hover,.tr-btn:hover{transform:none}
  .js .tr-word{color:var(--tr-texte)}
  .tr-hero-video,.tr-hero-toggle{display:none !important}
  .tr-hero-video + .tr-hero-poster{display:block}
}
@media print{
  .page-header,.page-footer,.cookie-banner,.page-pdf,.skip-link{display:none !important}
  body,.page-main{background:none !important;padding:0 !important}
  .page-article{border:0;border-radius:0;padding:0;max-width:none}
  .page-article table{min-width:0}
  .page-article h2{break-after:avoid}
}

/* ---------- Boutons d'inscription du sélecteur de parcours (inscriptions ouvertes) ---------- */
.tr-route-btn{align-self:flex-start;margin-top:16px;font-size:16px;line-height:24px;text-transform:uppercase;letter-spacing:.04em;padding:12px 28px}
.tr-route-bas{display:none}
@media (max-width: 599px){.tr-route-btn--haut{display:none !important}.tr-route-bas{display:flex;position:relative;padding:0 24px 24px}.tr-route-bas .tr-route-btn{margin-top:0}}

/* ---------- Menu : page en cours ---------- */
.tr-nav-link[aria-current="page"]{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}

/* ---------- Page bénévoles ---------- */
.ben-hero{position:relative;min-height:420px;padding-bottom:0}
.ben-hero-photo{object-fit:cover;width:100%;height:100%}
.ben-hero-veil{background:linear-gradient(180deg,color-mix(in srgb,var(--tr-sombre) 78%,transparent) 0%,color-mix(in srgb,var(--tr-sombre) 55%,transparent) 100%)}
.ben-hero-inner{position:relative;max-width:1120px;margin:0 auto;padding:96px 0 120px;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.ben-kicker{margin:0;font-family:var(--tr-manuscrite);font-size:28px;line-height:32px;color:var(--tr-manuscrit)}
.ben-title{margin:0;font-family:var(--tr-titres);font-size:72px;line-height:72px;font-weight:700;text-transform:uppercase;color:var(--tr-sur-sombre)}
.ben-cta{min-height:48px;padding:12px 32px;font-size:16px;line-height:24px;text-transform:uppercase;letter-spacing:.04em}
.ben-hero-curve{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:80px}
.ben-hero-curve path{fill:var(--tr-fond-page)}
.ben-intro{max-width:760px;margin:0 auto;padding:64px 24px 48px;text-align:center;display:flex;flex-direction:column;gap:16px}
.ben-eyebrow{margin:0;font-size:13px;line-height:16px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--tr-surtitre)}
.ben-lead{margin:0;font-family:var(--tr-titres);font-size:32px;line-height:38px;font-weight:700;text-transform:uppercase;color:var(--tr-texte)}
.ben-lead span{display:block;color:var(--tr-action)}
.ben-text{margin:0;font-size:17px;line-height:27px;color:var(--tr-texte-doux)}
.ben-missions{max-width:1120px;margin:0 auto;padding:24px 24px 48px}
.ben-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ben-card{position:relative;margin-top:32px;padding:48px 24px 28px;border-radius:24px;background:var(--tr-carte);text-align:center;display:flex;flex-direction:column;gap:8px}
.ben-icon{position:absolute;left:50%;top:-32px;transform:translateX(-50%);width:64px;height:64px;border-radius:9999px;background:var(--tr-note);color:#FFFFFF;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px var(--tr-fond-page)}
.ben-card-title{margin:0;font-family:var(--tr-titres);font-size:22px;line-height:26px;font-weight:700;text-transform:uppercase}
.ben-card-text{margin:0;font-size:15px;line-height:22px;color:var(--tr-texte-doux)}
.ben-fin{max-width:760px;margin:0 auto;padding:16px 24px 96px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:24px}
@media (max-width: 999px){.ben-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 599px){.ben-title{font-size:48px;line-height:48px}.ben-hero-inner{padding:64px 0 96px}.ben-lead{font-size:26px;line-height:32px}.ben-grid{grid-template-columns:1fr}}
