.logo span {
    font-size: 22px;   /* texte plus présent */
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .logo span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }

    .logo span {
        display: none;
    }
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light);
    padding: 1rem 2rem;
    margin-top: 70px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: #666;
}

/* Section Détails */
.detail-section {
    padding: 3rem 2rem;
    background: var(--white);
}

/* En-tête */
.detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.detail-header h1 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.detail-header .logement-code {
    font-size: 1.1rem;
    color: #666;
}

.detail-header .logement-code strong {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Galerie Photo */
.gallery-section {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.main-image {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background-color: #000;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 165, 0, 0.9);
    color: white;
    border: none;
    padding: 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10;
    outline: none;
    border-radius: 8px;
}

.gallery-btn:hover {
    background: rgba(242, 201, 76, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    background: rgba(242, 201, 76, 1);
}

.gallery-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.gallery-btn.prev {
    left: 20px;
}

.gallery-btn.next {
    right: 20px;
}

.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
    border: 3px solid transparent;
    outline: none;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail:focus-visible {
    opacity: 1;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Section Vidéo */
.video-section {
    margin-bottom: 3rem;
}

.video-section h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Grille Informations */
.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Carte Description */
.description-card {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.description-card h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-card h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#description-text p {
    color: #444;
    line-height: 1.9;
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
    text-align: center;
}

/* Caractéristiques du bien */
.caracteristiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.caract-item {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.caract-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.15);
    border-color: var(--accent);
}

.caract-item svg {
    width: 40px;
    height: 40px;
    fill: var(--accent);
    flex-shrink: 0;
}

.caract-item div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.caract-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.caract-value {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

/* Atouts du bien */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.atout-item {
    background: #ffffff;
    color: var(--dark);
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.atout-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.atout-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
    flex-shrink: 0;
}

/* Carte Informations */
.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--accent);
}

.info-card h2 {
    color: var(--dark);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.info-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.info-item h3 svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.info-item p {
    color: #555;
    font-size: 1rem;
}

.price {
    font-size: 2rem !important;
    color: var(--accent) !important;
    font-weight: bold;
}

.charges {
    font-size: 0.95rem !important;
    color: #888 !important;
}

/* Boutons d'Action */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Bouton Retour */
.back-button {
    text-align: center;
    margin-top: 3rem;
}

.back-button .btn {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.back-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .detail-header h1 {
        font-size: 1.6rem;
    }

    .gallery-btn {
        padding: 0.8rem;
        font-size: 1.2rem;
    }

    .gallery-btn.prev {
        left: 10px;
    }

    .gallery-btn.next {
        right: 10px;
    }

    .thumbnail {
        width: 80px;
        height: 60px;
    }

    .description-card,
    .info-card {
        padding: 1.5rem;
    }

    .caracteristiques-grid {
        grid-template-columns: 1fr;
    }

    .atouts-grid {
        grid-template-columns: 1fr;
    }

    .caract-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .detail-section {
        padding: 2rem 1rem;
    }

    .caract-value {
        font-size: 1.1rem;
    }
}
