html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}


/* =========================
   CARTE
   ========================= */

#map {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}


/* =========================
   PANNEAU PROJET
   ========================= */

#project-panel {
    position: fixed;

    top: 90px;
    right: 30px;

    width: 275px;
    max-height: calc(100vh - 120px);

    box-sizing: border-box;

    padding: 14px;

    background: #FFFEFD;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);

    border-radius: 5px;

    z-index: 9999;

    transform: translateX(calc(100% + 40px));

    transition: transform 0.3s ease;

    overflow-y: auto;

    pointer-events: none;

    font-family: Arial, Helvetica, sans-serif;
}


/* Panneau ouvert */

#project-panel.open {
    transform: translateX(0);

    pointer-events: auto;
}


/* =========================
   BOUTON FERMER
   ========================= */

#close-panel {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 24px;
    height: 24px;

    padding: 0;

    border: none;
    border-radius: 4px;

    background: #FFFEFD;
    color: #111;

    font-size: 18px;
    line-height: 24px;
    text-align: center;

    cursor: pointer;
}


/* =========================
   CONTENU
   ========================= */

#project-content h2 {
    margin: 0 0 5px 0;

    font-family: "Bodoni Moda", Georgia, serif;

    font-size: 29px;
    line-height: 0.98;
    font-weight: 400;

    color: #111;
}

#project-content .project-meta {

    margin: 0 0 20px 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;
    line-height: 1.3;

    opacity: 0.5;
}

#project-content .project-label {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    opacity: 0.5;
}

#project-content p {
    font-size: 16px;
    line-height: 1.5;
}

/* Image du projet */

.project-image {

    width: 100%;
    height: 145px;

    margin: 0 0 14px 0;

    object-fit: cover;

    border-radius: 3px;
}

/* =========================
   MÉDIAS COMPLÉMENTAIRES
   ========================= */

.project-media {
    margin-top: 15px;
}

.project-media-image {
    display: block;

    width: 100%;
    height: auto;

    margin-bottom: 15px;
}

.project-media-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
}

.project-media-video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
}

.project-media-video-link {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    text-decoration: none;
}

.project-media-video-thumbnail {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.project-media-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 56px;
    height: 56px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.75);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    padding-left: 4px;
}

#filter-button {
    position: fixed;

    top: 90px;
    left: 30px;

    z-index: 9000;

    padding: 10px 15px;

    border: none;
    background: #FFFEFD;

    border-radius: 4px;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}


#filter-panel {
    position: fixed;

    top: 90px;
    bottom: 70px;
    left: 30px;

    width: 280px;

    box-sizing: border-box;

    padding: 28px 24px;

    background: #FFFEFD;

    border-radius: 5px;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);

    z-index: 9998;

    transform: translateX(calc(-100% - 60px));
    transition: transform 0.3s ease;

    overflow-y: auto;

    pointer-events: none;

    font-family: Arial, Helvetica, sans-serif;
}

#filter-panel.open {
    transform: translateX(0);
    pointer-events: auto;
}

#close-filter {
    position: absolute;

    top: 15px;
    right: 20px;

    border: none;
    background: none;

    font-size: 30px;
    cursor: pointer;
}

.filter-section {
    margin-bottom: 35px;
}


.filter-section-title {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;

    padding: 0;
    margin: 0 0 15px 0;

    border: none;
    background: none;

    text-align: left;

    font-size: 12px;
    letter-spacing: 1px;

    cursor: pointer;
}


.filter-section-title span {
    font-size: 10px;
}


.filter-section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.filter-section-content label {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 14px;

    cursor: pointer;
}


.filter-section-content input {
    margin: 0;
}


.random-project-option {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    cursor: pointer;
}
.random-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}


.selection-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selection-name {
    font-size: 14px;
}

.selection-description {
    display: block;
    margin-left: 0;
    font-size: 13px;
    line-height: 1.4;
    font-style: italic;
    opacity: 0.65;
}

.show-all-projects {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
}

.show-all-projects input {
    margin: 0;
}

/* ==================================================
   MARQUEURS DES PROJETS
   ================================================== */

