/* ========================================
   FOOTER MODERNE - Estheia
   Design cohérent avec le reste du site
   ======================================== */

:root {
    --footer-bg: #1e293b;
    --footer-bg-light: #2d3748;
    --footer-text: #cbd5e1;
    --footer-text-muted: #94a3b8;
    --footer-border: #334155;
    --footer-primary: #6366f1;
    --footer-secondary: #8b5cf6;
}

/* === SECTION PRINCIPALE === */
#modern-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 0;
    position: absolute;
    bottom: 1;
    width: 100%;
}

.footer-main {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 60px;
}

/* === COLONNES === */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* === COLONNE 1 : LOGO ET DESCRIPTION === */
.footer-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 16px 0;
}

.footer-logo-gradient {
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo {
    display: inline-block;
    width: 100%;
    max-width: 210px;
    height: 60px;

    background: url('/assets/images/logo-white.png') no-repeat center;
    background-size: contain;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--footer-text-muted);
    margin: 0;
}

.footer-stats {
    display: flex;
    gap: 32px;
    margin-top: 8px;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--footer-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* === TITRES DES COLONNES === */
.footer-col-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === LIENS === */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--footer-text);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links li a svg {
    color: var(--footer-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-links li a:hover svg {
    color: var(--footer-secondary);
    transform: scale(1.1);
}

/* === NEWSLETTER === */
.footer-col-newsletter {
    gap: 16px;
}

.footer-newsletter-text {
    font-size: 14px;
    color: var(--footer-text-muted);
    line-height: 1.6;
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input-wrapper svg {
    position: absolute;
    top: 15px;
    left: 16px;
    color: var(--footer-text-muted);
    pointer-events: none;
}

.newsletter-input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--footer-bg-light);
    border: 2px solid var(--footer-border);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-input-wrapper input:focus {
    outline: none;
    border-color: var(--footer-primary);
    background: #1e293b;
}

.newsletter-input-wrapper input::placeholder {
    color: var(--footer-text-muted);
}

.newsletter-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.newsletter-submit svg {
    transition: transform 0.3s ease;
}

.newsletter-submit:hover svg {
    transform: translateX(4px);
}

/* === RÉSEAUX SOCIAUX === */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--footer-bg-light);
    border-radius: 12px;
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--footer-border);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

/* === BARRE DE COPYRIGHT === */
.footer-bottom {
    padding: 32px 0;
    background: #0f172a;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--footer-text-muted);
    margin: 0;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.footer-bottom-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links .separator {
    color: var(--footer-border);
}

/* === BOUTON RETOUR EN HAUT === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--footer-primary) 0%, var(--footer-secondary) 100%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col-newsletter {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 32px;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-col-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    #modern-footer{
        padding-top: 50px;
        margin-top: 50px;
    }
    .footer-main {
        padding: 50px 16px 30px;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0; 
        box-sizing: border-box;
    }
    
    .footer-col:first-child {
        grid-column: 1;
    }
    
    .footer-col-newsletter {
        grid-column: 1;
        max-width: 100%;
    }
    
    .footer-stats {
        justify-content: flex-start;
    }
    
    .footer-bottom-content {
        padding: 0 24px;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 24px;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .footer-social {
        flex-wrap: wrap;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }



/* ------------------------------------------------
   3. HOW IT WORKS — step cards mobile
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* Supprime la ligne connectrice horizontale */
    .steps-grid::before {
        display: none !important;
    }

    /* Grille en colonne unique */
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 48px !important;  /* espace pour le .step-number en position absolue */
        padding: 0 16px !important;
    }

    /* Recadre le numéro qui dépassait */
    .step-card {
        position: relative !important;
        margin-top: 28px !important;  /* compense le cercle en absolute */
        padding: 32px 24px 28px !important;
        box-sizing: border-box !important;
    }

    .step-number {
        top: -28px !important;
        left: 24px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }

    /* Section header */
    .section-header {
        padding: 0 16px !important;
        margin-bottom: 40px !important;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 36px) !important;
    }

    .section-description {
        font-size: 15px !important;
    }

    /* CTA pleine largeur */
    .cta-button {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 16px 24px !important;
    }
}


/* ------------------------------------------------
   4. BENEFITS — grille mobile
   ------------------------------------------------ */
@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 16px !important;
    }

    .benefit-card {
        padding: 24px 20px !important;
    }
}


/* ------------------------------------------------
   5. STATS — grille mobile
   ------------------------------------------------ */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        padding: 0 16px !important;
    }

    .stat-number {
        font-size: 36px !important;
    }

    .stat-label {
        font-size: 13px !important;
    }
}

@media (max-width: 380px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ------------------------------------------------
   6. TOP PROFESSIONALS CAROUSEL — corrections mobiles
   ------------------------------------------------ */
@media (max-width: 768px) {

    .top-professionals-section {
        padding: 60px 0 40px !important;
        overflow: hidden !important;   /* empêche les flèches de créer un scroll horizontal */
    }

    .top-container {
        padding: 0 16px !important;
        overflow: hidden !important;
    }

    /* Wrapper : clips les flèches qui dépassaient avec -28px */
    .top-carousel-wrapper {
        overflow: visible !important;
        position: relative !important;
    }

    /* Slide pleine largeur sur mobile */
    .top-carousel-slide {
        min-width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        width: calc(100vw - 32px) !important;
    }

    /* Flèches repositionnées à l'intérieur du viewport */
    .carousel-arrow-prev {
        left: 0 !important;
        top: auto !important;
        bottom: -52px !important;
        transform: none !important;
    }

    .carousel-arrow-next {
        right: 0 !important;
        top: auto !important;
        bottom: -52px !important;
        transform: none !important;
    }

    /* Espace sous le carousel pour les flèches repositionnées */
    .top-carousel-container {
        margin-bottom: 64px !important;
    }

    /* Dots plus grands pour le touch */
    .carousel-dot {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
    }

    .carousel-dot.active {
        width: 36px !important;
    }
}

/* Tablette : 2 slides visibles */
@media (min-width: 600px) and (max-width: 1023px) {

    .top-carousel-slide {
        min-width: calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        width: calc(50% - 12px) !important;
    }

    .carousel-arrow-prev {
        left: -4px !important;
    }

    .carousel-arrow-next {
        right: -4px !important;
    }
}


/* ------------------------------------------------
   7. FOOTER — corrections mobiles
   ------------------------------------------------ */
@media (max-width: 768px) {

    .footer-main,
    .footer-container {
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    /* Colonne unique sur mobile */
    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* Newsletter form : champ + bouton en colonne */
    .footer-newsletter-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .newsletter-input-wrapper {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .newsletter-submit {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Icônes sociales centrées */
    .footer-social {
        justify-content: center !important;
    }

    /* Barre de copyright : texte centré, liens en colonne */
    .footer-bottom-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center !important;
    }

    .footer-bottom-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
}


/* ------------------------------------------------
   8. PRÉVENTION GLOBALE DU SCROLL HORIZONTAL
   ------------------------------------------------ */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Tous les conteneurs principaux */
    .container,
    .content_wrapper,
    .sections_group,
    .entry-content,
    #Content {
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Images responsives par défaut */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* ------------------------------------------------
   9. BANNIÈRE IMPERSONATION — décalage mobile
   ------------------------------------------------ */
@media (max-width: 768px) {
    /* La bannière en position:fixed prend plus de hauteur sur petit écran */
    body.is-impersonated > div[style*="height: 45px"] {
        height: 60px !important;
    }
}


/* ------------------------------------------------
   10. TOUCH — zones interactives min. 44px
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* Tous les liens de navigation */
    .footer-links a,
    .footer-bottom-links a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        padding: 4px 0 !important;
    }

    /* Boutons carousel */
    .carousel-arrow {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    /* Bouton back-to-top */
    .back-to-top {
        width: 48px !important;
        height: 48px !important;
        bottom: 20px !important;
        right: 16px !important;
    }
}

/* ================================================
   Estheia — CORRECTIONS MOBILES V2
   3 problèmes ciblés : header, stats, carousel
   ================================================ */


/* ------------------------------------------------
   2. STATS — section coupée à droite
   
   Problème : la grille en 4 colonnes (stats-grid)
   dépasse 100vw sur mobile. Les 2 cartes de droite
   sont invisibles car elles sortent du viewport.
   ------------------------------------------------ */
@media (max-width: 768px) {

    .stats-section {
        overflow: hidden !important;
        padding: 60px 0 !important;
    }

    .stats-section .container {
        padding: 0 16px !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
    }

    /* 2×2 sur mobile : chaque carte fait ~50% - gap */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .stat-card {
        padding: 20px 12px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;       /* empêche le dépassement flex/grid */
        overflow: hidden !important;
    }

    .stat-number {
        font-size: 30px !important;
        word-break: break-word !important;
    }

    .stat-label {
        font-size: 12px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
}

/* Très petit écran : 1 colonne */
@media (max-width: 380px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ------------------------------------------------
   3. CAROUSEL "TOP PRESTATAIRES" — asymétrie gauche/droite
   
   Problème : le padding gauche du .top-container
   est appliqué mais le carousel déborde à droite
   car les slides ont une largeur fixe en px (384px)
   qui dépasse le viewport, et le container manque
   de padding-right.
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* Conteneur principal : padding symétrique */
    .top-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    /* Wrapper carousel : contenu dans le padding */
    .top-carousel-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Container du track : clip le débordement */
    .top-carousel-container {
        overflow: hidden !important;
        width: 100% !important;
    }

    /* Track : pas de gap sur mobile pour simplifier le calcul */
    .top-carousel-track {
        gap: 0 !important;
    }

    /* Slides : exactement la largeur du container visible */
    .top-carousel-slide {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    /* Carte intérieure : marge interne pour respiration */
    .top-pro-card {
        margin: 0 4px !important;
    }

    /* Flèches : repositionnées en bas, dans le flux */
    .carousel-arrow {
        position: static !important;
        transform: none !important;
        width: 44px !important;
        height: 44px !important;
    }

    .carousel-arrow-prev,
    .carousel-arrow-next {
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    /* Rangée de flèches centrée sous le carousel */
    .top-carousel-wrapper::after {
        content: '' !important;
        display: block !important;
        height: 16px !important;
    }

    /* Dots : centrés, espacement suffisant */
    .carousel-dots {
        padding: 0 4px !important;
        margin-top: 16px !important;
    }

    /* Section CTA "Voir tous les professionnels" */
    .top-professionals-section .section-cta {
        padding: 0 16px !important;
    }
}

/* Tablette : 2 slides, padding symétrique */
@media (min-width: 601px) and (max-width: 1023px) {

    .top-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .top-carousel-wrapper {
        overflow: hidden !important;
    }

    .top-carousel-container {
        overflow: hidden !important;
    }

    .top-carousel-track {
        gap: 16px !important;
    }

    .top-carousel-slide {
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        box-sizing: border-box !important;
    }

    /* Flèches dans les marges */
    .carousel-arrow-prev {
        left: -8px !important;
    }

    .carousel-arrow-next {
        right: -8px !important;
    }
}




/* ------------------------------------------------
   5. PRÉVENTION GLOBALE — overflow horizontal résiduel
   ------------------------------------------------ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Tous les conteneurs de section */
    section,
    .section,
    [class*="-section"] {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* .container Twig/Bootstrap */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
    }
}

/* ================================================
   HEADER MOBILE — Option 2
   Logo à gauche, avatar + hamburger groupés à droite
   Uniquement sur mobile (max-width: 768px)
   ================================================ */

@media (max-width: 768px) {

    /* Barre principale : flex space-between strict */
    .top-bar-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 10px 16px !important;
        gap: 0 !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    /* Logo : ancré à gauche, ne rétrécit pas */
    .logo-wrapper {
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    .logo-link {
        gap: 8px !important;
    }

    .logo-link svg {
        width: 30px !important;
        height: 30px !important;
        flex-shrink: 0 !important;
    }

    .logo-text {
        font-size: 17px !important;
        white-space: nowrap !important;
    }

    /* Navigation desktop : masquée */
    .main-nav {
        display: none !important;
    }

    /* Zone actions : groupée à droite, ne grossit pas */
    .header-actions {
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important; /* pousse vers la droite */
    }

    /* Boutons desktop (login texte, btn-primary, btn-secondary) : masqués */
    .header-actions .btn-primary-modern,
    .header-actions .btn-secondary-modern,
    .header-actions .login-btn {
        display: none !important;
    }

    /* Avatar : taille compacte */
    .user-menu {
        flex: 0 0 auto !important;
    }

    .user-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }

    .user-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }

    /* Hamburger : taille compacte, toujours visible en dernier */
    .mobile-menu-toggle {
        display: flex !important;
        flex: 0 0 auto !important;
        width: 38px !important;
        height: 38px !important;
        padding: 9px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    /* Dropdown user : ancré à droite, largeur adaptée */
    .user-dropdown {
        right: 0 !important;
        left: auto !important;
        width: calc(100vw - 32px) !important;
        max-width: 280px !important;
        box-sizing: border-box !important;
    }
}

/* Sous 480px : masque le texte du logo, garde l'icône */
@media (max-width: 480px) {
    .logo-text {
        display: none !important;
    }

    .logo-link svg {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ================================================
   LISTING MOBILE — REFONTE COMPLÈTE V3
   Cible les styles inline du _results.html.twig
   Uniquement sur mobile (max-width: 768px)
   ================================================ */

/* ------------------------------------------------
   1. RESET PAGE & LAYOUT
   ------------------------------------------------ */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden !important;
    }

    .marketplace-section {
        padding: 0 !important;
        background: #f1f5f9 !important;
    }

    .marketplace-section .section_wrapper,
    .marketplace-section .items_group,
    .marketplace-section .column.one {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .marketplace-layout {
        display: block !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    /* Sidebar desktop : masquée */
    .filters-sidebar {
        display: none !important;
    }

    .results-area {
        min-height: auto !important;
        padding: 0 !important;
    }
}

/* ------------------------------------------------
   2. HERO COMPACT
   ------------------------------------------------ */
@media (max-width: 768px) {

    .hero-search-section {
        padding: 20px 16px !important;
    }

    .hero-title {
        font-size: 22px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
        margin: 0 !important;
    }
}

/* ------------------------------------------------
   3. FILTRES ACTIFS — 1 seule version visible
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* Cache les badges du fichier parent (active-filters-badges) */
    #active-filters-badges,
    .active-filters-badges,
    .results-header {
        display: none !important;
    }

    /* Garde uniquement #active-filters du _results.html.twig
       mais le restyler pour mobile */
    #active-filters {
        display: block !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 10px 12px !important;
        background: white !important;
    }

    /* Chips filtres actifs : taille mobile */
    .filter-chip {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    /* Lien "Réinitialiser tout" */
    #active-filters a[style*="e91e63"] {
        font-size: 13px !important;
        margin-left: 0 !important;
    }
}

/* ------------------------------------------------
   4. BARRE STICKY RECHERCHE + FILTRES (injectée JS)
   ------------------------------------------------ */
@media (max-width: 768px) {

    #mobile-search-bar {
        position: sticky;
        top: 0;
        z-index: 200;
        background: #6366f1;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
    }

    #mobile-search-bar .msb-input-wrap {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    #mobile-search-bar .msb-input {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        color: white !important;
        font-size: 14px !important;
        width: 100% !important;
        box-shadow: none !important;
        -webkit-appearance: none !important;
    }

    #mobile-search-bar .msb-input::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    /* Empêche le fond blanc au focus (autofill inclus) */
    #mobile-search-bar .msb-input:focus,
    #mobile-search-bar .msb-input:active {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
    }

    /* Autofill Chrome/Safari */
    #mobile-search-bar .msb-input:-webkit-autofill,
    #mobile-search-bar .msb-input:-webkit-autofill:hover,
    #mobile-search-bar .msb-input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 100px #6366f1 inset !important;
        -webkit-text-fill-color: white !important;
        caret-color: white !important;
    }

    #mobile-search-bar .msb-filter-btn {
        position: relative !important;
        overflow: visible !important;   /* ← était hidden ou absent */
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 8px 12px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: none !important;
        border-radius: 10px !important;
        color: white !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
    }

    #mobile-search-bar .msb-filter-btn:active {
        background: rgba(255, 255, 255, 0.3);
    }

    #mobile-search-bar .msb-badge {
        position: absolute !important;
        top: -6px !important;
        right: -6px !important;
        min-width: 17px !important;
        height: 17px !important;
        background: #e91e63 !important;
        color: white !important;
        border-radius: 9px !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        z-index: 1 !important;
        /* Bordure blanche pour que le badge se détache */
        box-shadow: 0 0 0 2px #6366f1 !important;
    }
}

