/* ========================================
   CONTENT - Against Stones
   Design professionnel noir/doré responsive
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;600;700&display=swap');

/* ========================================
   VARIABLES
   ======================================== */
:root {
    --jaune-ukraine: var(--as-gold, #FFD700);
    --or-metal: var(--as-gold-dark, #D4AF37);
    --noir: var(--as-ink, #212121);
    --gris-sombre: var(--as-surface, #262626);
    --gris-moyen: var(--as-surface-elevated, #333333);
    --blanc: var(--as-text, #f2f2f4);
    --text-light: var(--as-text-secondary, #c8c8cc);
    --text-gray: var(--as-text-muted, #8e8e96);
    --text-muted: #75757d;
}

/* ========================================
   AUTONOMY SECTION (Jauge circulaire)
   ======================================== */
.autonomy-section {
    text-align: center;
    padding: var(--index-section-y, clamp(24px, 3.5vw, 48px)) var(--content-pad-x, 32px);
}

.section-header {
    margin-bottom: var(--section-gap-sm, 16px);
}

.autonomy-realtime-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    font-weight: 600;
    color: var(--as-gold-muted, #c9a227);
    letter-spacing: 0.04em;
    margin: 8px 0 0;
}

.autonomy-period-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-gray);
    max-width: 32rem;
    margin: 0.35rem auto var(--section-gap-sm, 12px);
    opacity: 0.88;
}

.autonomy-progress-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    max-width: 36rem;
    margin: 0 auto 10px;
    line-height: 1.5;
}

.autonomy-goal-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--blanc);
    max-width: 40rem;
    margin: 0 auto var(--section-gap-md, 20px);
    line-height: 1.45;
}

.stats-intro {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    margin: 0 auto var(--section-gap-sm, 12px);
    max-width: 1600px;
    padding: 0 var(--content-pad-x, 32px);
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    color: var(--blanc);
}

.gauge-container {
    margin: 0 auto var(--section-gap-md, 24px);
    width: fit-content;
}

.gauge {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(
        from -90deg,
        var(--as-gold-muted, #c9a227) 0%,
        var(--as-gold-dark, #a88620) calc(var(--percent) * 1%),
        rgba(211, 211, 211, 0.1) calc(var(--percent) * 1%)
    );
    box-shadow:
        inset 2px 2px 6px rgba(255, 255, 255, 0.06),
        inset -3px -3px 8px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(201, 162, 39, 0.14);
    transition: transform 0.3s ease;
}

.gauge:hover {
    transform: scale(1.05);
}

.gauge::before {
    content: '';
    position: absolute;
    inset: 16px;
    background: var(--noir);
    border-radius: 50%;
}

.gauge-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.percent {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(48px, 8vw, 64px);
    font-weight: 700;
    color: var(--blanc);
    line-height: 1;
    margin-bottom: 12px;
}

.funded {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Boutons CTA */
.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--noir);
    background: linear-gradient(135deg, var(--jaune-ukraine), var(--or-metal));
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.btn-support:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.4);
}

/* ========================================
   STATS GRID
   ======================================== */
.stats-grid {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--section-gap-sm, 16px) var(--content-pad-x, 32px) var(--index-section-y, clamp(24px, 3.5vw, 48px));
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--section-gap-md, 24px);
}

.stats-section .stats-grid {
    padding-inline: 0;
    padding-bottom: 0;
}

.stats-grid--neu .stat-card,
.stat-card {
    background: var(--as-surface-2);
    border: 1px solid var(--as-border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 16px);
    padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
    text-align: center;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    color: inherit;
    display: block;
    box-shadow:
        inset 1px 1px 2px rgba(255, 255, 255, 0.04),
        inset -2px -2px 5px rgba(0, 0, 0, 0.28),
        4px 6px 16px rgba(0, 0, 0, 0.22);
}

.stat-card::before {
    content: none;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft, 0 2px 12px rgba(0, 0, 0, 0.18));
}

.stat-card:hover::before {
    opacity: 0;
}

.stat-card svg {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 14px;
    display: block;
    stroke: var(--as-gold-muted, #c9a227);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    color: var(--blanc);
    line-height: 1;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-number {
    color: var(--as-gold-muted, #c9a227);
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ========================================
   DISCOVER SECTION
   ======================================== */
.discover-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--index-section-y, clamp(40px, 5vw, 72px)) var(--content-pad-x, 32px);
}

.index-section-title,
.discover-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: var(--section-gap-sm, 12px);
    line-height: 1.2;
}

.stats-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--section-gap-sm, 16px) var(--content-pad-x, 32px) var(--index-section-y, clamp(24px, 3.5vw, 48px));
}