.project-marker {
    position: absolute;

    width: 16px;
    height: 16px;

    cursor: pointer;

    z-index: 1;
}


/* --------------------------------------------------
   POINT VISUEL
   -------------------------------------------------- */

.project-marker::before {

    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    box-sizing: border-box;

    border-radius: 50%;

    transition:
        width 0.18s ease,
        height 0.18s ease,
        transform 0.18s ease,
        opacity 0.18s ease,
        filter 0.18s ease;
}


/* --------------------------------------------------
   3 TAILLES
   -------------------------------------------------- */

.project-marker.marker-size-1::before {
    width: 7px;
    height: 7px;
}

.project-marker.marker-size-2::before {
    width: 11px;
    height: 11px;
}

.project-marker.marker-size-3::before {
    width: 15px;
    height: 15px;
}


/* --------------------------------------------------
   4 STYLES
   -------------------------------------------------- */

/* 1 — noir plein */

.project-marker.marker-style-1::before {

    background: #111;
}


/* 2 — blanc + cercle noir */

.project-marker.marker-style-2::before {

    background: #f7f6f2;

    border: 1px solid #111;
}


/* 3 — orange plein */

.project-marker.marker-style-3::before {

    background: #B05E1E;
}


/* 4 — orange + cercle noir */

.project-marker.marker-style-4::before {

    background: #B05E1E;

    border: 1px solid #111;
}


/* --------------------------------------------------
   MARQUEURS NON SÉLECTIONNÉS
   -------------------------------------------------- */

.project-marker.is-muted {
    opacity: 0.8;
}

.project-marker.is-muted::before {

    width: 6px !important;
    height: 6px !important;

    background: rgba(153, 153, 153, 0.4) !important;
    
    border: none !important;

    filter: none;

}
/* --------------------------------------------------
   SURVOL
   -------------------------------------------------- */

.project-marker.is-hover {
    z-index: 30;
}

.project-marker.is-hover::before {

    transform:
        translate(-50%, -50%)
        scale(1.2);
}


/* --------------------------------------------------
   LABEL DU PROJET
   -------------------------------------------------- */

.project-marker::after {

    content: attr(data-label);

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translateY(-50%);

    display: none;

    white-space: nowrap;

    padding: 5px 9px 5px 14px;

    background: white;

    border: none;
    border-radius: 12px;

    color: #111;

    font-size: 11px;
    line-height: 1;

    pointer-events: none;

    z-index: 1;
}


/* --------------------------------------------------
   POINT AU-DESSUS DU LABEL
   -------------------------------------------------- */

.project-marker::before {
    z-index: 2;
}


/* --------------------------------------------------
   LABEL AU SURVOL
   -------------------------------------------------- */

.project-marker.is-hover::after {
    display: block;
}


/* --------------------------------------------------
   PROJET OUVERT
   -------------------------------------------------- */

.project-marker.is-selected {
    z-index: 40;
}

.project-marker.is-selected::after {

    display: block;

    background: #111;

    color: white;
}


/* Étiquette blanche au survol */

.project-marker.is-hover::after {
    display: block;
}


/* --------------------------------------------------
   PROJET ACTUELLEMENT OUVERT
   -------------------------------------------------- */

.project-marker.is-selected {
    z-index: 40;
}

.project-marker.is-selected::before {

    transform:
        translate(-50%, -50%)
        scale(1.15);
}


/* Étiquette noire */

.project-marker.is-selected::after {

    display: block;

    background: #111;

    border-color: #111;

    color: white;
}


/* Projet ouvert + survol */

.project-marker.is-selected.is-hover::before {

    transform:
        translate(-50%, -50%)
        scale(1.2);
}

/* ==================================================
   PETITE FICHE PROJET
   ================================================== */

#project-content h2 {

    margin: 0 0 6px 0;

    font-size: 27px;
    line-height: 1.05;
    font-weight: 600;
}


#project-content .project-meta {

    margin: 0 0 20px 0;

    font-size: 11px;
    line-height: 1.3;

    opacity: 0.5;
}


#project-content .project-description {

    margin: 0 0 22px 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;
    line-height: 1.4;

    color: #222;
}