/* ------------------------------------------------
   5. CHIPS CATÉGORIES (injectées JS)
   ------------------------------------------------ */
@media (max-width: 768px) {

    #mobile-chips-bar {
        background: white;
        padding: 10px 12px;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 1px solid #e2e8f0;
        -webkit-overflow-scrolling: touch;
    }

    #mobile-chips-bar::-webkit-scrollbar { display: none; }

    .m-chip {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        padding: 7px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        background: #f1f5f9;
        color: #475569;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s;
    }

    .m-chip.active {
        background: #6366f1;
        color: white;
    }
}

/* ------------------------------------------------
   6. SECTION RÉSULTATS — reset du wrapper inline
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* Le wrapper .section avec padding: 60px 20px inline */
    #professionals-results,
    #professionals-results + *,
    .section[style*="padding: 60px"] {
        padding: 0 !important;
        background: #f1f5f9 !important;
    }

    /* Wrapper max-width:1200px du _results */
    #marketplaceSection {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Meta "Affichage de X à Y" */
    #results-meta {
        padding: 10px 12px 6px !important;
        margin: 0 !important;
        text-align: left !important;
        background: white !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    #results-meta p {
        font-size: 13px !important;
        color: #64748b !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }
}

/* ------------------------------------------------
   7. BOTTOM SHEET FILTRES
   ------------------------------------------------ */
@media (max-width: 768px) {

    #mobile-filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    #mobile-filter-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    #mobile-filter-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 88vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    }

    #mobile-filter-sheet.open {
        transform: translateY(0);
    }

    .sheet-handle {
        width: 36px;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        margin: 12px auto 0;
        flex-shrink: 0;
    }

    .sheet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px 12px;
        border-bottom: 1px solid #f1f5f9;
        flex-shrink: 0;
    }

    .sheet-header h3 {
        font-size: 17px;
        font-weight: 800;
        color: #1e293b;
        margin: 0;
    }

    .sheet-close-btn {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #f1f5f9;
        border: none;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        line-height: 1;
        padding: 0;
    }

    .sheet-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px 20px;
    }

    .sheet-section {
        margin-bottom: 20px;
    }

    .sheet-section-label {
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 10px;
    }

    .sheet-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sheet-chip {
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        background: #f1f5f9;
        color: #475569;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }

    .sheet-chip.active {
        background: #6366f1;
        color: white;
    }

    .sheet-select {
        width: 100%;
        padding: 12px 40px 12px 14px;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 500;
        background: #f8fafc;
        color: #334155;
        outline: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        box-sizing: border-box;
    }

    .sheet-toggle-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid #f8fafc;
    }

    .sheet-toggle-row:last-child { border-bottom: none; }

    .sheet-toggle-label {
        font-size: 14px;
        font-weight: 600;
        color: #334155;
    }

    .sheet-toggle {
        position: relative;
        width: 44px;
        height: 24px;
        background: #e2e8f0;
        border-radius: 12px;
        cursor: pointer;
        transition: background 0.3s;
        flex-shrink: 0;
    }

    .sheet-toggle::after {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        width: 18px;
        height: 18px;
        background: white;
        border-radius: 50%;
        transition: transform 0.3s;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }

    .sheet-toggle.on { background: #6366f1; }
    .sheet-toggle.on::after { transform: translateX(20px); }

    .sheet-footer {
        padding: 14px 20px;
        border-top: 1px solid #f1f5f9;
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }

    .sheet-reset-btn {
        width: 48px;
        height: 48px;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        background: white;
        color: #64748b;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .sheet-apply-btn {
        flex: 1;
        height: 48px;
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        color: white;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(99,102,241,0.35);
    }

    .sheet-apply-btn:active { transform: scale(0.98); }
}

/* ------------------------------------------------
   8. DESKTOP — rien de mobile ne doit apparaître
   ------------------------------------------------ */
@media (min-width: 769px) {
    #mobile-search-bar,
    #mobile-chips-bar,
    #mobile-filter-overlay,
    #mobile-filter-sheet {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ================================================
   FICHE PRESTATAIRE — OPTIMISATIONS MOBILE
   Uniquement sur mobile (max-width: 768px)
   Tous les styles inline sont overridés via JS
   ================================================ */

/* ------------------------------------------------
   RESET GLOBAL
   ------------------------------------------------ */
@media (max-width: 768px) {
    html, body { overflow-x: hidden !important; }

    .section_wrapper,
    .items_group,
    .column.one {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ================================================
   ① HERO HEADER — refonte complète mobile
   ================================================ */
@media (max-width: 768px) {

    /* Section background */
    .section[style*="background: linear-gradient(135deg, #f7fafc"]:first-of-type,
    .section[style*="gradient(135deg, #f7fafc"] {
        padding: 0 !important;
        background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%) !important;
    }

    /* Breadcrumb */
    #pro-breadcrumb {
        padding: 14px 16px 0 !important;
    }

    #pro-breadcrumb a {
        color: rgba(255,255,255,0.85) !important;
        font-size: 13px !important;
    }

    /* Carte hero principale */
    #pro-hero-card {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 20px 16px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Photo principale */
    #pro-hero-photo {
        width: 100px !important;
        height: 100px !important;
        border-radius: 50% !important;
        border: 4px solid rgba(255,255,255,0.3) !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
        overflow: hidden !important;
        margin-bottom: 14px !important;
        flex-shrink: 0 !important;
    }

    #pro-hero-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Badge catégorie */
    #pro-category-badge {
        color: #92400e !important;
        background: #fef3c7 !important;
        font-size: 12px !important;
        padding: 4px 12px !important;
        border-radius: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
        display: inline-block !important;
    }

    /* Nom */
    #pro-name {
        font-size: 26px !important;
        font-weight: 900 !important;
        color: white !important;
        margin: 0 0 10px 0 !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        line-height: 1.2 !important;
    }

    /* Infos ville/téléphone */
    #pro-meta-info {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        font-size: 14px !important;
        color: rgba(255,255,255,0.9) !important;
        margin-bottom: 20px !important;
    }

    /* Bouton CTA dans hero — masqué car remplacé par sticky bar */
    #pro-cta-wrapper {
        display: none !important;
    }

    /* Vague décorative sous le hero */
    #pro-hero-wave {
        height: 24px;
        background: #f8fafc;
        border-radius: 24px 24px 0 0;
        margin-top: 16px;
        width: 100%;
    }
}

