/* --- VARIABLES ET RESET --- */
:root {
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --success: #059669;
    --warning: #f59e0b;
    --danger: #dc2626;
    --info: #0891b2;
    --dark: #0f172a;
    --slate: #475569;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --nav-height: 70px;
    --orange: #f59e0b;
    --orange-light: #fffbeb;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--slate);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
body.no-scroll {
                overflow: hidden;
            }
/* Permet le scroll vertical sur les carousels Fancybox */
.carousel, .f-carousel {
    touch-action: pan-y !important;
}
.carousel .carousel__viewport,
.carousel .carousel__slide {
    cursor: default !important;
    pointer-events: none !important;
}
.carousel .carousel__slide img,
.carousel .carousel__slide [data-fancybox] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    [data-fancybox] {
        position: relative;
        display: block;
    }

    [data-fancybox]::after {
        content: '\f065';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        width: 28px;
        height: 28px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        pointer-events: none;
    }
}

.hide {
    display: none !important;
}
.tCenter{
    text-align: center;
}
.video{
    margin-top: 30px;
    margin-bottom: 30px;
}
.site-logo{
    width: 180px;
    height: 45px;
    max-width: none;
}

/* --- NAVBAR PRINCIPALE --- */
.navbar {
    position: relative;
    width: 100%;
    background: var(--white);
    color: var(--dark);
    z-index: 1100;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0px !important;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
#logo{
    line-height: normal;
}
.menu-items {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items li {
    margin-left: 25px;
}

.menu-items a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.menu-icon {
    display: none;
}

#checkboxmenu { display: none; }

.hamburger-lines {
    display: none;
    height: 20px;
    width: 28px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1200;
    position: relative;
}

.line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: var(--dark);
    transition: transform 0.3s ease-in-out, opacity 0.2s;
}

/* Loupe mobile - cachée en desktop */
.mobile-search { display: none; }

@media (max-width: 768px) {
    .navbar-container {
        justify-content: space-between;
    }
    .hamburger-lines {
        display: flex;
        order: 1;
    }
    #logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .mobile-search,
    .mobile-search:hover {
        display: flex;
        order: 3;
        font-size: 1.3rem;
        color: var(--dark);
        padding: 8px;
        text-decoration: none;
    }
    .menu-items {
        position: fixed;
        top: 60px;
        left: 0;
        width: 300px;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 15px 15px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1150;
        box-shadow: 4px 0 15px rgba(0,0,0,0.1);
        border-right: 1px solid #e2e8f0;
        box-sizing: border-box;
    }
    .menu-items li {
        margin: 0;
        text-align: left;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }
    .menu-items li:last-child { border-bottom: none; }
    .menu-items li a {
        font-size: 1rem;
        color: var(--dark);
        display: block;
        padding: 15px 10px;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }
    .menu-icon {
        display: inline-block;
        width: 20px;
        text-align: center;
        margin-right: 6px;
        font-size: 0.95rem;
    }
    .menu-items li a:hover {
        background: #f8fafc;
        color: var(--primary);
    }
    #checkboxmenu:checked ~ .hamburger-lines .line1 { transform: translateY(8.5px) rotate(45deg); }
    #checkboxmenu:checked ~ .hamburger-lines .line2 { opacity: 0; }
    #checkboxmenu:checked ~ .hamburger-lines .line3 { transform: translateY(-8.5px) rotate(-45deg); }
    #checkboxmenu:checked ~ .menu-items { transform: translateX(0); }
    body:has(#checkboxmenu:checked) { overflow: hidden; }
    .menu-overlay {
        position: fixed;
        top: 60px;
        left: 300px;
        width: calc(100vw - 300px);
        height: calc(100vh - 60px);
        background: rgba(0,0,0,0.3);
        z-index: 1100;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        transition-delay: 0s;
        cursor: pointer;
    }
    #checkboxmenu:checked ~ .menu-overlay {
        opacity: 1;
        pointer-events: auto;
        transition-delay: 0.4s;
    }
}

    /* --- FIL D'ARIANE (BREADCRUMB) RESPONSIVE --- */
#filInfo {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 5px;
}
#filInfo a {
    text-decoration: none;
    color: var(--slate);
    transition: color 0.2s;
}
#filInfo a:hover { color: var(--primary); }
#filInfo div { display: flex; align-items: center; }

#filInfo div:last-child {
    font-weight: bold; 
    color: var(--dark);
} 


/* Flèche de retour mobile (cachée par défaut) */
.mobile-back-icon { display: none; }

@media (max-width: 768px) {
    /* On cache les niveaux 1 et 2 ainsi que les séparateurs ">" sur mobile */
    #filInfo div,#filInfo .sep-desktop{ 
        display: none; 
    }
    #filInfo div.filInfoMobile{ 
        display: inline-block; 
    }
    #filInfo div.filInfoMobile:before{
        font-family: "FontAwesome";
        content: "\f053";
        margin-right: 5px;
    }

    /* On affiche l'icône de retour */
    .mobile-back-icon { 
        display: inline-block; 
        margin-right: 5px; 
        font-weight: bold;
        font-size: 1rem;
    }
    #filInfo {
        margin: 5px auto;
        background: white;
        padding: 10px 20px;
        border-bottom: 1px solid #f1f5f9;
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* --- CAROUSEL HEADER --- */
.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: #000;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.thumb {
    width: 80px;
    height: 50px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 4px;
    object-fit: cover;
    border: 2px solid transparent;
}

.thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

/* --- CONTENU --- */
.main-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    scroll-margin-top: 30px;
    margin-bottom: 50px;
}

.main-title-container {
    text-align: center;
    margin-bottom: 30px;
}

.main-title-container h1 {
    color: var(--dark);
    font-size: 2.5rem;
    margin: 0;
    font-weight: 800;
}

.main-title-container h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 5px 0 0 0;
    font-weight: 600;
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 5px solid var(--slate);
}

.card h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 20px;}
.card h2 { margin-top: 0; font-size: 1.3rem; color: var(--dark); margin-bottom: 20px;}

.card-blue { border-left-color: var(--primary); }
.card-green { border-left-color: var(--success); }
.card-orange { border-left-color: var(--warning); }
.card-red { border-left-color: var(--danger); }
.card-transparent { border-left:none; }



#lacs-et-etangs-a-proximite .card {
    border-left: none;
    padding: 0;
    background: none;
    box-shadow: none;
}

.card-intro {
    border-left: none;
    background: #eaeff4;
    box-shadow: none;
    border: 1px solid #e2e7f0;
}

/* --- POSTES DE PECHE --- */
.poste-item { padding: 15px 0; border-bottom: 1px solid #e2e8f0; }
.poste-item:last-child { border-bottom: none; padding-bottom: 0; }
.poste-item:first-of-type { padding-top: 5px; }
.poste-item-header { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 12px; }
.poste-item-header h3 { font-size: 1rem; margin: 0; color: var(--dark); }
.poste-pecheurs { font-size: 0.8rem; color: #64748b; font-weight: 600; white-space: nowrap; }
.poste-photo-wrap { position: relative; overflow: hidden; border-radius: 8px; }
.poste-photo-wrap img.poste-photo { object-fit: cover; display: block;border-radius: 8px; max-width: 100%; overflow: hidden; }
.poste-photo-count { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; pointer-events: none; z-index: 2; }
.poste-description { font-size: 0.85rem; color: #475569; margin: 12px 0 0; line-height: 1.5; }
.poste-tarifs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 18px; }
.poste-tarif-item { font-size: 0.85rem; color: #374151; }
.poste-tarif-label { font-weight: 600; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.info-label { display: block; font-size: 0.75rem; color: #94a3b8; font-weight: bold; margin-bottom: 5px; }
.info-value { display: block; font-size: 1.1rem; font-weight: 800; color: var(--dark); }

/* --- STYLES DES AVIS (V3 SANS POINTS JAUNES) --- */
.reviews-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 30px;
}
.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}
.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.rating-stars-col .etoileOn { font-size: 1.2rem; }
.rating-stars-col .review-count { font-size: 0.85rem; color: #94a3b8; font-weight: 600; }

.btn-action-avis {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-action-avis:hover { background: var(--primary); transform: translateY(-2px); }
.btn-owner {
    background-color: transparent;
    color: var(--success);
    border: 1px dashed var(--success);
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    box-sizing: border-box;
}
.btn-owner:hover {
    background-color: var(--success);
    color: #ffffff !important;
    transform: translateY(-2px);
}
#participer-btn{
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    box-sizing: border-box;
    background-color: transparent;
    border: 1px solid var(--slate);
    color: var(--slate);
}
#participer-btn:hover {
    background-color: var(--slate);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.reviews-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card-v3 {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease;
    flex-direction: column;
}
/*
.review-card-v3:hover {
    transform: scale(1.01);
    background: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}
*/
.user-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-body-v3 {
    flex-grow: 1;
}

.review-top-v3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.review-user-v3 { font-weight: 800; color: var(--dark); font-size: 1rem; }
.review-date-v3 { font-size: 0.75rem; color: #94a3b8; }
.review-text-v3 { font-style: italic; color: var(--slate); font-size: 0.95rem; margin-bottom: 12px; display: block; }

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.review-tag {
    font-size: 0.65rem;
    background: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.review-rating-v3 {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
}
/* 4. Style pour la RÉPONSE */
.review-reply-v3 {
    margin-left: 45px; /* Aligné sur le début du texte de l'avis (après l'avatar) */
    padding: 15px;
    background: #ffffff;
    border-left: 3px solid #3b82f6; /* Filet bleu pour marquer la réponse */
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
}

.reply-header-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.reply-text-v3 {
    color: #64748b;
    line-height: 1.5;
}
.review-main-content {
    display: flex;
    gap: 15px;
    width: 100%;
}
.etoileOn { color: var(--warning); }
.etoileOff { color: #cbd5e1; }

/* --- COMMODITÉS --- */
.commodites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.commodite-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 15px 10px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f1f5f9;
}

.commodite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.commodite-item img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.commodite-item .titre {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate);
    line-height: 1.2;
}

/* --- ÉTANGS À PROXIMITÉ --- */
.related-section {
    background: var(--white);
    padding: 40px 20px;
    border-top: 1px solid #e2e8f0;
}

.related-container {
    max-width: 1000px;
    margin: 0 auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid #f1f5f9;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image-box {
    position: relative;
    height: 160px;
}

.property-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.property-content {
    padding: 15px;
}

.property-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--dark);
}

.property-title a {
    text-decoration: none;
    color: inherit;
}

.property-city {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-bottom: 10px;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.property-size {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9rem;
}

.property-distance {
    font-size: 0.75rem;
    color: #94a3b8;
}
/* Badge Record Carpe sur l'image */
 .card-record {
    font-size: 0.8rem;
    color: #94a3b8; /* Gris clair */
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-weight: 400;
}

.card-record strong {
    color: #64748b; /* Un peu plus sombre pour le chiffre */
    font-weight: 600;
}
.legal-notice {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 30px;
    line-height: 1.4;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 25px; margin-bottom: 10px; font-size: 0.95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: bold; }

    /* --- STYLE DISCRET DU BLOC ATTENTION --- */
.attention-block {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
}

.attention-block strong {
    color: var(--slate);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 5px;
}

.attention-block i {
    margin-right: 5px;
}

footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 40px 20px;
    text-align: center;
}
/* --- STRUCTURE SPLIT IMAGE / INFOS --- */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding-bottom: 15px;;
}

.hero-left {
    flex: 0 0 700px;
    max-width: 700px;
    position: relative;
}

.btn-favori-fiche {
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    z-index: 10;
}
.btn-favori-fiche i {
    font-size: 1.2rem;
}

.badge-status-fiche {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* RESPONSIVE */

/* CARTE INFOS RAPIDES */
.quick-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.quick-info-header { margin-bottom: 20px;position: relative; }
.quick-info-header h1 { font-size: 28px; margin: 0; color: var(--dark); font-weight: 800; }
.quick-info-header h2 { font-size: 20px; margin: 0; color: var(--slate); font-weight: 800; }

span.badge-status{
    z-index: 2;
}
/* STYLE DES ÉTOILES */
.rating-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0 10px 0;
}
.stars { color: var(--warning); font-size: 0.9rem; }
.rating-value { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.rating-count { color: #94a3b8; font-size: 0.85rem; }
.rating-count:hover { text-decoration: underline; }

.location-label { color: var(--slate); font-weight: 500; font-size: 0.95rem; display: block; }

#ou-trouver .location-label{
    margin-bottom: 15px;
}

.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.stat-box {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #f1f5f9;
}
.stat-label { display: block; font-size: 0.75rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin-bottom: 4px; }
.stat-value { display: block; font-size: 1.2rem; font-weight: 800; color: var(--dark); }

.spacer { flex-grow: 1; }


.cta-avis {
    display: block;
    width: 100%;
    background: #f59e0b;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.cta-avis:hover {
    background: #fb923c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.cta-avis:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

@media (max-width: 1024px) {
    .hero-section { flex-direction: column-reverse; }
    .hero-left { flex: 1; max-width: 100%; }
    .main-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .carousel-slides { height: 250px; }
    .navbar-container { height: 60px; }
}
/* CARTE INFOS RAPIDES (Colonne droite) */
.quick-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
.quick-info-header { margin-bottom: 15px; }
.quick-info-header h1 {font-size: 1.6rem;margin: 0;color: var(--dark);font-weight: 800;margin-right: 60px;line-height: 2rem;}
.quick-info-header span { color: var(--slate); font-weight: 600; font-size: 0.9rem; }

.quick-info-header span.badge-status{
    background: #475569;
    font-size: 12px;
    color: #fff;
    top: 7px;
    right: 0;
    left:auto;
}
.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.stat-box {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}
.stat-label { display: block; font-size: 0.7rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; }
.stat-value { display: block; font-size: 1.1rem; font-weight: 800; color: var(--dark); }

.myButtonTel {
    display: block;
    width: 100%;
    background: #2E7C1F;
    color: white;
    text-align: center;
    padding: 8px 15px 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.myButtonTel:hover {
    background: #3a9b28;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 124, 31, 0.4);
}
.myButtonTel:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(46, 124, 31, 0.3);
}
a.myTel.myButtonTel:before {
    font-family: FontAwesome;
    content: '\f879';
    font-size: 16px;
    margin-right: 10px;
}

#demandeInfos .myButtonTel{
    margin-bottom: 0;
}
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    vertical-align: -5px;
}
.resultTelAff{
    display: inline-block;
    /* Optico désactivé temporairement - cartouche 08 retirée
    background: url(https://cdn-img.etang-de-peche.fr/sva-inline.png);
    width: 270px;
    height: 29px;
    background-size: 296px;
    padding-left: 25px;
    color: #990870;
    background-repeat: no-repeat;
    */
    padding: 8px 16px;
    text-align: center;
    color: #2e7d32;
    font-size: 20px;
    font-weight: bold;
}

div#demandeInfos {
    border-radius: 12px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}
div#demandeInfos p{
    margin: 0 0 12px 0;
    font-size: 0.85rem;
    /*color: var(--primary);*/
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 { 
    font-size: 35px; 
    line-height: 40px; 
    margin-bottom: 15px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero h2 { 
    font-weight: 400; 
    opacity: 0.95; 
    margin-bottom: 40px;
    font-size: 22px;
    line-height: 30px;
}

.intro-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 15px;
}
/* --- SECTION RECHERCHE & CARTE --- */
.search-section {
    /*background: var(--white);*/
    padding: 40px;
    border-radius: 15px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.15);*/
    max-width: 800px;
    /*margin: -50px auto 40px;*/
    margin:auto;
    text-align: center;
    position: relative;
    z-index: 10;
    
}

