/* Déclaration des polices locales */


:root { 
  --opaline: #97CEBB;       
  --vert-hover: #1B5E20;    
  --slider-color: #E0E0E0;  
}

* { box-sizing: border-box; }

body { 
  margin: 0; 
  font-family: 'Montserrat', sans-serif; 
  display: flex; 
  flex-direction: column; 
  min-height: 100vh; 
  overflow: auto; 
}

#header { 
  height: 90px; 
  background-color: var(--opaline); 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0 20px; 
  z-index: 10; 
  flex-shrink: 0; 
}

.logo-header {
  height: 100%;
  display: flex;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  transition: opacity 0.2s;
}
.header-share-btn:hover { opacity: 0.75; }
.header-share-btn img { display: block; }

.header-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.header-call-btn:hover { opacity: 0.75; }
.header-call-btn img { display: block; }

@media (max-width: 900px) {
  #header { height: 32px; }
  .header-actions { gap: 18px !important; }
}

nav { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
  justify-content: center; 
  flex-grow: 1; 
}

nav a { 
  cursor: pointer; 
  padding: 8px 14px; 
  text-decoration: none; 
  color: #333; 
  font-weight: 600; 
  border-radius: 5px; 
  transition: 0.3s; 
  white-space: nowrap; 
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-arrow {
  width: 12px; height: 12px;
  display: inline-block;
  background-color: #333;
  mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/arrow-nav.png') no-repeat center / contain;
  -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/arrow-nav.png') no-repeat center / contain;
}

.nav-icon-marker {
  width: 14px; height: 14px;
  display: inline-block;
  background-color: #333;
  mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/mapmarker.png') no-repeat center / contain;
  -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/mapmarker.png') no-repeat center / contain;
}

nav a:hover, nav a.active { background-color: var(--vert-hover); color: white; }
nav a:hover .nav-icon-arrow, nav a.active .nav-icon-arrow,
nav a:hover .nav-icon-marker, nav a.active .nav-icon-marker { background-color: white; }

#layout { display: flex; flex-grow: 1; overflow: hidden; position: relative; }
#info { width: 50%; padding: 0px 40px 40px 40px; overflow-y: auto; background: white; border-right: 1px solid #eee; }
#map { width: 50%; height: 100%; }

.about-content p {
  line-height: 2;
  margin-bottom: 20px;
}

/* Slider Comparison */
.comparison { 
  position: relative; 
  width: 100%; 
  height: 400px; 
  border-radius: 8px; 
  overflow: hidden;

  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;

  touch-action: none;
}
.before-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.img-before { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.after-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 2; border-right: none; }
.img-after { width: 100%; height: 400px; object-fit: cover; position: absolute; top: 0; left: 0; pointer-events: none; }

.handle { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 0%; 
    width: 14px;  
    margin-left: -7px; 
    background-color: var(--slider-color); 
    z-index: 10; 
    cursor: ew-resize;  
}

/* Étiquettes Avant/Après */
.label-before, .label-after {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  pointer-events: none;
  white-space: nowrap;
}

.label-before { z-index: 2; }
.label-after { z-index: 3; }

.arrow-slider-l, .arrow-slider-r {
  width: 20px; height: 20px;
  position: absolute; top: 50%; transform: translateY(-50%);
  background-color: var(--slider-color);
  mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/arrow-slider.png') no-repeat center / contain;
  -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/arrow-slider.png') no-repeat center / contain;
}
.arrow-slider-l { left: -25px; transform: translateY(-50%) rotate(180deg); }
.arrow-slider-r { right: -25px; transform: translateY(-50%) rotate(0deg); }

/* Reste des styles */
.stars-container { display: flex; gap: 3px; margin-top: 5px; }
.star-icon {
  width: 18px; height: 18px;
  background-color: #FFD700;
  mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/star.png') no-repeat center / contain;
  -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/star.png') no-repeat center / contain;
}
.testimonial-item { display: flex; align-items: flex-start; margin-bottom: 30px; gap: 20px; font-size: 0.9em; }
.testi-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--opaline); aspect-ratio: 1 / 1; }
.testi-text-block { display: flex; flex-direction: column; justify-content: center; }
.testi-text-block p { margin: 0; }
.contact-icon-mail, .contact-icon-phone, .contact-icon-marker { width: 18px; height: 18px; display: inline-block; background-color: var(--vert-hover); vertical-align: middle; margin-right: 10px; }
.contact-icon-mail { mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/mail.png') no-repeat center / contain; -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/mail.png') no-repeat center / contain; }
.contact-icon-phone { mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/phone.png') no-repeat center / contain; -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/phone.png') no-repeat center / contain; }
.contact-icon-marker { mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/mapmarker.png') no-repeat center / contain; -webkit-mask: url('https://mapfolio-cdn.b-cdn.net/assets/icons/mapmarker.png') no-repeat center / contain; }
.share-container { margin-top: 30px; border-top: 1px solid #eee; padding-top: 10px; }
.share-section { margin-top: 20px; }
.share-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.share-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background-color: #f5f5f5; transition: 0.3s; text-decoration: none; }
.share-btn:hover { background-color: var(--opaline); }
.share-btn span { width: 22px; height: 22px; }
.icon-facebook { background: url('https://mapfolio-cdn.b-cdn.net/assets/icons/facebook.png') no-repeat center / contain; }
.icon-linkedin { background: url('https://mapfolio-cdn.b-cdn.net/assets/icons/linkedin.png') no-repeat center / contain; }
.icon-messenger { background: url('https://mapfolio-cdn.b-cdn.net/assets/icons/messenger.png') no-repeat center / contain; }
.icon-whatsapp { background: url('https://mapfolio-cdn.b-cdn.net/assets/icons/whatsapp.png') no-repeat center / contain; }
.icon-viber { background: url('https://mapfolio-cdn.b-cdn.net/assets/icons/viber.png') no-repeat center / contain; }
.icon-sms { background: url('https://mapfolio-cdn.b-cdn.net/assets/icons/sms.png') no-repeat center / contain; }
.video-scroll-fix{
  position: relative;
  width: 100%;
  margin-top: 10px;
}

/* container 16:9 */
.video-container{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
}

/* état "miniature" (instantané) */
.video-container.video-lite{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* bouton play centré */
.video-container .video-play{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}

.video-container .video-play::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* iframe */
.video-container iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.splide { overflow: hidden; border-radius: 8px; }
.splide img { width: 100%; height: 400px; object-fit: cover; }

@media (max-width: 900px) {
  .splide img {
    height: calc(50vh - 90px) !important;
    object-fit: cover;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 900px) {
    .splide img {
      height: calc(50dvh - 90px) !important;
    }
  }
}

/* ===============================
   FIX MAP HEIGHT (SAFE)
   =============================== */
#layout{
  height: calc(100vh - 10vh);
}
@media (max-width: 900px) {
  #layout {
    height: calc(100vh - 32px);
  }
}
#map{
  height: 100%;
}