/* --------------------------------------------------
   BOUTON VOIR LE PROJET
   -------------------------------------------------- */

.project-detail-button {

    display: inline-block;

    padding: 0;

    border: none;
    border-radius: 0;

    background: none;
    color: #111;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;

    cursor: pointer;

    transition: opacity 0.15s ease;
}

.project-detail-button::after {
    content: " →";
}

.project-detail-button:hover {
    opacity: 0.55;
}

/* --------------------------------------------------
   FICHE PROJET COMPLÈTE
   -------------------------------------------------- */

#project-detail-panel {
    position: fixed;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 50vw;
    height: calc(100vh - 80px);

    box-sizing: border-box;
    padding: 40px;

    background: #FFFEFD;

    border-radius: 6px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15);

    z-index: 10000;

    overflow-y: auto;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

#project-detail-panel.open {
    opacity: 1;
    pointer-events: auto;
}

#close-detail-panel {
    position: sticky;
    top: 0;

    display: block;

    width: 32px;
    height: 32px;

    margin-left: auto;
    margin-right: -22px;
    margin-top: 0;
    margin-bottom: -32px;

    padding: 0;

    border: none;
    border-radius: 4px;

    background: #FFFEFD;
    color: #111;

    font-size: 22px;
    line-height: 32px;

    text-align: center;

    cursor: pointer;

    z-index: 10001;

    transform: translateY(-20px);
}

/* --------------------------------------------------
   CONTENU DE LA FICHE COMPLÈTE
   -------------------------------------------------- */

.project-detail-image {
    display: block;

    width: 100%;
    height: 220px;

    object-fit: cover;
    object-position: center;

    margin: 0 0 30px 0;

    border-radius: 3px;
}

#project-detail-content h1 {
    margin: 0 0 8px 0;

    font-family: "Bodoni Moda", Georgia, serif;

    font-size: 42px;
    line-height: 0.98;
    font-weight: 600;

    color: #111;
}

.project-detail-meta {
    margin: 0 0 35px 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.4;

    color: #666;
}

/* --------------------------------------------------
   MISE EN PAGE — FICHE PROJET COMPLÈTE
   -------------------------------------------------- */

#project-detail-content {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}


/* Métadonnées sous le titre */

#project-detail-content .project-detail-meta {
    margin: 0 0 45px 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;

    color: #666;
}


/* --------------------------------------------------
   SECTIONS
   -------------------------------------------------- */

.project-detail-section {
    margin: 0 0 35px 0;
}


/* Petit intitulé */

.project-detail-label {
    display: block;

    margin: 0 0 7px 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #777;
}


/* Texte */

.project-detail-section p {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;

    color: #222;
}


/* --------------------------------------------------
   MÉDIAS COMPLÉMENTAIRES
   -------------------------------------------------- */

.project-detail-media {
    margin-top: 15px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


.project-detail-media img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 3px;
}


/* Vidéos */

.project-detail-video {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    text-decoration: none;
}


.project-detail-video img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
}


.project-detail-video span {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.75);
    color: white;

    font-size: 18px;
}


/* --------------------------------------------------
   LIENS
   -------------------------------------------------- */

.project-detail-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.project-detail-links a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;

    color: #111;
    text-decoration: none;
}


.project-detail-links a:hover {
    opacity: 0.55;
}

/* --------------------------------------------------
   RYTHME DES SECTIONS
   -------------------------------------------------- */

.project-detail-section {
    margin: 0;
    padding: 28px 0;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.project-detail-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.project-detail-section:last-child {
    padding-bottom: 0;
}

.project-detail-label {
    margin-bottom: 10px;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;

    color: #B05E1E;
}

.project-detail-section p {
    max-width: 720px;

    font-size: 15px;
    line-height: 1.6;
}

/* --------------------------------------------------
   MÉDIAS COMPLÉMENTAIRES — FICHE COMPLÈTE
   -------------------------------------------------- */

.project-detail-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    margin-top: 18px;
}

.project-detail-media img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 3px;
}


/* Vidéos */

.project-detail-video {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    text-decoration: none;
}

.project-detail-video img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;
}

.project-detail-video span {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.72);
    color: white;

    font-size: 18px;
}


