/*
  BTM83 — découpe HTML / CSS
  --------------------------------------------------
  Palette principale : rouge / noir en hero, bas de page clair et sobre.
  Pour créer une variante de design, modifier les variables :root ci-dessous.
*/

:root {
  --red: #e50914;
  --red-600: #c80812;
  --red-700: #9d050d;
  --ink: #0d0f14;
  --ink-2: #1b2028;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --soft-2: #eef1f5;
  --shadow: 0 22px 55px rgba(13, 15, 20, 0.10);
  --shadow-card: 0 16px 35px rgba(13, 15, 20, 0.08);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1236px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(229, 9, 20, 0.10), transparent 28rem),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 42%, #f4f5f7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.08);
  filter: blur(40px);
}

body::before {
  top: 4rem;
  left: -8rem;
}

body::after {
  right: -10rem;
  bottom: 8rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.rich-image {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  border-radius: 8px;
  object-fit: cover;
}

.btm-editable-module {
  position: relative;
}

.module-free-image {
  position: absolute;
  z-index: 8;
  max-width: min(92%, 1200px);
  height: auto;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  object-fit: cover;
}

.hero .module-free-image {
  z-index: 4;
}

.module-free-text {
  position: absolute;
  z-index: 9;
  max-width: min(90%, 720px);
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero .module-free-text {
  z-index: 5;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(100%, 1536px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(13, 15, 20, 0.14);
}

.hero {
  position: relative;
  min-height: 410px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 40%, rgba(229, 9, 20, 0.34), transparent 25rem),
    linear-gradient(90deg, #020304 0%, #07080b 42%, #230206 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.22), transparent 0.28rem),
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.18), transparent 0.22rem),
    radial-gradient(circle at 90% 19%, rgba(255, 255, 255, 0.18), transparent 0.22rem),
    repeating-linear-gradient(162deg, rgba(229, 9, 20, 0.08) 0 2px, transparent 2px 16px);
  opacity: 0.9;
}

.hero__image {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -3;
  background-image: url("../assets/hero-btm83-action.webp");
  background-size: cover;
  background-position: center right;
  opacity: 0.95;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.82) 29%, rgba(0, 0, 0, 0.40) 58%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.10) 65%, rgba(0, 0, 0, 0.40) 100%);
}

.navbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
  width: min(var(--container), calc(100% - 5rem));
  margin: 0 auto;
  padding: 24px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
  min-width: 260px;
}

.brand__logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.brand__text {
  display: grid;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand__text strong {
  font-size: clamp(2rem, 3vw, 3rem);
  font-style: italic;
  font-weight: 900;
}

.brand__text strong span {
  color: var(--red);
}

.brand__text small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.1rem);
  flex: 1 1 auto;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.navbar__links a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  transition: color 180ms ease;
}

.navbar__links a:hover,
.navbar__links a.is-active {
  color: #fff;
}

.navbar__links a.is-active::after,
.navbar__links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.85rem;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.account-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 999px;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 5rem));
  margin: 24px auto 0;
  padding: 10px 0 72px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero h1 span {
  display: inline-block;
  color: var(--red);
  font-weight: 950;
  letter-spacing: -0.07em;
}

