/* ===============================
 *  BADGE BULLE (dans boutons)
=============================== */
.btn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    padding: 0;
    margin-left: .4em;
    font-size: .75em;
    font-weight: var(--fw-bold);
    line-height: 1;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .25);
    color: inherit;
}

/* ===============================
 *  CITATION (blockquote)
 *  Barre verticale rouge sur toutes les citations, comme l'ancien site (stuffs.css).
 *  La classe .blockquote-barre reste valable : c'est le rendu par défaut.
=============================== */

blockquote,
blockquote.blockquote-barre {
    border-left: 5px solid var(--primary-main);
    padding-left: 1rem;
    margin: 2vmax 0;
    max-width: 640px;
}

blockquote p {
    line-height: 1.7;
    text-wrap: pretty;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Barre blanche sur les bandeaux colorés */
blockquote.color-white,
:is(.bg-primary-main, .bg-secondary-main) blockquote {
    border-left-color: #FFF;
}

/* ===============================
 *  LISTE NUMÉROTÉE
 *  Numéros rouges dans des carrés blancs, pour fond coloré foncé
 *  (reprise de l'ancien site, page estimation).
=============================== */
.liste-numerotee ol {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0;
    counter-reset: item;
    list-style: none;
}

.liste-numerotee ol > li {
    padding: .5rem 0;
    line-height: 1.5;
}

.liste-numerotee ol > li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #FFF;
    border-radius: var(--radius-xs);
    color: var(--primary-main);
    font-size: .813rem;
    font-weight: var(--fw-bold);
    line-height: 1.5rem;
    text-align: center;
}

/* ===============================
 *  SERVICE CARDS
=============================== */

@media (min-width: 992px) {
    .service-cards {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto 1fr;
        gap: 1.5rem;
    }

    /* Variante 2 colonnes, pour 4 cartes (estimation) */
    .service-cards.service-cards-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards > div {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
        width: auto;
    }

    .service-cards .service-card {
        grid-template-rows: subgrid;
        grid-row: span 2;
    }
}

.service-cards .service-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
}

.service-cards .service-card-header {
    padding: 1.5rem;
    text-align: center;
    color: #FFF;
}

.service-cards .service-card-header h3 {
    color: #FFF;
    margin-bottom: 0;
    text-transform: uppercase;
}

.service-cards .service-icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto .5rem;
}

.service-cards .service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.service-cards .service-card-body ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-cards .service-card-body ul li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--neutral-light);
}

.service-cards .service-card-body ul li:last-child {
    border-bottom: 0;
}

/* ===============================
 *  CHIFFRES CLÉS
=============================== */

.chiffres-cles .chiffre-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
    padding: 1.25rem 1rem;
    background: var(--primary-2x-light);
    border-radius: var(--radius-sm);
}

.chiffres-cles .chiffre-valeur {
    display: block;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    font-weight: var(--fw-bolder);
    color: var(--primary-dark);
    line-height: 1.2;
}

.chiffres-cles .chiffre-label {
    display: block;
    font-size: .813rem;
    margin-top: .25rem;
}

/* ===============================
 *  CERTIFICATIONS
=============================== */

.certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.certification-badge {
    background: var(--primary-x-light);
    padding: .5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: .9rem;
    font-weight: var(--fw-bold);
    color: var(--primary-x-dark);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* ===============================
 *  FAQ
=============================== */

.faq-section .accordion-item {
    border: 0;
    border-radius: var(--radius-sm) !important;
    margin-bottom: .75rem;
    overflow: hidden;
    box-shadow: none;
    color: var(--neutral-black);
    background: var(--secondary-2x-light);
}

.faq-section .accordion-button {
    font-weight: var(--fw-bold);
    color: var(--secondary-main);
    background: var(--secondary-x-light);
    padding: 1.25rem;
    box-shadow: none;
}

.faq-section .accordion-button::after {
    content: "";
    background-image: none;
    -webkit-mask-image: url("../img/ic_plus.svg");
    mask-image: url("../img/ic_plus.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--secondary-main);
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition-medium);
}

.faq-section .accordion-button:not(.collapsed) {
    color: #FFF;
    background: var(--secondary-main);
}

.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
    background-color: #FFF;
}

