/* ======================================================
   CapiCorsu - Feuille de style
   Les commentaires permettent de retrouver facilement
   les différentes parties du projet.
   ====================================================== */


/* ------------------------------------------------------
   RÉGLAGES GÉNÉRAUX
   ------------------------------------------------------ */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}



/* ------------------------------------------------------
   CARTE
   ------------------------------------------------------ */

#map {
    width: 100%;
    height: 100%;
}


/* ------------------------------------------------------
   STYLE COMMUN AUX POPUPS
   Angles arrondis.
   ------------------------------------------------------ */

.map-panel {
    position: absolute;
    z-index: 1000;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    color: #222;
}


/* ------------------------------------------------------
   POPUP INFORMATIONS
   Fond vert pâle.
   ------------------------------------------------------ */

.info-popup {
    top: 8px;
    left: 15px;
    width: min(330px, calc(100% - 30px));
    padding: 0;
    background: white;
    overflow: hidden;
}

.popup-message {
    min-height: 60px;
    padding: 16px 15px 2px 15px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.90);

    text-align: center;
    font-size: 12.5px;
    line-height: 1.35;
    color: #1d3557;
}

.info-actions {
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: flex-start;

    margin-top: 12px;
    padding-top: 0;
    border-top: 0;
}

.info-popup {
    font-size: 14px;
}

.info-popup h2 {
    font-size: 18px;
    margin-bottom: 7px;
}

.info-popup p {
    margin: 6px 0;
    line-height: 1.4;
}


/* ------------------------------------------------------
   POPUP MENU & LÉGENDE
   Fond jaune pâle.
   ------------------------------------------------------ */

.menu-popup {
    top: 15px;
    right: 15px;
    width: min(350px, calc(100% - 30px));
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    background: #fff4c7;
}


/* ------------------------------------------------------
   BOUTON FERMER
   ------------------------------------------------------ */

.close-button {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: transparent;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}


/* ------------------------------------------------------
   BOUTONS FLOTTANTS
   ------------------------------------------------------ */

.floating-button {
    position: absolute;
    z-index: 1001;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 21px;
    cursor: pointer;
}

.info-open-button {
    top: 15px;
    left: 15px;
}

.menu-open-button {
    top: 15px;
    right: 15px;
}


/* ------------------------------------------------------
   TITRES
   Pas de numérotation : les titres correspondent
   directement aux différentes parties du menu.
   ------------------------------------------------------ */

.map-panel h2 {
    margin-top: 0;
    margin-bottom: 7px;
    padding-right: 25px;
    font-size: 18px;
}

.map-panel h3 {
    margin: 0 0 5px 0;
    font-size: 13px;
}


/* ------------------------------------------------------
   SÉPARATEURS DES PARTIES DU MENU
   ------------------------------------------------------ */

.menu-section {
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    padding-top: 7px;
    margin-top: 8px;
}

.menu-section:first-of-type {
    border-top: 0;
    margin-top: 0;
}


/* ------------------------------------------------------
   LÉGENDE
   ------------------------------------------------------ */

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 1px 0;
    font-size: 11px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.35);
}

/* Couleurs de la légende CapiCorsu */

.legend-dot.blue {
    background: #3498db;
}

.legend-dot.red {
    background: #e74c3c;
}

.legend-dot.green {
    background: #2ecc71;
}

.legend-dot.yellow {
    background: #f1c40f;
}

.legend-dot.purple {
    background: #9b59b6;
}

.legend-dot.brown {
    background: #8b5a2b;
}

.legend-dot.pink {
    background: #e8a0c8;
}

.legend-dot.orange {
    background: #e67e22;
}

.legend-dot.white {
    background: #ffffff;
    border: 1px solid #777;
}

.legend-dot.grey {
    background: #95a5a6;
}

.legend-dot.black {
    background-color: #000000;
}

/* ------------------------------------------------------
   LOGO MONUMENT HISTORIQUE
   ------------------------------------------------------ */

.symbol-info {
    display: flex;
    align-items: center;
    gap: 9px;
}

.symbol-info img {
    width: 22px;
    height: auto;
    object-fit: contain;
}


/* ------------------------------------------------------
   RECHERCHE
   ------------------------------------------------------ */

