/* ==============================================
   GUILD PAGE - Styles cohérents avec global.css
   ============================================== */

/* ==============================================
   HERO SECTION
   ============================================== */
.hero-simple {
    padding: 8rem 2rem 6rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-simple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.guild-logo-simple {
    width: 1000px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.15;
    animation: floatLogo 3s ease-in-out infinite;
    filter: none;
    pointer-events: none;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, calc(-50% - 10px));
    }
}

.hero-description-simple {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--color-text);
    font-weight: 400;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-description-simple br {
    display: block;
    content: "";
    margin-top: 0.3em;
}

/* ==============================================
   SECTION HEADERS
   ============================================== */
.section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A9B5BD, #E8DDD5, #C8BDB5, transparent);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-150%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(50%);
        opacity: 0;
    }
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ==============================================
   STATS CARDS
   ============================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Styles are defined in goa-theme.css */

.stat-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px var(--royal-pearl));
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--pewter);
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--pewter);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.stat-desc {
    color: var(--goa-silver);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
}

/* ==============================================
   VALUES CARDS
   ============================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--color-bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    text-align: center;
}

.value-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-badge {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.value-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.value-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ==============================================
   ACHIEVEMENTS CARDS
   ============================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background-color: var(--color-bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    text-align: center;
}

.achievement-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.achievement-badge {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.achievement-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.achievement-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

/* ==============================================
   TIMELINE
   ============================================== */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
        rgba(122, 129, 139, 0.3) 0%,
        rgba(122, 129, 139, 0.5) 25%,
        rgba(122, 129, 139, 0.7) 50%,
        rgba(122, 129, 139, 0.9) 75%,
        rgb(169, 181, 189) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(169, 181, 189, 0.3);
}

.timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(169, 181, 189, 0.8) 50%,
        transparent 100%);
    transform: translateX(-50%);
    animation: timelineGlow 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(169, 181, 189, 0.6),
                0 0 30px rgba(169, 181, 189, 0.4);
}

@keyframes timelineGlow {
    0% {
        top: -80px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 3rem);
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 3rem);
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.3) 0%, rgba(169, 181, 189, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Évolution progressive des sphères */
.timeline-item:nth-child(1) .timeline-marker {
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.2) 0%, rgba(169, 181, 189, 0.05) 100%);
    border-color: rgba(169, 181, 189, 0.3);
    box-shadow:
        0 4px 16px rgba(169, 181, 189, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.timeline-item:nth-child(2) .timeline-marker {
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.35) 0%, rgba(169, 181, 189, 0.15) 100%);
    border-color: rgba(169, 181, 189, 0.4);
    box-shadow:
        0 6px 24px rgba(169, 181, 189, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.timeline-item:nth-child(3) .timeline-marker {
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.5) 0%, rgba(169, 181, 189, 0.25) 100%);
    border-color: rgba(169, 181, 189, 0.5);
    box-shadow:
        0 8px 32px rgba(169, 181, 189, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.timeline-item:nth-child(4) .timeline-marker {
    background: linear-gradient(135deg, rgb(169, 181, 189) 0%, rgba(169, 181, 189, 0.4) 100%);
    border-color: rgb(169, 181, 189);
    box-shadow:
        0 10px 40px rgba(169, 181, 189, 0.6),
        0 0 30px rgba(169, 181, 189, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    animation: futurePulse 3s ease-in-out infinite;
}

@keyframes futurePulse {
    0%, 100% {
        box-shadow:
            0 10px 40px rgba(169, 181, 189, 0.6),
            0 0 30px rgba(169, 181, 189, 0.4),
            inset 0 1px 1px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow:
            0 10px 40px rgba(169, 181, 189, 0.8),
            0 0 40px rgba(169, 181, 189, 0.6),
            inset 0 1px 1px rgba(255, 255, 255, 0.5);
    }
}

.timeline-content {
    width: calc(50% - 5rem);
    background-color: var(--color-bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ==============================================
   TOOLS SECTION
   ============================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--color-bg-secondary);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.tool-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.tool-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-fast);
    border: none;
    font-size: 0.95rem;
}

.tool-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tool-btn.disabled {
    background-color: var(--color-bg-tertiary);
    color: var(--color-text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.tool-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: var(--color-bg-tertiary);
}

/* ==============================================
   JOIN SECTION
   ============================================== */
.join-section {
    background-color: var(--color-bg-secondary);
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    text-align: center;
    margin-top: 4rem;
}

.join-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.join-description {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.contact-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-btn-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1024px) {
    .timeline::before {
        left: 40px;
    }

    .timeline-marker {
        left: 40px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 120px);
        margin-left: 100px;
        margin-right: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-simple {
        padding: 4rem 1rem 3rem;
        min-height: 400px;
    }

    .hero-simple::before {
        width: 400px;
        height: 400px;
    }

    .guild-logo-simple {
        width: 600px;
        opacity: 0.12;
    }

    .hero-description-simple {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-grid,
    .values-grid,
    .achievements-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
    }

    .timeline-badge {
        font-size: 1rem;
    }

    .join-title {
        font-size: 1.5rem;
    }

    .join-description {
        font-size: 0.9rem;
    }

    .contact-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    .contact-btn-icon {
        width: 20px;
        height: 20px;
    }
}

/* ========== FOOTER ========== */
/* Les styles du footer sont gérés par global.css */