/* Sur petit écran */

@media (max-width: 700px) {

    .project-detail-media {
        grid-template-columns: 1fr;
    }

}

/* --------------------------------------------------
   IDENTITÉ VISUELLE — PANNEAU FILTRE
   -------------------------------------------------- */

#filter-button {
    background: #FFFEFD;
    color: #111;

    border-radius: 4px;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
}


#filter-panel {
    background: #FFFEFD;

    box-shadow:
        6px 0 20px rgba(0, 0, 0, 0.08);

    font-family: Arial, Helvetica, sans-serif;
}


/* Titres des rubriques */

.filter-section-title {
    color: #B05E1E;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;

    letter-spacing: 0;
}


/* Texte des options */

.filter-section-content label,
.random-project-option,
.selection-name,
.show-all-projects {
    color: #111;

    font-family: Arial, Helvetica, sans-serif;
}


/* Descriptions des sélections */

.selection-description {
    color: #666;
}


/* Croix */

#close-filter {
    top: 8px;
    right: 8px;

    width: 30px;
    height: 30px;

    border-radius: 4px;

    background: #FFFEFD;
    color: #111;

    font-size: 22px;
    line-height: 30px;

    z-index: 10001;
}

#filter-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------
   TITRE DU SITE
   -------------------------------------------------- */

#site-title {
    position: fixed;

    top: 30px;
    left: 30px;

    z-index: 9000;

    color: #111;

    pointer-events: none;
}

.site-title-name {
    display: block;

    margin-bottom: 2px;

    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 21px;
    line-height: 1;

    font-weight: 500;
}

.site-title-sub {
    display: block;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.2;

    font-weight: 500;
}

/* --------------------------------------------------
   ÉCHELLE
   -------------------------------------------------- */

.maplibregl-ctrl-bottom-left {
    left: 30px;
    bottom: 30px;
}

.maplibregl-ctrl-scale {
    margin: 0 !important;

    padding: 0 0 4px 0;

    background: transparent !important;

    border: 0;

    border-bottom: 1px solid rgba(17, 17, 17, 0.65);

    border-radius: 0;

    box-shadow: none;

    color: #111;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1;
}

/* --------------------------------------------------
   ZOOM + / -
   -------------------------------------------------- */

.maplibregl-ctrl-bottom-right {
    right: 30px;
    bottom: 30px;
}

.maplibregl-ctrl-group {
    overflow: hidden;

    border: none !important;
    border-radius: 4px !important;

    background: #FFFEFD;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);
}

.maplibregl-ctrl-group button {
    width: 32px;
    height: 32px;

    background: #FFFEFD !important;

    color: #111;

    border: none !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;

    cursor: pointer;
}

.maplibregl-ctrl-group button:hover {
    background: #EDE8DE !important;
}


/* --------------------------------------------------
   ATTRIBUTION CARTE
   -------------------------------------------------- */

.maplibregl-ctrl-attrib {
    background: transparent !important;

    border: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;

    color: rgba(17, 17, 17, 0.55);
}

.maplibregl-ctrl-attrib a {
    color: rgba(17, 17, 17, 0.55);
    text-decoration: none;
}


/* =========================
   SCROLLBARS — PANNEAUX
   ========================= */

#filter-panel,
#project-panel,
#project-detail-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 17, 0.25) transparent;
}

/* Chrome / Edge / Safari */

#filter-panel::-webkit-scrollbar,
#project-panel::-webkit-scrollbar,
#project-detail-panel::-webkit-scrollbar {
    width: 6px;
}

#filter-panel::-webkit-scrollbar-track,
#project-panel::-webkit-scrollbar-track,
#project-detail-panel::-webkit-scrollbar-track {
    background: transparent;
}

#filter-panel::-webkit-scrollbar-thumb,
#project-panel::-webkit-scrollbar-thumb,
#project-detail-panel::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.25);
    border-radius: 999px;
}

#filter-panel::-webkit-scrollbar-thumb:hover,
#project-panel::-webkit-scrollbar-thumb:hover,
#project-detail-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 17, 17, 0.4);
}

/* --------------------------------------------------
   BOUTON — PROJETS HORS ÉCRAN
   -------------------------------------------------- */