/* ================================================
   ② ONGLETS SERVICES — pills scrollables → wrap
   ================================================ */
@media (max-width: 768px) {

    .services-tabs-wrapper {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .services-tabs-nav {
        display: flex !important;
        flex-wrap: wrap !important;        /* wrap au lieu de scroll horizontal */
        gap: 8px !important;
        padding: 12px 16px !important;
        background: white !important;
        border-bottom: 1px solid #f1f5f9 !important;
        overflow-x: visible !important;
    }

    .service-tab-btn {
        flex: 0 0 auto !important;
        min-width: auto !important;
        padding: 8px 14px !important;
        border-radius: 20px !important;
        font-size: 13px !important;
        border: 2px solid #e2e8f0 !important;
        border-bottom: 2px solid #e2e8f0 !important;
        background: #f8fafc !important;
        color: #64748b !important;
        margin-bottom: 0 !important;
    }

    .service-tab-btn.active {
        background: #e91e63 !important;
        color: white !important;
        border-color: #e91e63 !important;
    }

    .tab-label {
        font-size: 13px !important;
    }

    .tab-count {
        font-size: 11px !important;
    }

    .services-tabs-content {
        padding: 12px 16px !important;
        background: #f8fafc !important;
    }

    /* Carte service — layout mobile compact */
    .service-card {
        padding: 16px !important;
        min-height: auto !important;
        border-radius: 14px !important;
        margin-bottom: 0 !important;
    }

    /* Nom du service */
    .service-card h4 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    /* Bloc prix/durée côte à côte, pleine largeur */
    .service-card > div[style*="justify-content: center"] {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .service-card > div[style*="max-width: 160px"],
    .service-card div[style*="max-width:160px"] {
        max-width: none !important;
        min-width: 0 !important;
    }
}

/* ================================================
   ③ INFORMATIONS PRATIQUES — padding symétrique
   ================================================ */
@media (max-width: 768px) {

    /* Section wrapper */
    .section[style*="background: #f5f7fa"] .section_wrapper {
        padding: 0 16px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* Titre section */
    .section[style*="background: #f5f7fa"] h2 {
        padding: 0 !important;
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }

    /* Grille cartes → 1 colonne */
    .info-card-v2 {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Grille auto-fit → 1 colonne sur mobile */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(320px"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Liens réseaux sociaux — wrap propre */
    div[style*="flex-wrap: wrap"][style*="justify-content: center"] {
        gap: 8px !important;
        padding: 0 !important;
    }
}

/* ================================================
   ④ ÉTOILES — tuiles larges touch-friendly
   ================================================ */
@media (max-width: 768px) {

    /* Masque les labels verbeux sous les étoiles */
    .star-label {
        display: none !important;
    }

    /* Grille 5 colonnes égales, pas de gap excessif */
    .star-rating-premium {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 6px !important;
    }

    /* Chaque bouton étoile : zone de touch 56px min */
    .star-btn {
        padding: 10px 4px !important;
        min-height: 56px !important;
        border-radius: 12px !important;
        gap: 4px !important;
    }

    /* Icône étoile plus grande */
    .star-btn .star-icon {
        font-size: 28px !important;
    }

    /* Numéro sous l'étoile (injecté par JS) */
    .star-num {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #94a3b8 !important;
    }

    .star-btn.active .star-num {
        color: #92400e !important;
    }

    /* Feedback box */
    .rating-feedback-box {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }

    /* Formulaire : inputs pleine largeur */
    .input-group-modern {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .review-form-premium {
        padding: 20px 16px !important;
        gap: 28px !important;
    }

    .form-header-premium {
        padding: 24px 16px !important;
    }

    .form-section {
        grid-template-columns: 36px 1fr !important;
        gap: 12px !important;
    }

    .section-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
}

/* ================================================
   ⑤ CTA STICKY "RÉSERVER" — barre flottante bas
   ================================================ */
@media (max-width: 768px) {

    #sticky-cta-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 500;
        background: white;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
        display: flex;
        gap: 10px;
        align-items: center;
        border-top: 1px solid #f1f5f9;
    }

    #sticky-cta-bar .sticky-pro-name {
        flex: 1;
        font-size: 13px;
        font-weight: 700;
        color: #1e293b;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #sticky-cta-bar .sticky-book-btn {
        flex-shrink: 0;
        padding: 12px 20px;
        background: linear-gradient(135deg, #e91e63, #c2185b);
        color: white;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 14px rgba(233,30,99,0.35);
        border: none;
        cursor: pointer;
        white-space: nowrap;
    }

    #sticky-cta-bar .sticky-phone-btn {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        background: #f1f5f9;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        text-decoration: none;
        border: none;
        cursor: pointer;
    }

    /* Espace pour que le contenu ne soit pas caché par la sticky bar */
    body.has-sticky-cta .section:last-of-type {
        padding-bottom: 80px !important;
    }
}

/* ================================================
   ⑥ GALERIE PHOTOS — scroll horizontal stories
   ================================================ */
@media (max-width: 768px) {

    /* Image principale : ratio 16:9 pleine largeur */
    .main-gallery-item {
        max-height: 220px !important;
        aspect-ratio: 16/9 !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Grille secondaire → scroll horizontal */
    #gallery-container {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding: 10px 16px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #gallery-container::-webkit-scrollbar { display: none; }

    /* Chaque vignette : carré fixe */
    #gallery-container > a {
        flex-shrink: 0 !important;
        width: 110px !important;
        height: 110px !important;
        aspect-ratio: 1 !important;
        border-radius: 12px !important;
    }

    /* Section galerie : padding réduit */
    .section[style*="background: white"] .section_wrapper {
        padding: 0 !important;
    }

    .pswp-gallery {
        padding: 0 !important;
    }

    /* Titre section galerie */
    .pswp-gallery + * h2,
    .section[style*="background: white"] h2 {
        padding: 16px 16px 0 !important;
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
}

/* ================================================
   ⑦ HORAIRES — liste compacte 1 colonne
   ================================================ */
@media (max-width: 768px) {

    /* Grille jours → colonne unique */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px"] {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    /* Chaque ligne jour */
    div[style*="justify-content: space-between"][style*="padding: 16px 20px"] {
        padding: 12px 14px !important;
        border-radius: 10px !important;
    }
}

/* ================================================
   ⑧ AVIS — mise en page mobile
   ================================================ */
@media (max-width: 768px) {

    /* Stats avis : 1 colonne */
    .reviews-stats-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .reviews-header-wrapper {
        padding: 20px 16px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .average-rating-block {
        padding: 24px 16px !important;
    }

    .rating-number {
        font-size: 56px !important;
    }

    /* Liste avis */
    .reviews-list-container {
        padding: 20px 16px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .reviews-list-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .review-card-premium {
        padding: 16px !important;
    }

    .review-card-header {
        flex-direction: row !important;
        align-items: flex-start !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    /* Filtres avis — scroll horizontal */
    .reviews-filters {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        width: 100% !important;
        scrollbar-width: none !important;
        gap: 8px !important;
    }

    .reviews-filters::-webkit-scrollbar { display: none; }

    .filter-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    /* Section barre de distribution des notes */
    .rating-bar-row {
        grid-template-columns: 50px 1fr 70px !important;
        gap: 8px !important;
    }
}

/* ================================================
   ESPACE POUR LA STICKY BAR
   ================================================ */
@media (max-width: 768px) {
    /* Padding bas pour éviter que la sticky bar cache le contenu */
    #Content {
        padding-bottom: 80px !important;
    }
}

/* ================================================
   SERVICES — SELECT DROPDOWN MOBILE
   Remplace les onglets par un select stylé
   Uniquement sur mobile (max-width: 768px)
   ================================================ */

@media (max-width: 768px) {

    /* Cache la nav onglets originale */
    .services-tabs-nav {
        display: none !important;
    }

    /* Wrapper du select injecté */
    #service-category-select-wrap {
        padding: 14px 16px 10px;
        background: white;
        border-bottom: 1px solid #f1f5f9;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Label au-dessus */
    #service-category-label {
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #service-category-label .label-count {
        font-size: 11px;
        font-weight: 600;
        color: #e91e63;
        background: #fdf2f8;
        padding: 2px 8px;
        border-radius: 10px;
    }

    /* Wrapper position relative pour l'icône custom */
    #service-category-select-inner {
        position: relative;
        display: flex;
        align-items: center;
    }

    /* Icône catégorie active (injectée par JS) */
    #service-select-icon {
        position: absolute;
        left: 14px;
        font-size: 20px;
        pointer-events: none;
        z-index: 2;
        line-height: 1;
    }

    /* Le select natif */
    #service-category-select {
        width: 100%;
        appearance: none;
        -webkit-appearance: none;
        background: white;
        border: 2px solid #e91e63;
        border-radius: 14px;
        padding: 14px 48px 14px 46px;
        font-size: 15px;
        font-weight: 700;
        color: #1e293b;
        cursor: pointer;
        outline: none;
        box-shadow: 0 2px 12px rgba(233, 30, 99, 0.12);
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    #service-category-select:focus {
        border-color: #c2185b;
        box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
    }

    /* Flèche custom à droite */
    #service-select-arrow {
        position: absolute;
        right: 14px;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    #service-select-arrow svg {
        width: 18px;
        height: 18px;
        color: #e91e63;
        transition: transform 0.2s;
    }

    /* Compteur de catégories */
    #service-category-counter {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 8px;
        padding: 0 2px;
    }

    .category-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #e2e8f0;
        transition: background 0.2s, transform 0.2s;
        flex-shrink: 0;
    }

    .category-dot.active {
        background: #e91e63;
        transform: scale(1.3);
    }

    .category-dot-label {
        font-size: 11px;
        color: #94a3b8;
        font-weight: 500;
        margin-left: 2px;
    }

    /* Contenu des panels — inchangé */
    .services-tabs-content {
        padding: 12px 16px !important;
    }
}

/* Desktop : rien ne change */
@media (min-width: 769px) {
    #service-category-select-wrap {
        display: none !important;
    }
}

/* ================================================
   PHOTOSWIPE — CORRECTIF MOBILE
   À ajouter dans pro-show-mobile.css
   ================================================ */

@media (max-width: 768px) {

    /* -------------------------------------------------------
       1. Supprime le padding interne de PhotoSwipe
          qui compressait l'image jusqu'au noir
    ------------------------------------------------------- */
    .pswp__bg {
        background: #000 !important;
    }

    .pswp {
        z-index: 10000 !important; /* au-dessus de la sticky bar */
    }

    /* Force l'image à occuper tout l'espace disponible */
    .pswp__item {
        padding: 0 !important;
    }

    .pswp img {
        max-width: 100vw !important;
        max-height: 100vh !important;
        object-fit: contain !important;
    }

    /* -------------------------------------------------------
       2. Sticky bar : passe sous PhotoSwipe
    ------------------------------------------------------- */
    #sticky-cta-bar {
        z-index: 500 !important; /* < 10000 de PhotoSwipe */
    }

    /* -------------------------------------------------------
       3. Barre supérieure PhotoSwipe lisible sur mobile
    ------------------------------------------------------- */
    .pswp__top-bar {
        padding: 8px !important;
    }

    .pswp__button {
        width: 44px !important;
        height: 44px !important;
    }

    /* Caption / compteur */
    .pswp__counter {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }
}