.map-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.banner-title.mapTooltip,.mapTooltip {
    position : fixed;
    background-color : #fff;
    opacity: 0.70;
    filter:alpha(opacity=70);
    border-radius:10px;
    padding : 10px;
    z-index: 1000;
    max-width: 200px;
    display:none;
    color:#343434;
}
/* SVG France Map Styles */
#france-map {
    width: 100%;
    max-width: 500px;
    height: auto;
}

#france-map path {
    fill: #f1f5f9;
    stroke: #cbd5e1;
    stroke-width: 1.2;
    transition: all 0.25s ease;
    cursor: pointer;
}

#france-map path:hover {
    fill: var(--primary);
    stroke: var(--primary);
    transform: scale(1.02);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.map-tooltip {
    position: fixed;
    padding: 10px 15px;
    background: var(--dark);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    display: none;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobile vs PC Display */
.mobile-only { display: none; }
.pc-only { display: block; }

#selectDep {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    width: 100%;
    max-width: 450px;
    font-size: 1rem;
    margin-top: 0px;
    margin-bottom: 30px;
    background-color: #f8fafc;
    cursor: pointer;
    outline: none;
}

#selectDep:focus { border-color: var(--primary); }
#mapSelect {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* --- TEXTE DESCRIPTIF --- */
.home-description {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    line-height: 1.8;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative;
}
 .section-title {
    font-size: 28px;
    color: var(--dark);
    margin: 20px 0 25px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

/* --- GRID DES ÉTANGS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-1000 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 20px 0 25px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.property-grid-teaser {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .property-grid-teaser {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .property-grid-teaser {
        grid-template-columns: 1fr;
    }
    .property-grid-teaser .property-card:nth-child(3) {
        display: none;
    }
}

.etangs-teaser {
    margin-bottom: 50px;
}

.etangs-teaser h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

.etangs-teaser .property-card {
    display: flex;
    flex-direction: column;
}

.etangs-teaser .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.etangs-teaser .card-record {
    margin-bottom: 15px;
}

/* Bandeau sticky étang similaire */
.bandeau-similaire {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    align-items: center;
    animation: slideUp 0.3s ease;
}

@media (min-width: 769px) {
    .bandeau-similaire {
        display: none !important;
    }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.bandeau-inner {
    display: flex;
    align-items: center;
    flex: 1;
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    gap: 12px;
}

.bandeau-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.bandeau-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.bandeau-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bandeau-nom {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bandeau-record {
    font-size: 0.75rem;
    color: #64748b;
}

.bandeau-cta {
    background: var(--primary, #2563eb);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.bandeau-close {
    position: absolute;
    top: -12px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.bandeau-close:hover {
    background: #f1f5f9;
}

.etangs-teaser .property-card {
    cursor: pointer;
}

.btn-teaser-cta {
    display: block;
    text-align: center;
    margin-top: auto;
    padding: 8px 0;
    background: var(--primary, #2563eb);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-teaser-cta:hover {
    background: var(--primary-dark, #1d4ed8);
    color: #fff;
}

.property-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.property-card:hover { 
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.card-image-wrap {
    position: relative;
    height: 200px;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

/*
.status-prive { background: var(--danger); }
.status-public { background: var(--success); }
*/

.card-content { padding: 20px; }

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card-title a { text-decoration: none; color: var(--dark); transition: color 0.2s; }
.card-title a:hover { color: var(--primary); }

.card-location { 
    font-size: 0.95rem; 
    color: var(--slate); 
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-distance {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.card-area { 
    font-weight: 700; 
    color: var(--primary);
    font-size: 1.1rem;
}

.etoileOn { color: var(--warning); }
.etoileOff { color: #e2e8f0; }

/* --- TEXTE DESCRIPTIF --- */
.home-description {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    margin: 0px 0px 60px 0px;
    line-height: 1.8;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.seo-content {
    max-height: 200px; /* Hauteur visible par défaut */
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    position: relative;
}

/* Dégradé pour indiquer qu'il y a plus à lire */
.seo-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--white));
}

.seo-content.expanded {
    max-height: 2000px; /* Valeur arbitraire haute pour le déploiement */
}

.read-more-btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: var(--primary);
    color: white;
}
.read-more-btn.mobile{
    display: none
}
  
ul#homeListe{
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
    list-style:none;
    padding: 0;
    margin: 0;
}


ul#homeListe li a{
    display: block;
    text-decoration: underline;
    color: #50585c;
    padding: 2px 0;
}

ul#homeListe li a:hover{
    color:#08c;
}
footer a{
    color: #fff;
}

/* --- SECTION DÉPARTEMENTS VOISINS --- */
#departementsVoisins {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

#departementsVoisins .title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#departementsVoisins .title::before {
    content: "";
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.autresDep {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.autresDep li {
    margin: 0;
}

.autresDep li a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.autresDep li a:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.hero {
    /*height: 350px;*/
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), 
                url('https://cdn-img.etang-de-peche.fr/header.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero.hero-accueil {
    height: 350px;
}
/* --- SOMMAIRE --- */
.sommaire {
    max-width: 1200px;
    margin: 30px auto 15px auto;
    padding: 0;
}
.sommaire-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px 35px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sommaire-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark, #1e293b);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #cbd5e1;
}
.sommaire-title i {
    margin-right: 10px;
    color: var(--primary, #0ea5e9);
}
.sommaire-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}
.sommaire-list li {
    display: flex;
    align-items: center;
}
.sommaire-list li a {
    color: var(--dark, #1e293b);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}
.sommaire-list li a:hover {
    color: var(--primary, #0ea5e9);
    padding-left: 5px;
}
.sommaire-list li::before {
    content: "→";
    margin-right: 12px;
    color: var(--primary, #0ea5e9);
    font-weight: 700;
}
@media (max-width: 600px) {
    .sommaire-list {
        grid-template-columns: 1fr;
    }
}
.website-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 400;
    transition: background 0.2s;
    cursor: pointer;
}
.website-link i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 4px;
}
.website-link span {
    text-decoration: underline;
}
.website-link span.url {
    color: var(--primary);
    font-weight: 600;
    margin-left: auto;
}
/* --- OPTIMISATION DESKTOP --- */
@media (min-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;       /* Autorise le retour à la ligne */
        overflow-x: visible;   /* Désactive le scroll horizontal */
        white-space: normal;   /* Autorise le texte à revenir à la ligne */
        justify-content: center; /* Centre les liens */
        padding: 10px;
        gap: 8px;    
        padding: 10px 0px;
        gap: 8px;
        box-sizing: border-box;          /* Espacement entre les boutons */
    }

    .nav-link {
        padding: 8px 12px;     /* Plus compact en hauteur */
        border-bottom: none;   /* On enlève la bordure du bas */
        background: #f1f5f9;   /* Fond léger pour simuler des boutons */
        border-radius: 50px;   /* Style "pill" arrondi */
        font-size: 0.75rem;    /* Texte un peu plus petit pour gagner de la place */
        border: 1px solid transparent;
    }

    .nav-link:hover {
        background: #e2e8f0;
        color: var(--primary, #0ea5e9);
    }

    .nav-link.active {
        background: var(--primary, #0ea5e9);
        color: #ffffff;        /* Texte blanc sur fond coloré */
        border-color: var(--primary, #0ea5e9);
    }
}

/* --- COMMODITÉS --- */
.commodites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.commodite-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 15px 10px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f1f5f9;
}

.commodite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.commodite-item img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.commodite-item .titre {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate);
    line-height: 1.2;
}
/* --- SECTION ESPÈCES --- */
.especes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.espece {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 8px 15px 8px 8px;
    border-radius: 50px; /* Style pilule */
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.espece:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.espece img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 4px;
    border: 1px solid var(--border);
}

.espece .titre {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}
/* --- VERSION OPTIMISÉE POUR LE CLIC & L'INSCRIPTION --- */
.cta-ultimate {
    background: var(--orange-light);
    border: 1px solid #fde68a;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}

.cta-ultimate .tag {
    display: inline-block;
    background: var(--orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cta-ultimate .headline {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #92400e;
}

.cta-ultimate a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--dark);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.cta-ultimate a:hover {
    background: #000;
    transform: translateY(-2px);
}

.cta-ultimate a i {
    font-size: 1rem;
    color: var(--orange);
}

.cta-ultimate .footer-text {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #b45309;
    text-align: center;
    font-style: italic;
}
.reglement-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

#reg-left, #reg-right {
    flex: 1;
    min-width: 300px;
}

/* Titres des sections (Obligatoire, Autorisé, Interdit) */
.reglement-container .titre {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Couleurs spécifiques aux titres */
.vert-titre { color: var(--info); } /* Pour "Obligatoire" */
.autorise-titre { color: var(--success); } /* Pour "Autorisé" */
.rouge-titre { color: var(--danger); } /* Pour "Interdit" */

/* Listes */
.reglement-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reglement-container li {
    padding: 8px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Icônes personnalisées selon la liste */
ul.vert li::before {
    content: '\f058'; /* Check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--success);
    margin-top: 3px;
}

ul.rouge li::before {
    content: '\f057'; /* Times-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--danger);
    margin-top: 3px;
}

/* Style Image */
.tCenter img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}


/* Bloc Attention - Boîte avec border-left pour plus de visibilité */
#attention {
    margin-top: 30px;
    padding: 20px 25px;
    background-color: #fefce8;
    border: 1px solid #fef08a;
    /*border-left: 5px solid #facc15;*/
    border-radius: 8px;
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

#attention b {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #854d0e;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#attention p {
    margin: 0 0 12px 0;
    color: #713f12;
}

#attention p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #a16207;
    font-size: 0.85rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 10px;
}
#property_map {
    height: 400px; /* Ou n'importe quelle valeur en px ou vh */
    width: 100%;
}


.btn-secondary {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 8px; 
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
    box-sizing: border-box;
}

/* Couleurs Bootstrap Primary */
.btn-primary {
    background-color: #007bff;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #0069d9;
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(1px);
}
.btn-primary-outline{
    background-color: transparent;
    color: #007bff !important;
    border: 1px solid #007bff;
}
.btn-primary-outline:hover {
    background-color: #007bff;
    color: #ffffff !important;
    transform: translateY(-2px);
}
#mainContainer{
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: relative;
    padding-top: 30px;
}
main #mainLeft{
    flex: 1;
}
main #mainRight{
    width: 300px;
}
/*
#avis_fond {
    background: rgba(0,0,0,0.5);
    position: fixed;
    z-index: 998;
    top:0;
    bottom:0;
    left:0;
    right:0;
}

#avis_block{
    background:#fff;
    width: 700px;
    height: 460px;
    margin-top: -230px;
    margin-left: -350px;
    padding: 30px;
    border-radius: 5px;
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(0,0,0,.2);
}
#avis_block_titre{
    font-size: 20px;
    color: rgb(33, 37, 41);
}

#avis_block hr{
    height: 1px;
    width: 100%;
    background: #e9ecef;
}

#avis_block table{
    width: 100%;
}

#avis_block td{
    padding: 10px;
}

#avis_block td input[type=text]{
    width: 100%;
    padding: 15px;
}
#avis_block td textarea{
    width: 100%;
    padding: 15px;
}

#avis_block td.titre{
    width: 20%;
}

#avis_block td.note button{
    margin-right: 5px;
}

#avis_block_btns{
    text-align: center;
}
#donne_mon_avis_close:before{
    font-family: "FontAwesome";
    content: '\f00d';
    font-weight: 900;
}
#donne_mon_avis_close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

#avis_block .msg {
    margin: auto;
    text-align: center;
    height: 35px;
    line-height: 35px;
    color: #721c24;
    background-color:#f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 3px;
    font-size: 14px;
    display: none;
}
*/


/* Overlay */
#avis_fond {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    z-index: 998;
}

/* Popup */
#avis_block {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 92%;
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
    z-index: 999;
    border: none;
    animation: avisFade .25s ease-out;
}

/* Animation */
@keyframes avisFade {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Titre */
#avis_block_titre {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

/* Séparateurs */
#avis_block hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 15px 0;
}

/* Table */
#avis_block table {
    width: 100%;
}

#avis_block td {
    padding: 0px 0 5px 0;
}

/* Titres */
#avis_block td.titre {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    padding-top: 12px;
}

