/* CrossFit Volt — mise en page et typographie (refonte du 21 novembre 2026).
   Les couleurs des surfaces, des boutons et du planning sont dans palette.css. */
@font-face {
  font-family: Barlow;
  src: url('assets/title.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url('assets/body.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
}
body {
  margin: 0;
  font:
    1rem/1.6 DM,
    Arial,
    sans-serif;
}
h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
.eyebrow,
.button,
.menu-button,
#navigation a {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Gabarit commun */
.wrap {
  width: min(1136px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.eyebrow {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h2 {
  font-size: 3.5rem;
  line-height: 1;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 4px;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 1.125rem;
}

/* En-tête fixe : menu, puis bande Planning / Séance d’essai toujours visible */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 12px;
}
.brand {
  display: flex;
  flex-shrink: 0;
}
.header-logo {
  width: 72px;
  height: 72px;
}
#navigation {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
#navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}
.instagram-link img {
  width: 28px;
  height: 28px;
}
.menu-button {
  display: none;
}
.header-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.header-band-inner > p {
  font-size: 0.9375rem;
}
.header-actions {
  display: flex;
  gap: 12px;
}

/* Accueil */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-block: 80px 96px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  font-size: 3.75rem;
  line-height: 1;
}
.hero-lead {
  max-width: 540px;
  font-size: 1.25rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}
.hero-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

/* Lancement : ouverture et offre découverte, encart cliquable vers les tarifs */
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.keep-case {
  text-transform: none;
}
.hero-launch {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 540px;
  padding: 20px 24px;
  border-left: 4px solid;
  border-radius: 6px;
  text-decoration: none;
}
.hero-launch-dates {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-launch-date,
.hero-launch-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.hero-launch-date {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-launch-offer {
  padding-top: 14px;
  border-top: 1px solid;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.hero-launch-offer strong {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1;
}
.hero-launch-more {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.intro-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
  font-size: 1.1875rem;
  line-height: 1.7;
}
.intro-highlight,
.intro-welcome-title {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  line-height: 1.15;
}
.intro-highlight {
  padding-left: 20px;
  border-left: 4px solid;
  font-size: 2.125rem;
}
.intro-welcome {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 28px;
  border-top: 1px solid;
}
.intro-welcome-title {
  font-size: 2.75rem;
}

/* Rubriques : titre, texte et bouton d’un côté, photo de l’autre */
.rubric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 20px;
}
.rubric-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  grid-column: 1;
}
.rubric-number {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}
.rubric-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  grid-column: 1;
  font-size: 1.125rem;
  line-height: 1.65;
}
.rubric-copy .button {
  margin-top: 8px;
}
.rubric-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.rubric-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}
.rubric-reverse .rubric-title,
.rubric-reverse .rubric-copy {
  grid-column: 2;
}
.rubric-reverse .rubric-photo {
  grid-column: 1;
}
.rubric-grid.no-photo {
  grid-template-columns: minmax(0, 760px);
}
.rubric-grid.no-photo .rubric-title,
.rubric-grid.no-photo .rubric-copy {
  grid-column: 1;
}
.rubric-more {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 56px;
}
.qualities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qualities .eyebrow {
  font-size: 1rem;
}
.qualities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 48px;
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.qualities-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid;
}
.qualities-list li::before {
  content: '';
  flex: 0 0 6px;
  height: 6px;
  transform: translateY(-3px);
}
.method {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.method h3 {
  font-size: 1.875rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid;
}
.step-number {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 2.75rem;
  line-height: 1;
}
.steps h4 {
  font-size: 1.875rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.steps p {
  font-size: 1.0625rem;
}
.method-note,
.method-goal {
  max-width: 820px;
  font-size: 1.125rem;
  line-height: 1.65;
}
.method-goal {
  font-weight: 700;
}

/* Planning : la grille et ses couleurs sont dans palette.css */
.volt-schedule h2 {
  margin-top: 12px;
}
.schedule-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid;
  font-size: 0.9375rem;
}

/* Tarifs : offre de lancement, puis formules */
.launch {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.launch-discovery,
.launch-founders {
  padding: 32px;
  border-radius: 6px;
}
.launch-discovery {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.launch-discovery-copy,
.launch-founders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.launch-founders {
  align-items: flex-start;
}
.launch h3 {
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
}
.launch-tag {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.launch-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 6px;
}
.launch-price strong {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 4.5rem;
  line-height: 0.9;
}
.launch-lead {
  font-size: 1.125rem;
}
.launch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  width: 100%;
  margin-top: 12px;
}
.launch-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 32px;
  padding-left: 48px;
}
.launch-list li::before,
.launch-list li::after {
  content: '';
  position: absolute;
}
.launch-list li::before {
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.launch-list li::after {
  top: 8px;
  left: 12px;
  width: 8px;
  height: 14px;
  border: solid;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.launch-list strong {
  padding-top: 3px;
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 6px;
}
.plan h3 {
  font-size: 1.625rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1rem;
}
.plan-price strong {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1;
}
.extras {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin-top: 56px;
}
.extras h3 {
  font-size: 1.875rem;
  text-transform: uppercase;
}
.extras-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid;
  font-size: 1.125rem;
}
.extra-name,
.extra-price {
  font-weight: 700;
}
.extra-detail {
  font-weight: 400;
}
.extra-price {
  flex-shrink: 0;
}

/* Contact et pied de page */
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.contact-inner > p {
  max-width: 620px;
  font-size: 1.25rem;
}
.contact-inner .button {
  margin-top: 8px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-style: normal;
  font-size: 1.125rem;
}
.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-details a {
  color: var(--text);
  overflow-wrap: anywhere;
}
.contact-details a:hover {
  color: var(--yellow);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 28px;
  font-size: 0.875rem;
}
.footer-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-small {
  font-size: 0.8125rem;
}
.nowrap {
  white-space: nowrap;
}
.footer-small a {
  display: inline-block;
  padding-block: 4px;
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

/* Pages secondaires : mentions légales, page introuvable */
.page-nav {
  justify-content: space-between;
}
.page-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: Barlow, 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.page-content h1 {
  font-size: 3.5rem;
  line-height: 1;
  text-transform: uppercase;
}
.page-content h2 {
  margin-top: 24px;
  font-size: 1.75rem;
  line-height: 1.1;
}
.page-content ul {
  padding-left: 1.2em;
  list-style: disc;
}
.page-content a {
  overflow-wrap: anywhere;
}
.a-completer {
  padding-inline: 4px;
}

/* Accessibilité */
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  z-index: 50;
  width: auto;
  height: auto;
  margin: 10px;
  padding: 10px;
  clip: auto;
}
/* Les destinations d’ancre reçoivent le focus sans cadre autour de toute la section. */
main[tabindex='-1']:focus,
main section[tabindex='-1']:focus {
  outline: none;
}

/* Écrans intermédiaires */
@media (max-width: 1150px) {
  #navigation {
    gap: 22px;
  }
  #navigation a {
    font-size: 1.125rem;
  }
}