/* ================================================
   BOOKING — SÉLECTION DES SERVICES
   Sidebar desktop + Pills mobile
   ================================================ */

/* ------------------------------------------------
   1. STRUCTURE GÉNÉRALE — remplace la grille inline
   ------------------------------------------------ */

/* Conteneur de l'étape 1 */
#booking-services-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* En-tête de l'étape */
.booking-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.booking-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.booking-step-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.booking-step-hint {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
    margin-left: auto;
}

/* Layout principal : sidebar + contenu */
.booking-services-layout {
    display: flex;
    min-height: 360px;
}


/* ------------------------------------------------
   2. SIDEBAR DESKTOP — catégories
   ------------------------------------------------ */

.booking-categories-sidebar {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid #f1f5f9;
    padding: 16px 12px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0 8px;
    margin-bottom: 6px;
}

.category-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.category-nav-btn:hover {
    background: #f1f5f9;
}

.category-nav-btn.active {
    background: #e91e63;
}

.category-nav-btn .cat-nav-name {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.category-nav-btn.active .cat-nav-name {
    color: white;
}

.category-nav-btn .cat-nav-count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    padding-left: 20px;
    transition: color 0.2s;
}

.category-nav-btn.active .cat-nav-count {
    color: rgba(255, 255, 255, 0.75);
}

/* Indicateur de services sélectionnés dans la catégorie */
.cat-nav-badge {
    display: none;
    width: 16px;
    height: 16px;
    background: white;
    color: #e91e63;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
}

.category-nav-btn.has-selection .cat-nav-badge {
    display: flex;
}

.category-nav-btn.active.has-selection .cat-nav-badge {
    background: white;
    color: #e91e63;
}

.category-nav-btn:not(.active).has-selection .cat-nav-badge {
    background: #e91e63;
    color: white;
}


/* ------------------------------------------------
   3. ZONE DE CONTENU — liste des services
   ------------------------------------------------ */

.booking-services-content {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    max-height: 500px;
}

/* En-tête de catégorie active */
.active-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.active-category-icon {
    font-size: 20px;
}

.active-category-name {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
}

.active-category-count {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

/* Panel de services par catégorie */
.services-panel {
    display: none;
}

.services-panel.active {
    display: block;
    animation: fadeInPanel 0.2s ease-out;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Grille des cartes services */
.services-grid-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* ------------------------------------------------
   4. CARTE SERVICE — ligne compacte
   ------------------------------------------------ */

.service-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}

.service-card-row:hover {
    border-color: #fda4af;
    background: #fff5f7;
    transform: translateX(3px);
}

.service-card-row.selected {
    border-color: #e91e63;
    background: linear-gradient(135deg, #fff0f6 0%, #fce7f3 100%);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.12);
}

/* Checkbox custom */
.service-card-checkbox-visual {
    width: 22px;
    height: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.service-card-row.selected .service-card-checkbox-visual {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
    font-size: 12px;
    font-weight: 800;
}

/* Infos service */
.service-card-info {
    flex: 1;
    min-width: 0;
}

.service-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card-desc {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Méta droite */
.service-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.service-card-price {
    font-size: 17px;
    font-weight: 900;
    color: #e91e63;
}

.service-card-duration {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

/* Badge acompte */
.service-card-deposit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #fef3c7;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    margin-top: 4px;
}

/* Checkbox natif caché */
.service-card-row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}


/* ------------------------------------------------
   5. BARRE STICKY DE SÉLECTION
   ------------------------------------------------ */

#booking-selection-bar {
    border-top: 1px solid #f1f5f9;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    transition: all 0.3s ease;
}

#booking-selection-bar.has-selection {
    border-top-color: #fda4af;
    background: #fff0f6;
}

.selection-bar-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.selection-bar-count {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.selection-count-badge {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}

.selection-bar-total {
    font-size: 18px;
    font-weight: 900;
    color: #e91e63;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selection-bar-total .total-duration {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.selection-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

#booking-proceed-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
    opacity: 0.4;
    pointer-events: none;
    white-space: nowrap;
}

#booking-proceed-btn.enabled {
    opacity: 1;
    pointer-events: auto;
}

#booking-proceed-btn.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

#booking-proceed-btn:active {
    transform: scale(0.98);
}

#booking-clear-btn {
    padding: 10px 16px;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    display: none;
}

#booking-clear-btn.visible {
    display: block;
}

#booking-clear-btn:hover {
    border-color: #e91e63;
    color: #e91e63;
}

/* Message d'aide initial */
.selection-bar-hint {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}


/* ------------------------------------------------
   6. PANNEAU FLOTTANT — masqué sur mobile,
      conservé sur desktop mais moins proéminent
   ------------------------------------------------ */

#floating-summary {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 360px;
    z-index: 1000;
    border: 2px solid #fda4af;
    display: none;
}


/* ------------------------------------------------
   7. PILLS CATÉGORIES — MOBILE UNIQUEMENT
   (générées par JS, cachées sur desktop)
   ------------------------------------------------ */

#booking-categories-pills {
    display: none; /* caché sur desktop */
}


/* ------------------------------------------------
   8. RESPONSIVE — MOBILE
   ------------------------------------------------ */

@media (max-width: 768px) {

    /* Cache la sidebar */
    .booking-categories-sidebar {
        display: none !important;
    }

    /* Affiche les pills */
    #booking-categories-pills {
        display: flex !important;
        gap: 8px;
        padding: 10px 14px;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 1px solid #f1f5f9;
        background: white;
        -webkit-overflow-scrolling: touch;
    }

    #booking-categories-pills::-webkit-scrollbar {
        display: none;
    }

    .cat-pill {
        flex-shrink: 0;
        padding: 7px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 700;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s;
    }

    .cat-pill.active {
        background: #e91e63;
        color: white;
    }

    .cat-pill.inactive {
        background: #f1f5f9;
        color: #475569;
    }

    /* Layout : plus de sidebar */
    .booking-services-layout {
        flex-direction: column;
        min-height: auto;
    }

    .booking-services-content {
        padding: 14px 14px;
        max-height: none;
        overflow-y: visible;
    }

    /* Carte service : adaptée mobile */
    .service-card-row {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .service-card-name {
        font-size: 14px;
    }

    .service-card-price {
        font-size: 15px;
    }

    /* Header de section */
    .booking-step-header {
        padding: 16px 14px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .booking-step-hint {
        margin-left: 0;
        width: 100%;
        padding-left: 48px;
        margin-top: -4px;
    }

    /* Barre sticky */
    #booking-selection-bar {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    #booking-proceed-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 15px;
    }

    .selection-bar-right {
        width: 100%;
        flex-direction: column;
    }

    #booking-clear-btn.visible {
        width: 100%;
        text-align: center;
    }

    /* Panneau flottant : masqué sur mobile */
    #floating-summary {
        display: none !important;
    }

    /* Wrapper sans padding latéral excessif */
    #booking-services-wrapper {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    /* Scrollbar interne invisible */
    .booking-services-content::-webkit-scrollbar {
        display: none;
    }
}

/* ================================================
   BOOKING MOBILE — CSS CONSOLIDÉ ET NETTOYÉ
   Version finale sans doublons ni conflits
   ================================================ */


/* ================================================
   1. NEUTRALISATION CARTES ORIGINALES TWIG
   Doit être en premier pour établir la priorité
   ================================================ */

@media (max-width: 768px) {
    body:has(#booking-services-wrapper) .service-card {
        all: revert !important;
        display: none !important;
    }
}


/* ================================================
   2. EN-TÊTE ÉTAPE 1
   ================================================ */