.faq-section .accordion-body {
    padding: 1.25rem;
    line-height: 1.7;
}

/* ===============================
 *  HERO HOME
 *  Visuel de l'ancien site (phare de Capbreton) en décor à gauche de l'entête, dès la tablette.
 *  Comme sur l'ancien site, c'est le fond du body (classe page-accueil) : le visuel démarre en haut
 *  de la page, sous le header, et remplace les triangles gris du body (le body de l'accueil n'avait que lui).
=============================== */

/* Pas de gouttière du container-fluid : celle du container suffit (12 px en mobile, comme l'ancien site) */
.hero-home {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (min-width: 768px) {
    /* html blanc comme sur l'ancien site : le fond du body reste dans la boîte du body
       (décalé de 16 px en tablette par la marge du logo mobile) au lieu de se caler sur la page */
    html:has(body.page-accueil) {
        background: var(--bg-body);
    }

    body.page-accueil {
        background: url("/assets/img/header-accueil.webp") no-repeat -5vmax top var(--bg-body);
        background-size: 35vmin;
    }
}

@media screen and (min-width: 992px) {
    body.page-accueil {
        background-position: -10vmax top;
        background-size: 35vmax;
    }
}

@media screen and (min-width: 1600px) {
    body.page-accueil {
        background-position: -5vmax top;
    }
}

/* ===============================
 *  ENTETE
=============================== */

/* Sections de l'accueil : 10vmax de marge basse à toutes les largeurs (accueil.css de l'ancien site) */
section.row.section-accueil {
    margin-bottom: 10vmax;
}

/* Mobile : picto à gauche du libellé (ligne), la colonne ne vient qu'à partir de 768 px */
.entete a.btn {
    display: flex;
    color: #FFF;
    border-radius: var(--radius-sm);
    align-items: center;
    padding: 1rem;
    font-weight: var(--fw-bold);
    font-size: 1.313rem;
    box-shadow: var(--shadow-lg);
}

.entete a.btn strong {
    width: 100%;
}

.entete a.btn img {
    margin-right: 10px;
    width: 40px;
}

@media screen and (min-width: 768px) {
    .entete a.btn {
        justify-content: center;
        flex-direction: column;
        padding-bottom: 4vmax;
        padding-top: 4vmax;
        text-align: center;
        line-height: 1.2;
    }

    .entete a.btn img {
        margin-bottom: 2vmax;
        margin-right: 0;
        width: 60px;
    }
}

@media screen and (min-width: 1200px) {
    .entete a.btn:hover {
        transform: scale(1.02);
        transition: all var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

    .entete a.btn:hover {
        background: var(--primary-dark) !important;
        color: #FFF !important;
    }
}

/* ===============================
 *  BANDEAUX DE L'ACCUEIL
=============================== */

.img-engagements {
    margin-bottom: 2vmax;
}

.img-schema-reseau-era {
    background: url("/assets/img/schema-reseau-era.webp") no-repeat right bottom;
    background-size: 80%;
    padding-bottom: 20vmax !important;
    background-blend-mode: multiply;
}

@media screen and (min-width: 768px) {
    .container-fluid:has(.img-engagements) {
        position: relative;
        overflow: hidden;
    }

    .img-engagements {
        position: absolute;
        width: auto;
        height: 60%;
        top: 20%;
        right: -10vmax;
        margin-bottom: 0;
        max-width: 50%;
    }

    .img-schema-reseau-era {
        background-size: 50%;
        background-position-y: center;
        padding-bottom: 3rem !important;
    }
}

@media screen and (min-width: 992px) {
    .img-engagements {
        height: 80%;
        top: 10%;
        right: -15vmax;
    }
}

@media screen and (min-width: 1400px) {
    .img-engagements {
        height: 120%;
        top: -10%;
    }
}

/* ===============================
 *  PAGES CMS : VISUELS
 *  Visuel posé dans le Markdown de page_lang ({.page-visuel ...}), mêmes classes que
 *  toutimmolandes2 : pleine largeur en mobile, à droite du texte en desktop comme les
 *  colonnes image des anciennes vues ERA
=============================== */

.page-visuel {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-sm);
}

/* Le Markdown enveloppe l'image dans un paragraphe : sa marge est neutralisée */
.page-content p:has(> .page-visuel) {
    margin-bottom: 0;
}

/* Un intertitre repart sous le visuel, jamais décalé à sa gauche */
.page-content h2,
.page-content h3 {
    clear: right;
}

/* Intertitres des pages CMS à la taille des anciennes vues ERA : h2 en h3, h3 en h5 */
.page-content h2 {
    font-size: clamp(24px, 2.5vw, 36px);
    margin-top: 1.5rem;
}

.page-content h3 {
    font-size: clamp(16px, 2vw, 24px);
}

/* Listes à filets : voir .liste-texte (utilities.css) */

/* Les liens des puces sont soulignés comme ceux des paragraphes (base.css : p a) */
.page-content li a:not(.btn) {
    text-decoration: underline;
}

.page-content::after {
    content: "";
    display: block;
    clear: both;
}

@media screen and (min-width: 992px) {
    .page-visuel-habillage-droite {
        float: right;
        width: 32%;
        margin-left: var(--space-4);
        margin-top: .5rem;
    }
}

/* ===============================
 *  AVIS OPINIONSYSTEM
=============================== */

.avisContainer {
    display: inline-block;
    background: #FFF;
    padding: 3px 5px;
    border-radius: 5px;
    margin-bottom: 2vmax;
}

iframe.avis {
    display: flex;
    height: 22px;
    width: 185px;
    border: 0;
}

/* ===============================
 *  MICRO LISTING ANNONCES
=============================== */

.microListingAnnonces .one {
    color: #000;
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid var(--neutral-light);
}

/* La première annonce garde son padding haut de 20 px : sur l'ancien site, le h2 étant le premier enfant,
   sa règle :first-child ne s'appliquait pas */
.microListingAnnonces .one:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}

