/* ========================================
   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 {
    --bleu-ukraine: #005BBB;
    --jaune-ukraine: #FFD700;
    --or-metal: #D4AF37;
    --noir: #0A0A0A;
    --gris-sombre: #1C1C1C;
    --gris-moyen: #2C2C2C;
    --blanc: #FFFFFF;
    --text-light: #CBD5E1;
    --text-gray: #94A3B8;
    --text-muted: #64748B;
}

/* ========================================
   AUTONOMY SECTION (Jauge circulaire)
   ======================================== */
.autonomy-section {
    text-align: center;
    padding: 100px 32px;
}

.section-header {
    margin-bottom: 48px;
}

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

.gauge-container {
    margin: 0 auto 48px;
    width: fit-content;
}

.gauge {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(
        from -90deg,
        var(--or-metal) 0%,
        var(--jaune-ukraine) calc(var(--percent) * 1%),
        rgba(211, 211, 211, 0.1) calc(var(--percent) * 1%)
    );
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.3);
    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: 72px;
    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: 20px 48px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    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: 100px 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.stat-card {
    background: linear-gradient(135deg, var(--gris-sombre), var(--gris-moyen));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    color: inherit;
    display: block;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 91, 187, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 24px 48px rgba(255, 215, 0, 0.15);
}

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

.stat-card svg {
    width: 56px !important;;
    height: 56px !important;;
    margin: 0 auto 20px;
    display: block;
    stroke: var(--jaune-ukraine);
}

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

.stat-card:hover .stat-number {
    color: var(--jaune-ukraine);
}

.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: 100px 32px;
}

.discover-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 80px;
    line-height: 1.2;
}

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

.discover-col h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--blanc);
    margin-bottom: 32px;
}

/* 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%;
    height: 240px;
    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(0, 91, 187, 0.1), rgba(234, 179, 8, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 91, 187, 0.4);
    box-shadow: 0 24px 64px rgba(0, 91, 187, 0.2);
}

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

.workshop-card img {
    width: 100%;
    height: 220px;
    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: 100px 32px;
}

.voices-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.2;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.voice-card {
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 24px;
    padding: 52px 42px;
    position: relative;
    min-height: 380px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
}

.voice-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    background: var(--gris-moyen);
    box-shadow: 0 32px 64px rgba(255, 215, 0, 0.15);
}

.voice-card svg {
    width: 70px !important;;
    height: 70px !important;;
    color: var(--jaune-ukraine);
    opacity: 0.2;
    margin-bottom: 10px;
}

.voice-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

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

.voice-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--jaune-ukraine);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
}

.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: 100px 32px;
}

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

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.join-card {
    background: var(--gris-sombre);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    color: inherit;
    display: block;
}

.join-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 91, 187, 0.15), rgba(255, 215, 0, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.join-card:hover {
    transform: translateY(-16px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 32px 80px rgba(255, 215, 0, 0.25);
}

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

.join-card svg {
    width: 64px !important;
    height: 64px !important;;
    margin: 0 auto 28px;
    display: block;
    stroke: var(--jaune-ukraine);
    position: relative;
    z-index: 1;
}

.join-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.join-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 40px;
    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-yellow svg {
    width: 20px !important;;
    height: 20px !important;;
    stroke: currentColor;
}

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

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

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

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 60px 20px;
    }

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

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

    .percent {
        font-size: 56px;
    }

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

    .discover-grid {
        gap: 40px;
        grid-template-columns: 1fr;
    }

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

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

    .discover-section,
    .autonomy-section,
    .voices-section,
    .join-section {
        padding: 60px 20px;
    }
}

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

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

    .percent {
        font-size: 48px;
    }

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

    .join-card {
        padding: 40px 24px;
    }

    .voice-card {
        padding: 32px 24px;
    }
}