.discover-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-gray);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto var(--section-gap-lg, clamp(28px, 4vw, 40px));
    line-height: 1.55;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.discover-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: stretch;
}

.discover-works-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.discover-works-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: var(--section-gap-md, 20px);
}

.discover-works-header h3 {
    margin-bottom: 0;
}

.discover-works-col .art-grid {
    flex: 0 0 auto;
    align-items: start;
}

.discover-works-col .art-card {
    align-self: start;
    height: auto;
}

.discover-no-works {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
}

#discover-works-grid.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.discover-works-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: var(--section-gap-md, 20px);
    color: var(--text-gray);
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.discover-works-footer-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--as-text-secondary, var(--blanc));
    text-decoration: none;
    transition: color 0.2s ease;
}

.discover-works-footer-link:hover {
    color: var(--as-gold-muted, var(--jaune-ukraine));
}

.discover-works-count strong {
    color: var(--blanc);
    font-weight: 600;
}

.discover-side-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: var(--section-gap-md, 20px);
}

.discover-works-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blanc);
}

.discover-side-col {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap-lg, clamp(28px, 3.5vw, 40px));
    min-height: 0;
}

.discover-col--workshops {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.discover-workshops-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
}

.discover-workshops-list .workshop-card--compact {
    flex: 1 1 0;
    min-height: 0;
}

.discover-workshops-list .workshop-card--compact {
    display: block;
}

.discover-workshops-list .workshop-card--compact .workshop-card-img,
.discover-workshops-list .workshop-card--compact img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 160px;
    object-fit: cover;
}

.discover-works-col .art-card img,
.discover-works-col .art-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 160px;
    object-fit: cover;
}

.discover-workshops-list .workshop-card--compact .workshop-info {
    padding: 14px 18px;
}

.discover-workshops-list .workshop-card--compact .workshop-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.discover-workshops-list .workshop-card--compact .workshop-info p {
    font-size: 13.5px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-grid--six {
    grid-template-columns: repeat(3, 1fr);
}

.discover-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: var(--section-gap-md, 20px);
}

/* Art Grid */
.art-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.art-card {
    background: var(--gris-sombre);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
}

.art-card:hover {
    transform: scale(1.05);
    box-shadow: 0 24px 64px rgba(212, 175, 55, 0.3);
    border-color: var(--jaune-ukraine);
}

.art-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.art-card:hover img {
    transform: scale(1.15);
}

.art-info {
    padding: 16px;
}

.art-info h4 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: var(--blanc);
    line-height: 1.3;
}

.art-info small {
    color: var(--text-gray);
    font-size: 14px;
}

/* Workshop Card */
.workshop-card {
    background: var(--gris-sombre);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.workshop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(234, 179, 8, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.28);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.workshop-card:hover::before {
    opacity: 1;
}

.workshop-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.workshop-card:hover img {
    transform: scale(1.08);
}

.workshop-info {
    padding: 20px 24px;
    position: relative;
    z-index: 1;
}

.workshop-info h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--blanc);
    line-height: 1.3;
}

.workshop-info p {
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.workshop-info small {
    color: var(--text-gray);
    font-size: 13px;
}

/* No Content Message */
.no-content {
    color: var(--text-muted);
    padding: 40px 20px;
    text-align: center;
    font-style: italic;
}

/* Needs List */
.needs-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.need-item {
    background: var(--gris-sombre);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.need-item:hover {
    transform: translateX(8px);
    border-color: rgba(255, 215, 0, 0.3);
    background: var(--gris-moyen);
}

.need-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.need-icon {
    font-size: 32px;
}

.need-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--blanc);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--or-metal), var(--jaune-ukraine), var(--or-metal));
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.6);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

/* ========================================
   VOICES SECTION (Témoignages)
   ======================================== */
.voices-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--index-section-y, clamp(40px, 5vw, 72px)) var(--content-pad-x, 32px);
}

.voices-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    margin-bottom: var(--section-gap-sm, 12px);
    line-height: 1.2;
}

.voices-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-gray);
    text-align: center;
    max-width: 40rem;
    margin: 0 auto var(--section-gap-lg, clamp(28px, 4vw, 40px));
    line-height: 1.55;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--section-gap-md, clamp(20px, 3vw, 32px));
}

