/* Harmonisation des variables CSS */
:root {
    --card-radius: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --primary: #ff9e15;
    --primary-hover: #e68a00;
    --text-dark: #00263f;
    --text-light: #6b7280;
    --background-light: #f5f7fa;
}

/* Réinitialisation et styles globaux */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.transparent {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Parallax Section */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

/* Hero Buttons
.hero-buttons {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
} */

.hero-buttons {
    /* background: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-btn {
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
    text-align: center;
}

.hero-btn.primary {
    background: var(--primary);
    color: white;
}

.hero-btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: var(--text-light);
    color: white;
}

.hero-btn.secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Search Widget */
.search-widget {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
}

.search-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: #f3f4f6;
    border-radius: 15px;
    padding: 5px;
}

.search-tab {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-tab.active {
    background: var(--primary);
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Type annonce */
.type-annonce {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 1rem 0;
}

.type-annonce label {
    flex: 0 1 150px;
    text-align: center;
}

.type-annonce input[type="radio"] {
    display: none;
}

.type-annonce span {
    display: block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.type-annonce input[type="radio"]:checked + span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.type-annonce label:first-child span {
    border-radius: 6px 0 0 6px;
}

.type-annonce label:last-child span {
    border-radius: 0 6px 6px 0;
}

.type-annonce span:hover {
    background: #f9f9f9;
}

/* Search Form */
.search-form {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.search-form select,
.search-form input[type="text"] {
    margin-top: 0.25rem;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.875rem;
    background: #fff;
    transition: border-color 0.3s;
}

.search-form select:focus,
.search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}

.search-form .select2-container {
    width: 100%;
}

.search-form .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.search-form .select2-selection__choice {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.45rem 0.625rem;
    font-size: 0.875rem;
    margin: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.search-form .select2-selection__choice__remove {
    color: #fff;
    margin-right: 0.5rem;
    font-size: 1.25rem;
    border: none;
    background: none;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.search-form .select2-selection__choice__remove:hover {
    color: #ffe0b2;
}

.search-form .advanced-filters {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.search-form .checkbox-label {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.search-form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.search-form .slider-container {
    display: none;
    padding: 0 0.5rem;
    margin: 1.5rem 0;
}

.search-form .slider-container.active {
    display: block;
}

.search-form .nouislider {
    margin: 1.5rem 0;
}

.noUi-connect {
    background: var(--primary);
}

.noUi-handle {
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: none;
}

.search-form .slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    font-weight: bold;
}

.search-form .submit-container {
    text-align: center;
    margin-top: 1rem;
}

.search-form button {
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-form button:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card Grid (Mode Thumbnail) */
.card-grid {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem 0;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 100%;
    justify-content: center;
}

.card-grid.thumbnail {
    grid-template-columns: repeat(auto-fill, 280px);
}

.card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 340px;
    width: 280px;
}

/* Card Strip (Mode Liste) */
.card-strip {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem 0;
    grid-template-columns: 1fr;
}

.card-strip .card {
    height: auto !important;
    width: auto !important;
    display: flex !important;
    flex-direction: row !important;
    min-height: 200px !important;
}

.card-strip .card-image {
    width: 30% !important;
    flex-shrink: 0 !important;
}

.card-strip .card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1rem !important;
    gap: 0.5rem !important;
}

.card-strip .card-footer {
    margin-top: auto !important;
    margin-right: 2rem !important;
    margin-bottom: 1rem !important;
    border-top: none !important;
    background: transparent !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    width: auto !important;
    position: relative !important;
}

/* Listing Card (Anciennement .property-card) */
.listing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Card Link */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-link:hover .card,
.card-link:hover .listing-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Card Content */
.card-content {
    padding: 1rem 1.25rem 0.5rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow: hidden;
}

.card-title {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-strip .card-title {
    white-space: normal;
    font-size: 1.1rem;
    height: auto;
}

.card-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
    flex-shrink: 0;
}

.card-strip .card-price {
    font-size: 1rem;
}

.card-fees {
    color: var(--text-light);
    font-size: 0.75rem;
    margin: 0;
    flex-shrink: 0;
}

.card-description {
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.card-type {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.card-footer {
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: auto;
    flex-shrink: 0;
}

.card-footer i {
    margin-right: 0.25rem;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    background: #fff;
    transition: background 0.2s;
}

.pagination a:hover {
    background: #f0f0f0;
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .disabled {
    color: var(--text-light);
    pointer-events: none;
}

.pagination .ellipsis {
    padding: 0.5rem 1rem;
    color: var(--text-light);
}

/* Sort and View Controls */
.sort-view-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sort-view-controls select {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.875rem;
    background: #fff;
    cursor: pointer;
}

.view-buttons {
    display: flex;
    gap: 0.5rem;
}

.view-buttons button {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.view-buttons button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.view-buttons button:hover {
    background: #f0f0f0;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* Property Detail Page */
.property-detail {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.property-image {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-info {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.property-title {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.property-title span {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    display: block;
}

.property-badges .badge {
    position: static;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.property-features i {
    margin-right: 0.25rem;
}

.property-description {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.property-characteristics h3,
.property-location h3,
.interest-form h3,
.agency-info h3,
.client-reviews h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.25rem;
}

.property-characteristics table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.property-characteristics td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.property-characteristics td:first-child {
    font-weight: 500;
    color: var(--text-dark);
    width: 35%;
}

.property-location .map-placeholder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--card-radius);
    margin-top: 0.5rem;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-sidebar {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 250px;
}

.interest-form {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: var(--card-radius);
    border: 1px solid #e5e7eb;
}

.interest-form h3 {
    border-bottom: none;
    margin-bottom: 0.5rem;
}

.interest-form p {
    margin: 0 0 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.interest-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.interest-form input {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.875rem;
}

.interest-form button {
    padding: 0.75rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.agency-info a {
    color: var(--primary);
    text-decoration: none;
}

.agency-info a:hover {
    text-decoration: underline;
}

.social-share {
    display: flex;
    gap: 0.5rem;
}

.social-share a {
    color: var(--primary);
    font-size: 1.25rem;
    text-decoration: none;
}

.social-share a:hover {
    opacity: 0.8;
}

.client-reviews {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: var(--card-radius);
    border: 1px solid #e5e7eb;
}

.client-reviews p {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.rating {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.5rem 0;
}

.rating span:first-child {
    color: #ffd700;
}

.rating span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

.client-reviews a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
}

.client-reviews a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .card-grid.thumbnail {
        grid-template-columns: repeat(auto-fill, 300px);
    }
    .card {
        height: 390px;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    .parallax {
        background-attachment: scroll;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
    }

    .property-detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .property-image {
        max-height: 300px;
    }

    .property-sidebar {
        min-width: 100%;
    }

    .search-form {
        padding: 1rem;
    }

    .search-form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .type-annonce {
        flex-wrap: wrap;
        justify-content: center;
    }

    .type-annonce label {
        flex: 0 1 100px;
    }

    .type-annonce span {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1rem;
        padding: 1rem 0;
    }

    .card-strip .card {
        flex-direction: column !important;
        height: auto !important;
    }

    .card-strip .card-image {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
    }

    .card-image {
        aspect-ratio: 16 / 9;
    }

    .card-content {
        padding: 0.75rem 1rem 0.5rem;
    }

    .card-strip .card-content {
        padding: 1rem;
    }

    .card-footer {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .pagination-container {
        flex-direction: column;
        align-items: center;
    }

    .sort-view-controls {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .sort-view-controls select {
        width: 100%;
        max-width: 200px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination a,
    .pagination .ellipsis {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .card {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .search-form button {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }

    .card-title {
        font-size: 0.875rem;
    }

    .card-strip .card-title {
        font-size: 1rem;
    }

    .card-price {
        font-size: 0.75rem;
    }

    .card-strip .card-price {
        font-size: 0.875rem;
    }

    .card-type {
        font-size: 0.65rem;
    }

    .property-title {
        font-size: 1.5rem;
    }

    .property-characteristics td {
        font-size: 0.75rem;
    }

    .property-image {
        max-height: 250px;
    }

    .card {
        height: 320px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

.banner-slide {
    transition: opacity 1s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Par défaut, en arrière-plan */
}

.banner-slide.slide-active {
    opacity: 1 !important;
    z-index: 2; /* Slide active au premier plan */
}

.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(255, 158, 21, 0.8);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(255, 158, 21, 1);
    transform: translateY(-50%) scale(1.1);
}

.banner-prev { 
    left: 16px; 
}

.banner-next { 
    right: 16px; 
}


/* Styles pour le header */
header {
    background-color: white;
    /*padding-top: 2rem; /* Ajusté pour laisser de l'espace au logo */
}

/* Conteneur du logo */
.logo-container {
    position: absolute;
    top: -4rem; /* Ajustez cette valeur si le logo est trop haut ou bas */
    left: 1rem; /* Position à gauche avec un petit décalage */
    z-index: 60; /* Au-dessus du header (z-50) et du slider (z-10) */
}

/* Image du logo */
.logo-container img {
    width: 8rem; /* Taille ajustable selon votre logo */
    height: auto;
    display: block;
}

/* Ajustement du slider pour éviter le chevauchement du contenu texte */
#home {
    margin-top: 4rem; /* Ajustez pour compenser la hauteur du logo */
}

/* Assurez-vous que le slider reste derrière le logo */
.banner-slider {
    z-index: 10;
}

/* Styles de base pour le header */
header {
    background-color: rgba(255, 255, 255, 0.7);
    /*padding-top: 2rem;*/
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

/* Header transparent (par défaut et quand visible) */
header.transparent {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Header opaque (quand slider défilé) */
header:not(.transparent) {
    background-color: rgba(255, 255, 255, 1);
}

/* Conteneur du logo */
.logo-container {
    position: absolute;
    top: 0.2rem; /* Respecte le style inline */
    left: 1rem;
    z-index: 60;
}

/* Image du logo */
.logo-container img {
    width: 17rem; /* Respecte le style inline */
    height: auto;
    display: block;
}

/* Ajustement du slider */
#home {
    margin-top: 4rem;
}

.banner-slider {
    z-index: 10;
}

/* Ajustements pour petits écrans */
@media (max-width: 767px) {
    .logo-container {
        top: -3rem;
        left: 0.5rem;
    }
    .logo-container img {
        width: 6rem;
    }
    #home {
        margin-top: 1.5rem;
    }
}



}