
#accueil {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  align-items: safe center;
  background: #0A0A0D;
  color: #d7dde4;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
}


.ac-fond {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;   
  pointer-events: none;
}

.ac-fond picture,
.ac-fond img {
  display: block;
  width: 100%;
  height: 100%;
}

.ac-fond img {
  object-fit: cover;
  object-position: 62% 50%;
}

.ac-fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 10, 13, 0.97) 0%,
    rgba(10, 10, 13, 0.95) 38%,
    rgba(10, 10, 13, 0.90) 66%,
    rgba(10, 10, 13, 0.82) 100%
  );
}


.ac-corps {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}


.ac-sur {
  margin: 0 0 22px;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #31c7d2;
}

.ac-sur i {
  font-style: normal;
  margin: 0 0.55em;
  opacity: 0.7;
}

#accueil h1 {
  margin: 0 0 24px;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #f2f5f8;
  text-transform: uppercase;
}

#accueil h1 span {
  display: block;
}

#accueil h1 .ac-h1-b {
  margin-top: 0.5em;
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: #e6e4de;
}

.ac-slogan {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.5;
  color: #e6e4de;
}

.ac-accroche {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.62;
  color: #d7dde4;
}

.ac-precis {
  margin: 0 0 34px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: #a8b2bc;
}


.ac-cta {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid #ff9a3c;          
  color: #ff9a3c;                      
  background: transparent;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.24s ease;
}

html.can-3d:not(.boot-3d) .ac-cta {
  display: inline-flex;
}

.ac-cta:hover,
.ac-cta:focus-visible {
  transform: translateX(4px);
}

.ac-cta span {
  transition: transform 0.24s ease;
}

.ac-cta:hover span {
  transform: translateX(3px);
}


.ac-plan {
  border-top: 1px solid rgba(49, 199, 210, 0.4);
}

.ac-plan h2 {
  margin: 0;
  padding: 18px 0 10px;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #a8b2bc;
}

.ac-plan ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ac-plan li {
  border-top: 1px solid rgba(207, 216, 224, 0.16);
}

.ac-plan a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.ac-plan a:hover,
.ac-plan a:focus-visible {
  transform: translateX(6px);
  background-color: rgba(10, 10, 13, 0.55);
}

.ac-num {
  grid-row: 1 / span 2;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #31c7d2;
  padding-top: 4px;
}

.ac-titre {
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f2f5f8;
}

.ac-plan a:hover .ac-titre,
.ac-plan a:focus-visible .ac-titre {
  color: #31c7d2;
}

.ac-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #a8b2bc;
}


.ac-pied {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(207, 216, 224, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-size: 13px;
  color: #a8b2bc;
}

.ac-pied a {
  color: #a8b2bc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ac-pied a:hover,
.ac-pied a:focus-visible {
  color: #f2f5f8;
  border-bottom-color: rgba(49, 199, 210, 0.6);
}

.ac-pied .ac-mail {
  color: #31c7d2;
}

.ac-pied .ac-sep {
  flex: 1 1 auto;
}


#accueil a:focus-visible {
  outline: 2px solid #31c7d2;
  outline-offset: 3px;
}


html.js-reveal #accueil .ac-sur,
html.js-reveal #accueil h1,
html.js-reveal #accueil .ac-accroche,
html.js-reveal #accueil .ac-precis,
html.js-reveal #accueil .ac-cta,
html.js-reveal #accueil .ac-plan,
html.js-reveal #accueil .ac-pied {
  opacity: 0;
  transform: translateY(14px);
  animation: ac-monte 0.66s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

html.js-reveal #accueil h1 { animation-delay: 0.06s; }
html.js-reveal #accueil .ac-accroche { animation-delay: 0.12s; }
html.js-reveal #accueil .ac-precis { animation-delay: 0.16s; }
html.js-reveal #accueil .ac-cta { animation-delay: 0.22s; }
html.js-reveal #accueil .ac-plan { animation-delay: 0.18s; }
html.js-reveal #accueil .ac-pied { animation-delay: 0.3s; }

@keyframes ac-monte {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Le titre et l'accroche montent sans fondu : Chrome ignore le texte peint en opacité nulle et le fondu,
   joué par le compositeur, ne le repeint pas. Sans eux, l'accueil statique n'a aucun candidat LCP
   (l'image de porte, plein écran, compte comme un fond). PageSpeed mobile du 12/10/2026 : NO_LCP. */
html.js-reveal #accueil h1,
html.js-reveal #accueil .ac-accroche {
  opacity: 1;
  animation-name: ac-glisse;
}

@keyframes ac-glisse {
  to {
    transform: translateY(0);
  }
}


@media (max-width: 900px) {
  #accueil {
    display: block;
  }

  .ac-corps {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 64px 22px 32px;
  }

  .ac-fond img {
    object-position: 58% 34%;
  }

  .ac-fond::after {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 13, 0.95) 0%,
      rgba(10, 10, 13, 0.93) 40%,
      rgba(10, 10, 13, 0.90) 70%,
      rgba(10, 10, 13, 0.86) 100%
    );
  }

  .ac-pied {
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  .ac-plan a {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px 2px;
  }

  .ac-pied {
    gap: 8px 18px;
  }

  .ac-pied .ac-sep {
    flex-basis: 100%;
  }
}


@media (prefers-reduced-motion: reduce) {
  html.js-reveal #accueil .ac-sur,
  html.js-reveal #accueil h1,
  html.js-reveal #accueil .ac-accroche,
  html.js-reveal #accueil .ac-precis,
  html.js-reveal #accueil .ac-cta,
  html.js-reveal #accueil .ac-plan,
  html.js-reveal #accueil .ac-pied {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ac-cta,
  .ac-cta span,
  .ac-plan a {
    transition: none;
  }

  .ac-cta:hover,
  .ac-cta:focus-visible,
  .ac-cta:hover span,
  .ac-plan a:hover,
  .ac-plan a:focus-visible {
    transform: none;
  }
}


#skipIntro {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 36;

  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;

  border: 1px solid rgba(255, 154, 60, 0.5);
  background: rgba(10, 10, 13, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ff9a3c;

  font-family: "Chakra Petch", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;

  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.22s ease;
}

#skipIntro.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#skipIntro:hover,
#skipIntro:focus-visible {
  border-color: #ff9a3c;
}

#skipIntro:focus-visible {
  outline: 2px solid #ff9a3c;
  outline-offset: 3px;
}

#skipIntro .skip-fleche {
  font-size: 12px;
  transition: transform 0.22s ease;
}

#skipIntro:hover .skip-fleche {
  transform: translateX(3px);
}


@media (max-width: 760px), (pointer: coarse) {
  #skipIntro {
    right: auto;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 8px);
    padding: 10px 15px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  #skipIntro.is-visible {
    transform: translate(-50%, 0);
  }

  body.has-skip #gyroBtn {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  #skipIntro {
    transition: opacity 0.2s linear;
    transform: none;
  }

  #skipIntro.is-visible {
    transform: none;
  }

  #skipIntro .skip-fleche,
  #skipIntro:hover .skip-fleche {
    transition: none;
    transform: none;
  }

  @media (max-width: 760px), (pointer: coarse) {
    #skipIntro,
    #skipIntro.is-visible {
      transform: translateX(-50%);
    }
  }
}