#searchInput {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 8px;
    font-size: 14px;
}

#searchResults {
    margin-top: 8px;
}

.search-result {
    display: block;
    width: 100%;
    margin: 4px 0;
    padding: 6px;
    text-align: left;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}


/* ------------------------------------------------------
   MENU DÉROULANT DU FOND DE CARTE
   ------------------------------------------------------ */

#basemapSelect {
    width: 100%;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 8px;
    background: white;
    font-size: 14px;
}


/* ------------------------------------------------------
   CASES DE SÉLECTION
   ------------------------------------------------------ */

.menu-section label {
    display: block;
    margin: 4px 0;
    cursor: pointer;
    font-size: 14px;
}


/* ------------------------------------------------------
   ACTIONS DU POPUP INFORMATIONS
   À propos et ambiance sonore ont le même style.
   ------------------------------------------------------ */

.info-actions {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 14px;
    padding-top: 12px;
}

.info-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 72px;
    font-size: 13px;
}

.round-action {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1.5px solid #1683ff;
    border-radius: 50%;
    background: #dceeff;
    color: #1d4f7a;
    text-decoration: none;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.speaker-button {
    padding: 0;
}

/* ------------------------------------------------------
   PETITS TRAITS DE COULEUR POUR LES LIMITES
   ------------------------------------------------------ */

.line-swatch {
    display: inline-block;
    width: 30px;
    height: 3px;
    margin: 0 6px 3px 4px;
    vertical-align: middle;
}

.red-line {
    background: red;
}

.green-line {
    background: #00b83d;
}

.blue-line {
    background-color: #4aa3c7;
}

/* ------------------------------------------------------
   CONTRÔLES DU BAS
   ------------------------------------------------------ */

.bottom-controls {
    position: absolute;
    z-index: 1100;
    left: 15px;
    right: auto;
    bottom: 95px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 20px;
    cursor: pointer;
}


/* ------------------------------------------------------
   ÉCHELLE
   ------------------------------------------------------ */

#scaleControl {
    position: absolute;
    z-index: 1001;
    left: 15px;
    bottom: 70px;
}


/* ------------------------------------------------------
   INFOS-BULLES
   Les attributs title des boutons et éléments interactifs
   fournissent une petite aide au passage de la souris.
   ------------------------------------------------------ */

button,
select,
input,
label,
.legend-item,
.symbol-info {
    cursor: pointer;
}



/* ------------------------------------------------------
   LOGO MONUMENT HISTORIQUE DANS LES POPUPS
   ------------------------------------------------------ */

.popup-monument {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.popup-monument img {
    width: 32px;
    height: auto;
    filter: saturate(1.4) contrast(1.15);
}



/* ------------------------------------------------------
   PANNEAU DES RESSOURCES
   Situé en bas à droite, au-dessus du bandeau Leaflet.
   ------------------------------------------------------ */

.resource-panel {
    position: absolute;
    z-index: 1100;
    right: 15px;
    bottom: 70px;
    width: min(620px, calc(100% - 30px));
    height: min(430px, calc(100vh - 100px));
    display: none;
    background: rgb(182, 207, 211);
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

.resource-tabs {
    position: absolute;
    top: 0;
    left: 0;
    right: 48px;
    height: 42px;
    display: flex;
    align-items: stretch;
    background: #f2f2f2;
    border-bottom: 1px solid #807e7e;
    z-index: 2;
}

.resource-tab {
    border: 0;
    padding: 0 10px;
    background: #f2f2f2;
    border-right: 1px solid #ccc;
    cursor: pointer;
    font-size: 12px;
}

.resource-tab.active {
    background: white;
    font-weight: bold;
}

.resource-close {
    position: absolute;
    z-index: 3;
    top: 5px;
    right: 7px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: white;
    font-size: 22px;
    cursor: pointer;
}

#resourceFrame {
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    height: calc(100% - 42px);
    border: 0;
    background: white;
}



/* ------------------------------------------------------
   SMARTPHONE
   ------------------------------------------------------ */

@media (max-width: 600px) {

    .map-panel {
        padding: 12px;
    }

    .info-popup,
    .menu-popup {
        top: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }
}

/* ------------------------------------------------------
   IMAGE DU POPUP
   L'image conserve ses proportions d'origine.
   ------------------------------------------------------ */

.popup-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.popup-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ======================================================
   FOND DE CARTE SOMBRE
   ====================================================== */

.fond-sombre {
    filter: brightness(0.70) contrast(1.10) saturate(0.8);
}

/* ======================================================
   POPUP DES SITES
   Photo pleine largeur + informations blanches
   ====================================================== */


/* ------------------------------------------------------
   Suppression des marges internes du popup Leaflet
   ------------------------------------------------------ */

.popup-grotta .leaflet-popup-content {
    margin: 0;
    width: auto !important;
}

.popup-grotta .leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
}