/* ===============================
   CERCLAGE NUMÉROS HEADER (SAFE)
   =============================== */

nav a[data-target="projet-1"],
nav a[data-target="projet-2"],
nav a[data-target="projet-3"],
nav a[data-target="projet-4"],
nav a[data-target="projet-5"]{

  /* cercle */
  background-color: rgba(27, 94, 32, 0.12);
  border: none;

  /* taille */
  width: 40px;
  height: 40px;
  border-radius: 50%;

  /* centrage */
  display: flex;
  align-items: center;
  justify-content: center;

  /* texte */
  font-weight: 800;
  color: #1B5E20;

  transition: background-color 0.25s ease, color 0.25s ease;
}

/* hover ET actif → vert plein (maintenu même après déplacement de la souris grâce à .active) */
nav a[data-target="projet-1"]:hover,
nav a[data-target="projet-2"]:hover,
nav a[data-target="projet-3"]:hover,
nav a[data-target="projet-4"]:hover,
nav a[data-target="projet-5"]:hover,
nav a[data-target="projet-1"].active,
nav a[data-target="projet-2"].active,
nav a[data-target="projet-3"].active,
nav a[data-target="projet-4"].active,
nav a[data-target="projet-5"].active{
  background-color: var(--vert-hover) !important;
  color: #fff !important;
}