/* Champs */
#avis_block input[type=text],
#avis_block textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

#avis_block textarea {
    min-height: 90px;
    resize: vertical;
}

#avis_block input:focus,
#avis_block textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

/* Étoiles */
#avis_block td.note {
    padding-top: 0px;
}

#avis_block td.note button {
    background: none;
    border: none;
    padding: 4px;
    font-size: 20px;
    cursor: pointer;
}

#avis_block td.note .glyphicon {
    color: #d1d5db;
    transition: color .2s;
}

#avis_block td.note button:hover .glyphicon {
    color: #fbbf24;
}

/* Bouton */
#avis_block_btns {
    text-align: center;
    margin-top: 15px;
}

#avis_block_btns .btn-success {
    -webkit-appearance: none;
    appearance: none;
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: background .2s, transform .1s;
    cursor: pointer;
}

#avis_block_btns .btn-success:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Message erreur */
#avis_block .msg {
    display: none;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

/* Bouton fermer */
#donne_mon_avis_close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
}

#donne_mon_avis_close:hover {
    color: #111827;
}
#donne_mon_avis_close:before{
    font-family: "FontAwesome";
    content: '\f00d';
    font-weight: 900;
}

#avis_block td.note i.fa-star {
    color: #d1d5db;
    font-size: 25px;
    transition: color .2s;
}