/* ------------------------------------------------------
   CONTENEUR DU SITE
   ------------------------------------------------------ */

.popup-site {
    width: min(650px, 78vw);
    font-family: Arial, Helvetica, sans-serif;
}


/* ------------------------------------------------------
   PHOTO
   La photo occupe toute la largeur du popup.
   ------------------------------------------------------ */

.popup-site-image {
    display: block;
    width: 100%;
    height: min(32vh, 300px);
    object-fit: cover;
}


/* ------------------------------------------------------
   ZONE BLANCHE DES INFORMATIONS
   ------------------------------------------------------ */

.popup-site-info {
    background: white;
    padding: 12px 16px 10px 16px;
}


/* ------------------------------------------------------
   NOM DU SITE
   ------------------------------------------------------ */

.popup-site-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}

.popup-site-title strong {
    font-size: 21px;
    color: #1d3557;
}


/* ------------------------------------------------------
   MONUMENT HISTORIQUE
   ------------------------------------------------------ */

.popup-site-monument {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.popup-site-monument img {
    width: 28px;
    height: auto;
}


/* ------------------------------------------------------
   COMMUNE
   ------------------------------------------------------ */

.popup-site-commune {
    font-size: 14px;
    margin-bottom: 5px;
}


/* ------------------------------------------------------
   COORDONNÉES
   ------------------------------------------------------ */

.popup-site-coordinates {
    font-size: 13px;
    margin-bottom: 8px;
}


/* ------------------------------------------------------
   SÉPARATEUR
   ------------------------------------------------------ */

.popup-site-info hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 8px 0 10px 0;
}


/* ------------------------------------------------------
   TEXTE AVEC ASCENSEUR
   ------------------------------------------------------ */

.popup-site-text {
    max-height: 130px;
    overflow-y: auto;
    padding-right: 8px;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.popup-site-text p {
    margin-top: 0;
    margin-bottom: 12px;
}


/* ------------------------------------------------------
   SMARTPHONE
   ------------------------------------------------------ */

@media (max-width: 600px) {

    .popup-site {
        width: 78vw;
    }

    .popup-site-image {
        height: 30vh;
        max-height: 260px;
    }

    .popup-site-info {
        padding: 10px 12px 8px 12px;
    }

    .popup-site-title strong {
        font-size: 20px;
    }

    .popup-site-text {
        max-height: 120px;
        font-size: 12.5px;
        
    }
}

/* ======================================================
   PICTOGRAMMES DES RESSOURCES DES SITES
   ====================================================== */

.popup-resources {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 9px 0;
    min-height: 28px;
}


/* ------------------------------------------------------
   Icône commune
   ------------------------------------------------------ */

.ressource-icone {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 22px;

    text-decoration: none;
}


/* ------------------------------------------------------
   Dessins SVG
   ------------------------------------------------------ */

.ressource-icone svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ------------------------------------------------------
   Ressource disponible
   ------------------------------------------------------ */

.ressource-active {
    color: #092b5b;
    cursor: pointer;
}


/* ------------------------------------------------------
   Ressource absente
   ------------------------------------------------------ */

.ressource-inactive {
    color: #c9c9c9;
    opacity: 0.75;
    cursor: default;
}


/* ------------------------------------------------------
   Logo Monument historique
   ------------------------------------------------------ */

.monument-icone img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.monument-icone.ressource-inactive img {
    filter: grayscale(1);
    opacity: 0.55;
}


/* ------------------------------------------------------
   Smartphone
   ------------------------------------------------------ */

@media (max-width: 600px) {

    .popup-resources {
        gap: 7px;
    }

    .ressource-icone {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    .ressource-icone svg {
        width: 20px;
        height: 20px;
    }

    .monument-icone img {
        width: 21px;
        height: 21px;
    }
}
/* ------------------------------------------------------
   Onglets des ressources
   ------------------------------------------------------ */

.resource-tab.active {
    background-color: #e8f2f8;
    color: #1d4071;
    font-weight: bold;
}

.version {
    font-size: 11px;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    opacity: 0.7;
}

.parc-marin-label {
    font-size: 12px;
    line-height: 1.2;
}

/* Ressources sur deux lignes */
.resource-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.resource-row label {
    white-space: nowrap;
}

/* ======================================================
   PRIORITÉ DES BOUTONS DE COMMANDE
   Les boutons restent accessibles au-dessus des panneaux.
   ====================================================== */

.floating-button {
    z-index: 1100;
}

.bottom-controls {
    z-index: 1100;
}

.info-popup,
.menu-popup {
    z-index: 1050;
}

.floating-button,
.bottom-controls {
    z-index: 1100;
}

/* ======================================================
   RESSOURCES — SMARTPHONE
   Panneau indépendant du menu jaune
   ====================================================== */

@media (max-width: 600px) {

    #resourcePanel {
        position: fixed !important;
        left: 10px !important;
        right: auto !important;
        width: calc(100vw - 20px) !important;
        max-width: none !important;
        bottom: 75px !important;
        box-sizing: border-box !important;
    }

    #resourceTabs {
        left: 0 !important;
        right: 42px !important;
        width: auto !important;
    }
}
/* ======================================================
   SMARTPHONE — CONTRÔLES AU-DESSUS DE L'ÉCHELLE
   ====================================================== */

