/* * GThinks Guide - White Edition CSS
 * Architect: Zenith-Engine (ASL)
 * Version: 1.0.0 (2026)
 */

:root {
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #f3f4f6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

/* Transitions Globales */
* {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography Enhancements */
h1, h2, h3 {
    letter-spacing: -0.025em;
    font-weight: 800;
}

/* Custom Component: Audit Card */
.audit-container {
    background: #0f172a; /* Bleu nuit très profond pour le contraste */
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Textarea */
textarea.audit-input {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    resize: none;
}

textarea.audit-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Risk Gauges */
.risk-meter {
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
}

.risk-meter::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, var(--primary-blue) 0%, transparent 100%);
    opacity: 0.1;
    animation: rotate 10s linear infinite;
    top: -50%;
    left: -50%;
}

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

/* Article Cards */
.guide-card {
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: #e5e7eb;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Interactive Elements */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.02);
}

/* Helper Classes */
.text-gradient {
    background: linear-gradient(90deg, #111827, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .audit-container {
        border-radius: 1.5rem;
        padding: 1.5rem;
    }
}