#avis_block td.note i.etoileOn {
    color: #fbbf24;
}

/* --- POPUP SUGGESTION --- */
/* Overlay */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
}

/* Popup */
#comment-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 600px;
    max-width: 92%;
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
    z-index: 10001;
    animation: fadeInScaleSuggestion .3s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes fadeInScaleSuggestion {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Titre */
#comment-form .titre {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

/* Labels */
#comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Champs */
#comment-form input[type=email],
#comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

#comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

#comment-form input:focus,
#comment-form textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

/* Bouton fermer */
#close-button,
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}

#close-button:hover,
.close-button:hover {
    background: #e5e7eb;
    color: #111827;
}

/* Bouton submit */
#comment-form .btn-success {
    background: #22c55e;
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    transition: background .2s, transform .1s;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

#comment-form .btn-success:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Message d'alerte */
#comment-form .alert {
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
}

#comment-form .alert-danger {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

/* --- TARIFS POSTES --- */
.tarifs-postes-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.tarif-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.tarif-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tarif-label {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.tarif-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.tarif-price {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.a-partir-de .tarif-price {
    line-height: 25px;
}

.tarif-notice {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    line-height: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.majle{
    font-size: 13px; color: #6b7280; margin-bottom: 10px; font-style: italic;margin-top:0;
}
.majle i{
    margin-right: 5px;
}
@media (max-width: 768px) {
    #mainContainer{
        flex-direction: column;
    }
    main #mainRight{
        width: auto;
    }

    .container{
        padding: 0 15px;
    }
    .carousel-slides { height: 250px; }
    .main-title-container h1 { font-size: 1.8rem; }
    .main-title-container h2 { font-size: 1.2rem; }
    .commodites-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
    .reviews-header-v2 { flex-direction: column; text-align: center; }
    .review-top-v3 { flex-direction: column; align-items: flex-start; gap: 4px; }
    .pc-only{display: none;}
    .mobile-only { display: block; }

    .hero{
        padding-top: 30px;;
        padding-bottom: 30px;;
    }
    .search-section{
        padding: 15px;
        margin-bottom: 15px;
    }
    section{
        margin-bottom: 30px;
    }

    #selectDep{
        margin-top: 0;
        margin-bottom: 0;
    }
    .home-description{
        padding: 30px;
    }
    .section-title{
        line-height: 40px;
    }
    ul#homeListe {
        column-count: 2;
    }

    .autresDep {
        justify-content: flex-start;
        flex-direction: column;
    }

    .navbar-container{
        height: 55px;
        padding: 5px 10px 0 15px;
        line-height: normal;
    }

    .seo-content-mobile {
        max-height: 200px; /* Hauteur visible par défaut */
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        position: relative;
    }

    /* Dégradé pour indiquer qu'il y a plus à lire */
    .seo-content-mobile.collapsed::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(transparent, var(--white));
    }

    .card-intro .seo-content-mobile.collapsed::after{
        background: linear-gradient(transparent, #eaeff4)
    }

    .seo-content-mobile.expanded {
        max-height: 2000px; /* Valeur arbitraire haute pour le déploiement */
    }

    .read-more-btn.mobile{
        display: block
    }

    #mainContainer{
        padding-top: 30px;
    }
     #avis_block {
        width: 94%;
        padding: 20px;
    }

    #avis_block_titre {
        font-size: 18px;
    }

    .hero.hero-accueil {
        height: 410px;
        padding-bottom: 50px;
    }
    .reglement-container {
        flex-direction: column;
        gap: 20px;
    }
    #reg-left, #reg-right {
        width: 100%;
    }
     #comment-form {
        width: 94%;
        padding: 20px;
    }
    #comment-form .titre {
        font-size: 18px;
    }
}