.voice-card {
    background: var(--as-surface-2, #1a1f28);
    border: 1px solid var(--as-border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 16px);
    padding: clamp(24px, 3vw, 32px) clamp(20px, 2.5vw, 28px);
    position: relative;
    min-height: 0;
    box-shadow: var(--shadow-soft, 0 2px 12px rgba(0, 0, 0, 0.18));
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--as-surface-2, #1a1f28);
    box-shadow: var(--shadow-soft, 0 2px 12px rgba(0, 0, 0, 0.18));
}

.voice-card svg {
    width: 48px !important;
    height: 48px !important;
    color: var(--as-gold-muted, var(--jaune-ukraine));
    opacity: 0.15;
    margin-bottom: 10px;
}

.voice-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    color: var(--as-text-secondary, var(--text-light));
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.voice-author-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.voice-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--as-gold-muted, var(--jaune-ukraine));
    flex-shrink: 0;
    box-shadow: none;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--blanc);
    line-height: 1.6;
}

.voice-author small {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    margin-top: 4px;
}

/* ========================================
   JOIN SECTION (CTA Cards)
   ======================================== */
.join-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--index-section-y, clamp(40px, 5vw, 72px)) var(--content-pad-x, 32px);
}

.join-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: var(--section-gap-lg, clamp(32px, 4vw, 48px));
    line-height: 1.2;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--section-gap-md, clamp(20px, 3vw, 28px));
}

.join-card {
    background: var(--as-surface-2);
    border: 1px solid var(--as-border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-md, 16px);
    padding: clamp(28px, 3.5vw, 36px) clamp(22px, 2.5vw, 28px);
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    display: block;
    box-shadow: var(--shadow-soft, 0 2px 12px rgba(0, 0, 0, 0.18));
}

.join-card::before {
    content: none;
}

.join-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft, 0 2px 12px rgba(0, 0, 0, 0.18));
}

.join-card:hover::before {
    opacity: 0;
}

.join-card svg {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto var(--section-gap-md, 20px);
    display: block;
    stroke: var(--jaune-ukraine);
    position: relative;
    z-index: 1;
}

.join-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: var(--section-gap-sm, 12px);
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.join-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: var(--section-gap-md, 20px);
    position: relative;
    z-index: 1;
}

.btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--jaune-ukraine), var(--or-metal));
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--noir);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
    position: relative;
    z-index: 1;
}

.btn-yellow:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.btn-gold-muted {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(201, 162, 39, 0.12);
    border: 2px solid var(--as-gold-muted, #c9a227);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--as-gold-muted, #c9a227);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    position: relative;
    z-index: 1;
}

.btn-gold-muted:hover {
    background: rgba(201, 162, 39, 0.2);
    transform: translateX(4px);
}

.btn-yellow svg {
    width: 20px !important;;
    height: 20px !important;;
    stroke: currentColor;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .discover-grid,
    .discover-layout {
        grid-template-columns: 1fr;
    }

    .discover-side-col {
        gap: 40px;
    }

    .art-grid--six {
        grid-template-columns: repeat(2, 1fr);
    }

    .discover-workshops-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discover-workshops-list .workshop-card--compact:nth-child(n+3) {
        display: none;
    }

    .voices-grid {
        grid-template-columns: 1fr;
    }

    .art-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .hero:not(.hero--image-only) {
        height: 50vh;
        min-height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--section-gap-sm, 10px);
        padding: var(--section-gap-sm, 12px) var(--content-pad-x, 20px);
    }

    .stat-card {
        padding: 16px 10px;
    }

    .stat-card svg {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 8px;
    }

    .stat-number {
        font-size: clamp(26px, 8vw, 36px);
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 14px;
    }

    .title-section {
        padding: 60px 20px;
    }

    .gauge {
        width: 168px;
        height: 168px;
    }

    .gauge::before {
        inset: 12px;
    }

    .percent {
        font-size: 42px;
        margin-bottom: 8px;
    }

    .autonomy-goal-text {
        font-size: 0.92rem;
        margin-bottom: var(--section-gap-sm, 14px);
    }

    .discover-works-col .art-card img,
    .discover-works-col .art-card-img,
    .discover-workshops-list .workshop-card--compact img {
        max-height: 140px;
    }

    .discover-workshops-list {
        gap: 12px;
    }

    .art-grid,
    .art-grid--six {
        grid-template-columns: 1fr;
    }

    .discover-grid,
    .discover-layout {
        gap: var(--section-gap-md, 24px);
        grid-template-columns: 1fr;
    }

    .discover-workshops-list {
        grid-template-columns: 1fr;
    }

    .discover-workshops-list .workshop-card--compact:nth-child(n+2) {
        display: block;
    }

    .discover-workshops-list .workshop-card--compact {
        display: block;
        min-height: 0;
    }

    .discover-workshops-list .workshop-card--compact .workshop-card-img,
    .discover-workshops-list .workshop-card--compact img {
        height: auto;
        max-height: 150px;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .discover-workshops-list .workshop-card--compact .workshop-info {
        padding: 12px 14px;
    }

    .join-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .voices-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .voices-section h2,
    .discover-section h2,
    .join-section h2 {
        margin-bottom: var(--section-gap-sm, 16px);
    }

    .discover-section,
    .autonomy-section,
    .voices-section,
    .join-section {
        padding: clamp(18px, 3vw, 28px) var(--content-pad-x, 20px);
    }

    .discover-works-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero .hero-title {
        font-size: 36px;
    }

    .gauge {
        width: 148px;
        height: 148px;
    }

    .gauge::before {
        inset: 10px;
    }

    .percent {
        font-size: 36px;
    }

    .stat-number {
        font-size: 34px;
    }

    .stat-card {
        padding: 14px 12px;
    }

    .stat-card svg {
        width: 32px !important;
        height: 32px !important;
    }

    .join-card {
        padding: 20px 16px;
    }

    .voice-card {
        padding: 18px 16px;
    }
}

/* Index hero — full metaphor image (stone → life), pastille band below */
.hero.hero--image-only {
    position: relative;
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: calc(-1 * var(--content-pad-y, clamp(28px, 5vw, 48px)));
    height: auto;
    min-height: 0;
    overflow: visible;
    isolation: isolate;
}
.hero.hero--image-only .hero-background {
    position: relative;
    inset: auto;
    width: 100%;
    line-height: 0;
}
.hero.hero--image-only .hero-background::after {
    display: none;
}
.hero.hero--image-only .hero-bg-image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}
.hero.hero--image-only:hover .hero-bg-image {
    transform: none;
}
.hero-pastille-band {
    width: 100%;
    text-align: center;
    padding: var(--section-gap-md, clamp(16px, 2.5vw, 24px)) var(--content-pad-x, 24px) var(--section-gap-sm, clamp(12px, 2vw, 20px));
    margin: 0 auto;
    overflow: visible;
}

