html {
  background-color: #ea5239;
  background-attachment: fixed;
}
body {
  background-color: #ea5239 !important;
  
}

* {
  -webkit-tap-highlight-color: #ea5239 !important;
}html::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #ea5239;
  z-index: -1;
}

/* 2) Plus de tap-highlight / callout blanc */
* {
  -webkit-tap-highlight-color: #ea5239 !important;
  -webkit-touch-callout: none !important;
}

/* 3) Conserver l’orange même en :active */
.image, .maintext {
  background-color: #ea5239 !important;
}
.image:active,
.maintext:active {
  background-color: #ea5239 !important;
}

/* 4) Gérer la safe-area pour éviter tout fond blanc sous le dock */
body {
  padding-bottom: env(safe-area-inset-bottom);
}

@font-face {
    font-family: 'typewriter';
    src: url('../../general/fonts/dehinted-AmericanTypewriter.woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'franklin gothic heavy';
    src: url('../../general/fonts/FRAHV.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'rockwell';
    src: url('../../general/fonts/ROCK.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'frankin gothic condensed';
    src: url('../../general/fonts/Franklin\ Gothic\ Condensed.woff2');
    font-weight: normal;
    font-display: swap;
}


@media (max-width: 768px) {

  .titlearticle{
    font-family: 'franklin gothic heavy' !important;
    font-size: x-large !important;
    margin-top: 0;
    margin-bottom: 0;
    gap: 0;
}

  body {
    margin: 0;
    padding: 0;
    overflow: visible;
  }

html {
    margin: 0;
    padding: 0;
  }


  .titlearticle{
    font-family: 'franklin gothic heavy' !important;
    font-size: x-large;
    margin-top: 0;
    margin-bottom: 0;
    gap: 0;
}

.subtitlearticle{
    font-family: 'frankin gothic condensed' !important;
    font-size: medium;
    margin-top: 0;
    margin-bottom: 5vh;
    gap: 0;
}

.bodyarticle{
    font-family: 'typewriter' !important;
    margin-top: 0;
    margin-bottom: 0;
    gap: 0;
    text-align: justify;
}
.maincontainer {
  -webkit-tap-highlight-color: #ea5239 !important;
  background-color: #ea5239 ;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    overscroll-behavior: auto;
  }
  .image {
  scroll-snap-align: start;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
    scroll-snap-align: start;
  flex-shrink: 0;
  background-color: #ea5239;
}
.image img {
    height: auto;
    max-height: 70vh;
    width: 100vw;
    object-fit: contain;
    object-position: center;
    display: block;
}

.maintext {    
    background-color: #ea5239;
    position: relative;
    top: 90vh;
    width: 100vw;
    padding-left: 2vw;
    padding-right: 2vw;
    height: auto;
    position: absolute;
    margin: 0;
    max-width: none;
}
.nextproject {
display: none;
}
.previousproject {
display: none;
}
.plusinfos {
    background-color: transparent;
    font-family: 'rockwell';
    position: absolute;
    top: 10vh;
    width: 50vw;
    max-width: none;
}
#plus-2 img{
    width: 1.5vw;
    height: 1.5vh;
    transition: transform 0.2s ease; /* animation fluide */
}
#plus-1 img{
    width: 1.5vw;
    height: 1.5vh;
    transition: transform 0.2s ease; /* animation fluide */
}
#plus-1:hover,
#plus-2:hover {
  text-decoration: none;
}

.safari-ios .maintext {
  /* Styles spécifiques Safari */
  top: 80vh;
}
.nextprojectmobile {
    position: relative;
    right: 0px;

    font-size: 2.5vh;
    font-family: 'rockwell';
    z-index: 1000;
}
.pull-next-indicator {
  display: block; /* <-- AJOUT : force l'affichage */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: transparent;
  color: #000;
  font-size: 14px;
  transform: translateY(100%);
  transition: transform 0.2s ease-in-out;
  pointer-events: none;
  z-index: 1000;
}

.pull-next-indicator.visible {
  transform: translateY(0) !important;
}
.image,
.maintext {
  /* forcer l’orange en permanence */
  background-color: #ea5239 !important;
  -webkit-tap-highlight-color: #ea5239; /* plus de flash gris/blanc au tap */
  -webkit-touch-callout: none;               /* désactive la sélection/“callout” */
  touch-action: pan-y;                       /* assure le scroll vertical */
}

/* ET SURTOUT : quand la boîte est “active” (= touchée), on garde l’orange */
.image:active,
.maintext:active {
  background-color: #ea5239 !important;
}
* {
  -webkit-tap-highlight-color: #ea5239 !important;
  -webkit-touch-callout: none !important;
}
}