.hero__lead {
  max-width: 440px;
  margin: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--large {
  min-height: 48px;
  padding-inline: 1.6rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-600) 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(229, 9, 20, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 18px 32px rgba(229, 9, 20, 0.36);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
  color: var(--ink);
  border-color: #ccd1d8;
  background: #fff;
  box-shadow: none;
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.content-area {
  background:
    radial-gradient(circle at 75% 0%, rgba(229, 9, 20, 0.06), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
  padding: 18px min(4.2vw, 4rem) 0;
  min-width: 0;
  overflow-x: clip;
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.72fr) minmax(0, 1fr);
  gap: 1rem;
  width: min(var(--container), 100%);
  max-width: 100%;
  margin: 0 auto;
  transform: translateY(-2px);
}

.top-grid.top-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.top-grid.top-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.top-grid.top-grid--count-2 .pricing-card {
  grid-column: 1 / -1;
}

.top-grid.top-grid--pricing-pair {
  grid-template-columns: minmax(0, 1fr);
}

.top-grid.top-grid--pricing-pair > .btm-editable-module,
.top-grid.top-grid--orphan-3 > .btm-editable-module:last-child,
.story-grid.story-grid--orphan-4 > .btm-editable-module:last-child {
  grid-column: 1 / -1;
}


.top-grid.module-grid--cols-1,
.story-grid.module-grid--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.top-grid.module-grid--cols-2,
.story-grid.module-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.top-grid.module-grid--cols-3,
.story-grid.module-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-grid.module-grid--cols-4,
.story-grid.module-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.top-grid > .btm-editable-module,
.story-grid > .btm-editable-module,
.content-area > .btm-editable-module,
.card,
.data-block,
.feature-strip,
.text-block,
.contact-footer {
  min-width: 0;
  max-width: 100%;
}

.content-area > .data-block {
  width: min(var(--container), 100%);
  margin: 1rem auto;
}

.content-area > .data-block:first-child {
  margin-top: 0;
}

.top-grid.module-grid--mixed.top-grid--count-2 .pricing-card,
.top-grid.module-grid--cols-2 .pricing-card,
.top-grid.module-grid--cols-3 .pricing-card,
.top-grid.module-grid--cols-4 .pricing-card {
  grid-column: auto;
  order: initial;
}

.top-grid.module-grid--cols-1 > .btm-editable-module,
.story-grid.module-grid--cols-1 > .btm-editable-module,
.top-grid.module-grid--cols-2 > .btm-editable-module,
.story-grid.module-grid--cols-2 > .btm-editable-module,
.top-grid.module-grid--cols-3 > .btm-editable-module,
.story-grid.module-grid--cols-3 > .btm-editable-module,
.top-grid.module-grid--cols-4 > .btm-editable-module,
.story-grid.module-grid--cols-4 > .btm-editable-module {
  grid-column: auto;
  order: initial;
}

.top-grid.module-grid--cols-2.grid--orphan-2 > .btm-editable-module:last-child,
.story-grid.module-grid--cols-2.grid--orphan-2 > .btm-editable-module:last-child,
.top-grid.module-grid--cols-3.grid--orphan-3 > .btm-editable-module:last-child,
.story-grid.module-grid--cols-3.grid--orphan-3 > .btm-editable-module:last-child {
  grid-column: 1 / -1;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 18, 27, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.card__header h2,
.story-card h2,
.partners-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.93rem, 1.15vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.icon-box,
.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red);
}

.schedule-card,
.tournament-card {
  min-height: 258px;
}

.session-list {
  padding: 0.4rem 1rem 0;
}

.session-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line);
}

.session-item:last-child {
  border-bottom: 0;
}

.date-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 0.95;
}

.date-badge span {
  display: block;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 950;
  text-transform: uppercase;
}

.date-number {
  font-style: normal;
}

.session-item strong,
.tournament-item strong {
  color: var(--ink);
  font-size: 0.93rem;
}

