/* ==========================================================================
   PROFESSIONAL SHOW — CSS
   Fichier : assets/css/professional-show.css
   ========================================================================== */

/* ═══════════════════════════════════════════════
   GALERIE VIEWER + STRIP
═══════════════════════════════════════════════ */

.pg-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pg-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: zoom-in;
}


.pg-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}


.pg-main-img.pg-transitioning {
    opacity: 0;
    transform: scale(1.03);
}

.pg-main-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pg-main-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: white;
    padding: 32px 20px 16px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}

.pg-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.pg-fullscreen-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: none;
}

.pg-fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.45);
}

.pg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: none;
}

.pg-arrow:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.08);
}

.pg-arrow-prev { left: 12px; }
.pg-arrow-next { right: 12px; }

.pg-arrow svg,
.pg-fullscreen-btn svg {
    width: 20px;
    height: 20px;
    stroke: white !important;
    fill: none !important;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.pg-strip-wrapper {
    position: relative;
}

.pg-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 2px;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.pg-strip::-webkit-scrollbar {
    display: none;
}

.pg-thumb {
    flex-shrink: 0;
    width: 88px;
    height: 66px;             
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    background: #f1f5f9; 
}


.pg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
}


.pg-thumb:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.pg-thumb-active {
    border-color: #8b5cf6 !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45) !important;
}

.pg-thumb-active img {
    opacity: 0.85;
}

.pg-thumb-star {
    position: absolute;
    bottom: 3px;
    right: 3px;
    font-size: 11px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* ═══════════════════════════════════════════════
   ANIMATIONS GLOBALES
═══════════════════════════════════════════════ */

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

@keyframes shimmer {
    0%   { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes starPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes star-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4) rotate(15deg); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
    50%       { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@keyframes blob-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes blob-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100px); }
}

/* ═══════════════════════════════════════════════
   SYSTÈME D'ONGLETS SERVICES
═══════════════════════════════════════════════ */

.services-tabs-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.services-tabs-nav {
    display: flex;
    gap: 0;
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.services-tabs-nav::-webkit-scrollbar { height: 4px; }
.services-tabs-nav::-webkit-scrollbar-track { background: #f1f5f9; }
.services-tabs-nav::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

.service-tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.service-tab-btn:hover {
    background: #edf2f7;
    color: #2d3748;
}

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

.tab-icon  { font-size: 20px; }
.tab-label { font-weight: 700; }
.tab-count { font-size: 13px; color: #9ca3af; font-weight: 600; }
.service-tab-btn.active .tab-count { color: #f472b6; }

.services-tabs-content {
    padding: 32px;
    min-height: 300px;
}

.service-tab-panel {
    display: none;
    animation: fadeInTab 0.4s ease-out;
}

.service-tab-panel.active { display: block; }

/* Service cards */
.service-card {
    will-change: transform, box-shadow;
    animation: slideUp 0.4s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.1s; }
.service-card:nth-child(4) { animation-delay: 0.15s; }
.service-card:nth-child(5) { animation-delay: 0.15s; }
.service-card:nth-child(6) { animation-delay: 0.2s; }

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
    border-left-width: 6px !important;
}

.service-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4) !important;
    background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
}

.service-book-btn:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════
   CARTES INFO V2
═══════════════════════════════════════════════ */

.info-card-v2 {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899 0%, #3b82f6 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.info-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.info-card-v2:hover::before { transform: scaleX(1); }

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.info-card-v2:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.card-icon  { font-size: 36px; }

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 24px 0;
}

.card-content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.info-item { width: 100%; }

.info-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.5;
}

.info-link {
    color: #10b981;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-link:hover { color: #059669; transform: scale(1.05); }
.info-link-email { word-break: break-all; font-size: 14px; }

.category-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.info-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 16px;
    border-top: 2px solid #f1f5f9;
}

.stat-item { display: flex; align-items: center; gap: 10px; }
.stat-icon { font-size: 24px; }
.stat-value { font-size: 20px; font-weight: 800; color: #3b82f6; line-height: 1; }
.stat-label { font-size: 12px; color: #64748b; font-weight: 600; }

.card-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-action-btn:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #1e293b !important;
}

.card-action-btn:active { transform: scale(0.97); }
.card-action-btn span:first-child { font-size: 18px; }

/* ═══════════════════════════════════════════════
   GALERIE — HOVER EFFECTS
═══════════════════════════════════════════════ */

.gallery-item:hover img,
.main-gallery-item:hover img { transform: scale(1.05); }

.gallery-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px);
}