.microListingAnnonces .one .photo {
    display: flex;
    overflow: hidden;
    padding-left: 0;
    max-height: 100px;
}

.microListingAnnonces .one .photo img {
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.microListingAnnonces .one .content p {
    margin-bottom: 0;
}

.microListingAnnonces .one .content p span {
    margin-right: 8px;
    font-size: .813rem;
}

.microListingAnnonces .one .content p span.type {
    text-transform: capitalize;
}

/* ===============================
 *  LISTING ANNONCES
=============================== */

.listingAnnonces {
    justify-content: center;
}

@media screen and (min-width: 992px) {
    .listingAnnonces .one .carousel {
        min-height: 26vmin;
    }
}

/* ===============================
 *  ACCORDÉON + TAB (mobile = accordéons, desktop = tabs verticaux)
=============================== */

section .tab-content > .tab-pane {
    display: block;
    opacity: 1;
}

.tab-content .accordion-item {
    border-radius: 0;
    border: 0;
}

.tab-content .accordion-header .accordion-button {
    display: inline-block;
    border-radius: var(--radius-sm) !important;
    border: 0;
    box-shadow: none;
    padding: 1.5rem .75rem;
    color: var(--secondary-main);
    background-color: var(--secondary-x-light);
    font-weight: var(--fw-bold);
    margin-top: 2vmax;
    text-transform: uppercase;
}

.tab-content .tab-pane:first-child .accordion-header .accordion-button {
    margin-top: 0;
}

.tab-content .accordion-header .accordion-button[aria-expanded="true"] {
    background-color: var(--secondary-main);
    color: #FFF;
}

.tab-content .accordion-header .accordion-button:after {
    content: "";
    right: 10px;
    position: absolute;
    background-image: url("../img/ic_angle-down.svg");
}

.tab-content .accordion-body {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (min-width: 992px) {
    .tab-content .accordion-header {
        display: none;
    }

    .tab-content .accordion-body {
        padding: 0;
    }

    section .tab-content > .tab-pane:not(.show) {
        display: none;
        opacity: 0;
    }

    .tab-content .accordion-collapse.collapse:not(.show) {
        display: block;
    }

    section .nav-pills {
        margin-right: 5% !important;
    }

    section .nav-pills.sticky-lg-top {
        top: 180px;
    }

    section .nav-pills button {
        background-color: var(--secondary-x-light) !important;
        border-radius: var(--radius-sm);
        color: var(--secondary-main);
        text-transform: uppercase;
        text-align: left;
        line-height: 1.2;
        font-weight: var(--fw-bold);
        margin-bottom: 1vmin;
    }

    section .nav-pills button:first-child,
    section .nav-pills button.active + button {
        border-top: 0;
    }

    section .nav-pills button.active {
        background-color: var(--secondary-main) !important;
        color: #FFF !important;
    }

    section .nav-pills button.nav-link:hover:not(.active),
    section .nav-pills button.nav-link:focus:not(.active) {
        color: var(--secondary-light) !important;
    }

    section .nav-pills button {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    section .nav-pills button img {
        float: right;
        width: 16px;
        filter: var(--fill-svg-secondary-main);
    }

    section .nav-pills button.active img {
        filter: var(--fill-svg-white);
    }
}

/* ===============================
 *  CHECKMARKS
=============================== */

.checkmarks .checkmark-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
    padding: 1.25rem 1rem;
    background: var(--primary-2x-light);
    border-radius: var(--radius-sm);
}

.checkmarks .checkmark-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

/* ===============================
 *  CTA
=============================== */

.cta-final-section .cta-block {
    padding: 1.5rem;
    background: var(--neutral-x-light);
    border-radius: var(--radius-sm);
}

.cta-final-section .cta-block p {
    font-size: 1.1rem;
}

/* ===============================
 *  LISTING CARD (composant partagé ville / agence)
=============================== */
.listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-body);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: inherit;
}

