/* CHARTE 2026 (24/11/2026, Romain) — posée par-dessus le site en 2, d'après /chartegraphique.
   Nouveau : cartes à 12 px, zones de texte (nom au-dessus, 54 px, coins 12, halo rouge),
   bouton rouge à 12 px, bandeau du prix en rouge. Police inchangée (Open Sans). */
:root{--c26-rouge:#121212;--c26-rouge-f:#000;--c26-pale:#EEF0F3;--c26-mi:#9AA1AB;--c26-filet:#E3E6EA;--c26-gris:#6B7280}

/* 24/11 (2) : cartes d’évènement de Romain gardées telles quelles (plus de copie). */

/* ── Page de recherche : cartes 12 px ── */
html body .sg-fiche,html body .sg-a,html body .sg-bd{border-radius:12px!important}

/* ── Zones de texte : nom au-dessus à gauche, 54 px, coins 12, halo rouge ── */
html body form#f-sec.sg-a .sg-bd label,html body #f-sec label{display:block!important;width:100%!important;text-align:left!important;align-self:stretch!important;font:600 14px 'Open Sans',Arial,sans-serif!important;color:#374151!important;margin:18px 0 8px!important}
html body #f-sec .sg-chp{height:54px!important;min-height:54px!important;padding:0 18px!important;border:1.5px solid var(--c26-filet)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;outline:0!important;transition:border-color .15s,box-shadow .15s!important}
html body #f-sec .sg-chp:focus-within{border-color:var(--c26-rouge)!important;box-shadow:0 0 0 4px var(--c26-pale)!important}
html body #f-sec .sg-chp > svg{display:none!important}
html body #f-sec .sg-chp input{font:400 16px 'Open Sans',Arial,sans-serif!important;color:#121212!important;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;padding:0!important}
html body #f-sec .sg-chp input::placeholder{color:#9CA3AF!important}
html body #f-sec #s-dos{font:800 24px 'Open Sans',Arial,sans-serif!important;letter-spacing:4px!important}
html body #f-sec #s-dos::placeholder{color:#D1D5DB!important}
html body #f-sec .sg-dn2 i{color:#9CA3AF!important;font-style:normal!important}

/* ── Bouton rouge 12 px, pâle tant que tout n'est pas rempli ── */
html body #f-sec .sg-envoi{margin-bottom:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:52px!important;margin-top:22px!important;padding:0 24px!important;border:0!important;border-radius:12px!important;background:var(--c26-rouge)!important;color:#fff!important;font:700 15px 'Open Sans',Arial,sans-serif!important;box-shadow:0 8px 20px -10px rgba(0,0,0,.2)!important;cursor:pointer!important}
html body #f-sec .sg-envoi:hover{background:var(--c26-rouge-f)!important}
html body #f-sec .sg-envoi:not(.pret){background:var(--c26-mi)!important;box-shadow:none!important}
html body #f-sec .sg-envoi svg,html body #f-sec .sg-envoi::after{display:none!important}

/* ── Bandeau du prix en bas : blanc, sans coins arrondis (24/11 soir) ── */
html body .bdx{border-radius:0!important}

/* 24/11 : le titre colle à son champ */
html body #f-sec .sg-chp{margin-top:0!important;margin-bottom:0!important}
html body form#f-sec.sg-a .sg-bd label,html body #f-sec label{margin:18px 0 8px!important}

/* 24/11 (2) Romain : même police et même taille que « Renseigner les détails… » (Open Sans 700, 13 px)
   pour les titres des champs, le nom de la course et sa date. */
html body form#f-sec.sg-a .sg-bd label,html body #f-sec label,
html body .sg-fiche .sg-fn,html body .sg-fiche .sg-fl,html body .sg-fiche .sg-fl span,html body #f-sec .sg-tx,html body #f-sec .sg-tx b{font:700 13px/1.45 'Open Sans',Arial,sans-serif!important;color:#121212!important;letter-spacing:0!important}
/* 3. dossard : même police que les autres champs */
html body #f-sec #s-dos{font:400 16px 'Open Sans',Arial,sans-serif!important;letter-spacing:0!important}
html body #f-sec #s-dos::placeholder{color:#9CA3AF!important}
/* 2. « Envoyer le lien de validation » = le lien avec la flèche de la charte (pas de fond) */
html body #f-sec .sg-envoi,html body #f-sec .sg-envoi:not(.pret),html body #f-sec .sg-envoi:hover{width:auto!important;height:44px!important;margin:22px auto 6px!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#121212!important;font:700 13px 'Open Sans',Arial,sans-serif!important;gap:8px!important}
html body #f-sec .sg-envoi::after{content:""!important;display:inline-block!important;width:14px!important;height:14px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat!important;margin-left:8px!important;position:static!important;border:0!important}
html body #f-sec .sg-envoi:not(.pret){color:#9AA1AB!important}
html body #f-sec .sg-envoi:not(.pret)::after{opacity:.45!important}
html body #f-sec .sg-envoi::after{transform:none!important;rotate:none!important;width:15px!important;height:15px!important;border-radius:0!important;box-shadow:none!important;-webkit-mask:none!important;mask:none!important;background-color:transparent!important}

/* 24/11 (3) Romain : titres des champs centrés avec de l air au-dessus ; texte tapé à la taille de « Renseigner les détails… » (13 px). */
html body form#f-sec.sg-a .sg-bd label,html body #f-sec label{text-align:center!important;margin:30px 0 10px!important}
html body #f-sec .sg-chp input,html body #f-sec #s-dos,html body #f-sec .sg-dn2 input{font:400 13px "Open Sans",Arial,sans-serif!important;letter-spacing:0!important}
html body #f-sec .sg-dn2 i{font-size:13px!important}

/* ── 24/11 (Romain, choix n° 5) : logos blancs sur fond de couleur = GRAIN + LUMIÈRE.
   La couleur de la fiche reste (style en ligne), une lumière tombe du haut et un grain fin
   passe dessus, façon affiche. Seulement sur les fonds colorés (pas les fonds blancs). ── */
html body .ev2 .im[style*="background"]:not([style*="#FFF"]):not([style*="#fff"]),
html body .ev2 .im.noir,
html body .sg-fiche .sg-fv[style*="background"]:not([style*="#FFF"]):not([style*="#fff"]),
html body .sg-fiche .sg-fv.noir{position:relative!important;overflow:hidden!important;
  background-image:radial-gradient(120% 80% at 50% 0%,rgba(255,255,255,.38) 0%,rgba(255,255,255,0) 60%)!important}
html body .ev2 .im[style*="background"]:not([style*="#FFF"]):not([style*="#fff"])::after,
html body .ev2 .im.noir::after,
html body .sg-fiche .sg-fv[style*="background"]:not([style*="#FFF"]):not([style*="#fff"])::after,
html body .sg-fiche .sg-fv.noir::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;
  background-image:radial-gradient(rgba(255,255,255,.9) .6px,transparent .7px);background-size:3px 3px;mix-blend-mode:overlay}