#map-discovery-button {
    position: fixed;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%);

    z-index: 9000;

    padding: 10px 15px;

    border: none;
    border-radius: 4px;

    background: #B05E1E;
    color: #FFFEFD;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.10);

    cursor: pointer;

    display: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

#map-discovery-button:hover {
    transform: translateX(-50%) translateY(-2px);
}

/* --------------------------------------------------
   BOUTON TEST — STYLE DES MARQUEURS
   -------------------------------------------------- */

#marker-style-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9000;

    padding: 9px 12px;
    border: none;
    border-radius: 4px;

    background: #FFFEFD;
    color: #111;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);

    cursor: pointer;
}

#marker-style-toggle:hover {
    background: #f4f2ef;
}

/* --------------------------------------------------
   TEST — MARQUEURS AVEC VISUELS
   -------------------------------------------------- */

.project-marker.marker-visual-mode {
    width: 48px;
    height: 48px;

    border-radius: 5px;

    background-size: cover;
    background-position: center;

    border: 2px solid #FFFEFD;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

    position: absolute;
}
.project-marker.marker-visual-mode.marker-style-1,
.project-marker.marker-visual-mode.marker-style-2,
.project-marker.marker-visual-mode.marker-style-3,
.project-marker.marker-visual-mode.marker-style-4 {
    width: 48px;
    height: 48px;

    background-color: transparent;
    border: 2px solid #FFFEFD;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

    border-radius: 5px;
}

.project-marker.marker-visual-mode::before {
    display: none;
}

.project-marker.marker-visual-mode::after {
    display: none;
}

.project-marker {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.project-marker.marker-visual-mode {
    background-color: transparent !important;
    border: 2px solid #FFFEFD !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

/* --------------------------------------------------
   MARQUEURS VISUELS — SURVOL
   -------------------------------------------------- */

.project-marker.marker-visual-mode {
    transition:
        width 0.18s ease,
        height 0.18s ease,
        border-color 0.18s ease,
        opacity 0.18s ease,
        filter 0.18s ease;
}

.project-marker.marker-visual-mode.is-hover {
    width: 54px;
    height: 54px;

    z-index: 30;
}

.project-marker.marker-visual-mode.is-hover::after {
    display: block;

    top: 50%;
    left: calc(100% + 8px);

    transform: translateY(-50%);

    padding: 5px 9px;

    background: #FFFEFD;
    color: #111;

    border-radius: 12px;

    font-size: 11px;
    line-height: 1;

    white-space: nowrap;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

    z-index: 1;
}

/* --------------------------------------------------
   MARQUEURS VISUELS — PROJET SÉLECTIONNÉ
   -------------------------------------------------- */

.project-marker.marker-visual-mode.is-selected {
    width: 54px;
    height: 54px;

    border: 2px solid #B05E1E !important;

    z-index: 40;
}

.project-marker.marker-visual-mode.is-selected::after {
    display: block;

    top: 50%;
    left: calc(100% + 8px);

    transform: translateY(-50%);

    padding: 5px 9px;

    background: #111;
    color: #FFFEFD;

    border-radius: 12px;

    font-size: 11px;
    line-height: 1;

    white-space: nowrap;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

    z-index: 1;
}

/* --------------------------------------------------
   MARQUEURS VISUELS — AUTRES PROJETS
   -------------------------------------------------- */

.project-marker.marker-visual-mode.is-not-selected {
    opacity: 0.2 !important;
    filter: grayscale(1) !important;
}

.project-marker.marker-visual-mode.is-muted {
    opacity: 0.15 !important;
    filter: grayscale(0.7) !important;
}

.project-bullet {
    display: block;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

#project-panel {
    top: 50px;
    max-height: calc(100vh - 60px);
}

/* --------------------------------------------------
   MODIFS TELEPHONE
   -------------------------------------------------- */

@media (max-width: 600px) {

    #project-detail-panel {
        width: 90vw;
    }

    .project-detail-image {
        height: auto;
        object-fit: contain;
    }

}

@media (max-width: 600px) {

    #map-discovery-button {
        bottom: 70px;
    }

}