/* CDF Mini-Z / Homepage v1.10.8 -- scoped additions. No effect on admin or forms. */
.cdf-home-v1108 .hero h1.hero-title {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(36px, 4.2vw, 59px);
  font-weight: 900;
  font-stretch: normal;
  letter-spacing: .014em;
  line-height: 1.10;
  max-width: 680px;
  text-wrap: balance;
  font-kerning: normal;
}
.cdf-home-v1108 .hero-title-name {
  display: block;
  white-space: normal;
  letter-spacing: .018em;
}
.cdf-home-v1108 .hero h1 .hero-title-bottom {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 13px;
}
.cdf-home-v1108 .hero-title-bottom strong {
  font-weight: 900;
  font-size: 1.14em;
  letter-spacing: .03em;
}
.cdf-home-v1108 .hero h1 .hero-title-bottom small {
  display: inline-block;
  font-size: .43em;
  font-weight: 850;
  letter-spacing: .085em;
  line-height: 1.35;
  white-space: nowrap;
  color: #edf4ff;
}
.cdf-home-v1108 .hero h1 .hero-title-bottom small b {
  color: var(--lime, #beff39);
  letter-spacing: .035em;
}
/* Homepage-only: one footer band. The global footer is omitted on index.php only. */
.cdf-home-single-footer {
  background: #071321;
  border-top: 1px solid #24405a;
  padding: 23px 0;
  color: #d6e4f4;
}
.cdf-home-single-footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(275px, 1.3fr) minmax(205px, .95fr);
  align-items: center;
  gap: 20px 32px;
}
.cdf-home-footer-brand strong {
  display: block;
  font-size: 13px;
  color: #f6faff;
  font-weight: 800;
  letter-spacing: .01em;
}
.cdf-home-footer-brand p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #bcd0e7;
}
.cdf-home-single-footer .cdf-home-credit-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .15em;
  color: #84b8f0;
  margin-bottom: 7px;
}
.cdf-home-footer-credit p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #c5d7ed;
}
.cdf-home-footer-credit strong { color: #f5faff; font-weight: 800; }
.cdf-home-footer-credit p span { font-weight: 800; color: var(--lime, #beff39); }
.cdf-home-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
}
.cdf-home-single-footer .cdf-home-trackmy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 190px;
  min-height: 45px;
  padding: 7px 14px;
  border: 1px solid #335677;
  border-radius: 11px;
  background: #112338;
  transition: border-color .2s ease, background .2s ease;
}
.cdf-home-single-footer .cdf-home-trackmy:hover,
.cdf-home-single-footer .cdf-home-trackmy:focus-visible { border-color: #84b8f0; background: #15304c; }
.cdf-home-single-footer .cdf-home-trackmy-logo { max-width: 160px; max-height: 45px; width: auto; height: auto; object-fit: contain; }
.cdf-home-single-footer .cdf-home-trackmy-text { font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 22px; font-weight: 900; letter-spacing: -.01em; line-height: 1; color: #f2f8ff; }
.cdf-home-single-footer .cdf-home-trackmy-text span { color: #8bd0ff; }
.cdf-home-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; font-size: 12px; }
.cdf-home-footer-links a { color: #c5d7ed; text-decoration: none; }
.cdf-home-footer-links a:hover, .cdf-home-footer-links a:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 1000px) {
  .cdf-home-v1108 .hero h1.hero-title { font-size: clamp(35px, 4.65vw, 51px); }
}
@media (max-width: 760px) {
  .cdf-home-v1108 .hero h1.hero-title {
    font-size: clamp(35px, 8.2vw, 50px);
    letter-spacing: .016em;
    line-height: 1.12;
  }
  .cdf-home-v1108 .hero-title-name { letter-spacing: .012em; }
  .cdf-home-v1108 .hero h1 .hero-title-bottom { gap: 8px 16px; margin-top: 12px; }
  .cdf-home-v1108 .hero h1 .hero-title-bottom small { font-size: .43em; letter-spacing: .055em; }
}
@media (max-width: 420px) {
  .cdf-home-v1108 .hero h1.hero-title { font-size: clamp(32px, 8.65vw, 39px); }
  .cdf-home-v1108 .hero h1 .hero-title-bottom small { font-size: .43em; }
}

@media (max-width: 900px) {
  .cdf-home-single-footer-inner { grid-template-columns: 1fr 1fr; }
  .cdf-home-footer-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 600px) {
  .cdf-home-single-footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .cdf-home-footer-right { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 12px; }
  .cdf-home-footer-links { justify-content: flex-start; }
}

/* V1.10.11 — logo TrackMyLap réduit et décalé hors de l'affiche, accueil uniquement. */
.cdf-home-v1108 .hero-art .tml-hero-logo {
  position: absolute;
  z-index: 3;
  top: -24px;
  left: calc(100% + 6px);
  right: auto;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(107, 160, 215, .55);
  border-radius: 17px;
  background: #071321;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .35);
}
.cdf-home-v1108 .hero-art .tml-hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.cdf-home-v1108 .hero-art .tml-hero-logo:hover,
.cdf-home-v1108 .hero-art .tml-hero-logo:focus-visible { border-color: #beff39; }
@media (max-width: 1100px) and (min-width: 761px) {
  .cdf-home-v1108 .hero-art .tml-hero-logo {
    position: relative;
    left: auto; right: auto; top: auto;
    order: -1;
    align-self: flex-end;
    width: 72px; height: 72px;
    margin: 0 0 4px;
  }
}
@media (max-width: 760px) {
  .cdf-home-v1108 .hero-art .tml-hero-logo {
    position: relative;
    top: auto; right: auto; left: auto;
    order: -1;
    align-self: flex-end;
    width: 80px; height: 80px;
    margin: 0 0 -3px 0;
    padding: 9px;
  }
}

/* V1.10.12 — pictogrammes vectoriels cohérents et prise de contact protégée. */
.cdf-home-v1108 .stat .stat-icon {
  flex:0 0 40px; width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(120,181,255,.25); border-radius:12px;
  background:linear-gradient(145deg,rgba(63,145,244,.13),rgba(26,64,119,.07));
  color:#8ecaff; box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.cdf-home-v1108 .stat .cdf-pictogram { width:23px; height:23px; display:block; }
.cdf-home-v1108 .info-panel .info-icon {
  width:52px; height:52px; display:grid; place-items:center;
  border:1px solid rgba(188,255,57,.27); border-radius:15px;
  background:linear-gradient(145deg,rgba(188,255,57,.12),rgba(10,51,58,.08));
  color:#c1ff42; box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  margin-bottom:22px;
}
.cdf-home-v1108 .info-panel .info-icon .cdf-pictogram { width:26px; height:26px; display:block; }
.cdf-home-v1108 .cdf-contact-intro {display:block; margin-bottom:16px; color:#b9cce3; line-height:1.6; }
.cdf-home-v1108 .cdf-contact-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 15px; border:1px solid rgba(190,255,57,.58); border-radius:10px;
  color:#c8ff67; text-decoration:none; font-weight:750; font-size:13px;
  background:rgba(190,255,57,.07); transition:background .18s,border-color .18s,transform .18s;
}
.cdf-home-v1108 .cdf-contact-cta:hover, .cdf-home-v1108 .cdf-contact-cta:focus-visible {
  color:#091522; background:#bfff43; border-color:#bfff43; transform:translateY(-1px); text-decoration:none;
}
@media(max-width:760px) {
  .cdf-home-v1108 .stat .stat-icon {flex-basis:33px;width:33px;height:33px;border-radius:10px;}
  .cdf-home-v1108 .stat .cdf-pictogram {width:20px;height:20px;}
  .cdf-home-v1108 .info-panel .info-icon {width:48px;height:48px;}
}
@media(prefers-reduced-motion:reduce) { .cdf-home-v1108 .cdf-contact-cta {transition:none;} }

/* Page de contact indépendante : aucun e-mail de destination envoyé au navigateur. */
.cdf-contact-page { padding:68px 0 90px; max-width:740px; }
.cdf-contact-page h1 {font-size:clamp(30px,5vw,46px); line-height:1.15; margin:10px 0 16px;}
.cdf-contact-page .cdf-contact-lead {color:#b6c8dc;line-height:1.65;margin-bottom:25px;}
.cdf-contact-card {background:#102238;border:1px solid #2d4b66;border-radius:18px;padding:26px;box-shadow:0 18px 45px rgba(0,0,0,.14);}
.cdf-contact-form {display:grid;gap:17px;}
.cdf-contact-form label {display:block;font-size:13px;font-weight:750;color:#e7f1ff;margin-bottom:7px;}
.cdf-contact-form input,.cdf-contact-form select,.cdf-contact-form textarea {box-sizing:border-box;display:block;width:100%;background:#071a2d;border:1px solid #45607b;border-radius:9px;color:#f0f8ff;font:inherit;padding:12px 13px;}
.cdf-contact-form textarea {resize:vertical;min-height:140px;}
.cdf-contact-form input:focus-visible,.cdf-contact-form textarea:focus-visible {outline:2px solid #beff39;outline-offset:2px;}
.cdf-contact-form .cdf-contact-submit {appearance:none;border:0;border-radius:10px;background:#bfff39;color:#09131d;font-size:14px;font-weight:850;padding:13px 22px;cursor:pointer;justify-self:start;}
.cdf-contact-form .cdf-contact-submit:hover {background:#d8ff8f;}
.cdf-contact-message {padding:15px 17px;border-radius:10px;margin-bottom:19px;border:1px solid #436781;background:#183149;line-height:1.5;}
.cdf-contact-message.is-error {background:#4b1f2b;border-color:#c45d69;}
.cdf-contact-message.is-success {background:#123e2e;border-color:#4b967b;}
.cdf-contact-trap {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;left:-10000px!important;}
.cdf-contact-back {color:#9bcdfd;text-decoration:none;}
@media(max-width:600px) {.cdf-contact-page{padding:36px 0 60px;}.cdf-contact-card{padding:20px;}}


/* V1.10.13 — lien vers le règlement de chaque catégorie (accueil uniquement). */
.cdf-home-v1108 .category-card-premium .cdf-category-rules-link {
  display:flex;align-items:center;justify-content:center;gap:9px;
  margin-top:17px;padding:11px 12px;min-height:45px;
  border:1px solid #53738a;border-radius:10px;
  color:#e5f3ff;background:#142e47;text-decoration:none;
  font-size:12px;font-weight:800;letter-spacing:.01em;line-height:1.35;
  transition:background .2s,border-color .2s,color .2s;
}
.cdf-home-v1108 .category-card-premium .cdf-category-rules-link svg { flex:0 0 auto; }
.cdf-home-v1108 .category-card-premium .cdf-category-rules-link .cdf-category-rules-arrow {
  margin-left:auto;font-size:16px;font-weight:900;color:#c3ff48;
}
.cdf-home-v1108 .category-card-premium .cdf-category-rules-link:hover,
.cdf-home-v1108 .category-card-premium .cdf-category-rules-link:focus-visible {
  background:#1c3d5a;border-color:#bfff39;color:#fff;
}
.cdf-home-v1108 .category-card-premium .cdf-category-rules-link:focus-visible {outline:2px solid #beff39;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.cdf-home-v1108 .category-card-premium .cdf-category-rules-link{transition:none;}}

/* V1.10.13 — page de règlement technique propre à une catégorie. */
.cdf-technical-page{padding:55px 0 90px;}
.cdf-technical-back{display:inline-flex;gap:9px;align-items:center;color:#9bcdff;text-decoration:none;font-size:13px;font-weight:700;}
.cdf-technical-back:hover,.cdf-technical-back:focus-visible{text-decoration:underline;color:#fff;}
.cdf-technical-kicker{margin:36px 0 10px;color:#93c1f7;font-size:11px;font-weight:850;letter-spacing:.15em;}
.cdf-technical-heading{font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:900;font-size:clamp(32px,5vw,56px);line-height:1.1;letter-spacing:.006em;margin:0 0 14px;}
.cdf-technical-heading em{color:#bdff3b;font-style:normal;}
.cdf-technical-desc{font-size:15px;line-height:1.7;color:#b9cfe7;max-width:720px;margin:0 0 28px;}
.cdf-technical-details{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 28px;}
.cdf-technical-detail{display:inline-flex;align-items:center;border:1px solid #345a7a;border-radius:999px;background:#122b45;padding:7px 13px;color:#d9edff;font-size:12px;font-weight:750;}
.cdf-technical-panel{background:#10243a;border:1px solid #315371;border-radius:18px;padding:28px;box-shadow:0 18px 36px rgba(0,0,0,.11);}
.cdf-technical-panel h2{font-size:clamp(22px,3vw,29px);margin:0 0 10px;}
.cdf-technical-panel p{color:#bccfe3;font-size:14px;line-height:1.7;margin:0 0 20px;}
.cdf-technical-open{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border-radius:10px;background:#bfff39;color:#081824!important;font-size:13px;font-weight:850;text-decoration:none;}
.cdf-technical-open:hover{background:#d4ff80;text-decoration:none;}
.cdf-technical-pdf{width:100%;height:min(76vh,850px);margin-top:22px;border:1px solid #3d5c74;border-radius:12px;background:#fff;}
.cdf-technical-pending{display:flex;gap:14px;align-items:center;max-width:700px;background:#162d43;border:1px solid #395773;padding:20px;border-radius:12px;color:#b9cce0;}
.cdf-technical-pending svg{flex:0 0 auto;color:#bdff3b;}
.cdf-technical-pending strong{color:#f3f9ff;display:block;margin-bottom:5px;}
@media(max-width:600px){.cdf-technical-page{padding:28px 0 55px;}.cdf-technical-panel{padding:19px;}.cdf-technical-pdf{height:65vh;}}