html body .ev2 .im[style*="background"]:not([style*="#FFF"]):not([style*="#fff"]) img,
html body .ev2 .im.noir img,
html body .sg-fiche .sg-fv[style*="background"]:not([style*="#FFF"]):not([style*="#fff"]) img,
html body .sg-fiche .sg-fv.noir img{position:relative;z-index:1;filter:drop-shadow(0 6px 18px rgba(0,0,0,.25))}
/* la lumière en calque (la couleur de la fiche est parfois posée en !important dans la page) */
html body .ev2 .im[style*="background"]:not([style*="#FFF"]):not([style*="#fff"])::before,
html body .ev2 .im.noir::before,
html body .sg-fiche .sg-fv[style*="background"]:not([style*="#FFF"]):not([style*="#fff"])::before,
html body .sg-fiche .sg-fv.noir::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(120% 80% at 50% 0%,rgba(255,255,255,.38) 0%,rgba(255,255,255,0) 60%)}

/* 24/11 Romain : style de carte « Satin » (accueil + page de course), rien d'autre ne bouge */
html:root body .ev2,html:root body .sg-fiche.sg-fiche,html:root body form#f-sec.sg-a .sg-bd.sg-bd,html:root body .sg-bd.sg-bd{border-radius:12px!important;background:#FFFFFF!important;border:0!important;box-shadow:inset 0 1px 0 #fff,0 10px 30px -12px rgba(15,23,42,.18)!important;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1),border-color .2s!important;}html:root body .ev2:hover,html:root body .ev2.survol{transform:translateY(-4px) scale(1.01)!important;box-shadow:inset 0 1px 0 #fff,0 24px 44px -16px rgba(15,23,42,.30)!important}