@media (max-width: 600px) {

    .bottom-controls {
        left: 10px;
        right: auto;
        bottom: 95px;
    }

}

.resource-close {
    color: #1d3557;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 8px;
}

/* ======================================================
   CORRECTION SMARTPHONE — FENÊTRE D'INFORMATION
   ====================================================== */

/* ======================================================
   POPUP INFORMATIONS — SMARTPHONE
   Nouvelle image carrée
   ====================================================== */

@media (max-width: 600px) {

    .info-popup {
        width: min(270px, calc(100vw - 30px));
        left: 10px;
        top: 10px;
    }

    .info-popup .popup-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .info-popup .popup-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ======================================================
   MENU — SMARTPHONE
   Largeur réduite et texte harmonisé
   ====================================================== */

/* ======================================================
   MENU — SMARTPHONE
   Taille compacte et homogène
   ====================================================== */

@media (max-width: 600px) {

    .menu-popup {
        width: 235px;
        max-width: calc(100vw - 70px);
        right: 10px;
        font-size: 11px;
    }

    /* Titre principal */
    .menu-popup h2 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    /* Titres des rubriques */
    .menu-popup h3 {
        font-size: 11px;
        margin-bottom: 4px;
    }

    /* Tous les textes des rubriques */
    .menu-popup .menu-section label {
        font-size: 11px;
        margin: 2px 0;
    }

    /* Recherche */
    #searchInput {
        width: 100%;
        box-sizing: border-box;
        padding: 6px;
        font-size: 11px;
        border-radius: 6px;
    }

    /* Fond de carte */
    #basemapSelect {
        width: 100%;
        box-sizing: border-box;
        padding: 6px;
        font-size: 11px;
        border-radius: 6px;
    }

    /* Cases à cocher */
    .menu-popup input[type="checkbox"] {
        width: 13px;
        height: 13px;
        margin-right: 3px;
    }

    /* Ressources */
    .menu-popup .resource-row {
        gap: 4px;
        margin-bottom: 3px;
    }

    .menu-popup .resource-row label {
        font-size: 11px;
    }

    /* Espacement entre les rubriques */
    .menu-popup .menu-section {
        padding-top: 5px;
        margin-top: 6px;
    }
}

/* ======================================================
   MENU — CHAMPS SMARTPHONE
   Recherche et fond de carte
   ====================================================== */

@media (max-width: 600px) {

    #searchInput,
    #basemapSelect {
        width: 210px;
        max-width: 100%;
    }

}
/* ======================================================
   MENU — RÉDUCTION SUPPLÉMENTAIRE SMARTPHONE
   ====================================================== */