/* ============================================
   CSS - Citation Hero avec fil d'or + reflets dorés
   (scoped under .hero-pastille-band)
============================================ */

.hero-pastille-band .hero-quote-box {
    max-width: 620px;
    margin: 0 auto;
    padding: 48px 52px;
    background: rgba(12, 15, 22, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 24px;
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(212, 175, 55, 0.1) inset,
        0 0 32px rgba(212, 175, 55, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
    overflow: visible;
}

/* Fil d'or en haut */
.hero-pastille-band .hero-quote-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 2px;
    z-index: 2;
    background: linear-gradient(
        to right,
        transparent,
        #d4af37,
        #f0d78c,
        #d4af37,
        transparent
    );
    border-radius: 2px;
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.65),
        0 0 18px rgba(212, 175, 55, 0.35);
}

.hero-pastille-band .hero-quote-content p {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: #f1f1f1;
    line-height: 1.7;
    margin: 0 0 14px 0;
    font-size: 1.08rem;
}

/* Titre principal */
.hero-pastille-band .hero-quote-main {
    font-size: 1.35rem !important;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 22px !important;
    letter-spacing: -0.02em;
}

.hero-pastille-band .hero-quote-main::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    margin: 18px auto 20px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

/* Lignes du milieu */
.hero-pastille-band .hero-quote-line {
    font-size: 1.1rem;
    color: #e8e8e8;
    margin-bottom: 6px !important;
}

.hero-pastille-band .hero-quote-line--accent {
    color: #f0d78c;
    font-weight: 500;
    text-shadow:
        0 0 8px rgba(212, 175, 55, 0.6),
        0 0 16px rgba(212, 175, 55, 0.32);
}

/* Paragraphe du bas */
.hero-pastille-band .hero-quote-bottom {
    font-size: 1.02rem;
    color: #c8c8c8;
    margin-top: 18px !important;
    line-height: 1.65;
}

/* Reflets dorés sur "Pierres Transformées" */
.hero-pastille-band .gold-text {
    color: #f0d78c;
    font-weight: 600;
    text-shadow:
        0 0 8px rgba(212, 175, 55, 0.62),
        0 0 16px rgba(212, 175, 55, 0.32);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-pastille-band .hero-quote-box {
        max-width: 94%;
        padding: 36px 28px;
    }

    .hero-pastille-band .hero-quote-main {
        font-size: 1.22rem !important;
    }
}