/* Masquer les conteneurs de publicité AdSense vides */
.blocAS {
    min-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Conteneur pub toujours visible (AdSense ne charge pas si display:none) */
.blocAS {
    display: block;
    margin: 20px 0;
    text-align: center;
}

/* Lien achat matériel */
#achatMateriel {
    margin: 0px 0 50px 0;
    font-size: 20px;
    text-align: center;
}

#achatMateriel a {
    color: #0850b7;
}

/* ==========================================================================
   PAGE ETANG - Styles spécifiques
   ========================================================================== */

/* --- Bloc publicité header (#pbu) --- */
#pbu {
    min-height: 280px;
    background: #e6eaee;
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
}

#pbu #pbu_titre {
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    bottom: 0;
    margin: auto;
    height: 20px;
    color: #909090;
    font-size: 20px;
    font-weight: 600;
    z-index: 0;
}

#pbu #pbu_titre span {
    display: block;
    font-size: 16px;
    margin-top: 10px;
    font-weight: 400;
}

#pbu:has(.adsbygoogle[data-ad-status="filled"]) {
    background: transparent;
}

#pbu:has(.adsbygoogle[data-ad-status="filled"]) #pbu_titre {
    display: none;
}

@media (max-width: 768px) {
    #pbu {
        min-height: 280px;
    }
}