.main-gallery-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px);
}

.main-gallery-item:hover .zoom-overlay,
.gallery-item:hover .zoom-overlay-small {
    background: rgba(0, 0, 0, 0.35) !important;
}

.main-gallery-item:hover .zoom-overlay > div,
.gallery-item:hover .zoom-overlay-small > div {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ═══════════════════════════════════════════════
   SECTION AVIS — HEADER STATS
═══════════════════════════════════════════════ */

.reviews-header-wrapper {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    animation: slideIn 0.5s ease-out;
}

.reviews-stats-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.average-rating-block {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.average-rating-block::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.rating-number {
    font-size: 80px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 16px;
    position: relative;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rating-stars-large {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.star-icon { display: inline-block; transition: all 0.3s ease; }

.star-icon.filled { animation: starPop 0.6s ease; animation-fill-mode: both; }
.star-icon.filled:nth-child(1) { animation-delay: 0.1s; }
.star-icon.filled:nth-child(2) { animation-delay: 0.2s; }
.star-icon.filled:nth-child(3) { animation-delay: 0.3s; }
.star-icon.filled:nth-child(4) { animation-delay: 0.4s; }
.star-icon.filled:nth-child(5) { animation-delay: 0.5s; }

.rating-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 24px;
}

.rating-subtitle strong { font-weight: 800; }

.quick-review-cta {
    width: 100%;
    padding: 14px 24px;
    background: white;
    color: #f59e0b;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-review-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #fffbf0;
}

.rating-distribution-block { flex: 1; }

.distribution-title {
    font-size: 20px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 24px 0;
}

.rating-bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rating-label { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #2d3748; }
.star-small   { font-size: 16px; }
.rating-number-small { font-weight: 800; }
.progress-bar-container { flex: 1; }

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.rating-count { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.count-number { font-size: 16px; font-weight: 800; color: #2d3748; }
.count-percentage { font-size: 12px; font-weight: 600; color: #9ca3af; }

/* ═══════════════════════════════════════════════
   FORMULAIRE D'AVIS PREMIUM
═══════════════════════════════════════════════ */

.review-form-wrapper { margin: 40px 0; }

.review-form-container-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-header-premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.form-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
}

.form-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.icon-emoji {
    font-size: 40px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.icon-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.form-header-text { flex: 1; }

.form-title-premium {
    font-size: 32px;
    font-weight: 900;
    color: white;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-subtitle-premium {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.form-decoration {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}

.decoration-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(40px);
}

.blob-1 { width: 300px; height: 300px; top: -100px; right: -50px;  animation: blob-float-1 8s ease-in-out infinite; }
.blob-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; animation: blob-float-2 10s ease-in-out infinite; }

.review-form-premium {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    align-items: start;
}

.section-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
}

.section-content { flex: 1; min-width: 0; }

.form-label-premium { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.label-text     { font-size: 18px; font-weight: 700; color: #2d3748; }
.label-required { color: #ef4444; font-size: 18px; font-weight: 700; }

/* Étoiles */
.star-rating-wrapper { margin-top: 8px; }

.star-rating-premium {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.star-btn {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.star-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.star-btn:hover::before { left: 100%; }

.star-btn:hover {
    border-color: #8b5cf6;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.star-btn .star-icon {
    font-size: 36px;
    color: #d1d5db;
    transition: all 0.3s ease;
    display: block;
}

.star-btn:hover .star-icon { color: #fbbf24; transform: scale(1.2); }

.star-btn.active {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fbbf24;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.star-btn.active .star-icon {
    color: #fbbf24;
    animation: star-pop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    transition: color 0.3s ease;
    text-align: center;
}

.star-btn:hover .star-label,
.star-btn.active .star-label { color: #2d3748; }

/* Feedback box */
.rating-feedback-box {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: none;
    animation: slideDown 0.3s ease;
}

.rating-feedback-box.show { display: flex; align-items: center; gap: 12px; }

.rating-feedback-box.excellent { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: #065f46; border: 2px solid #10b981; }
.rating-feedback-box.good      { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #1e40af; border: 2px solid #3b82f6; }
.rating-feedback-box.average   { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #92400e; border: 2px solid #f59e0b; }
.rating-feedback-box.poor      { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); color: #991b1b; border: 2px solid #ef4444; }

/* Inputs */
.input-group-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.input-wrapper-full { position: relative; width: 100%; }

.input-icon {
    position: absolute !important;
    left: 18px !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    font-size: 20px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    transition: transform 0.3s ease !important;
}

.input-premium {
    width: 100% !important;
    padding: 16px 20px 16px 56px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2d3748 !important;
    background: #fafafa !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 1 !important;
}

.input-premium::placeholder { color: #9ca3af !important; font-weight: 400 !important; }

.input-premium:focus {
    outline: none !important;
    border-color: #8b5cf6 !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1) !important;
    transform: translateY(-2px) !important;
}

.input-premium:focus ~ .input-icon { transform: translateY(-50%) scale(1.1); }
.input-premium:focus ~ .input-border-effect { transform: scaleX(1); }

.input-premium:-webkit-autofill,
.input-premium:-webkit-autofill:hover,
.input-premium:-webkit-autofill:focus,
.input-premium:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px #fafafa inset !important;
    -webkit-text-fill-color: #2d3748 !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 14px !important;
    transition: background-color 5000s ease-in-out 0s;
}

.input-border-effect {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 0 0 14px 14px;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

.input-hint-global {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    padding: 0 4px;
}

.input-hint-global svg { width: 14px; height: 14px; color: #8b5cf6; flex-shrink: 0; }

/* Textarea */
.textarea-wrapper { margin-top: 8px; position: relative; }

.textarea-premium {
    width: 100%;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 400;
    color: #2d3748;
    line-height: 1.7;
    background: #fafafa;
    resize: vertical;
    min-height: 160px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.textarea-premium::placeholder { color: #9ca3af; }

.textarea-premium:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.textarea-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 4px;
}

.toolbar-tips { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; font-weight: 500; }
.toolbar-tips svg { width: 16px; height: 16px; color: #8b5cf6; }

.char-counter-modern { display: flex; align-items: baseline; gap: 4px; font-weight: 600; }
.counter-text { font-size: 16px; color: #2d3748; transition: color 0.3s ease; }
.counter-max  { font-size: 14px; color: #9ca3af; }
.char-counter-modern.warning .counter-text { color: #f59e0b; }
.char-counter-modern.danger  .counter-text { color: #ef4444; }

/* Bouton submit */
.form-actions-premium { margin-top: 8px; }

.btn-submit-premium {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.btn-submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45);
}

.btn-submit-premium:active  { transform: translateY(-1px); }
.btn-submit-premium:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit-premium:hover .btn-shine { left: 100%; }

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-icon { display: flex; align-items: center; justify-content: center; }
.btn-icon svg { width: 24px; height: 24px; color: white; }
.btn-text { font-size: 18px; font-weight: 800; color: white; letter-spacing: 0.3px; }

/* ═══════════════════════════════════════════════
   LISTE DES AVIS
═══════════════════════════════════════════════ */

.reviews-list-container {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideIn 0.7s ease-out;
}

.reviews-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-list-title {
    font-size: 28px;
    font-weight: 900;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.reviews-filters { display: flex; gap: 10px; flex-wrap: wrap; }

.filter-btn {
    padding: 10px 18px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover { background: #edf2f7; border-color: #cbd5e1; color: #2d3748; }

.filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-color: #8b5cf6;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.verified-icon { font-size: 12px; font-weight: 900; }

.reviews-grid { display: grid; gap: 24px; }

.review-card-premium {
    background: #fafafa;
    border-radius: 16px;
    padding: 28px;
    border: 2px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.review-card-premium:nth-child(1) { animation-delay: 0.1s; }
.review-card-premium:nth-child(2) { animation-delay: 0.2s; }
.review-card-premium:nth-child(3) { animation-delay: 0.3s; }

.review-card-premium:hover {
    background: white;
    border-color: #e9d5ff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

.reviewer-info { display: flex; gap: 14px; flex: 1; }

.reviewer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.avatar-initials { font-size: 20px; font-weight: 900; color: white; text-transform: uppercase; }
.reviewer-details { flex: 1; min-width: 0; }

.reviewer-name {
    font-size: 17px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-icon { font-size: 12px; }

.review-meta {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-separator { color: #d1d5db; }
.review-service { color: #8b5cf6; }

.review-rating-stars { font-size: 22px; display: flex; gap: 2px; flex-shrink: 0; }
.star-display          { display: inline-block; }
.star-display.filled   { color: #fbbf24; }
.star-display.empty    { color: #e5e7eb; }

.review-card-body  { margin-bottom: 20px; }
.review-comment    { font-size: 15px; color: #4a5568; line-height: 1.7; margin: 0; }

.professional-reply-block {
    background: white;
    border-left: 4px solid #8b5cf6;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}

.reply-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.reply-icon   { font-size: 16px; }
.reply-label  { font-weight: 700; color: #8b5cf6; flex: 1; }
.reply-date   { color: #9ca3af; font-weight: 600; }
.reply-text   { font-size: 14px; color: #4a5568; line-height: 1.6; margin: 0; }

.review-card-footer { display: flex; gap: 12px; }

.helpful-btn {
    padding: 8px 16px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.helpful-btn:hover { background: #edf2f7; border-color: #8b5cf6; color: #8b5cf6; }
.helpful-count { color: #9ca3af; }

.no-reviews-state { text-align: center; padding: 80px 40px; }
.empty-icon        { font-size: 96px; margin-bottom: 24px; opacity: 0.3; }
.empty-title       { font-size: 24px; font-weight: 800; color: #2d3748; margin: 0 0 12px 0; }
.empty-description { font-size: 16px; color: #718096; margin: 0 0 28px 0; }

.empty-cta {
    padding: 14px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.empty-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.4);
}

.reviews-pagination { text-align: center; margin-top: 32px; }

.pagination-btn {
    padding: 14px 32px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn:hover {
    background: #f7fafc;
    border-color: #8b5cf6;
    color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
}

.btn-arrow { font-size: 18px; transition: transform 0.3s ease; }
.pagination-btn:hover .btn-arrow { transform: translateY(4px); }

/* ═══════════════════════════════════════════════
   DIVERS — HOVER, STAR GLOBAL
═══════════════════════════════════════════════ */

.star { transition: all 0.2s ease; cursor: pointer; }
.star:hover { transform: scale(1.2) !important; }

/* ═══════════════════════════════════════════════
   RÉSEAUX SOCIAUX MOBILE
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   RESPONSIVE DESKTOP 1024px
═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .reviews-stats-container { grid-template-columns: 1fr; gap: 32px; }
    .average-rating-block    { max-width: 100%; }
    .form-header-premium     { padding: 40px 32px; }
    .review-form-premium     { padding: 40px 32px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE TABLET 768px
═══════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Galerie */
    .pg-viewer   { max-height: 300px; border-radius: 12px; }
    .pg-main-img { max-height: 300px; }
    .pg-thumb    { width: 72px; height: 54px; border-radius: 8px; }
    .pg-arrow    { width: 36px; height: 36px; }

    /* Galerie ancienne */
    #gallery-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .main-gallery-item {
        max-height: 220px !important;
        aspect-ratio: 16/9 !important;
    }

    /* Layout général */
    #Content,
    #Content .content_wrapper,
    #Content .sections_group,
    #Content .section,
    #Content .section_wrapper,
    #Content .items_group,
    #Content .column.one {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #Content .content_wrapper { padding-left: 0 !important; padding-right: 0 !important; }
    #Content .section_wrapper,
    #Content .items_group,
    #Content .column.one { margin: 0 !important; }

    #Content .section[style*="padding: 40px 20px 30px"],
    #Content .section[style*="padding: 40px 20px"],
    #Content .section[style*="padding: 60px 20px"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #Content .section_wrapper {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Hero */
    div[style*="grid-template-columns: auto 1fr auto"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        text-align: center !important;
    }

    div[style*="background: white; padding: 40px; border-radius: 20px; box-shadow"] {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    div[style*="width: 120px; height: 120px; border-radius: 20px"] {
        width: 88px !important;
        height: 88px !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
    }

    h1[style*="font-size: 36px"] { font-size: 26px !important; line-height: 1.2 !important; }

    div[style*="display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; color: #718096"] {
        justify-content: center !important;
        gap: 10px !important;
        font-size: 14px !important;
    }

    a[style*="padding: 16px 32px; background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);"],
    a[style*="padding: 16px 32px; background: white; color: #667eea"],
    a[style*="padding: 16px 32px; background: rgba(255,255,255,0.2)"] {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Titres */
    h2[style*="font-size: 28px"] {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin-bottom: 18px !important;
        gap: 8px !important;
    }

    /* Blocs globaux */
    .reviews-header-wrapper,
    .reviews-list-container,
    .review-form-container-premium,
    .info-card-v2,
    .services-tabs-wrapper { border-radius: 16px !important; }

    .reviews-header-wrapper,
    .reviews-list-container { padding: 20px 14px !important; }

    .info-card-v2 { padding: 20px 16px !important; }
    .card-icon-wrapper { width: 64px; height: 64px; }
    .card-icon         { font-size: 28px; }
    .card-title        { font-size: 20px; }
    .info-stats        { flex-direction: column; align-items: center; }

    .info-card-v2 .card-action-btn {
        width: auto !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 12px 18px !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    }

    /* À propos */
    div[style*="background: #f7fafc; padding: 30px; border-radius: 16px; border-left: 4px solid #3b82f6"] {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    div[style*="background: #f7fafc; padding: 30px; border-radius: 16px; border-left: 4px solid #3b82f6"] > div[style*="display: grid"] {
        gap: 10px !important;
    }

    /* Infos pratiques */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .card-action-btn { width: 100% !important; }

    /* Horaires */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    div[style*="display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);"] {
        padding: 14px 14px !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    /* Services */
    .services-tabs-nav  { flex-wrap: nowrap; justify-content: flex-start; }
    .service-tab-btn    { min-width: 110px !important; padding: 12px 14px !important; font-size: 13px !important; }
    .tab-icon           { font-size: 18px; }
    .services-tabs-content { padding: 14px !important; }

    .services-tabs-content > div > div {
        grid-template-columns: 1fr !important;
    }

    .service-tab-panel > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .service-card {
        overflow: hidden !important;
        padding: 18px 14px !important;
        min-height: auto !important;
        border-radius: 14px !important;
        box-sizing: border-box;
    }

    .service-card * { box-sizing: border-box; }
    .service-card h4 { font-size: 18px !important; }

    .service-card div[style*="justify-content: center"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .service-card div[style*="max-width: 160px"] {
        max-width: 100% !important;
        width: 100% !important;
    }

    .service-book-btn,
    .service-card a[href^="tel:"],
    .service-card a[href^="mailto:"] {
        width: 100% !important;
        justify-content: center !important;
    }

    .service-card .service-book-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 16px !important;
        margin: 0 !important;
    }

    .service-card div[style*="display: flex; gap: 8px; margin-top: auto;"] {
        flex-direction: column !important;
    }

    /* Avis */
    .reviews-stats-container { grid-template-columns: 1fr !important; gap: 18px !important; }
    .average-rating-block    { padding: 24px 16px !important; border-radius: 18px !important; }
    .rating-number           { font-size: 56px !important; }
    .rating-bar-row          { grid-template-columns: 52px 1fr 68px !important; gap: 8px !important; margin-bottom: 12px !important; }
    .review-card-premium     { padding: 18px 14px !important; border-radius: 14px !important; }
    .review-card-header      { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
    .review-rating-stars     { font-size: 18px !important; }
    .reviews-list-header     { flex-direction: column; align-items: flex-start; }
    .reviews-filters         { width: 100%; }
    .rating-bar-row          { grid-template-columns: 60px 1fr 80px; gap: 12px; }
    .reviewer-avatar         { width: 48px; height: 48px; }
    .avatar-initials         { font-size: 18px; }

    /* Formulaire avis */
    .review-form-wrapper     { margin: 24px 0 !important; }
    .form-header-premium     { padding: 24px 16px !important; }
    .review-form-premium     { padding: 24px 16px !important; gap: 24px !important; }
    .form-header-content     { flex-direction: column; text-align: center; }
    .form-icon-large         { width: 72px; height: 72px; }
    .icon-emoji              { font-size: 36px; }
    .form-title-premium      { font-size: 28px; }
    .form-subtitle-premium   { font-size: 15px; }
    .form-section            { grid-template-columns: 36px 1fr !important; gap: 12px !important; }
    .section-number          { width: 36px !important; height: 36px !important; font-size: 16px !important; }
    .star-rating-premium     { grid-template-columns: repeat(5, 1fr) !important; gap: 6px !important; }
    .star-btn                { padding: 12px 4px !important; border-radius: 12px !important; min-height: 74px !important; }
    .star-btn .star-icon     { font-size: 22px !important; }
    .star-label              { display: none !important; }
    .input-group-modern      { grid-template-columns: 1fr !important; gap: 14px !important; }
    .textarea-toolbar        { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }

    .breadcrumb { text-align: center; }

    /* CTA final */
    .section[style*="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"] div[style*="display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .section[style*="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"] div[style*="display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;"] > a {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Réseaux sociaux */
    .social-card-mobile-fix {
        background: white !important;
        border-radius: 20px !important;
        padding: 24px 20px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        text-align: center !important;
    }

    .social-card-mobile-fix .social-header-fix {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        margin-bottom: 20px !important;
    }

    .social-card-mobile-fix .social-icon-fix {
        width: 64px !important;
        height: 64px !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-radius: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 28px !important;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25) !important;
        margin: 0 auto !important;
    }

    .social-card-mobile-fix .social-title-fix {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #2d3748 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .social-card-mobile-fix .social-links-fix {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .social-card-mobile-fix .social-links-fix a {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Grilles génériques */
    div[style*="grid-template-columns: auto 1fr auto"]                               { grid-template-columns: 1fr !important; text-align: center; }
    div[style*="grid-template-columns: repeat(auto-fill, minmax(250px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fill, minmax(350px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"]        { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE MOBILE 480px
═══════════════════════════════════════════════ */

@media (max-width: 480px) {
    .main-gallery-item { max-height: 200px !important; }

    .reviews-header-wrapper,
    .review-form-container,
    .reviews-list-container { padding: 24px 20px; border-radius: 16px; }

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

    .review-card-premium { padding: 20px; }

    .service-card { padding: 20px !important; min-height: auto !important; }
    .service-card h4 { font-size: 18px !important; }

    div[style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    div[style*="max-width: 160px"] { max-width: 100% !important; }

    .form-header-premium     { padding: 24px 20px; }
    .review-form-premium     { padding: 24px 20px; }
    .form-title-premium      { font-size: 24px; }
    .form-icon-large         { width: 64px; height: 64px; }
    .icon-emoji              { font-size: 32px; }
    .star-rating-premium     { gap: 6px; }
    .star-btn                { padding: 12px 4px; }
    .star-btn .star-icon     { font-size: 24px; }
    .star-label              { font-size: 10px; }
    .btn-submit-premium      { padding: 18px 24px; }
    .btn-text                { font-size: 16px; }
}

/* ═══════════════════════════════════════════════
   BREAKPOINTS SERVICES (desktop)
═══════════════════════════════════════════════ */

@media (min-width: 481px) and (max-width: 767px) {
    .services-tabs-content > div > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .services-tabs-content > div > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .services-tabs-content > div > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    }
}

@media (min-width: 1400px) {
    .services-tabs-content > div > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 1400px;
        margin: 0 auto;
    }
}


@media (max-width: 768px) {
    .pg-viewer {
        aspect-ratio: 3 / 2;   /* Un peu plus carré sur mobile */
        border-radius: 12px;
        max-height: 320px;      /* Sécurité pour les très grands écrans tablet */
    }
 
    .pg-main-img {
        max-height: 320px;
    }
 
    .pg-thumb {
        width: 72px;
        height: 54px;           /* Maintient le ratio 4:3 */
        border-radius: 8px;
    }
 
    .main-gallery-item {
        aspect-ratio: 4 / 3 !important; /* Plus compact sur mobile */
        max-height: 240px !important;
    }
 
    /* Galerie gestion — 2 colonnes sur mobile */
    #gallery-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}
 
@media (max-width: 480px) {
    .pg-viewer {
        aspect-ratio: 1 / 1;   /* Carré sur très petit écran */
        max-height: 280px;
    }
 
    .pg-thumb {
        width: 60px;
        height: 60px;           /* Carré pour cohérence */
    }
}

/* ══════════════════════════════════════════════════════════
   2. GALERIE DASHBOARD (index.html.twig du gestionnaire)
   Images déformées dans la liste de gestion des photos
══════════════════════════════════════════════════════════ */
 
/* Cards galerie dans la gestion */
.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
}
 
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}
 
.gallery-item:hover img {
    transform: scale(1.05);
}
 
/* Image principale (plus grande) */
.main-gallery-item {
    position: relative;
    aspect-ratio: 16 / 9;      /* Ratio large pour la principale */
    overflow: hidden;
    border-radius: 14px;
    background: #f1f5f9;
}
 
.main-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}
 
.main-gallery-item:hover img {
    transform: scale(1.05);
}

/* Toutes les images de galerie */
.pg-main-img img,
.pg-thumb img,
.masonry-item img,
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Conteneurs avec ratio fixe */
.pg-main-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.pg-thumb {
    aspect-ratio: 1;
    overflow: hidden;
}