/* =====================================
   ESPACEMENTS NAV HEADER (SAFE)
   ===================================== */

/* espace entre les numéros */
nav a[data-target="projet-1"],
nav a[data-target="projet-2"],
nav a[data-target="projet-3"],
nav a[data-target="projet-4"]{
  margin-right: 16px;
}

/* espace entre "À propos" et 1 */
nav a[data-target="about"]{
  margin-right: 28px;
}

/* espace entre 5 et Témoignages */
nav a[data-target="projet-5"]{
  margin-right: 28px;
}


/* =====================================
   STICKY HEADER PREMIUM (SAFE)
   ===================================== */
#header{
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* =====================================
   BASE REM (SAFE)
   ===================================== */

html{
  font-size: 16px;
}
/* =====================================
   HEADER — ESPACEMENTS EN REM
   ===================================== */

#header{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

nav{
  gap: 0.75rem;
}

/* =====================================
   HEADER — anti-wrap AVANT breakpoint
   ===================================== */
@media (max-width: 1200px){

  #header nav{
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #header nav::-webkit-scrollbar{
    display: none;
  }

  #header nav a{
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* =====================================
   MOBILE — ESPACEMENTS FLUIDES
   ===================================== */

@media (max-width: 900px){

  #header{
    padding: 1rem;
    gap: 0.75rem;
  }

  nav{
    gap: 0.6rem;
  }

  #info{
    padding: 0rem 1.25rem 1.25rem 1.25rem;
  }

  #info > *{
    margin-bottom: 1rem;
  }

  /* MOBILE NAV: 1 ligne scrollable (SAFE) */
  #header nav{
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.6rem;
    width: 100%;
    padding: 0.25rem 0.25rem;
    scrollbar-width: none; /* Firefox */
  }

  #header nav::-webkit-scrollbar{
    display: none; /* Chrome/Safari */
  }

  #header nav a{
    flex: 0 0 auto; /* empêche le retour à la ligne */
  }
}


/* =====================================
   FADE ANIMATION INFO (SAFE)
   ===================================== */
@keyframes infoFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

#info.fade-in {
  animation: infoFadeIn 220ms ease-out;
}


/* =====================================
   MOBILE LAYOUT 18 / 32 / 50
   ===================================== */
@media (max-width: 900px){

  body{
    min-height: 100vh;
    overflow: auto;
  }

  /* HEADER — 18 % */
  #header{
    height: 10vh !important;
    flex-shrink: 0;
  }

  /* CONTENEUR PRINCIPAL */
  #layout{
    height: auto !important;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  /* MAP — 32 % */
  #map{
    height: 40vh !important;
    width: 100%;
    flex-shrink: 0;
  }

  /* INFO — 50 % */
  #info{
    height: 50vh !important;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Correction barres Safari/Android (dvh = hauteur réelle sans les barres) */
@supports (height: 100dvh) {
  @media (max-width: 900px) {
    #header { height: 10dvh !important; }
    #map    { height: 40dvh !important; }
    #info   { height: 50dvh !important; }
  }
}

@media (max-width: 900px){

  #header{
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  row-gap: 6px;

  align-items: center;      /* centre vertical global */
  align-content: center;    /* centre les lignes */

  height: 10vh !important;
  padding: 1rem;
  flex-shrink: 0;
}

  .logo-header{
    grid-column: 1;
    grid-row: 1;
    width: 70px !important;
  }