/* --- Styles généraux page étang --- */
.page-etang iframe {
    max-width: 100%;
}

.condTel {
    font-size: 12px;
}

.page-etang h2 {
    text-align: left;
    font-size: 24px;
}

/* --- CAROUSEL & IMAGE UNIQUE --- */
#mainCarousel,
#mainCarouselReg,
[id^="mainCarouselPoste-"],
#property_slider_wrapper {
    width: 700px;
    margin: 0 auto 1rem auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    display: block;
}

/* Style spécifique image unique */
#property_slider_wrapper img#logoEtang {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    border-radius: 12px;
}

/* Configuration du carousel */
#mainCarousel, #mainCarouselReg, [id^="mainCarouselPoste-"] {
    --carousel-button-color: #170724;
    --carousel-button-bg: #fff;
    --carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%),
        0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
    --carousel-button-svg-width: 20px;
    --carousel-button-svg-height: 20px;
    --carousel-button-svg-stroke-width: 2.5;
}

/* Force la hauteur interne pour respecter le ratio */
#mainCarousel .carousel__viewport,
#mainCarouselReg .carousel__viewport,
[id^="mainCarouselPoste-"] .carousel__viewport {
    height: 100% !important;
}

#mainCarousel .carousel__slide,
#mainCarouselReg .carousel__slide,
[id^="mainCarouselPoste-"] .carousel__slide {
    width: 100%;
    height: 100% !important;
    padding: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}

/* Remplissage total de l'image et centrage parfait pour le carousel */
#mainCarousel img,
#mainCarouselReg img,
[id^="mainCarouselPoste-"] img {
    width: 100% !important;
    height: 470px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 12px;
    display: block;
    margin: 0 !important;
}

#mainCarouselReg img,
[id^="mainCarouselPoste-"] img {
    height: auto !important;
}

#mainCarouselReg,
[id^="mainCarouselPoste-"] {
    aspect-ratio: initial !important;
}

/* Postes : largeur auto dans la grille */
[id^="mainCarouselPoste-"] {
    width: 100%;
}

#mainCarousel .carousel__button.is-prev,
#mainCarouselReg .carousel__button.is-prev,
[id^="mainCarouselPoste-"] .carousel__button.is-prev {
    left: 1rem;
}

#mainCarousel .carousel__button.is-next,
#mainCarouselReg .carousel__button.is-next,
[id^="mainCarouselPoste-"] .carousel__button.is-next {
    right: 1rem;
}

#mainCarousel .carousel__button:focus,
#mainCarouselReg .carousel__button:focus,
[id^="mainCarouselPoste-"] .carousel__button:focus {
    outline: none;
}

/* Miniatures */
#thumbCarousel .carousel__slide,
#thumbCarouselReg .carousel__slide,
[id^="thumbCarouselPoste-"] .carousel__slide {
    opacity: 0.5;
    padding: 0;
    margin: 0.25rem;
    width: 96px;
    height: 64px;
    overflow: hidden;
}

#thumbCarousel .carousel__slide img,
#thumbCarouselReg .carousel__slide img,
[id^="thumbCarouselPoste-"] .carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