.listing-card__photo {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--neutral-light);
}

.listing-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.listing-card:hover .listing-card__photo img {
    transform: scale(1.05);
}

.listing-card__no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-dark);
}

.listing-card__body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.listing-card__name {
    font-size: clamp(16px, 1.2vw, 20px);
    margin-bottom: .25rem;
    color: var(--primary-x-dark);
    text-transform: none;
}

.listing-card__location {
    font-size: .813rem;
    color: var(--neutral-dark);
    margin-bottom: .75rem;
}

.listing-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ============================================
   PAGINATION (override Bootstrap aux couleurs du site)
   ============================================ */
.pagination {
    --bs-pagination-color: var(--primary-main);
    --bs-pagination-bg: transparent;
    --bs-pagination-border-color: var(--primary-x-light);
    --bs-pagination-border-radius: var(--radius-sm);

    --bs-pagination-hover-color: var(--primary-x-dark);
    --bs-pagination-hover-bg: var(--primary-2x-light);
    --bs-pagination-hover-border-color: var(--primary-x-light);

    --bs-pagination-focus-color: var(--primary-x-dark);
    --bs-pagination-focus-bg: var(--primary-2x-light);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem var(--focus-light);

    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--primary-main);
    --bs-pagination-active-border-color: var(--primary-main);

    --bs-pagination-disabled-color: var(--neutral-dark);
    --bs-pagination-disabled-bg: transparent;
    --bs-pagination-disabled-border-color: var(--neutral-light);

    gap: .35rem;
    flex-wrap: wrap;
}

.pagination .page-link {
    min-width: 2.5rem;
    padding: .5rem .85rem;
    font-weight: var(--fw-bold);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
}

/* Bootstrap force des radius nuls sur les items du milieu : on les retablit */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: var(--radius-sm);
}

.pagination .page-item.active .page-link {
    box-shadow: var(--shadow-sm);
}

.pagination .page-link:hover {
    transform: translateY(-1px);
}

.pagination .page-item.disabled .page-link {
    opacity: .6;
}

/* Precedent / Suivant : un peu plus larges */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ===============================
 *  LISTING OUTRO
 *  Bloc de contenu (texte SEO) sous le listing d'annonces.
=============================== */
#listing-outro h2,
#listing-outro blockquote {
    margin-top: 1.5rem;
}

/* FAQ : accordéon natif construit en JS depuis le HTML plat (custom.js).
   <details>/<summary> → ouverture exclusive (une seule question à la fois). */
#listing-outro .faq-accordion {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

#listing-outro .faq-item {
    border-radius: var(--radius-sm);
    background: var(--primary-main);
    overflow: hidden;
}

#listing-outro .faq-question {
    list-style: none; /* retire le marqueur ▸ par défaut */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 1rem 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--focus-main);
    transition: background-color var(--transition-base);
}

#listing-outro .faq-question::-webkit-details-marker {
    display: none; /* Safari : masque le triangle natif */
}