/* Fallback mission block when quote keys absent */
.hero-copy-pastille {
    display: inline-block;
    max-width: 100%;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md, 18px);
    padding: 24px 28px;
    border: 1px solid rgba(201, 162, 39, 0.28);
    box-shadow:
        0 0 0 1px rgba(201, 162, 39, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.28);
    position: relative;
}

.hero-copy-pastille::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--as-gold-muted, #c9a227), transparent);
    opacity: 0.65;
    pointer-events: none;
}
.hero-mission-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    color: var(--as-text, #fff);
    margin: 0 0 12px;
    font-weight: 700;
}
.hero-mission-lead {
    color: var(--as-gold-muted, #c9a227);
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
.hero-mission-exchange,
.hero-mission-ownership {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.92rem, 1.8vw, 1.02rem);
    margin: 10px 0 0;
    line-height: 1.45;
    font-weight: 500;
}
.hero-mission-ownership {
    color: #fde68a;
    font-style: italic;
}
.hero-mission-tagline {
    color: rgba(212, 168, 83, 0.92);
    font-size: clamp(0.88rem, 1.6vw, 0.98rem);
    margin: 14px 0 0;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .hero.hero--image-only {
        height: auto;
        min-height: 0;
    }
}
@media (max-width: 600px) {
    .hero-copy-pastille {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .hero-pastille-band {
        padding: var(--section-gap-md, 16px) 16px var(--section-gap-sm, 12px);
    }
}
.employe-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}
.asso-panel[hidden] { display: none !important; }

/* ========================================
   QUOTE BOX — hero-style glass banner
   ======================================== */
.quote-box {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: min(900px, 90%);
    margin-block: var(--quote-margin-block, 2.25rem 3rem);
    margin-inline: auto;
    padding: 0;
    border: none;
    background: transparent;
    text-align: center;
}

.quote-box__banner {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 28px) clamp(22px, 4vw, 32px);
    border: 1px solid rgba(201, 162, 39, 0.22);
    box-shadow:
        0 0 0 1px rgba(201, 162, 39, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.22);
    position: relative;
}

.quote-box__banner::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--as-gold-muted, #c9a227), transparent);
    opacity: 0.55;
    pointer-events: none;
}

.quote-box__text {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 700;
    font-style: normal;
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: var(--as-text, #fff);
    text-align: center;
    white-space: pre-line;
}

.quote-box__footnote {
    margin: 0.75rem auto 0;
    padding: 0;
    max-width: 100%;
    border: 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--as-gold-muted, #c9a227);
    text-align: center;
}

.quote-box--centered {
    margin-inline: auto;
}

.quote-box--inline {
    margin-block: var(--quote-margin-block, 2rem 2.5rem);
    max-width: min(720px, 85%);
}

.quote-box--inline .quote-box__text {
    font-size: clamp(0.95rem, 1.9vw, 1.1rem);
    font-weight: 600;
}

.quote-box--inline .quote-box__footnote {
    text-align: center;
}

.quote-box--site {
    margin-block: var(--quote-margin-block, 2rem 2.5rem);
    max-width: min(960px, 90%);
}

.quote-box--soutenir {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    margin-block: 1.25rem 1.75rem;
}

.quote-box--soutenir .quote-box__banner {
    overflow: hidden;
    background: rgba(20, 24, 32, 0.55);
    border-color: var(--as-border, rgba(255, 255, 255, 0.08));
    box-shadow: none;
    padding: 1rem 1.15rem;
}

.quote-box--soutenir .quote-box__banner::before {
    display: none;
}

.quote-box--soutenir .quote-box__text {
    position: relative;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.5;
    text-shadow: none;
}

.quote-box--oeuvre,
.quote-box--member-detail {
    margin-top: var(--as-space-stack-sm, 12px);
    max-width: min(680px, 85%);
}

.quote-box--oeuvre .quote-box__text,
.quote-box--member-detail .quote-box__text {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 600;
}

@media (max-width: 640px) {
    .quote-box {
        max-width: 92%;
        margin-block: 1.75rem 2.5rem;
    }

    .quote-box__banner {
        border-radius: 16px;
        padding: 20px 18px;
    }

    .quote-box__text {
        font-size: clamp(0.98rem, 3.8vw, 1.12rem);
        line-height: 1.42;
    }

    .quote-box__footnote {
        font-size: 0.72rem;
    }

    .quote-box--soutenir {
        margin-block: 1rem 1.5rem;
    }

    .quote-box--soutenir .quote-box__banner {
        padding: 0.9rem 1rem;
    }
}