#thumbCarousel .carousel__slide.is-nav-selected,
#thumbCarouselReg .carousel__slide.is-nav-selected,
[id^="thumbCarouselPoste-"] .carousel__slide.is-nav-selected {
    opacity: 1;
}

.carousel__track {
    display: flex;
}

/* Responsive carousel */
@media (max-width: 767px) {
    #mainCarousel,
    #mainCarouselReg,
    [id^="mainCarouselPoste-"],
    #property_slider_wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    #mainCarousel .carousel__button.is-next,
    #mainCarouselReg .carousel__button.is-next,
    [id^="mainCarouselPoste-"] .carousel__button.is-next {
        right: 0.5rem;
    }

    #mainCarousel .carousel__button.is-prev,
    #mainCarouselReg .carousel__button.is-prev,
    [id^="mainCarouselPoste-"] .carousel__button.is-prev {
        left: 0.5rem;
    }

    #mainCarousel img {
        height: 200px !important;
    }

    #mainCarouselReg img,
    [id^="mainCarouselPoste-"] img {
        height: auto !important;
    }
}

/* ===== SYSTÈME MEMBRE ===== */

/* Bouton connexion dans le menu */
.menu-membre {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-membre {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    background: transparent;
    color: var(--dark) !important;
    border: 1.5px solid #cbd5e1;
}
.btn-membre:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
    border-color: var(--primary);
}
.btn-membre i {
    font-size: 0.8rem;
}
.btn-membre-connecte {
    background: transparent;
    color: var(--slate) !important;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    border-radius: 0;
}
.btn-membre-connecte i {
    color: var(--danger);
}
.btn-membre-connecte:hover {
    background: transparent;
    color: var(--danger) !important;
    border: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    transform: none;
}
.btn-deconnexion {
    padding: 7px 10px;
    margin-left: 6px;
    color: var(--slate) !important;
    border-color: #cbd5e1;
}
.deconnexion-txt {
    display: none;
}
.btn-deconnexion:hover {
    background: var(--dark);
    color: var(--white) !important;
    border-color: var(--dark);
}

/* Modal connexion/inscription */
.modal-membre-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}
.modal-membre {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 35px;
    width: 400px;
    max-width: 90vw;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-membre-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--slate);
    line-height: 1;
    padding: 0;
}
.modal-membre-close:hover {
    color: var(--dark);
}
.modal-membre h3 {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    color: var(--dark);
    text-align: center;
}
.modal-membre input[type="email"],
.modal-membre input[type="password"] {
    display: block;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.modal-membre input[type="email"]:focus,
.modal-membre input[type="password"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.btn-modal-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}
.btn-modal-submit:hover {
    background: #1d4ed8;
}
.btn-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.modal-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--slate);
}
.modal-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.modal-switch a:hover {
    text-decoration: underline;
}

/* Inscription - header amélioré */
.inscription-header {
    text-align: center;
    margin-bottom: 8px;
}
.inscription-header h3 {
    margin: 8px 0 6px 0;
}
.inscription-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}
.inscription-subtitle {
    color: var(--slate);
    font-size: 0.9rem;
    margin: 0;
}
.cgv-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--slate);
    margin: 10px 0;
    cursor: pointer;
}
.cgv-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}
.cgv-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}
.btn-inscription-submit {
    background: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
.btn-inscription-submit:hover {
    background: #047857 !important;
}
.inscription-avantages {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.inscription-avantages li {
    font-size: 0.8rem;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 5px;
}
.inscription-avantages li i {
<<<<<<< HEAD
    color: var(--danger);
    font-size: 0.7rem;
}
.modal-membre-msg {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 12px;
    min-height: 20px;
}
.modal-membre-msg.msg-error {
    color: var(--danger);
}
.modal-membre-msg.msg-success {
    color: var(--success);
}

/* Coeur favori sur les cards */
.btn-favori {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: none;
    padding: 0;
    text-decoration: none;
}
.btn-favori i {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    transition: transform 0.2s;
}
.btn-favori:hover {
    background: rgba(0,0,0,0.4);
    transform: none;
}
.btn-favori:hover i,
.btn-favori.favori-actif i {
    color: var(--danger);
}
.btn-favori.favori-actif i {
    animation: heartPulse 0.3s ease;
}
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Page mes favoris */
.favoris-header {
    text-align: center;
    margin-bottom: 30px;
}
.favoris-header .section-title {
    border-left: none;
    padding-left: 0;
}
.favoris-vide {
    text-align: center;
    color: var(--slate);
    font-size: 1.1rem;
    padding: 40px 0;
}

/* Mobile menu - bouton membre */
@media (max-width: 768px) {
    .menu-membre {
        padding: 0;
        border-top: none;
        margin-top: 0;
        flex-wrap: wrap;
        gap: 0;
    }
    .btn-membre {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 10px;
        font-size: 0.95rem;
        border-radius: 0;
        border: none;
        color: var(--dark) !important;
    }
    .btn-membre-connecte {
        flex: 1;
        border: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 15px 10px;
        color: var(--dark) !important;
        font-size: 0.95rem;
        border-radius: 0;
    }
    .btn-membre-connecte i {
        color: var(--danger);
    }
    .btn-deconnexion {
        width: 100%;
        flex: none;
        border: none;
        padding: 15px 10px;
        margin-left: 0;
        box-sizing: border-box;
        color: var(--dark) !important;
        font-size: 0.95rem;
        border-radius: 0;
    }
    .btn-deconnexion .deconnexion-txt {
        display: inline;
    }
}