@media (max-width: 768px) {

    #booking-services-wrapper {
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .booking-step-header {
        padding: 14px 12px 12px !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .booking-step-number {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .booking-step-header h2 {
        font-size: 16px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .booking-step-hint {
        display: none !important;
    }

    /* Sidebar desktop : cachée */
    .booking-categories-sidebar {
        display: none !important;
    }

    /* Layout : colonne unique */
    .booking-services-layout {
        flex-direction: column !important;
        min-height: auto !important;
    }
}


/* ================================================
   3. PILLS CATÉGORIES — scroll horizontal
   ================================================ */

@media (max-width: 768px) {

    #booking-categories-pills {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding: 8px 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        border-bottom: 1px solid #f1f5f9 !important;
        background: white !important;
    }

    #booking-categories-pills::-webkit-scrollbar {
        display: none !important;
    }

    .cat-pill {
        flex-shrink: 0 !important;
        padding: 7px 13px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        border: none !important;
        cursor: pointer !important;
        line-height: 1 !important;
    }

    .cat-pill.active {
        background: #e91e63 !important;
        color: white !important;
    }

    .cat-pill.inactive {
        background: #f1f5f9 !important;
        color: #475569 !important;
    }
}


/* ================================================
   4. ZONE DE CONTENU + EN-TÊTE CATÉGORIE
   ================================================ */

@media (max-width: 768px) {

    .booking-services-content {
        padding: 12px !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .active-category-header {
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }

    .active-category-icon {
        font-size: 16px !important;
    }

    .active-category-name {
        font-size: 14px !important;
        font-weight: 800 !important;
    }

    .active-category-count {
        font-size: 12px !important;
    }

    .services-grid-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
}


/* ================================================
   5. CARTES SERVICE (.service-card-row)
   ================================================ */

@media (max-width: 768px) {

    .service-card-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 12px !important;
        background: white !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        width: 100% !important;
        transform: none !important;
        transition: border-color 0.2s ease, background 0.2s ease !important;
    }

    .service-card-row:active {
        background: #fff5f7 !important;
        border-color: #fda4af !important;
    }

    .service-card-row.selected {
        border-color: #e91e63 !important;
        background: linear-gradient(135deg, #fff0f6 0%, #fce7f3 100%) !important;
    }

    /* Checkbox visuelle */
    .service-card-checkbox-visual {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        border-radius: 5px !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
        font-size: 11px !important;
    }

    .service-card-row.selected .service-card-checkbox-visual {
        background: #e91e63 !important;
        border-color: #e91e63 !important;
        color: white !important;
    }

    /* Zone info centrale */
    .service-card-info {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .service-card-name {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        line-height: 1.3 !important;
    }

    .service-card-desc {
        font-size: 11px !important;
        color: #94a3b8 !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .service-card-deposit {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 3px 7px !important;
        background: #fef3c7 !important;
        border-radius: 6px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #92400e !important;
        margin-top: 4px !important;
        white-space: nowrap !important;
        width: fit-content !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Méta droite */
    .service-card-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 3px !important;
        flex-shrink: 0 !important;
        align-self: flex-start !important;
    }

    .service-card-price {
        font-size: 15px !important;
        font-weight: 900 !important;
        color: #e91e63 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .service-card-duration {
        font-size: 11px !important;
        color: #94a3b8 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    .service-card-name  { font-size: 13px !important; }
    .service-card-price { font-size: 14px !important; }
}


/* ================================================
   6. BARRE STICKY SÉLECTION
   ================================================ */

@media (max-width: 768px) {

    #booking-selection-bar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    #booking-selection-bar.has-selection {
        border-top-color: #fda4af !important;
        background: #fff0f6 !important;
    }

    .selection-bar-left {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
    }

    .selection-bar-count {
        font-size: 11px !important;
        color: #64748b !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }

    .selection-count-badge {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        flex-shrink: 0 !important;
    }

    .selection-bar-total {
        font-size: 15px !important;
        font-weight: 900 !important;
        color: #e91e63 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }

    .selection-bar-total .total-duration {
        font-size: 11px !important;
        color: #94a3b8 !important;
        font-weight: 600 !important;
    }

    .selection-bar-hint {
        font-size: 12px !important;
        color: #94a3b8 !important;
    }

    .selection-bar-right {
        display: flex !important;
        flex-direction: row !important;
        flex-shrink: 0 !important;
        gap: 6px !important;
        width: auto !important;
        align-items: center !important;
    }

    #booking-proceed-btn {
        width: auto !important;
        min-width: 0 !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        border-radius: 10px !important;
        line-height: 1 !important;
    }

    #booking-clear-btn {
        display: none !important;
    }

    #booking-clear-btn.visible {
        display: flex !important;
        width: auto !important;
        padding: 9px 10px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 380px) {
    #booking-proceed-btn    { padding: 9px 10px !important; font-size: 12px !important; }
    #booking-clear-btn.visible { padding: 8px !important; font-size: 11px !important; }
}


/* ================================================
   7. FULLCALENDAR — colonne unique + lisibilité
   ================================================ */

@media (max-width: 768px) {

    /* Étape 2 : padding réduit */
    #step2 > div > div {
        padding: 16px 12px !important;
    }

    /* Grille calendrier+créneaux → colonne unique */
    #step2 div[style*="grid-template-columns: 1fr 1fr"],
    #step2 [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    #calendar {
        width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
    }

    /* Header FC */
    .fc .fc-toolbar {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 0 12px 0 !important;
    }

    .fc .fc-toolbar-title {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #1e293b !important;
    }

    .fc .fc-button {
        padding: 8px 12px !important;
        font-size: 13px !important;
        min-width: 44px !important;
        min-height: 36px !important;
        border-radius: 8px !important;
    }

    .fc .fc-prev-button,
    .fc .fc-next-button {
        min-width: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Labels jours */
    .fc .fc-col-header-cell {
        padding: 8px 0 6px !important;
    }

    .fc .fc-col-header-cell-cushion {
        font-size: 11px !important;
        font-weight: 800 !important;
        padding: 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
    }

    /* Cellules jours : zone de tap 44px */
    .fc .fc-daygrid-day {
        min-height: 44px !important;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .fc .fc-daygrid-day-top {
        flex-direction: row !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .fc .fc-daygrid-day-number {
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 4px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        line-height: 1 !important;
    }

    .fc .fc-day-today .fc-daygrid-day-number {
        background: #3b82f6 !important;
        color: white !important;
        font-weight: 800 !important;
    }

    .fc-daygrid-day.selected-date .fc-daygrid-day-number {
        background: #e91e63 !important;
        color: white !important;
        font-weight: 800 !important;
    }

    .fc-daygrid-day.selected-date::after {
        display: none !important;
    }

    .fc .fc-day-past {
        opacity: 0.35 !important;
    }

    .fc .fc-daygrid-event {
        display: none !important;
    }

    /* Créneaux */
    #slotsContainer { width: 100% !important; }

    #step2 h3 {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }

    #slotsGrid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        max-height: 240px !important;
    }

    .slot-btn {
        padding: 10px 4px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        min-height: 44px !important;
        text-align: center !important;
    }

    #noDateSelected { padding: 32px 16px !important; }
    #noDateSelected p { font-size: 14px !important; }
}

@media (max-width: 380px) {
    .fc .fc-toolbar-title           { font-size: 14px !important; }
    .fc .fc-daygrid-day-number      { font-size: 12px !important; min-width: 26px !important; min-height: 26px !important; }
    .fc .fc-col-header-cell-cushion { font-size: 10px !important; }
    #slotsGrid  { gap: 6px !important; }
    .slot-btn   { font-size: 12px !important; padding: 8px 2px !important; }
}


/* ================================================
   8. ÉTAPE 3 — infos client
   ================================================ */

@media (max-width: 768px) {

    #step3 div[style*="grid-template-columns: repeat(2, 1fr)"],
    #step3 [style*="grid-template-columns: repeat(2, 1fr)"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    #step3 > div > div { padding: 16px 14px !important; }

    #step3 input,
    #step3 textarea { font-size: 16px !important; }

    #continueBtn {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    #step3 div[style*="display: flex"][style*="gap: 10px"] {
        flex-wrap: wrap !important;
    }

    #voucher-validate-btn {
        width: 100% !important;
        padding: 12px !important;
        margin-top: 4px !important;
    }
}


/* ================================================
   9. ÉTAPE 4 — récapitulatif
   ================================================ */

@media (max-width: 768px) {

    #step4 > div > div { padding: 16px 14px !important; }
    #bookingSummary     { padding: 16px !important; }

    #step4 div[style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #step4 button,
    #step4 [type="submit"] {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    #bookingSummary div[style*="display: flex"][style*="justify-content: space-between"] {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
}


/* ================================================
   10. PANNEAU FLOTTANT — masqué sur mobile
   ================================================ */

@media (max-width: 768px) {
    #floating-summary { display: none !important; }
}

/* ================================================
   BOOKING — HERO SECTION MOBILE
   ================================================ */

@media (max-width: 768px) {

    /* Section hero */
    .section[style*="background: linear-gradient(135deg, #667eea"] {
        padding: 32px 16px 24px !important;
    }

    /* Lien retour */
    .section[style*="background: linear-gradient(135deg, #667eea"] a {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        display: inline-flex !important;
    }

    /* Titre principal */
    .section[style*="background: linear-gradient(135deg, #667eea"] h1 {
        font-size: 26px !important;
        font-weight: 900 !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.2 !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    /* Sous-titre ville + téléphone */
    .section[style*="background: linear-gradient(135deg, #667eea"] p {
        font-size: 14px !important;
        margin: 0 !important;
        opacity: 0.95 !important;
    }

    /* Section fond form */
    .section[style*="background: #f5f7fa"] {
        padding: 20px 12px !important;
    }
}

@media (max-width: 380px) {
    .section[style*="background: linear-gradient(135deg, #667eea"] h1 {
        font-size: 22px !important;
    }
}

/* ================================================
   BOOKING — HERO + GLOBAL MOBILE
   Sélecteurs robustes (pas de style*= fragile)
   ================================================ */

@media (max-width: 768px) {

    /* ── Hero section violette ──
       Cible via le h1 enfant plutôt que le style inline
    ── */
    #Content h1[style*="font-size: 42px"] {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin: 0 0 10px 0 !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        word-break: break-word !important;
    }

    /* Lien retour au profil */
    #Content a[style*="color: rgba(255,255,255"] {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }

    /* Sous-titre ville + téléphone */
    #Content p[style*="font-size: 18px"][style*="rgba(255,255,255"] {
        font-size: 13px !important;
        margin: 0 !important;
    }

    /* Padding de la section hero */
    #Content .section:first-child {
        padding: 60px 20px 40px !important;
        
    }

    /* Padding section formulaire */
    #Content .section[style*="background: #f5f7fa"] {
        padding: 16px 10px !important;
    }

    /* ── Wrapper booking global ── */
    #Content .section_wrapper {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Évite le débordement horizontal */
    #Content .items_group,
    #Content .column {
        overflow: hidden !important;
    }
}

@media (max-width: 380px) {
    #Content h1[style*="font-size: 42px"] {
        font-size: 22px !important;
    }
}


/* ================================================
   BOOKING MOBILE — PATCH V4
   Remplace booking-mobile-patch-v3.css
   ================================================ */

/* ================================================
   BOOKING — NEUTRALISATION THÈME AVADA
   Cible spécifiquement les cartes générées par JS
   pour empêcher tout style du thème de déborder
   ================================================ */

/* Toutes tailles d'écran */
.service-card-row {
    overflow: hidden !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Tous les enfants directs et petits-enfants */
.service-card-row *,
.service-card-row *::before,
.service-card-row *::after {
    float: none !important;
    position: static !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Le wrapper interne */
.service-card-row > div:first-of-type {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Ligne 1 : checkbox + nom */
.service-card-row > div:first-of-type > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

/* Nom du service */
.service-card-row > div:first-of-type > div:first-child > span:last-child {
    flex: 1 !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Conteneur .services-grid-inner */
.services-grid-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* Contenu des services */
.booking-services-content {
    overflow: hidden !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    /* Force le contenu des panneaux à rester dans les limites */
    .services-panel {
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .services-panel.active {
        display: block !important;
    }
}


/* ================================================
   1. BARRE STICKY — colonne sur mobile
      Prix + count en haut, boutons en bas
   ================================================ */

@media (max-width: 768px) {

    #booking-selection-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    #booking-selection-bar.has-selection {
        border-top-color: #fda4af !important;
        background: #fff0f6 !important;
    }

    /* Ligne info (haut) */
    .selection-bar-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        min-width: 0 !important;
    }

    .selection-bar-hint {
        font-size: 12px !important;
        color: #94a3b8 !important;
    }

    .selection-bar-count {
        font-size: 12px !important;
        color: #64748b !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .selection-count-badge {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
        background: #e91e63 !important;
        color: white !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 800 !important;
    }

    .selection-bar-total {
        font-size: 16px !important;
        font-weight: 900 !important;
        color: #e91e63 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 5px !important;
    }

    .selection-bar-total .total-duration {
        font-size: 12px !important;
        color: #94a3b8 !important;
        font-weight: 600 !important;
    }

    /* Ligne boutons (bas) */
    .selection-bar-right {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        width: 100% !important;
    }

    /* Bouton principal — pleine largeur */
    #booking-proceed-btn {
        width: 100% !important;
        padding: 13px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: center !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
        border: none !important;
        opacity: 0.4 !important;
        pointer-events: none !important;
        box-shadow: 0 4px 12px rgba(233,30,99,0.25) !important;
        line-height: 1 !important;
    }

    #booking-proceed-btn.enabled {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Bouton effacer — pleine largeur, secondaire */
    #booking-clear-btn {
        display: none !important;
    }

    #booking-clear-btn.visible {
        display: flex !important;
        width: 100% !important;
        padding: 10px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        border: 1.5px solid #e2e8f0 !important;
        background: white !important;
        color: #64748b !important;
    }
}

@media (max-width: 380px) {
    #booking-proceed-btn { font-size: 13px !important; padding: 12px !important; }
    .selection-bar-total { font-size: 15px !important; }
}


/* ================================================
   2. CALENDRIER — overflow + largeur
   (Le fix de grille est fait par JS)
   ================================================ */