.logo-header img{
    width: 100% !important;
    height: auto !important;
  }
  .header-actions{
  grid-column: 2;
  grid-row: 1;
  gap: 4px;

  display: flex;
  align-items: center;   /* 👈 centre les icônes verticalement */
}

  #header nav{
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.6rem;
    -webkit-overflow-scrolling: touch;
  }

  #header nav::-webkit-scrollbar{
    display: none;
  }

  #header nav a{
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }
}

  /* icônes header mobile */
  .header-actions{
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
  }

  /* navigation en dessous */
  #header nav{
    grid-column: 1 / -1;
    grid-row: 2;

    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.6rem;

    -webkit-overflow-scrolling: touch;
  }

  #header nav::-webkit-scrollbar{
    display: none;
  }

  /* liens nav */
  #header nav a{
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  /* cercles */
  nav a[data-target="projet-1"],
  nav a[data-target="projet-2"],
  nav a[data-target="projet-3"],
  nav a[data-target="projet-4"],
  nav a[data-target="projet-5"]{
    width: 40px;
    height: 40px;
    padding: 0;
  }
}


  
  

.project-street{
  margin: 0.35rem 0 0.9rem 0;
  font-size: 0.95rem;
  opacity: 0.75;
}
@media (max-width: 900px){

  /* Titres */
  #info h1{
    font-size: 1.35rem;
    line-height: 1.15;
  }

  /* Paragraphes */
  #info p{
    font-size: 0.88rem;
    line-height: 1.35;
  }

  /* Sous-titre rue */
  .project-street{
    font-size: 0.85rem;
  }

  /* Témoignages */
  #info .testimonial-item{
    margin-top: 1.2rem;
  }
}


/* =====================================
   MOBILE — réduire espaces titre / rue / media
   ===================================== */
@media (max-width: 900px){

  /* Titre */
  #info h1{
    margin-bottom: 0.25rem;
  }

  /* Nom de rue */
  .project-street{
    margin-top: 0;
    margin-bottom: 0.45rem;
  }

  /* Bloc média juste après la rue */
  #info .splide,
  #info .swiper,
  #info iframe,
  #info video{
    margin-top: 0.25rem;
  }
}
/* MOBILE — compact rue -> media (plus fort que #info > *) */
@media (max-width: 900px){

  /* rue : quasiment collée au média */
  #info .project-street{
    margin-bottom: 0.2rem !important;
  }

  /* wrappers médias courants : enlève le vide au-dessus */
  #info .comparison,
  #info .video-scroll-fix,
  #info .splide,
  #info .video-container{
    margin-top: 0.2rem !important;
  }
}
/* =====================================
   MOBILE — media plein espace (50%)
   ===================================== */
/* =====================================
   MOBILE — media plein espace (50%)
   ===================================== */
@media (max-width: 900px){

  /* panneau info = colonne */

  #info{
    display: flex;
    flex-direction: column;
    height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* sections projet uniquement : pas de scroll, media prend tout l'espace */
  #info.is-project{
    overflow: hidden;
  }

  /* splide prend toute la hauteur disponible dans is-project */
  #info.is-project .splide,
  #info.is-project .splide__track,
  #info.is-project .splide__list,
  #info.is-project .splide__slide {
    height: 100%;
  }

  /* titre + rue ne grandissent pas */
  #info h1,
  #info .project-street{
    flex-shrink: 0;
  }

  /* média = prend tout l'espace restant */
  #info .splide,
  #info .swiper,
  #info .comparison,
  #info .video-scroll-fix,
  #info iframe,
  #info video{
    flex: 1;
    min-height: 180px;
  }

  /* images internes */
  /* images internes — médias projet uniquement */
  #info .splide img,
  #info .comparison img,
  #info .video-scroll-fix img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /* youtube / iframe */
  #info iframe{
    height: 100%;
    width: 100%;
  }
}

/* =====================================
   FIX — SLIDER AVANT / APRÈS MOBILE
   (verrouillage définitif)
   ===================================== */
@media (max-width: 900px){

  #info .comparison{
    flex: 1;
    min-height: 0;
    height: auto !important;
  }

  #info .comparison .before-wrap,
  #info .comparison .after-wrap{
    height: 100% !important;
  }

  #info .comparison .img-before,
  #info .comparison .img-after{
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    display: block;
  }
}