.session-item p,
.tournament-item small {
  display: block;
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.95rem 1rem 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.2em;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.pricing-card {
  min-height: 258px;
}

.pricing-card--wide-plans {
  grid-column: 1 / -1;
}

.top-grid.module-grid--mixed > .pricing-card--wide-plans,
.top-grid.module-grid--cols-2 > .pricing-card--wide-plans,
.top-grid.module-grid--cols-3 > .pricing-card--wide-plans,
.top-grid.module-grid--cols-4 > .pricing-card--wide-plans {
  grid-column: auto;
}

.plans {
  display: grid;
  grid-template-columns: repeat(var(--plan-columns, 3), minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.plan {
  position: relative;
  display: grid;
  min-height: 174px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.plan__image {
  display: block;
  width: 100%;
  max-height: 150px;
  margin: 0 0 0.8rem;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
  border: 1px solid var(--line);
  background: #f6f7f9;
}

.plan--featured {
  border: 2px solid var(--red);
  box-shadow: 0 14px 24px rgba(229, 9, 20, 0.12);
}

.plan h3 {
  margin: 0;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price {
  margin: 0.55rem 0 0.65rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.price span {
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.price-main {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.plan ul {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.8rem;
}

.plan li {
  position: relative;
  padding-left: 1.1rem;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 950;
}

.plan .btn {
  align-self: end;
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  background: var(--red);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan .badge {
  position: absolute;
  top: -0.52rem;
  right: -0.12rem;
}

.tournament-list {
  padding: 0.48rem 1rem 0;
}

.tournament-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line);
}

.tournament-item:last-child {
  border-bottom: 0;
}

.trophy-mini {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(229, 9, 20, 0.08);
  color: var(--red);
  font-size: 1rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(var(--container), 100%);
  margin: 1.05rem auto 0.8rem;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--ink-2);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.feature-icon {
  font-size: 1.35rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), 100%);
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 1rem;
}

.story-grid.story-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.story-grid.story-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-grid.story-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38%;
  min-height: 160px;
  overflow: hidden;
}

.story-card__copy,
.partners-card {
  padding: 1rem;
}

.story-card h2,
.partners-card h2 {
  color: var(--red);
}

.story-card p,
.partners-card p {
  margin: 0.65rem 0 0.4rem;
  color: var(--ink-2);
  font-size: 0.91rem;
}

.story-card .text-link,
.partners-card .text-link {
  margin: 0.85rem 0 0;
}

.story-card img {
  align-self: stretch;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.story-card--news img {
  object-position: center;
  padding: 0.4rem;
}

.news-list-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  align-content: start;
}

.news-list-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.news-list-card__head h2 {
  color: var(--red);
}

.news-list {
  display: grid;
  gap: 0.85rem;
}

.news-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.85rem;
  align-items: stretch;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.news-list__copy {
  min-width: 0;
}

.news-list__item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.news-list__item p {
  margin: 0.55rem 0 0.35rem;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.news-list__item .text-link {
  margin-top: 0.7rem;
}

.news-list__item img {
  width: 180px;
  height: 100%;
  min-height: 120px;
  max-height: 210px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge--soft {
  padding: 0.26rem 0.55rem;
  box-shadow: none;
  font-size: 0.63rem;
}

.news-dates {
  display: grid;
  gap: 0.16rem;
  margin-top: 0.55rem;
}

.meta {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.meta--updated {
  color: color-mix(in srgb, var(--muted), var(--ink) 18%);
  font-size: 0.72rem;
}

.text-block {
  width: min(var(--container), 100%);
  margin: 1rem auto;
  padding: clamp(1rem, 2vw, 1.6rem);
}

.text-block h2 {
  margin: 0.15rem 0 0;
  color: var(--red);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 900;
}

.text-block p:not(.eyebrow) {
  margin: 0.7rem 0 0;
  max-width: 72ch;
  color: var(--ink-2);
  line-height: 1.65;
}

.text-block .text-link {
  margin-top: 1rem;
}

.partners-card {
  min-height: 160px;
}

.partners {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
  color: #111827;
}

.partners strong {
  font-size: 1rem;
  font-style: italic;
  letter-spacing: -0.03em;
}

.db-list__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid #eee;
}

.db-list__main {
  min-width: 0;
}

.db-list__date {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.db-list__meta {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #7a7568;
  font-weight: 900;
}

.db-list__meta--win,
.db-list__meta--loss,
.db-list__meta--draw {
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
}

.db-list__meta--win {
  background: #dcfce7;
  color: #15803d;
}

.db-list__meta--loss {
  background: #fee2e2;
  color: #b91c1c;
}

.db-list__meta--draw {
  background: #ffedd5;
  color: #c2410c;
}

.partner-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.partner-logo {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  min-height: 48px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.partner-logo img {
  object-fit: contain;
}

.contact-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.05fr 1.6fr auto;
  align-items: center;
  gap: 1.4rem;
  width: min(var(--container), calc(100% - 5rem));
  margin: 0 auto;
  padding: 1.3rem 0 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.contact-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-footer__brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.contact-footer__brand p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-footer__brand h2 {
  margin: 0.05rem 0;
  color: var(--red);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.contact-footer__brand small,
.contact-footer__item span {
  color: var(--ink-2);
}

.contact-footer__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
  padding-left: 1.35rem;
  border-left: 1px solid var(--line);
  font-size: 0.93rem;
}

.contact-footer__item svg {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.35rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(229, 9, 20, 0.20);
  transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: var(--red-700);
}

@media (max-width: 1180px) {
  .navbar,
  .hero__content,
  .contact-footer {
    width: min(var(--container), calc(100% - 2rem));
  }

  .brand {
    min-width: 220px;
  }

  .brand__logo {
    width: 70px;
    height: 70px;
  }

  .navbar__links {
    gap: 1rem;
    font-size: 0.69rem;
  }

  .top-grid,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card {
    grid-column: 1 / -1;
    order: 3;
  }

  .top-grid.grid--orphan-2 > .btm-editable-module:last-child,
  .story-grid.grid--orphan-2 > .btm-editable-module:last-child {
    grid-column: 1 / -1;
  }

  .top-grid.module-grid--cols-3,
  .story-grid.module-grid--cols-3,
  .top-grid.module-grid--cols-4,
  .story-grid.module-grid--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-footer {
    grid-template-columns: 1fr 1fr;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero__image {
    inset: 0;
    opacity: 0.58;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 100%);
  }

  .navbar {
    padding-top: 1rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .navbar__links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(5, 5, 6, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .navbar__links.is-open {
    display: flex;
  }

  .navbar__links a {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
  }

  .navbar__links a.is-active::after,
  .navbar__links a:hover::after {
    display: none;
  }

  .navbar__links a:hover,
  .navbar__links a.is-active {
    background: rgba(229, 9, 20, 0.18);
  }

  .nav-cta,
  .account-link {
    display: none;
  }

  .hero__content {
    margin-top: 1rem;
    padding: 2rem 0 4rem;
  }
}

@media (max-width: 980px) {
  .plans--columns-4,
  .plans--columns-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-grid.top-grid--count-1,
  .top-grid.top-grid--count-2,
  .story-grid.story-grid--count-1,
  .story-grid.story-grid--count-2,
  .story-grid.story-grid--count-3 {
    grid-template-columns: 1fr;
  }

  body {
    background: #fff;
  }

  .page-shell {
    box-shadow: none;
  }

  .content-area {
    padding-inline: 1rem;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: 58px;
    height: 58px;
  }

  .brand__text strong {
    font-size: 2rem;
  }

  .brand__text small {
    font-size: 0.58rem;
  }

  .hero__content {
    width: calc(100% - 2rem);
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .top-grid,
  .story-grid,
  .top-grid.module-grid--cols-2,
  .top-grid.module-grid--cols-3,
  .top-grid.module-grid--cols-4,
  .story-grid.module-grid--cols-2,
  .story-grid.module-grid--cols-3,
  .story-grid.module-grid--cols-4,
  .plans,
  .feature-strip,
  .contact-footer {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    order: initial;
  }

  .story-card {
    grid-template-columns: 1fr 145px;
  }

  .news-list__item {
    grid-template-columns: 1fr;
  }

  .news-list__item img {
    width: 100%;
    height: 180px;
    max-height: 180px;
  }

  .contact-footer {
    width: calc(100% - 2rem);
    gap: 1rem;
  }

  .contact-footer__item {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .hero__actions,
  .btn {
    width: 100%;
  }

  .btn {
    justify-content: center;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card img {
    max-height: 180px;
  }

  .contact-footer__brand {
    align-items: flex-start;
  }
}

/* ===== Bandeau défilant "Matchs & résultats" (bloc matchTicker) ===== */
.ticker{overflow:hidden;position:relative;padding:6px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.ticker__track{display:inline-flex;gap:26px;white-space:nowrap;will-change:transform;animation:btm-marquee 34s linear infinite}
.ticker:hover .ticker__track{animation-play-state:paused}
.ticker__item{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.ticker__item em{font-style:normal;color:var(--red);font-weight:800}
.ticker__tag{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:2px 7px;border-radius:99px}
.ticker__tag--up{background:rgba(229,9,20,.12);color:var(--red)}
.ticker__tag--res{background:#e8ece7;color:#3a4038}
@keyframes btm-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker__track{animation:none;white-space:normal}}

/* ===== Canvas libre responsive : une seule et meme mise en page, declinee par appareil =====
   La geometrie vient de variables CSS posees sur chaque bloc (styleAttr) :
   --dx/--dw/--dy/--dh = desktop, --tx/... = tablette, --mx/... = mobile.
   Desktop (toutes largeurs) : desktop. Tablette (641-1024px) : tablette (herite du
   desktop si non regle). Mobile (<=640px) : mobile (empile en 1 colonne par defaut). */
.page-shell--free .free-canvas { min-height: var(--canvas-d, 640px); }
.page-shell--free .free-canvas > .btm-editable-module {
  position: absolute; margin: 0;
  left: var(--dx, 0%); width: var(--dw, 100%);
  max-width: calc(100% - var(--dx, 0%));
  top: var(--dy, 0px); height: var(--dh, 160px);
}
@media (min-width: 641px) and (max-width: 1024px) {
  .page-shell--free .free-canvas { min-height: var(--canvas-t, var(--canvas-d, 640px)); }
  .page-shell--free .free-canvas > .btm-editable-module {
    left: var(--tx, var(--dx, 0%)); width: var(--tw, var(--dw, 100%));
    max-width: calc(100% - var(--tx, var(--dx, 0%)));
    top: var(--ty, var(--dy, 0px)); height: var(--th, var(--dh, 160px));
  }
}
@media (max-width: 640px) {
  .page-shell--free .free-canvas { min-height: var(--canvas-m, var(--canvas-d, 640px)); }
  .page-shell--free .free-canvas > .btm-editable-module {
    left: var(--mx, 0%); width: var(--mw, 100%);
    max-width: calc(100% - var(--mx, 0%));
    top: var(--my, 0px); height: var(--mh, 160px);
  }
}

/* ===== Canvas libre : pleine largeur (les blocs peuvent occuper tout l'écran comme le hero) ===== */
.page-shell--free { width: 100% !important; max-width: none !important; margin: 0 !important; overflow: visible !important; }
.page-shell--free .free-canvas { width: 100% !important; }
.page-shell--free .btm-editable-module { overflow: hidden; }

/* ===== Canvas libre : les photos suivent la taille du bloc en gardant leurs proportions ===== */
.page-shell--free .hero__image { background-size: cover !important; background-position: center !important; }
/* aucune image ne déborde de son bloc ; ratio préservé */
.page-shell--free .btm-editable-module img { max-width: 100% !important; height: auto !important; }
/* photos principales : grandissent/rétrécissent avec le bloc, sans déformation */
.page-shell--free .story-card img,
.page-shell--free .news-list__item img,
.page-shell--free .db-grid img,
.page-shell--free .gallery img { width: 100% !important; height: auto !important; object-fit: cover; }
/* la colonne image des actualités devient proportionnelle (suit la largeur du bloc) */
.page-shell--free .news-list__item { grid-template-columns: minmax(0, 1fr) 34% !important; align-items: center; }
/* la boîte fait autorité : l'image de fond du hero la remplit sans l'agrandir ni la déformer */
.page-shell--free .hero__image { position: absolute !important; inset: 0 !important; }
.page-shell--free .hero .navbar { position: relative; z-index: 3; }

/* ===== Canvas libre : le contenu remplit la boîte, la police grandit avec elle (container queries) ===== */
.page-shell--free .btm-editable-module { container-type: inline-size; }
.page-shell--free .btm-editable-module h1 { font-size: clamp(22px, 8cqw, 76px) !important; }
.page-shell--free .btm-editable-module h2 { font-size: clamp(16px, 5cqw, 42px) !important; }
.page-shell--free .btm-editable-module h3 { font-size: clamp(14px, 3.4cqw, 28px) !important; }
.page-shell--free .btm-editable-module p  { font-size: clamp(12px, 2.4cqw, 22px) !important; }
.page-shell--free .btm-editable-module small { font-size: clamp(10px, 2cqw, 18px) !important; }

/* Blocs "données" : occupent toute la boîte, cellules centrées, chiffres qui grossissent */
.page-shell--free .data-block { display: flex; flex-direction: column; }
.page-shell--free .data-block .db-grid { flex: 1; grid-auto-rows: minmax(0, 1fr); }
.page-shell--free .data-block .db-list { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.page-shell--free .data-block .db-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; }
.page-shell--free .data-block .db-cell strong { font-size: clamp(18px, 11cqw, 68px) !important; line-height: 1.02; }
.page-shell--free .data-block .db-cell small { font-size: clamp(11px, 2.6cqw, 20px) !important; }