@media (max-width: 768px) {

    /* Conteneurs : plus d'overflow hidden */
    #step2,
    #step2 .column,
    #step2 .items_group,
    #step2 > div,
    #step2 > div > div {
        overflow: visible !important;
    }

    #step2 > div > .column > div,
    #step2 .column > div {
        padding: 14px 12px !important;
        overflow: visible !important;
    }

    /* Calendrier pleine largeur */
    #calendar {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    #calendar .fc {
        width: 100% !important;
    }

    #calendar .fc-view-harness,
    #calendar .fc-scroller,
    #calendar .fc-scroller-liquid-absolute {
        overflow: visible !important;
        height: auto !important;
        position: static !important;
    }

    #calendar table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* Header FC */
    #calendar .fc-toolbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding: 0 0 10px !important;
        margin-bottom: 0 !important;
    }

    #calendar .fc-toolbar-title {
        font-size: 14px !important;
        font-weight: 800 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center;
    }

    #calendar .fc-button {
        min-width: 28px !important;
        min-height: 28px !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
        border-radius: 7px !important;
    }

    /* Cellules */
    #calendar .fc-daygrid-day {
        min-height: 36px !important;
        height: auto !important;
    }

    #calendar .fc-daygrid-day-frame {
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    #calendar .fc-daygrid-day-top {
        justify-content: center !important;
        padding: 0 !important;
        flex-direction: row !important;
    }

    #calendar .fc-daygrid-day-number {
        font-size: 12px !important;
        font-weight: 600 !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    #calendar .fc-col-header-cell-cushion {
        font-size: 10px !important;
        font-weight: 700 !important;
        padding: 4px 0 !important;
        text-transform: uppercase !important;
    }

    #calendar .fc-day-past { opacity: 0.35 !important; }

    #calendar .fc-day-today .fc-daygrid-day-number {
        background: #3b82f6 !important;
        color: white !important;
        font-weight: 800 !important;
    }

    #calendar .fc-daygrid-day.selected-date .fc-daygrid-day-number {
        background: #e91e63 !important;
        color: white !important;
        font-weight: 800 !important;
    }

    #calendar .fc-daygrid-day.selected-date::after {
        display: none !important;
    }

    /* Créneaux */
    #slotsContainer { width: 100% !important; }

    #slotsGrid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        max-height: 220px !important;
        overflow-y: auto !important;
    }

    .slot-btn {
        padding: 10px 4px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        min-height: 44px !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    #step2 h3 {
        font-size: 14px !important;
        margin: 0 0 10px !important;
    }

    #noDateSelected {
        padding: 24px 12px !important;
        text-align: center !important;
    }
}

@media (max-width: 380px) {
    #calendar .fc-toolbar-title { font-size: 12px !important; }
    #calendar .fc-daygrid-day-number { font-size: 11px !important; width: 24px !important; height: 24px !important; min-width: 24px !important; min-height: 24px !important; }
    #calendar .fc-col-header-cell-cushion { font-size: 9px !important; }
    #slotsGrid { gap: 5px !important; }
    .slot-btn { font-size: 11px !important; min-height: 40px !important; }
}

/* S'applique sur toutes les tailles */
.booking-services-content {
    padding: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow: hidden !important;
}
 
.services-grid-inner {
    width: 100% !important;
    box-sizing: border-box !important;
}
 
.service-card-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
 
/* Le wrapper interne de chaque carte */
.service-card-row > div:first-of-type {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
}


/* ================================================
   CSS CONSOLIDÉ 
   Remplace les blocs <style> inline des deux fichiers
   ================================================ */


/* ================================================
   1. RESET ESPACES AVADA
   Supprime le sous-header vide et ses espaces
   ================================================ */

#Subheader,
.subheader-transparent #Subheader,
#subheader,
.subheader_inner,
.fusion-page-title-bar,
.fusion-page-title-row {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

/* Retire le padding-top compensatoire d'Avada */
.sticky-header #wrapper_all,
.sticky-header #wrapper,
.sticky-header #Content,
.sticky-header .content_wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Retire l'espace sous le footer */
body.no-content-padding #content,
body.no-content-padding #Content,
body.no-content-padding .content_wrapper,
body.no-content-padding #wrapper_all {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}



/* ================================================
   2. HERO — commun aux deux pages
   Le padding-top est calculé pour compenser
   uniquement la hauteur de la navbar sticky (~80px)
   sans tenir compte du sous-header (maintenant supprimé)
   ================================================ */

.hero-page {
    padding: 140px 20px 45px;
    position: relative;
    overflow: hidden;
}

.hero-page .hero-inner {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-page h1 {
    font-size: 52px;
    font-weight: 900;
    color: white;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    margin-bottom: -50px !important;
}

.hero-page p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0;
}

/* Variante : hero violet (listing + contact) */
.hero-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (max-width: 768px) {
    .hero-page { padding: 80px 16px 40px; }
    .hero-page h1 { font-size: 32px; }
    .hero-page p  { font-size: 16px; }
}

@media (max-width: 480px) {
    .hero-page h1 { font-size: 26px; }
}


/* ================================================
   3. PAGE LISTING — professionnels
   ================================================ */

#marketplaceSection {
    width: initial !important;
}

.hero-search-section {
    /* Remplacé par .hero-page .hero-purple dans le Twig */
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: -30px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0;
}

.marketplace-section {
    padding: 40px 0;
    background: #f8fafc;
}

.marketplace-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar filtres */
.filters-sidebar {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 300px;
    box-sizing: border-box;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filters-sidebar::-webkit-scrollbar { width: 6px; }
.filters-sidebar::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.filters-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.filters-sidebar::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.filters-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.filters-sidebar-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.active-filters-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
}

.filter-group { margin-bottom: 24px; }