/* =====================================
   MOBILE — exception pour Témoignages
   ===================================== */
@media (max-width: 900px){

  /* Quand on est sur la section Témoignages, on annule le "media = flex:1" */
  #info.is-testimonials{
    display: block !important;
    overflow-y: auto !important;
    height: 50vh !important;
  }

  /* Et on s'assure que les images témoignages ne prennent pas toute la hauteur */
  #info.is-testimonials img{
    height: auto !important;
    max-height: 72px !important; /* avatar raisonnable */
    width: 72px !important;
    object-fit: cover !important;
  }
}
/* =====================================
   MOBILE — ordre correct (MAP puis INFO)
   ===================================== */
@media (max-width: 900px){
  #layout{ display:flex; flex-direction: column; }
  #map{ order: 1; }
  #info{ order: 2; }
}

/* =====================================
   MOBILE — SCROLL HINT (UNIQUEMENT À PROPOS)
   ===================================== */
@media (max-width: 768px){

  #info{
    position: relative;
  }
}
/* =====================================
   TOOLTIP MODERNE — AU DESSUS DE L'ICÔNE
   (DESKTOP + MOBILE si hover dispo)
   ===================================== */

#info .share-btn{
  position: relative;
  overflow: visible;
}

/* bulle */
#info .share-btn::after{
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);

  background: rgba(0,0,0,0.80);
  color: #fff;

  padding: 6px 10px;
  border-radius: 8px;

  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 9999;
}

/* pas de tooltip si data-tooltip absent ou vide */
#info .share-btn:not([data-tooltip])::after,
#info .share-btn[data-tooltip=""]::after {
  display: none;
}



/* apparition */
#info .share-btn:hover::after{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* Mobile/tactile: pas de hover -> on cache */
@media (hover: none){
  #info .share-btn::after{ display:none; }
}

.mapfolio-credit{
  font-size: 0.8rem;
  color: #1b5e20;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.mapfolio-credit:hover{
  opacity: 1;
}
/* Réduction de la taille du copyright de la carte pour libérer de l'espace sur mobile */
.maplibregl-ctrl-attrib {
    font-size: 8px !important;
    line-height: 10px !important;
}

.maplibregl-ctrl-attrib a {
    font-size: 8px !important;
}

@media (max-width: 768px) {
    .maplibregl-ctrl-attrib {
        background-color: rgba(255, 255, 255, 0.5) !important;
        max-width: 60%;
    }
}
/* Photo section À propos */
.about-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 16px auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* Footer section Contact */
.contact-footer {
  margin-top: auto;
  padding: 12px 0 4px;
  border-top: 1px solid #eee;
  text-align: center;
}
.contact-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  padding: 8px 40px;
  background: white;
  border-top: 1px solid #eee;
  z-index: 5;
}

.contact-footer.hidden {
  display: none;
}

@media (max-width: 900px) {
  .contact-footer {
    width: 100%;
    padding: 6px 1.25rem;
    bottom: 0;
    order: 3;
    position: fixed;
  }
}
/* =====================================
   CONTACT — scroll top + espace footer fixe
   ===================================== */
#info.scroll-up {
  scroll-behavior: auto;
}

@media (max-width: 900px) {
  #info.scroll-up {
    padding-bottom: 40px;
  }
}

/* Partage : affichage conditionnel mobile/desktop */
.mobile-only { display: none; }
.desktop-only { display: inline-flex; }
@media (max-width: 900px) {
  .mobile-only  { display: inline-flex; }
  .desktop-only { display: none; }
}

/* Bouton copier */
.share-btn-copy { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background-color: #f5f5f5; border: none; padding: 0; cursor: pointer; transition: 0.3s; }
.share-btn-copy:hover { background-color: var(--opaline); }
.icon-copy {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("https://mapfolio-cdn.b-cdn.net/assets/icons/copy.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.logo-header img{
  height: 80%;
  width: auto;
  display: block;
}
@media (max-width: 900px){

  #header nav{
    display: flex;
    align-items: center !important;
    justify-content: center;
    height: 100%;
  }

}