/* Menu déroulant à partir de 1 000 px */
@media (max-width: 1000px) {
  html {
    scroll-padding-top: 150px;
  }
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 8px;
  }
  .brand {
    margin-right: auto;
  }
  .header-logo {
    width: 56px;
    height: 56px;
  }
  .instagram-link {
    order: 1;
  }
  .menu-button {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentcolor;
  }
  .menu-icon {
    position: relative;
  }
  .menu-icon::before,
  .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .menu-icon::before {
    top: -6px;
  }
  .menu-icon::after {
    top: 6px;
  }
  .menu-button[aria-expanded='true'] .menu-icon {
    background: transparent;
  }
  .menu-button[aria-expanded='true'] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }
  .menu-button[aria-expanded='true'] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #navigation {
    order: 3;
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding-bottom: 8px;
  }
  #navigation.is-open {
    display: flex;
  }
  #navigation a {
    min-height: 52px;
    border-top: 1px solid;
    font-size: 1.375rem;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablette : les colonnes s’empilent */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .launch-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .hero-photo img {
    height: 320px;
  }
  .rubric-grid,
  .rubric-grid.no-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .rubric-title,
  .rubric-copy,
  .rubric-photo,
  .rubric-reverse .rubric-title,
  .rubric-reverse .rubric-copy,
  .rubric-reverse .rubric-photo {
    grid-column: 1;
    grid-row: auto;
  }
  .rubric-photo img {
    height: 320px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* Téléphone */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 140px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 56px;
  }
  .eyebrow {
    font-size: 0.9375rem;
  }
  h2 {
    font-size: 2.375rem;
    line-height: 1.02;
  }
  .header-band-inner {
    padding-block: 8px;
  }
  .header-band-inner > p {
    display: none;
  }
  .header-actions {
    flex: 1;
    gap: 8px;
  }
  .header-actions .button {
    flex: 1 1 0;
    padding: 0 8px;
  }
  .hero-grid {
    gap: 24px;
    padding-block: 40px 48px;
  }
  .hero-copy {
    gap: 20px;
  }
  .hero h1 {
    font-size: 2.125rem;
    line-height: 1.05;
  }
  .hero-lead {
    font-size: 1.0625rem;
  }
  /* Les boutons Planning et Séance d’essai restent dans la bande de l’en-tête. */
  .hero .actions {
    display: none;
  }
  .hero-photo img {
    height: 220px;
  }
  .hero-launch {
    gap: 12px;
    padding: 16px 18px;
  }
  .hero-launch-date,
  .hero-launch-offer strong {
    font-size: 1.375rem;
  }
  .hero-launch-offer {
    padding-top: 12px;
    font-size: 1rem;
  }
  .hero-launch-more {
    margin-left: 0;
  }
  .intro-text {
    gap: 20px;
    font-size: 1rem;
  }
  .intro-highlight {
    font-size: 1.625rem;
  }
  .intro-welcome {
    padding-top: 20px;
  }
  .intro-welcome-title {
    font-size: 2.25rem;
  }
  .rubric-grid {
    row-gap: 16px;
  }
  .rubric-number {
    font-size: 1.125rem;
  }
  .rubric-copy {
    gap: 16px;
    font-size: 1rem;
    line-height: 1.6;
  }
  .rubric-copy .button {
    align-self: stretch;
  }
  .rubric-photo img {
    height: 200px;
  }
  .rubric-more {
    gap: 40px;
    margin-top: 40px;
  }
  .qualities .eyebrow {
    font-size: 0.9375rem;
  }
  .qualities-list {
    column-gap: 20px;
    font-size: 0.9375rem;
  }
  .qualities-list li {
    padding-block: 9px;
  }
  .method h3 {
    font-size: 1.625rem;
  }
  .steps h4 {
    font-size: 1.625rem;
  }
  .step-number {
    font-size: 2.25rem;
  }
  .method-note,
  .method-goal,
  .steps p {
    font-size: 1rem;
  }
  .launch {
    gap: 10px;
  }
  .launch-discovery,
  .launch-founders {
    padding: 22px 18px;
  }
  .launch-discovery {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .launch h3 {
    font-size: 1.875rem;
  }
  .launch-price {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
  .launch-price strong {
    font-size: 3rem;
  }
  .launch-list strong {
    font-size: 1.3125rem;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 40px;
  }
  .plan {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 18px;
  }
  .plan h3 {
    font-size: 1.375rem;
  }
  .plan-price {
    font-size: 0.875rem;
  }
  .plan-price strong {
    font-size: 2.125rem;
  }
  .extras {
    margin-top: 40px;
  }
  .extras h3 {
    font-size: 1.625rem;
  }
  .extras-list li {
    padding-block: 14px;
    font-size: 1rem;
  }
  .contact-inner > p {
    font-size: 1.0625rem;
  }
  .contact-inner .button {
    align-self: stretch;
  }
  .page-content h1 {
    font-size: 2.5rem;
  }
  .page-content h2 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