.filter-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.filter-input:focus,
.filter-select:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.filter-toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-toggle-item:hover { background: #f1f5f9; }

.filter-toggle-checkbox {
    position: relative;
    width: 48px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 13px;
    transition: background 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-toggle-checkbox::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filter-toggle-item input:checked + .filter-toggle-checkbox {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.filter-toggle-item input:checked + .filter-toggle-checkbox::after {
    transform: translateX(22px);
}

.filter-toggle-item input { display: none; }

.filter-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    flex: 1;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.filter-apply-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.filter-apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.filter-reset-button {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

/* Ajax status */
.ajax-status {
    margin-top: 20px;
    padding: 12px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    text-align: center;
    display: none;
}

.ajax-status.active {
    display: block;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Zone résultats */
.results-area { min-height: 80vh; }

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.results-count {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.active-filters-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.remove-filter {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-filter:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Sidebar compacte */
.filters-sidebar-compact { padding: 20px !important; }
.filters-sidebar-compact .filters-sidebar-header { margin-bottom: 16px; padding-bottom: 12px; }
.filters-sidebar-compact .filters-sidebar-header h3 { font-size: 18px; }

.filter-group-compact { margin-bottom: 12px; }

.filter-input-compact,
.filter-select-compact {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.filter-input-compact:focus,
.filter-select-compact:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-select-compact {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.filter-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.filter-toggles-compact { gap: 10px; margin-bottom: 12px; }

.filter-toggle-compact {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-toggle-compact:hover { background: #f1f5f9; }
.filter-toggle-compact input { display: none; }

.toggle-check {
    position: relative;
    width: 36px;
    height: 20px;
    background: #cbd5e1;
    border-radius: 10px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.toggle-check::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.filter-toggle-compact input:checked + .toggle-check {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.filter-toggle-compact input:checked + .toggle-check::after {
    transform: translateX(16px);
}

.filter-actions-compact {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-top: 12px;
    border-top: 2px solid #f1f5f9;
}

.filter-btn-primary-compact {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.filter-btn-primary-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.filter-btn-secondary-compact {
    width: 40px;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn-secondary-compact:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Responsive listing */
@media (max-width: 1024px) {
    .marketplace-layout { grid-template-columns: 1fr; }
    .filters-sidebar {
        position: static !important;
        margin-bottom: 32px;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .hero-title  { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .filters-sidebar { padding: 20px; }
    .filter-actions { gap: 8px; }
}


/* ================================================
   4. PAGE CONTACT
   ================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: start;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.contact-card:last-child { margin-bottom: 0; }

.contact-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

a.contact-info-value:hover { color: #e91e63; }

.contact-hours-list { display: flex; flex-direction: column; gap: 8px; }

.contact-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8fafc;
}

.contact-hours-item.today {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-left: 3px solid #e91e63;
}

.contact-hours-day { font-size: 14px; font-weight: 600; color: #374151; }
.contact-hours-time { font-size: 14px; font-weight: 700; color: #059669; }
.contact-hours-closed { font-size: 13px; font-weight: 600; color: #ef4444; }

.contact-social-links { display: flex; flex-direction: column; gap: 12px; }

.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: white;
}

.contact-social-btn span {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-field { display: flex; flex-direction: column; gap: 8px; }

.contact-form-label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.contact-form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    background: #f8fafc;
    box-sizing: border-box;
}

.contact-form-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

/* Responsive contact */
@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 24px 20px; }
}

/* ================================================
   5. PAGE BOOKING — FullCalendar
   ================================================ */
 
/* Jour sélectionné */
.fc-daygrid-day.selected-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
}
 
.fc-daygrid-day.selected-date .fc-daygrid-day-number {
    color: white !important;
    font-weight: 900 !important;
    font-size: 16px !important;
}
 
.fc-daygrid-day.selected-date .fc-daygrid-day-top {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
}
 
.fc-daygrid-day.selected-date::after {
    content: "✓ Sélectionné";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #e91e63;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
 
.fc-daygrid-day.selected-date {
    animation: selectPulse 0.3s ease;
}
 
@keyframes selectPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}
 
.fc-daygrid-day.selected-date:hover {
    background: linear-gradient(135deg, #c2185b 0%, #ad1457 100%) !important;
}
 
/* Hover jours */
.fc-daygrid-day:hover,
.fc-daygrid-day.fc-day-past:hover,
.fc-daygrid-day.fc-day-future:hover,
.fc-daygrid-day.fc-day-today:hover,
.fc .fc-daygrid-day:hover,
.fc-theme-standard .fc-daygrid-day:hover,
td.fc-daygrid-day:hover {
    background-color: transparent !important;
    background: transparent !important;
}
 
.fc-daygrid-day.fc-day-future:not(.fc-day-other):hover .fc-daygrid-day-frame {
    background-color: rgba(233, 30, 99, 0.06) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}
 
.fc-daygrid-day.fc-day-future:not(.fc-day-other):hover .fc-daygrid-day-top {
    color: #e91e63 !important;
    font-weight: 700 !important;
}
 
/* Aujourd'hui */
.fc-day-today {
    background-color: #dbeafe !important;
}
 
.fc-day-today:hover {
    background-color: #bfdbfe !important;
}
 
/* Jours passés */
.fc-day-past,
.fc-day-past:hover {
    background-color: #fafafa !important;
    opacity: 0.4;
    cursor: not-allowed !important;
}
 
.fc-day-past .fc-daygrid-day-frame:hover {
    background: transparent !important;
}
 
/* Jours hors mois */
.fc-day-other { opacity: 0.25 !important; }
 
.fc-day-other:hover,
.fc-day-other:hover .fc-daygrid-day-frame {
    background: transparent !important;
}
 
/* Boutons navigation FC */
.fc-button-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
}
 
.fc-button-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}
 
.fc-button-primary:active {
    transform: translateY(0) !important;
}
 
/* En-têtes colonnes */
.fc-col-header-cell {
    background: #f7fafc !important;
    font-weight: 700 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    padding: 12px 0 !important;
}
 
/* Bordures grille */
.fc-scrollgrid           { border-color: #e2e8f0 !important; }
.fc-daygrid-day          { border-color: #e2e8f0 !important; }
.fc-theme-standard td,
.fc-theme-standard th    { background: white !important; }
.fc-theme-standard .fc-scrollgrid { background: white !important; }
 
 
/* ================================================
   6. PAGE BOOKING — cartes service (desktop)
   ================================================ */
 
.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
 
/* Slot horaire */
.slot-btn:hover {
    background: #f7fafc !important;
    border-color: #10b981 !important;
}
 
 
/* ================================================
   7. PAGE BOOKING — sidebar catégories (desktop)
   ================================================ */
 
.booking-services-wrapper,
#booking-services-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
 
.booking-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f1f5f9;
}
 
.booking-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
 
.booking-step-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}
 
.booking-step-hint {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    margin-left: auto;
}
 
.booking-services-layout {
    display: flex;
    min-height: 360px;
}
 
/* Sidebar desktop */
.booking-categories-sidebar {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid #f1f5f9;
    padding: 16px 12px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
 
.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0 8px;
    margin-bottom: 6px;
}
 
.category-nav-btn {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.2s ease;
}
 
.category-nav-btn:hover { background: #f1f5f9; }
.category-nav-btn.active { background: #e91e63; }
 
.cat-nav-name {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}
 
.category-nav-btn.active .cat-nav-name { color: white; }
 
.cat-nav-count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    padding-left: 20px;
}
 
.category-nav-btn.active .cat-nav-count { color: rgba(255, 255, 255, 0.75); }
 
.cat-nav-badge {
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
}
 
.category-nav-btn.has-selection .cat-nav-badge { display: flex; }
.category-nav-btn.active.has-selection .cat-nav-badge { background: white; color: #e91e63; }
.category-nav-btn:not(.active).has-selection .cat-nav-badge { background: #e91e63; color: white; }
 
/* Zone de contenu services */
.booking-services-content {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    max-height: 500px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}
 
.active-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}
 
.active-category-icon { font-size: 20px; }
.active-category-name { font-size: 17px; font-weight: 800; color: #1e293b; }
.active-category-count { font-size: 13px; color: #94a3b8; font-weight: 600; }
 
.services-panel { display: none; }
 
.services-panel.active {
    display: block;
    animation: fadeInPanel 0.2s ease-out;
}
 
@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
 
.services-grid-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
 
/* Carte service */
.service-card-row {
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}
 
 
/* ================================================
   8. PAGE BOOKING — barre sticky sélection (desktop)
   ================================================ */
 
#booking-selection-bar {
    border-top: 1px solid #f1f5f9;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    transition: all 0.3s ease;
}
 
#booking-selection-bar.has-selection {
    border-top-color: #fda4af;
    background: #fff0f6;
}
 
.selection-bar-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
 
.selection-bar-count {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
 
.selection-count-badge {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
}
 
.selection-bar-total {
    font-size: 18px;
    font-weight: 900;
    color: #e91e63;
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.selection-bar-total .total-duration {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}
 
.selection-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
 
.selection-bar-hint {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}
 
#booking-proceed-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
    opacity: 0.4;
    pointer-events: none;
    white-space: nowrap;
}
 
#booking-proceed-btn.enabled {
    opacity: 1;
    pointer-events: auto;
}
 
#booking-proceed-btn.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}
 
#booking-clear-btn {
    padding: 10px 16px;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    display: none;
}
 
#booking-clear-btn.visible { display: block; }
 
#booking-clear-btn:hover {
    border-color: #e91e63;
    color: #e91e63;
}
 
 
/* ================================================
   9. PAGE BOOKING — panneau flottant (desktop)
   ================================================ */
 
#floating-summary {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 360px;
    z-index: 1000;
    border: 2px solid #fda4af;
}
 
 
/* ================================================
   10. PAGE BOOKING — scrollbars personnalisées
   ================================================ */
 
#selected-services-list::-webkit-scrollbar,
#slotsGrid::-webkit-scrollbar {
    width: 8px;
}
 
#selected-services-list::-webkit-scrollbar-track,
#slotsGrid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
 
#selected-services-list::-webkit-scrollbar-thumb,
#slotsGrid::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}
 
#selected-services-list::-webkit-scrollbar-thumb:hover,
#slotsGrid::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}
 
 
/* ================================================
   11. PAGE BOOKING — responsive mobile
   (complète booking-mobile-clean.css)
   ================================================ */
 
@media (max-width: 768px) {
 
    /* Grilles inline → 1 colonne */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
 
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
 
    div[style*="grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
 
    /* Panneau flottant pleine largeur */
    #floating-summary {
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto !important;
        max-width: none !important;
    }
 
    /* Sidebar catégories : cachée */
    .booking-categories-sidebar { display: none !important; }
 
    /* Contenu */
    .booking-services-content {
        padding: 12px !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
 
    /* Layout */
    .booking-services-layout {
        flex-direction: column !important;
        min-height: auto !important;
    }
 
    /* En-tête étape */
    .booking-step-header {
        padding: 14px 12px 12px !important;
        flex-wrap: nowrap !important;
    }
 
    .booking-step-number {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
 
    .booking-step-header h2 {
        font-size: 16px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
    }
 
    .booking-step-hint { display: none !important; }
 
    /* Jour sélectionné : supprime le label trop grand */
    .fc-daygrid-day.selected-date::after { display: none !important; }
}

/* ================================================
   BLOG — CSS COMPLET
   Compatible avec blog-index.html.twig réécrit
   Desktop + Mobile, zéro JS nécessaire
   ================================================ */


/* ── Hero ─────────────────────────────────────── */

.blog-hero {
    padding: 120px 20px 48px;
}

.blog-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.blog-breadcrumb a:hover { color: white; }

.blog-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-hero-eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: white;
    margin: 0;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.blog-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0 0 0;
    max-width: 540px;
    line-height: 1.6;
}

.blog-search-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.blog-search-input {
    width: 240px;
    padding: 11px 16px;
    border: 2px solid #e5e7eb;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    color: #1f2937;
    background: white;
    outline: none;
    font-family: inherit;
}

.blog-search-btn {
    padding: 11px 18px;
    background: #1f2937;
    color: white;
    border: 2px solid #1f2937;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}


/* ── Barre catégories ─────────────────────────── */

.blog-cats-bar {
    background: white;
    border-bottom: 1px solid #e8e4de;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-cats-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.blog-cats-inner::-webkit-scrollbar { display: none; }

.blog-cat-link {
    padding: 14px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #9ca3af;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s, border-color 0.2s;
}

.blog-cat-link.active,
.blog-cat-link:hover {
    color: #1f2937;
    border-bottom-color: #1f2937;
}


/* ── Contenu principal ────────────────────────── */

.blog-content {
    background: #faf9f7;
    padding: 48px 20px 72px;
}

.blog-content-inner {
    max-width: 1100px;
    margin: 0 auto;
}


/* ── État vide ────────────────────────────────── */

.blog-empty {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty-icon {
    width: 72px;
    height: 72px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.blog-empty h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.blog-empty p {
    color: #9ca3af;
    font-size: 15px;
    margin: 0 0 24px 0;
}

.blog-empty-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #1f2937;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* ── Article vedette ──────────────────────────── */

.blog-featured-link {
    text-decoration: none;
    display: block;
    margin-bottom: 48px;
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    background: white;
    min-height: 380px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
}

.blog-featured-img {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #ddd6fe 100%);
}

.blog-featured-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.blog-featured:hover .blog-featured-img-el {
    transform: scale(1.04);
}

.blog-featured-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.blog-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1f2937;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.blog-featured-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-title {
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.blog-featured-excerpt {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.blog-featured-read {
    margin-left: auto;
    font-size: 13px;
    font-weight: 800;
    color: #6366f1;
}


/* ── Éléments communs ─────────────────────────── */

.blog-cat-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 10px;
    display: block;
}

.blog-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.blog-avatar-sm {
    width: 22px;
    height: 22px;
    font-size: 9px;
}

.blog-meta-author { font-size: 13px; font-weight: 700; color: #374151; }
.blog-meta-sep    { color: #d1d5db; }
.blog-meta-date,
.blog-meta-time   { font-size: 13px; color: #9ca3af; }


/* ── Grille 3 colonnes (desktop) ──────────────── */

.blog-grid-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.blog-card-img-link {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    height: 200px;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img { transform: scale(1.06); }

.blog-card-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0ff, #e8e4fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.blog-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.blog-card-time {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
}

.blog-card-title {
    margin: 0 0 10px 0;
}

.blog-card-title a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.3px;
    display: block;
    transition: color 0.2s;
}

.blog-card-title a:hover { color: #6366f1; }

.blog-card-excerpt {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 16px 0;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-card-read {
    font-size: 12px;
    font-weight: 800;
    color: #6366f1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
}


/* ── Pagination ───────────────────────────────── */

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.blog-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.blog-page-btn:hover { background: #f9fafb; }

.blog-page-btn.active {
    background: #1f2937;
    color: white;
    border-color: #1f2937;
    box-shadow: none;
}

.blog-page-next {
    background: #1f2937;
    color: white;
    border-color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.blog-page-next:hover { background: #374151; }

.blog-page-dots {
    color: #9ca3af;
    font-size: 13px;
    padding: 0 4px;
}


/* ================================================
   SÉLECTEUR DE LANGUE — Desktop + Mobile
   Toutes les règles scopées sous .lang-switcher
   ou .lang-switcher-mobile pour éviter les conflits
   ================================================ */

/* ── Desktop ── */

.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher .lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-switcher .lang-current:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.sticky-white .lang-switcher .lang-current {
    border-color: #e2e8f0;
    color: #374151;
}

.sticky-white .lang-switcher .lang-current:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.lang-switcher .lang-code {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.lang-switcher .lang-flag-svg {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
    display: block;
}

.lang-switcher .lang-check {
    margin-left: auto;
    color: #4f46e5;
}

.lang-switcher .lang-chevron {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.lang-switcher:hover .lang-chevron,
.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown */
.lang-switcher .lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px;
    background: transparent;
    list-style: none;
    margin: 0;
    z-index: 500;
}

.lang-switcher .lang-dropdown::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: -1;
}

.lang-switcher .lang-dropdown li {
    position: relative;
    z-index: 1;
    min-width: 160px;
    padding: 0 6px;
    list-style: none;
}

.lang-switcher .lang-dropdown li:first-child { padding-top: 6px; }
.lang-switcher .lang-dropdown li:last-child  { padding-bottom: 6px; }

.lang-switcher:hover .lang-dropdown,
.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-switcher .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: background 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
}

.lang-switcher .lang-option:hover {
    background: #f8fafc;
    color: #1e293b;
}

.lang-switcher .lang-option.active {
    background: #f0f4ff;
    color: #4f46e5;
}

.lang-switcher .lang-option .lang-check {
    margin-left: auto;
    color: #4f46e5;
}


/* ── Mobile ── */

.lang-switcher-mobile {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

.lang-switcher-mobile .lang-mobile-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    display: block;
}

.lang-switcher-mobile .lang-mobile-options {
    display: flex;
    gap: 8px;
}

.lang-switcher-mobile .lang-mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.lang-switcher-mobile .lang-mobile-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.lang-switcher-mobile .lang-mobile-btn.active {
    background: rgba(99, 102, 241, 0.25);
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
}


/* ── Masquage selon contexte ── */

@media (min-width: 769px) {
    .lang-switcher-mobile { display: none; }
}

@media (max-width: 768px) {
    .lang-switcher { display: none; }
}

/* ================================================
   HERO — Mobile-first, phone mockup
   Palette : indigo/violet cohérente avec le header
   ================================================ */

/* ── Variables locales ── */
.hero {
    --hero-primary:   #6366f1;
    --hero-secondary: #8b5cf6;
    --hero-dark:      #1e293b;
    --hero-muted:     #64748b;
    --hero-border:    #e2e8f0;
}


/* ════════════════════════════════════════════════
   STRUCTURE
════════════════════════════════════════════════ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 190px 0 80px;
    background: #fafbff;
}

/* Fond : orbes + grille */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.hero-bg-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #c7d2fe, transparent);
    top: -120px; left: -100px;
}

.hero-bg-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #ddd6fe, transparent);
    bottom: -80px; right: 100px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}


/* ════════════════════════════════════════════════
   TEXTE
════════════════════════════════════════════════ */

.hero-text {
    max-width: 560px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--hero-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hero-dark);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    animation: heroFadeUp 0.5s ease-out both;
}

/* Titre */
.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--hero-dark);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 20px 0;
    animation: heroFadeUp 0.5s ease-out 0.1s both;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-desc {
    font-size: 17px;
    color: var(--hero-muted);
    line-height: 1.7;
    margin: 0 0 32px 0;
    animation: heroFadeUp 0.5s ease-out 0.2s both;
}

/* CTA */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 44px;
    animation: heroFadeUp 0.5s ease-out 0.3s both;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 28px;
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
    color: white;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 24px;
    background: white;
    color: var(--hero-dark);
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    border: 1.5px solid var(--hero-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    white-space: nowrap;
}

.hero-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border-color: var(--hero-primary);
    color: var(--hero-primary);
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    animation: heroFadeUp 0.5s ease-out 0.4s both;
}

.hero-stat-number {
    font-size: 26px;
    font-weight: 900;
    color: var(--hero-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hero-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--hero-border);
    margin: 0 24px;
}


/* ════════════════════════════════════════════════
   TÉLÉPHONE MOCKUP
════════════════════════════════════════════════ */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: heroFadeUp 0.6s ease-out 0.2s both;
}

/* Glow derrière */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Frame téléphone */
.hero-phone-frame {
    width: 260px;
    background: #0f172a;
    border-radius: 44px;
    padding: 10px;
    box-shadow:
        0 32px 64px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 0 1px rgba(255,255,255,0.03);
    position: relative;
    z-index: 2;
}

/* Boutons latéraux décoratifs */
.hero-phone-frame::before {
    content: '';
    position: absolute;
    left: -3px; top: 100px;
    width: 3px; height: 32px;
    background: #1e293b;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 44px 0 #1e293b;
}

.hero-phone-frame::after {
    content: '';
    position: absolute;
    right: -3px; top: 130px;
    width: 3px; height: 52px;
    background: #1e293b;
    border-radius: 0 2px 2px 0;
}

.phone-notch {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch-pill {
    width: 72px; height: 14px;
    background: #1e293b;
    border-radius: 7px;
}

.phone-screen {
    background: #f8fafc;
    border-radius: 34px;
    overflow: hidden;
}

/* Header app violet */
.phone-app-header {
    background: linear-gradient(145deg, #6366f1 0%, #8b5cf6 100%);
    padding: 12px 14px 16px;
    color: white;
}

.phone-app-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.phone-greeting {
    font-size: 10px;
    opacity: 0.75;
    margin-bottom: 2px;
}

.phone-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.phone-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.phone-search {
    background: rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.12);
}

/* Corps */
.phone-body {
    padding: 12px 12px 14px;
}

.phone-section-label {
    font-size: 10px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

/* Slots */
.phone-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 14px;
}

.phone-slot {
    background: #f1f5f9;
    border-radius: 7px;
    padding: 6px 3px;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
}

.phone-slot-active {
    background: var(--hero-primary);
    color: white;
    box-shadow: 0 3px 8px rgba(99,102,241,0.3);
}

/* Carte prestataire */
.phone-pro-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.phone-pro-img {
    height: 76px;
    overflow: hidden;
}

.phone-pro-img-gradient {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, #c7d2fe 0%, #a5b4fc 40%, #818cf8 100%);
    display: flex;
    align-items: flex-end;
    padding: 7px 9px;
}

.phone-pro-badge {
    background: white;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 8px;
    font-weight: 800;
    color: var(--hero-primary);
}

.phone-pro-body {
    padding: 9px 11px 11px;
}

.phone-pro-name {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.phone-pro-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.phone-pro-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: #64748b;
    font-weight: 600;
}

.phone-pro-cat {
    background: #eef2ff;
    color: var(--hero-primary);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 8px;
    font-weight: 700;
}

.phone-pro-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.phone-pro-from {
    font-size: 9px;
    color: #94a3b8;
}

.phone-pro-price {
    font-size: 14px;
    font-weight: 900;
    color: var(--hero-primary);
}

.phone-book-btn {
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-secondary));
    color: white;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 10px rgba(99,102,241,0.3);
}


/* ════════════════════════════════════════════════
   NOTIFICATIONS FLOTTANTES
════════════════════════════════════════════════ */

.hero-notif {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
    z-index: 10;
    min-width: 170px;
}

.hero-notif-top {
    top: 48px;
    right: -24px;
    animation: notifSlideRight 0.5s ease-out 0.7s both;
}

.hero-notif-bottom {
    bottom: 72px;
    left: -24px;
    animation: notifSlideLeft 0.5s ease-out 0.9s both;
}

.hero-notif-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.hero-notif-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.hero-notif-icon-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hero-notif-title {
    font-size: 11px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1px;
}

.hero-notif-sub {
    font-size: 10px;
    color: #64748b;
}


/* ════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════ */

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes notifSlideRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes notifSlideLeft {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.hero-phone-frame {
    animation: phoneFloat 5s ease-in-out infinite;
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero { padding: 80px 0 60px; }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 600px;
        text-align: center;
    }

    .hero-text { max-width: 100%; }

    .hero-badge { margin: 0 auto 24px; }

    .hero-cta { justify-content: center; }

    .hero-stats { max-width: 420px; margin: 0 auto; }

    /* Téléphone centré, plus petit */
    .hero-visual { justify-content: center; }

    .hero-phone-frame { width: 240px; }

    .hero-notif-top  { right: -10px; }
    .hero-notif-bottom { left: -10px; }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero { padding: 72px 0 48px; }

    .hero-container { padding: 0 16px; gap: 36px; }

    /* Titre */
    .hero-title { font-size: 36px; letter-spacing: -0.02em; }

    .hero-desc { font-size: 15px; }

    /* CTA : boutons pleine largeur */
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }

    /* Stats : grille 3 colonnes fixes */
    .hero-stats {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        max-width: 100%;
    }

    .hero-stat-number { font-size: 20px; }
    .hero-stat-divider { margin: 0 14px; }

    /* Téléphone : taille réduite */
    .hero-phone-frame { width: 210px; border-radius: 36px; }

    /* Notifications repositionnées pour ne pas déborder */
    .hero-notif {
        min-width: 140px;
        padding: 8px 11px;
    }

    .hero-notif-top  { top: 36px; right: -4px; }
    .hero-notif-bottom { bottom: 60px; left: -4px; }

    .hero-notif-title { font-size: 10px; }
    .hero-notif-sub   { font-size: 9px; }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Très petit (≤380px)
════════════════════════════════════════════════ */

@media (max-width: 380px) {
    .hero-title { font-size: 30px; }

    .hero-phone-frame { width: 188px; border-radius: 32px; }

    .hero-notif { display: none; }

    .hero-stat-number { font-size: 17px; }
    .hero-stat-label  { font-size: 10px; }
    .hero-stat-divider { margin: 0 10px; }
}

/* ========================================
   HEADER — CSS nettoyé
   Hero supprimé (géré par hero.css)
   ======================================== */

:root {
    --primary:        #6366f1;
    --primary-dark:   #4f46e5;
    --secondary:      #8b5cf6;
    --text-primary:   #1e293b;
    --text-secondary: #64748b;
    --bg-white:       #ffffff;
    --bg-gray:        #f8fafc;
    --border-gray:    #e2e8f0;
    --shadow-sm:      0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md:      0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg:      0 10px 40px rgba(0, 0, 0, 0.12);
}

/* ── Action bar ── */

.action-bar-modern {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: 12px 0;
    font-size: 14px;
}

.action-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover { color: var(--primary); }
.contact-link svg   { flex-shrink: 0; }

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: white;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ── Top bar ── */

.top-bar-modern {
    background: white;
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

/* ── Logo ── */

.logo-wrapper { flex-shrink: 0; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover { transform: scale(1.02); }

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Navigation ── */

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-gray);
    color: var(--primary);
}

.nav-link svg { transition: transform 0.3s ease; }

.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown nav */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin: 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { margin: 0; }

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-gray);
    color: var(--primary);
    padding-left: 18px;
}

/* ── Header actions ── */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── User menu ── */

.user-menu { position: relative; }

.user-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.user-btn:hover { transform: scale(1.05); }

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.user-btn:hover .user-avatar {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: rotate(45deg);
}

.user-info {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.user-details { flex: 1; min-width: 0; }

.user-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.user-menu-list li { margin: 0; }

.user-menu-list li.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.user-menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-menu-list a:hover {
    background: #f9fafb;
    color: #667eea;
}

.user-menu-list a svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.user-menu-list a:hover svg  { opacity: 1; }

.user-menu-list .logout-link { color: #dc2626; }

.user-menu-list .logout-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* ── Login button ── */

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    color: white;
}

.login-btn svg { flex-shrink: 0; }

/* ── CTA button ── */

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* ── Mobile menu toggle ── */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    background: var(--bg-gray);
    border: none;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ── Search overlay ── */

.search-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active { display: flex; opacity: 1; }

.search-container { width: 100%; max-width: 600px; position: relative; }

.search-close {
    position: absolute;
    top: -50px; right: 0;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none; border-radius: 50%;
    color: white; font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.search-form { background: white; border-radius: 16px; padding: 32px; }

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-gray);
    border-radius: 12px;
    margin-bottom: 24px;
}

.search-input {
    flex: 1; border: none;
    background: transparent;
    font-size: 18px; color: var(--text-primary);
    outline: none;
}

.search-input::placeholder { color: var(--text-secondary); }

.suggestion-title {
    font-size: 13px; font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.suggestion-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.suggestion-tag {
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: all 0.2s ease;
}

.suggestion-tag:hover { background: var(--primary); color: white; }

/* ── Mobile menu ── */

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 400px; height: 100%;
    background: white;
    z-index: 10001;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active { right: 0; }

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.mobile-menu-title { font-size: 18px; font-weight: 700; color: var(--text-primary); }

.mobile-menu-close {
    width: 40px; height: 40px;
    background: var(--bg-gray);
    border: none; border-radius: 10px;
    font-size: 24px; cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover { background: var(--primary); color: white; }

.mobile-nav { flex: 1; overflow-y: auto; padding: 20px; }

.mobile-nav-list { list-style: none; margin: 0; padding: 0; }

.mobile-nav-list > li { margin-bottom: 8px; }

.mobile-nav-list > li > a {
    display: block;
    padding: 14px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600; font-size: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-list > li > a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: transparent; border: none;
    color: var(--text-primary);
    font-weight: 600; font-size: 16px;
    text-align: left; cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover { background: var(--bg-gray); }

.mobile-dropdown {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0 0 0 20px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active { max-height: 500px; }

.mobile-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px; font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-dropdown a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-gray);
    display: flex; flex-direction: column; gap: 12px;
}

.mobile-btn {
    display: block; width: 100%;
    padding: 14px 24px;
    text-align: center; text-decoration: none;
    font-weight: 700; font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-btn-outline {
    background: transparent;
    border: 2px solid var(--border-gray);
    color: var(--text-primary);
}

.mobile-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.mobile-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mobile-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}


/* ════════════════════════════════════════════════
   RESPONSIVE — ne concerne que la nav/header
   (le hero est géré par hero.css)
════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .action-bar-modern { display: none; }
}

@media (max-width: 768px) {
    .main-nav  { display: none; }
    .login-btn { display: none; }

    .mobile-menu-toggle { display: flex; }

    .user-dropdown {
        right: -10px;
        width: 260px;
    }
}

@media (max-width: 480px) {
    .top-bar-content { padding: 12px 0; }
}