/* Chevron en pur CSS (currentColor = primary-dark, contraste UI OK) */
#listing-outro .faq-question::after {
    content: "";
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg); /* pointe vers le bas */
    transition: transform var(--transition-base);
}

#listing-outro .faq-item[open] .faq-question::after {
    transform: rotate(-135deg); /* pointe vers le haut */
}



#listing-outro .faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: #FFF;
}

#listing-outro .faq-answer > :first-child {
    margin-top: 0;
}

/* Apparition douce de la réponse.
   <details> n'anime rien par défaut : on anime la hauteur du contenu
   (::details-content + interpolate-size) et on ajoute un léger fondu.
   Navigateurs sans support → ouverture instantanée (repli propre). */
#listing-outro .faq-accordion {
    interpolate-size: allow-keywords;
}

#listing-outro .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        block-size var(--transition-medium),
        content-visibility var(--transition-medium) allow-discrete,
        opacity var(--transition-medium);
}

#listing-outro .faq-item[open]::details-content {
    block-size: auto;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    #listing-outro .faq-item::details-content {
        transition: none;
    }
}

/* ============================================
   Reveal on scroll
   Une seule classe : .reveal-<effet> (up, down, left, right, zoom, fade).
   JS ajoute .is-visible quand l'élément entre dans le viewport.

   Stagger (effet en cascade) :
       <div class="reveal-up" data-reveal-delay="0">Carte 1</div>
       <div class="reveal-up" data-reveal-delay="120">Carte 2</div>
       <div class="reveal-up" data-reveal-delay="240">Carte 3</div>

   Amplitude (--reveal-distance) :
       - Modifier la valeur ci-dessous pour changer l'amplitude globale
         des effets up / down / left / right.
       - Surcharge locale possible sur un élément précis :
           <section class="reveal-up" style="--reveal-distance: 80px;">Plus marqué</section>
           <section class="reveal-up" style="--reveal-distance: 20px;">Plus discret</section>
   ============================================ */
[class^="reveal-"],
[class*=" reveal-"] {
    --reveal-distance: 80px;
    opacity: 0;
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-up    { transform: translate3d(0, var(--reveal-distance), 0); }
.reveal-down  { transform: translate3d(0, calc(-1 * var(--reveal-distance)), 0); }
.reveal-left  { transform: translate3d(calc(-1 * var(--reveal-distance)), 0, 0); }
.reveal-right { transform: translate3d(var(--reveal-distance), 0, 0); }
.reveal-zoom  { transform: scale(0.92); }
.reveal-fade  { /* fondu pur, pas de transform */ }

[class^="reveal-"].is-visible,
[class*=" reveal-"].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [class^="reveal-"],
    [class*=" reveal-"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===============================
 *  BOUTON COPIER (tel / email - modal négociateur)
 *  Visibilité (desktop only) gérée par les utilitaires Bootstrap
 *  d-none / d-lg-inline-flex, donc on ne fixe pas `display` ici.
=============================== */
.btn-copy {
    align-items: center;
    justify-content: center;
    padding: .4rem;
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-xs);
    background-color: #fff;
    cursor: pointer;
    transition: border-color var(--transition-base), background-color var(--transition-base);
}

.btn-copy:hover,
.btn-copy:focus-visible {
    border-color: var(--focus-main);
    background-color: var(--focus-x-light);
    outline: none;
}

/* Bulle de confirmation "Copié !" affichée au clic (data-copied) */
.btn-copy.is-copied::after {
    content: attr(data-copied);
    position: absolute;
    bottom: calc(100% + .4rem);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: var(--neutral-dark);
    color: #fff;
    font-size: .7rem;
    line-height: 1;
    padding: .25rem .45rem;
    border-radius: var(--radius-xs);
    pointer-events: none;
}

/* ===============================
 *  GALERIE PHOTOS - INFOS NÉGOCIATEUR
 *  Reprise du bloc de la modal négociateur (#saleModal) en pied de
 *  galerie, sans le débordement vers le haut propre à cette modal.
=============================== */
.lightbox-nego {
    width: 100%;
    max-width: 420px;
    margin: 1.5rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--neutral-md);
}

.lightbox-nego .photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--neutral-md);
    width: 40%;
    max-width: 320px;
    margin: 0 auto 1.5rem;
}
