/* Socle. Surfaces opaques. Pas de grain, pas de grille décorative, pas de glow de section. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--yc-bg);
  color: var(--yc-text-2);
  font-family: var(--yc-font-body);
  font-size: var(--yc-fs-body);
  font-weight: var(--yc-fw-regular);
  line-height: var(--yc-lh-body);
  letter-spacing: var(--yc-ls-body);
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-family: var(--yc-font-display);
  color: var(--yc-text-1);
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--yc-accent);
  outline-offset: 2px;
  box-shadow: var(--yc-glow-focus);
}

.yc-skip {
  position: absolute;
  left: 12px;
  top: 0;
  z-index: var(--yc-z-skip);
  transform: translateY(-120%);
  background: var(--yc-text-1);
  color: var(--yc-bg);
  padding: 10px 14px;
  border-radius: var(--yc-radius-md);
  font-weight: var(--yc-fw-bold);
  font-size: var(--yc-fs-small);
  letter-spacing: var(--yc-ls-ui);
  text-decoration: none;
}

.yc-skip:focus {
  transform: translateY(12px);
}

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

.yc-display {
  font-family: var(--yc-font-display);
  font-weight: var(--yc-fw-extrabold);
  font-size: var(--yc-fs-display);
  line-height: var(--yc-lh-display);
  letter-spacing: var(--yc-ls-display);
  color: var(--yc-text-1);
}

.yc-h1 {
  font-family: var(--yc-font-display);
  font-weight: var(--yc-fw-black);
  font-size: var(--yc-fs-h1-mobile);
  line-height: var(--yc-lh-h1);
  letter-spacing: var(--yc-ls-h1);
  color: var(--yc-text-1);
}

.yc-h2 {
  font-family: var(--yc-font-display);
  font-weight: var(--yc-fw-extrabold);
  font-size: var(--yc-fs-h2);
  line-height: var(--yc-lh-h2);
  letter-spacing: var(--yc-ls-h2);
  color: var(--yc-text-1);
}

.yc-h3 {
  font-family: var(--yc-font-display);
  font-weight: var(--yc-fw-bold);
  font-size: var(--yc-fs-h3);
  line-height: var(--yc-lh-h3);
  letter-spacing: var(--yc-ls-h3);
  color: var(--yc-text-1);
}

.yc-body {
  font-size: var(--yc-fs-body);
  line-height: var(--yc-lh-body);
  letter-spacing: var(--yc-ls-body);
  color: var(--yc-text-2);
  max-width: var(--yc-measure);
}

.yc-lead {
  font-size: var(--yc-fs-lead);
  line-height: var(--yc-lh-lead);
  color: var(--yc-text-2);
  max-width: 62ch;
}

.yc-small {
  font-size: var(--yc-fs-small);
  line-height: var(--yc-lh-ui);
  letter-spacing: var(--yc-ls-ui);
  color: var(--yc-text-2);
}

.yc-caption {
  font-size: var(--yc-fs-caption);
  line-height: var(--yc-lh-ui);
  letter-spacing: var(--yc-ls-caption);
  color: var(--yc-text-3);
}

.yc-mono {
  font-family: var(--yc-font-mono);
  font-size: var(--yc-fs-meta);
  font-weight: var(--yc-fw-medium);
  letter-spacing: var(--yc-ls-kicker);
  line-height: var(--yc-lh-ui);
  text-transform: uppercase;
  color: var(--yc-text-3);
}

.yc-eyebrow {
  font-family: var(--yc-font-mono);
  font-size: var(--yc-fs-caption);
  font-weight: var(--yc-fw-medium);
  letter-spacing: var(--yc-ls-eyebrow);
  line-height: var(--yc-lh-solid);
  text-transform: uppercase;
  color: var(--yc-accent);
}

.yc-grad-text {
  background-image: var(--yc-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.yc-container {
  width: min(var(--yc-container), calc(100% - (var(--yc-gutter) * 2)));
  margin-inline: auto;
}

.yc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--yc-grid-gap);
}

.yc-col-1 { grid-column: span 12; }
.yc-col-2 { grid-column: span 12; }
.yc-col-3 { grid-column: span 12; }
.yc-col-4 { grid-column: span 12; }
.yc-col-5 { grid-column: span 12; }
.yc-col-6 { grid-column: span 12; }
.yc-col-7 { grid-column: span 12; }
.yc-col-8 { grid-column: span 12; }
.yc-col-9 { grid-column: span 12; }
.yc-col-10 { grid-column: span 12; }
.yc-col-11 { grid-column: span 12; }
.yc-col-12 { grid-column: span 12; }

.yc-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--yc-line);
}

.yc-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--yc-radius-lg);
  border: 1px solid var(--yc-line);
}

.yc-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yc-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yc-overlay-bottom);
  pointer-events: none;
}

@media (min-width: 768px) {
  .yc-h1 {
    font-size: var(--yc-fs-h1);
  }

  .yc-col-1 { grid-column: span 1; }
  .yc-col-2 { grid-column: span 2; }
  .yc-col-3 { grid-column: span 3; }
  .yc-col-4 { grid-column: span 4; }
  .yc-col-5 { grid-column: span 5; }
  .yc-col-6 { grid-column: span 6; }
  .yc-col-7 { grid-column: span 7; }
  .yc-col-8 { grid-column: span 8; }
  .yc-col-9 { grid-column: span 9; }
  .yc-col-10 { grid-column: span 10; }
  .yc-col-11 { grid-column: span 11; }
  .yc-col-12 { grid-column: span 12; }
}

@media (max-width: 767px) {
  .yc-container {
    width: min(var(--yc-container), calc(100% - (var(--yc-gutter-mobile) * 2)));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .yc-home-nav,
  .yc-pane--header,
  .yc-pane--float,
  .yc-home-float {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--yc-surface-1);
  }
}
