.intro-skip .cover { display: none !important; }
    .intro-skip body.is-locked { overflow: auto !important; }
    .intro-skip body.is-locked #site-header { visibility: visible !important; }

    :root {
      --fond: #ffffff;
      --adn-jaune: #f2e24d;
      --texte: #141414;
      --blanc: #ffffff;
      --cover-height: 100vh;
      --neutre-bleu: #5c82b5;
      --neutre-bordeaux: #713643;
      --neutre-gris: #646161;
      --neutre-vert: #c0c7ad;
      --border: rgba(43, 33, 50, 0.08);
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; margin: 0; }
    
    body {
      min-height: 100vh;
      background: var(--fond);
      color: var(--texte);
      font-family: 'Manrope', sans-serif;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    body.is-locked { overflow: hidden; }

    /* --- COVER --- */
    .cover {
      --p: 0;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: var(--cover-height);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #000000;
      color: var(--blanc);
      overflow: hidden;
      transform: translateY(calc(var(--p) * -100vh));
      will-change: transform;
    }

    .cover::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url('../images/Fond/fondaccueil.jpg');
      background-size: cover;
      background-position: center;
      opacity: 0.8;
      z-index: 0;
    }

    .cover-inner {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
      transform: translateY(calc(var(--p) * -20px));
      will-change: transform;
    }

    .cover-brand {
      position: absolute;
      top: 24px;
      left: 24px;
      transform: scale(calc(1 - var(--p) * 0.4));
      transform-origin: top left;
    }

    .brand-logo--cover {
      height: clamp(36px, 6vw, 64px);
      filter: brightness(0) invert(1);
    }

    .cover-content {
      opacity: max(0, calc(1 - var(--p) * 2.5)); 
      transform: translateY(calc(var(--p) * 30px));
      max-width: 1200px;
    }

    .cover-title {
      font-family: 'Oswald', sans-serif;
      font-size: clamp(2.5rem, 4vw, 5rem);
      line-height: 1.05;
      text-transform: uppercase;
      margin: 0 0 24px 0;
    }

    .cover-text {
      font-size: clamp(1.1rem, 1.6vw, 1.6rem);
      color: var(--fond);
      font-weight: bold;
      max-width: 65ch;
      line-height: 1.6;
      margin: 0 auto 60px auto;
      display: inline;
      background-color: rgba(113, 54, 67, 0.6); 
    }

    /* FLÈCHE DE SCROLL ANIMÉE */
    .scroll-indicator {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      cursor: pointer;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .arrow-chevron {
      width: 36px;
      height: 36px;
      border-bottom: 6px solid var(--fond, #F2E24D);
      border-right: 6px solid var(--fond, #F2E24D);
      transform: rotate(45deg);
      animation: bounceArrow 2s infinite;
    }

    @keyframes bounceArrow {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
      40% { transform: translateY(-10px) rotate(45deg); }
      60% { transform: translateY(-5px) rotate(45deg); }
    }

    /* --- CONTENU DE LA PAGE --- */
    main#page {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding-bottom: 20px;
    }

    #site-header, #site-footer, #site-header a, #site-footer a, #site-header span, #site-footer span {
      color: #000000 !important;
    }

    .intro {
      padding: clamp(36px, 5vh, 62px) clamp(20px, 4vw, 150px);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: start;
      background-color: var(--fond);
    }

    .intro-content {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .intro-title {
      font-family: 'Oswald', sans-serif;
      font-size: clamp(1.8rem, 2vw, 4rem);
      text-transform: uppercase;
      line-height: 1.1;
      color: var(--neutre-bleu);
      margin: 0 0 20px 0;
    }

    .intro-text {
      font-size: clamp(0.92rem, 0.95vw, 1.02rem);
      line-height: 1.55;
      color: var(--neutre-gris);
      max-width: 70ch;
      margin: 0;
    }

    .intro-emphasis {
      margin: 6px 0 0 0;
      max-width: 70ch;
      padding: 14px 16px;
      color: var(--neutre-bordeaux);
      font-family: 'Oswald', sans-serif;
      font-size: clamp(1.2rem, 1.4vw, 2rem);
      line-height: 1.12;
      letter-spacing: 0.01em;
    }

    .intro-kpis {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      max-width: 760px;
      margin-top: 2px;
    }

    .intro-kpi {
      position: relative;
      overflow: hidden;
      padding: 14px 14px 12px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 247, 244, 0.96));
      border: 1px solid var(--border);
      box-shadow: 0 10px 20px rgba(20, 20, 20, 0.05);
      min-height: 102px;
      text-align: center;
    }

    .intro-kpi::before {
      content: '';
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 8px;
      background: var(--kpi-accent, var(--neutre-bleu));
    }

    .intro-kpi:nth-child(1) { --kpi-accent: #713643; }
    .intro-kpi:nth-child(2) { --kpi-accent: #5c82b5; }
    .intro-kpi:nth-child(3) { --kpi-accent: var(--neutre-vert); }

    .intro-kpi-value {
      display: block;
      margin-top: 12px;
      font-family: 'Oswald', sans-serif;
      font-size: clamp(2rem, 4vw, 3.4rem);
      line-height: 1;
      color: var(--texte);
    }

    .intro-kpi-label {
      display: block;
      margin-top: 8px;
      font-size: 0.74rem;
      line-height: 1.35;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--neutre-gris);
      font-weight: 800;
    }

    .intro-carousel {
      border-radius: 50%;
      overflow: hidden;
      aspect-ratio: 1 / 1;
      position: relative;
      box-shadow: none;
      max-height: min(78vh, 780px);
      width: min(100%, 780px);
      justify-self: end;
    }

    .carousel-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
    }

    .carousel-slide.active { opacity: 1; }
    .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

    /* BOUTON GLOBAL CENTRÉ */
    .btn-primary {
      display: block;
      padding: 8px 0;
      background: transparent;
      color: var(--neutre-bleu);
      text-decoration: none;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 0;
      border-bottom: 4px solid transparent;
      transition: color 0.25s ease, border-bottom-color 0.25s ease;
      margin: 20px auto 0 auto;
      width: fit-content;
      text-align: center;
    }

    .btn-primary:hover {
      color: var(--neutre-vert);
      border-bottom-color: var(--adn-jaune);
    }

    @media (max-width: 900px) {
      .intro { grid-template-columns: 1fr; }
      .intro-carousel { margin-top: 24px; max-height: 320px; width: min(100%, 320px); justify-self: center; }
      .intro-kpis { max-width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    
    @media (max-width: 600px) {
      .intro-kpis { grid-template-columns: 1fr; }
    }

    @media (max-height: 500px) {
      .scroll-indicator { display: none; }
    }

    @media (max-width: 850px) {
        .intro-content { align-items: center; text-align: center; }
    }