@media (max-width: 600px) {

    .menu-popup {
        width: 235px;
        max-width: calc(100vw - 70px);
    }

    #searchInput,
    #basemapSelect {
        width: 210px;
        max-width: 100%;
    }

}

/* ======================================================
   AUTEUR DU POPUP DU SITE
   ====================================================== */

.popup-site-author {
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    color: #666;
}

.ressource-active:hover {
    color: red;
}

/* ======================================================
   FENÊTRE PHOTO
   ====================================================== */

.photo-overlay {
    position: fixed;
    z-index: 2000;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.85);

    padding: 20px;
    box-sizing: border-box;
}

.photo-overlay img {
    display: block;

    max-width: 95vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.photo-overlay-close {
    position: absolute;

    top: 15px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: white;
    color: #1d3557;

    font-size: 30px;
    line-height: 38px;

    cursor: pointer;
}

/* ======================================================
   MENU & LÉGENDE — HARMONISATION DU TEXTE
   ====================================================== */

.menu-popup {
    font-size: 11px;
}

/* Titre principal */
.menu-popup h2 {
    font-size: 15px;
    margin-bottom: 6px;
}

/* Titres des rubriques */
.menu-popup h3 {
    font-size: 11px;
    margin-bottom: 4px;
}

/* Textes et cases à cocher */
.menu-popup .menu-section label {
    font-size: 11px;
    margin: 2px 0;
}

/* Recherche */
.menu-popup #searchInput {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 6px;
    font-size: 11px;
    border-radius: 6px;
}

/* Fond de carte */
.menu-popup #basemapSelect {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 6px;
    font-size: 11px;
    border-radius: 6px;
}

/* Cases à cocher */
.menu-popup input[type="checkbox"] {
    width: 13px;
    height: 13px;
    margin-right: 3px;
}

/* Ressources */
.menu-popup .resource-row {
    gap: 4px;
    margin-bottom: 2px;
}

.menu-popup .resource-row label {
    font-size: 11px;
}

/* Espacement entre les rubriques */
.menu-popup .menu-section {
    padding-top: 5px;
    margin-top: 5px;
}

/* ======================================================
   CHAMPS DU MENU — FORMAT COMPACT
   ====================================================== */

.menu-popup #searchInput,
.menu-popup #basemapSelect {
    width: 190px;
    height: 26px;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Évite tout débordement horizontal du menu */

.menu-popup {
    overflow-x: hidden;
}
.menu-popup .resource-row {
    flex-wrap: wrap;
    gap: 3px;
}

/* ======================================================
   MENU — LARGEUR COMPACTE
   ====================================================== */

.menu-popup {
    width: 220px;
}

/* ======================================================
   ONGLETS DES RESSOURCES — SMARTPHONE
   ====================================================== */

@media (max-width: 600px) {

    .resource-tab {
        padding: 0 7px;
        font-size: 11px;
        white-space: nowrap;
    }

}

/* ======================================================
   POPUP INFORMATIONS — SMARTPHONE
   Image pleine largeur et sans recadrage
   ====================================================== */

@media (max-width: 600px) {

    .info-popup {
        width: min(270px, calc(100vw - 30px));
        left: 10px;
        top: 10px;
        padding: 0 !important;
        overflow: hidden;
    }

    .info-popup .popup-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .info-popup .popup-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
}

/* ======================================================
   SÉLECTION DES LIEUX — 2 PAR LIGNE
   ====================================================== */

.lieux-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 4px;
}

.lieux-grid label {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
/* ==================================================
   LOGO DU PROJET — POPUP INFORMATIONS
   ================================================== */

.project-credit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.project-text {
    flex: 1;
    text-align: center;
    line-height: 1.3;
    font-size: 14px;
}

.project-logo {
    width: 105px;
    height: 105px;
    object-fit: contain;
    flex-shrink: 0;
    flex-shrink: 0;
    margin-right: 8px;
}

/* ==================================================
   PROJET — SMARTPHONE
   ================================================== */

@media (max-width: 600px) {

    .project-text {
        font-size: 12px;
        line-height: 1.3;
        white-space: nowrap;
    }

    .project-logo {
        width: 82px;
        height: 82px;
        margin-right: 8px;
    }

}