:root {
  --red: #d61f2c;
  --dark: #0b0b0d;
  --cream: #f3f1ee;
}

body {
  background: #fff;
  color: #111;
}

.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-55px, 3vw, 45px);
  width: clamp(260px, 30vw, 430px);
  aspect-ratio: 1;
  background: url('../img/logo-ussg-blanc.png') center/contain no-repeat;
  opacity: .075;
  transform: translateY(-50%) rotate(-8deg);
  filter: grayscale(1);
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(110deg, transparent 48%, rgba(0,0,0,.08) 100%);
  pointer-events: none;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1180px;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(90deg,rgba(4,4,6,.92) 0%,rgba(4,4,6,.58) 50%,rgba(4,4,6,.18) 100%),url('../img/hero-joueurs-fumigenes-v2.webp');
  background-position: center;
  background-size: cover;
}

.navbar {
  padding: 14px 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.navbar-brand img {
  width: 125px !important;
  height: 125px !important;
}

.nav-link {
  padding: 13px 16px !important;
  font-size: 10px;
}

.nav-cta {
  margin-left: 10px;
  padding-inline: 20px !important;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 45px;
  padding-bottom: 170px;
}

.hero-content .eyebrow {
  color: #f0a4aa;
}

.hero-content h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(66px,9vw,126px);
  line-height: .78;
  letter-spacing: -.035em;
}

.hero-content h1 em {
  display: inline-block;
  margin-top: 22px;
  color: #fff;
  font-size: .48em;
}

.hero-content > p:not(.eyebrow) {
  max-width: 610px;
  color: #ddd;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-secondary {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-secondary i {
  margin-left: 8px;
  color: #f0a4aa;
}

.hero-shortcuts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: #fff;
}

.hero-shortcuts .container {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 0;
}

.hero-shortcuts a {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid #e7e7e7;
  color: #111;
  text-decoration: none;
  transition: background .2s,color .2s;
}

.hero-shortcuts a:first-child {
  border-left: 1px solid #e7e7e7;
}

.hero-shortcuts a:hover {
  background: var(--red);
  color: #fff;
}

.hero-shortcuts i {
  width: 30px;
  color: var(--red);
  font-size: 25px;
  text-align: center;
}

.hero-shortcuts a:hover i {
  color: #fff;
}

.hero-shortcuts span,
.hero-shortcuts b,
.hero-shortcuts small {
  display: block;
}

.hero-shortcuts b {
  font: 800 23px/1 var(--display);
  text-transform: uppercase;
}

.hero-shortcuts small {
  margin-top: 5px;
  color: #777;
  font-size: 8px;
}

.hero-shortcuts a:hover small {
  color: #ffe3e5;
}

.intro,
.teams,
.bureau {
  padding-top: 105px;
  padding-bottom: 105px;
}

.section-title {
  max-width: 760px;
}

.team-card {
  min-height: 270px;
  border: 0;
  border-top: 5px solid #111;
  background: #f6f5f3;
}

.team-card:hover {
  border-color: var(--red);
  box-shadow: none;
}

.schedule {
  scroll-margin-top: 100px;
  padding: 110px 0;
}

.schedule-board {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  background: transparent;
  box-shadow: none;
}

.schedule-board > div:first-child {
  display: none;
}

.schedule-board > div:not(:first-child) {
  position: relative;
  display: grid;
  grid-template-columns: 105px 1fr 1.2fr;
  gap: 16px;
  min-height: 145px;
  padding: 24px;
  border: 1px solid #e6e0da;
  border-top: 4px solid var(--red);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(22,22,22,.07);
  transition: transform .2s ease,box-shadow .2s ease;
}

.schedule-board > div:not(:first-child):hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(22,22,22,.11);
}

.schedule-board > div:not(:first-child) span:first-child {
  color: #111;
  font: 800 25px/1 var(--display);
  text-transform: uppercase;
}

.schedule-board > div:not(:first-child) span:nth-child(n+2) {
  color: #555;
  font-size: 11px;
  line-height: 2;
}

.schedule-board > div:not(:first-child) span:nth-child(2)::before,
.schedule-board > div:not(:first-child) span:nth-child(3)::before {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
}

.schedule-board > div:not(:first-child) span:nth-child(2)::before {
  content: 'JOURS';
}

.schedule-board > div:not(:first-child) span:nth-child(3)::before {
  content: 'HORAIRES';
}

.schedule-board > div:not(:first-child) small {
  display: block;
  white-space: nowrap;
  font-size: 7px;
}

.schedule-board .group-note {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 121px;
  text-align: center;
}

.booklets,
.staff-section,
.contact {
  scroll-margin-top: 95px;
}

.project-panel {
  box-shadow: 18px 18px 0 #111;
}

.life-grid a {
  min-height: 190px;
}

.life-grid {
  grid-template-columns: repeat(5,1fr);
}

