/* ============================================
   TÉMOIGNAGES
   ============================================ */

/* Hero */
.testimonials-hero {
    background: var(--forest);
    color: var(--cream);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 63, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    color: var(--cream);
    margin: 0 0 14px;
    position: relative;
}

.testimonials-hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(250, 248, 243, 0.82);
    max-width: 560px;
    margin: 0;
    position: relative;
}

/* Filtres */
.testimonials-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.testimonial-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 200ms ease;
}

.testimonial-filter i {
    color: var(--emerald);
}

.testimonial-filter:hover {
    border-color: var(--emerald);
    color: var(--emerald);
}

.testimonial-filter.is-active {
    background: var(--emerald);
    color: #fff;
    border-color: var(--emerald);
}

.testimonial-filter.is-active i {
    color: #fff;
}

.testimonial-filter-count {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--emerald);
}

.testimonial-filter.is-active .testimonial-filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Grille */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* Card */
.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage);
}

/* Quote icon */
.testimonial-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--mint);
    opacity: 0.8;
    pointer-events: none;
}

/* Rating */
.testimonial-rating {
    display: flex;
    gap: 2px;
    color: var(--gold);
    margin-bottom: 16px;
}

/* Quote */
.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal);
    margin: 0 0 24px;
    padding: 0;
    font-style: italic;
    position: relative;
    flex: 1;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--mint);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--emerald);
}

.testimonial-author-info {
    min-width: 0;
    flex: 1;
}

.testimonial-author-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--forest);
    margin: 0 0 2px;
    line-height: 1.3;
}

.testimonial-author-role {
    font-size: 12px;
    color: var(--emerald);
    margin: 0 0 2px;
    font-weight: 500;
}

.testimonial-author-location {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--stone);
    margin: 0;
}

/* Badge type */
.testimonial-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--emerald);
    background: var(--mint);
    padding: 4px 10px;
    border-radius: 999px;
    position: absolute;
    top: 24px;
    left: 28px;
}

/* Empty state */
.testimonials-empty {
    text-align: center;
    padding: 72px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.testimonials-empty i {
    color: var(--sage);
    margin: 0 auto 16px;
}

.testimonials-empty h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: var(--forest);
    margin: 0 0 8px;
}

.testimonials-empty p {
    font-size: 14px;
    color: var(--stone);
    margin: 0;
}

/* Mobile */
@media (max-width: 640px) {
    .testimonials-hero { padding: 56px 0 40px; }
    .testimonials-hero-title { font-size: 1.75rem; }
    .testimonial-card { padding: 28px 22px 22px; }
    .testimonial-quote { font-size: 14.5px; }
    .testimonial-type-badge { top: 20px; left: 22px; }
    .testimonial-quote-icon { top: 20px; right: 20px; }
}
.testimonial-cta-block {
    padding: 48px 0;
    background: var(--cream);
}

.testimonial-cta-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, var(--mint) 0%, #d9ecdf 100%);
    border: 1px solid var(--sage);
    border-radius: 16px;
    flex-wrap: wrap;
}

.testimonial-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #fff;
    color: var(--emerald);
    flex-shrink: 0;
}

.testimonial-cta-text {
    flex: 1;
    min-width: 240px;
}

.testimonial-cta-text h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--forest);
    margin: 0 0 4px;
}

.testimonial-cta-text p {
    font-size: 14px;
    color: var(--stone);
    margin: 0;
}

@media (max-width: 640px) {
    .testimonial-cta-inner { padding: 24px; }
    .testimonial-cta-inner .btn { width: 100%; text-align: center; }
}
/* ============================================
   PHOTO DROPZONE (témoignage)
   ============================================ */
.photo-dropzone {
    display: block;
    position: relative;
    border: 2px dashed var(--sage);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 200ms ease;
    overflow: hidden;
    min-height: 160px;
}

.photo-dropzone:hover {
    border-color: var(--emerald);
    background: #fafefb;
}

.photo-dropzone.is-dragover {
    border-color: var(--emerald);
    background: var(--mint);
    transform: scale(1.01);
}

.photo-dropzone-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.photo-dropzone-content {
    padding: 36px 20px;
    text-align: center;
}

.photo-dropzone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--emerald);
    margin: 0 auto 14px;
}

.photo-dropzone-title {
    font-size: 14px;
    color: var(--charcoal);
    margin: 0 0 4px;
}

.photo-dropzone-title strong {
    color: var(--emerald);
    font-weight: 600;
}

.photo-dropzone-hint {
    font-size: 12px;
    color: var(--stone);
    margin: 0;
}

/* Preview */
.photo-dropzone-preview {
    padding: 16px;
    text-align: center;
    position: relative;
}

.photo-dropzone-preview img {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: block;
    margin: 0 auto;
}

.photo-remove {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(185, 28, 28, 0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    padding: 0;
}

.photo-remove:hover {
    background: #b91c1c;
    transform: scale(1.1);
}