/**
 * Layout et structure responsive améliorés
 */

/* ===== LAYOUT PRINCIPAL ===== */
.main-container {
    min-height: 100vh;
}

/* ===== RESPONSIVE CONTAINER ===== */

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.75rem; /* Réduit pour smartphone */
}

/* Très petits écrans */
@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
    }
}

/* Mobile moyen */
@media (min-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 1.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

/* ===== TOP HEADER ===== */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.hero-brand {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0; /* Reset margin */
}

.language-toggle {
    position: relative; /* Plus fixed */
    top: auto;
    right: auto;
    z-index: auto;
}

.language-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.language-btn:hover {
    background: var(--primary-hover);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .top-header {
        padding: 0.75rem 0;
    }
    
    .hero-brand {
        font-size: 1.5rem;
    }
    
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .hero-brand {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-brand {
        font-size: 3rem;
    }
}

/* ===== SWIPER RESPONSIVE ===== */
.swiper {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 15px 25px; /* Réduit pour smartphone */
    position: relative;
}

.swiper-wrapper {
    height: auto;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Navigation Swiper */
.swiper-button-next,
.swiper-button-prev {
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-top: -17.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.swiper-button-next i,
.swiper-button-prev i {
    color: var(--primary-color);
    font-size: 18px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

/* Pagination Swiper */
.swiper-pagination {
    position: relative;
    bottom: -10px;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Très petits écrans */
@media (max-width: 320px) {
    .swiper {
        padding: 10px 15px;
    }
}

/* Mobile standard */
@media (max-width: 480px) {
    .swiper {
        padding: 15px 20px;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .swiper {
        padding: 20px 30px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .swiper {
        padding: 20px 40px;
    }
}

/* ===== PROFILE CARDS ===== */
.profile-card {
    width: 100%;
    max-width: 280px; /* Réduit pour smartphone */
    background: white;
    border-radius: 6px; /* Plus petit radius */
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1); /* Ombre plus subtile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto; /* Centrer les cartes */
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.profile-image {
    position: relative;
    padding-top: 125%; /* Légèrement réduit pour smartphone */
    width: 100%;
}

.profile-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 480px) {
    .no-photo {
        font-size: 0.9rem;
    }
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.profile-info {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    color: white;
    z-index: 1;
}

.profile-name {
    font-size: 0.9rem; /* Plus petit pour smartphone */
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-location {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px; /* Réduit pour smartphone */
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.85rem;
}

@media (min-width: 480px) {
    .contact-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .contact-btn {
        padding: 15px;
        font-size: 1rem;
    }
}

.contact-btn:hover {
    background: var(--primary-hover);
}

/* ===== RESPONSIVE SECTIONS ===== */

/* Mobile-only elements */
.mobile-only {
    display: block;
}

/* Desktop-only elements */
.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
    
    .profiles-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        padding: 2rem 0;
    }
}

/* ===== FLOATING BUTTONS (Mobile only) ===== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

@media (min-width: 1024px) {
    .floating-buttons {
        display: none;
    }
}

.floating-report-btn,
.floating-add-btn {
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-report-btn {
    background: rgba(220, 53, 69, 0.95);
    color: white;
}

.floating-add-btn {
    background: #8e44ad;
    color: white;
}

.floating-report-btn:hover {
    background: rgba(200, 35, 51, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-add-btn:hover {
    background: #6c3382;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-report-btn i,
.floating-add-btn i {
    font-size: 1.1rem;
}

/* Très petits écrans */
@media (max-width: 480px) {
    .floating-buttons {
        bottom: 15px;
        padding: 0 15px;
    }
    
    .floating-report-btn span,
    .floating-add-btn span {
        display: none;
    }
    
    .floating-report-btn,
    .floating-add-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .floating-report-btn i,
    .floating-add-btn i {
        margin: 0;
        font-size: 1rem;
    }
}

/* Mobile standard */
@media (min-width: 480px) and (max-width: 768px) {
    .floating-report-btn span,
    .floating-add-btn span {
        display: none;
    }
    
    .floating-report-btn,
    .floating-add-btn {
        width: 45px;
        height: 45px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .floating-report-btn i,
    .floating-add-btn i {
        margin: 0;
    }
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
}

.hero-banner img {
    width: 100%;
    height: 300px; /* Nouvelle hauteur demandée */
    object-fit: cover;
}

.advertise-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(236, 72, 153, 0.7); /* Semi-transparent */
    backdrop-filter: blur(8px); /* Effet glassmorphism */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.advertise-btn:hover {
    background: rgba(219, 39, 119, 0.8); /* Plus opaque au hover */
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile adjustments pour la nouvelle hauteur */
@media (max-width: 768px) {
    .advertise-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .advertise-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ===== NO RESULTS MESSAGE ===== */
.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 1.1em;
    width: 100%;
    display: none;
    margin: 20px 0;
}

/* ===== MODAL IMPROVEMENTS ===== */
.modal-open {
    overflow: hidden;
}

.modal {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

/* ===== ADD PROFILE SECTION (Desktop only) ===== */
.add-profile-section {
    text-align: center;
    padding: 3rem 0;
}

.add-profile-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.add-profile-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* ===== WARNING BANNER (Desktop only) ===== */
.warning-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.warning-message {
    color: #92400e;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== STATS & FILTERS ===== */
.stats-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Réduit pour smartphone */
    margin: 1rem 0;
}

.stats-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem; /* Réduit pour smartphone */
    border-radius: 8px;
}

.stats-title {
    color: var(--text-secondary);
    font-size: 0.75rem; /* Plus petit pour smartphone */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stats-number {
    font-size: 2rem; /* Réduit pour smartphone */
    font-weight: bold;
    color: white !important; /* Couleur blanche avec priorité */
}

/* Mobile moyen */
@media (min-width: 480px) {
    .stats-filters {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .stats-section {
        padding: 1.5rem;
    }
    
    .stats-title {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
        color: white !important; /* Maintenir blanc sur mobile moyen */
    }
}

/* Tablet */
@media (min-width: 768px) {
    .stats-filters {
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .stats-section {
        padding: 2rem;
        border-radius: 12px;
    }
    
    .stats-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .stats-number {
        font-size: 3rem;
        color: white !important; /* Maintenir blanc sur tablet */
    }
}

.filters-section {
    text-align: center;
}

.filters-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.filter-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0 auto;
}

.filter-btn:hover {
    background: #374151;
}

@media (min-width: 1024px) {
    .stats-filters {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .stats-section {
        flex: 1;
    }
    
    .filters-section {
        flex: 1;
    }
}

/* ===== PROFILE PAGE STYLES ===== */
.profile-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1.25rem;
    border-radius: 15px;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.profile-basic-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 25px;
    font-size: 0.95rem;
}

.info-badge i {
    font-size: 1rem;
}

/* Profile Swiper */
.profile-swiper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.profile-swiper .swiper-slide {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.profile-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-swiper .swiper-button-next,
.profile-swiper .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-swiper .swiper-button-next:hover,
.profile-swiper .swiper-button-prev:hover {
    background: rgba(0,0,0,0.7);
}

.profile-swiper .swiper-button-next::after,
.profile-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
}

.profile-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.profile-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Profile Sections */
.profile-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem 0;
}

.section-title i {
    font-size: 1rem;
}

/* Pricing */
.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem 0.75rem;
}

.price-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.price-service {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    flex: 1;
    text-align: left;
}

.price-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0 0.5rem;
}

.price-amount {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.contact-section .section-title {
    color: white;
    justify-content: center;
    margin-bottom: 1rem;
}

.unlock-btn {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

/* Profile Info Grid */
.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.description {
    line-height: 1.4;
    color: var(--text-primary);
    font-size: 0.95rem;
    white-space: pre-line;
    margin: 0;
    padding: 0 1rem 0.75rem;
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Profile Responsive */
@media (max-width: 768px) {
    .profile-container {
        margin: 0.5rem auto;
        padding: 0 0.75rem;
    }

    .profile-header {
        padding: 1rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-basic-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .info-badge {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1rem;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .profile-container {
        margin: 0.25rem auto;
        padding: 0 0.5rem;
    }

    .profile-header {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .profile-name {
        font-size: 1.25rem;
    }

    .profile-section {
        margin-bottom: 0.75rem;
    }

    .contact-section {
        padding: 1rem;
    }

    .unlock-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* ===== ADVERTISEMENT SLIDER ===== */
.ad-slider-container {
    margin: 1rem 0;
}

.ad-swiper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ad-slide {
    position: relative;
    cursor: pointer;
    height: 300px; /* Même hauteur que l'image de hero */
    overflow: hidden;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-slide:hover img {
    transform: scale(1.05);
}

.ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation pour le slider de pub */
.ad-prev,
.ad-next {
    color: white !important;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.ad-prev:hover,
.ad-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1) !important;
}

.ad-prev::after,
.ad-next::after {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

/* Pagination pour le slider de pub */
.ad-pagination {
    bottom: 20px !important;
}

.ad-pagination .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.7 !important;
    width: 12px !important;
    height: 12px !important;
}

.ad-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--primary-color) !important;
}

/* Responsive pour le slider de pub */
@media (max-width: 768px) {
    .ad-slide {
        height: 250px;
    }
    
    .ad-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .ad-title {
        font-size: 1.25rem;
    }
    
    .ad-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ad-slide {
        height: 200px;
    }
    
    .ad-overlay {
        padding: 1rem 0.75rem 0.75rem;
    }
    
    .ad-title {
        font-size: 1.1rem;
    }
    
    .ad-description {
        font-size: 0.85rem;
    }
    
    .ad-prev,
    .ad-next {
        width: 35px !important;
        height: 35px !important;
    }
    
    .ad-prev::after,
    .ad-next::after {
        font-size: 1rem !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== RESPONSIVE UTILITIES ===== */
/* Espacement mobile optimisé */
@media (max-width: 480px) {
    .main-container {
        padding-bottom: 80px; /* Espace pour les boutons flottants */
    }
    
    /* Réduire l'espacement entre sections */
    .stats-filters {
        margin: 0.75rem 0 !important;
    }
    
    .hero-banner {
        margin: 0.75rem 0 !important;
    }
    
    /* Plus besoin de padding-top car header n'est plus fixed */
    body {
        padding-top: 0;
    }
}