/* Planning hebdomadaire : une lecture par jour, distincte des fiches catégories. */
.schedule-week{position:relative;overflow:hidden;background:#171717;color:#fff}.schedule-week:before{content:'';position:absolute;top:0;right:0;left:0;height:7px;background:var(--red)}.schedule-week:after{content:'USSG';position:absolute;right:-35px;bottom:-85px;color:rgba(255,255,255,.025);font:800 270px/.8 var(--display);letter-spacing:-.05em;pointer-events:none}.schedule-week .container{position:relative;z-index:1}.schedule-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:70px;margin-bottom:48px}.schedule-heading h2,.schedule-heading p{margin-bottom:0}.schedule-heading h2,.schedule-heading h2 em{color:#fff}.schedule-intro>p{max-width:610px;margin:0 0 17px;color:#c8c8c8}.schedule-week .text-link{color:#ef3340}.week-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:10px}.day-card{position:relative;min-width:0;padding:0 17px 18px;border:0;background:#fff;color:#171717;box-shadow:0 14px 30px rgba(0,0,0,.22)}.day-card:before{content:'';position:absolute;top:0;right:0;left:0;height:4px;background:#8d8d8d}.day-card.featured-day:before{background:var(--red)}.day-card header{display:flex;align-items:baseline;justify-content:space-between;padding:25px 0 18px;border-bottom:1px solid #e9e5e0}.day-card header small{color:#aaa29a;font:700 10px/1 var(--text);letter-spacing:.12em}.day-card h3{margin:0;font-size:27px}.training-slot{position:relative;display:flex;flex-direction:column;gap:2px;padding:16px 0 14px 13px;border-bottom:1px solid #ece8e3}.training-slot:last-child{border-bottom:0}.training-slot:before{content:'';position:absolute;top:19px;bottom:17px;left:0;width:3px;background:var(--red)}.training-slot time{color:#6f6862;font-size:10px;font-weight:600}.training-slot strong{font:800 19px/1.08 var(--display);text-transform:uppercase}.training-slot small{margin-top:3px;color:var(--red);font-size:7px;line-height:1.35}.keeper-slot:before{background:#111}.schedule-note{display:flex;align-items:center;gap:13px;margin-top:18px;padding:14px 17px;border:1px solid #3d3d3d;background:#202020}.schedule-note i{color:#ef3340}.schedule-note p{margin:0;color:#bdbdbd;font-size:11px}.schedule-note strong{margin-right:6px;color:#fff;text-transform:uppercase;letter-spacing:.06em}

@media (max-width: 1199px) {
  .life-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 991px) {
  .schedule-heading{grid-template-columns:1fr;gap:12px}.week-board{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-day{grid-row:span 2}
  .life-grid {
    grid-template-columns: repeat(2,1fr);
  }
  html {
    scroll-padding-top: 0;
  }
  main [id],
  .schedule,
  .booklets,
  .staff-section,
  .contact {
    scroll-margin-top: 0;
  }
  .navbar .container {
    position: relative;
    justify-content: center;
  }
  .navbar-brand {
    margin: 0;
  }
  .navbar-toggler,
  .navbar-collapse {
    display: none !important;
  }
  .navbar-brand img {
    width: 125px !important;
    height: 125px !important;
  }
  .hero-content {
    padding-bottom: 320px;
  }
  .hero-shortcuts .container {
    grid-template-columns: repeat(2,1fr);
  }
  .hero-shortcuts a {
    min-height: 105px;
    border-bottom: 1px solid #e7e7e7;
  }
  .schedule-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .schedule-heading{margin-bottom:30px}.schedule-heading h2{font-size:45px}.week-board{grid-template-columns:1fr;gap:12px}.featured-day{grid-row:auto}.day-card{padding:0 18px 8px}.day-card header{padding:20px 0 12px}.training-slot{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:3px 10px;padding:13px 0 13px 13px}.training-slot small{grid-column:2}.schedule-note{align-items:flex-start}
  .life-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    display: none;
  }
  .contact::before {
    right: -85px;
    width: 300px;
    opacity: .06;
  }
  .hero-content,
  .hero-content > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-content {
    text-align: center;
  }
  .hero {
    min-height: 920px;
    background-position: 60% center;
  }
  .hero-content {
    justify-content: flex-start;
    padding-top: 120px;
    padding-bottom: 310px;
  }
  .hero-content h1 {
    font-size: clamp(55px,17vw,78px);
  }
  .hero-content > p:not(.eyebrow) {
    font-size: 14px;
  }
  .hero-shortcuts a {
    min-height: 98px;
    padding: 17px 14px;
    gap: 10px;
  }
  .hero-shortcuts i {
    width: 24px;
    font-size: 20px;
  }
  .hero-shortcuts b {
    font-size: 19px;
  }
  .hero-shortcuts small {
    display: none;
  }
  .schedule-board {
    gap: 12px;
  }
  .schedule-board > div:not(:first-child) {
    grid-template-columns: 82px 1fr 1.15fr;
    gap: 10px;
    min-height: 125px;
    padding: 20px 15px;
  }
  .schedule-board > div:not(:first-child) span:first-child {
    font-size: 21px;
  }
  .schedule-board > div:not(:first-child) small {
    white-space: normal;
  }
  .schedule-board .group-note {
    right: 15px;
    bottom: 12px;
    left: 107px;
  }
}
