/* * GThinks Guide & Recycle - Global Edition CSS
 * Architect: Zenith-Engine (ASL)
 * Version: 1.2.0 (2026)
 */

:root {
    /* Palette Originale Blue */
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    
    /* Palette Extension Green (Recycle) */
    --primary-green: #10b981;
    --green-hover: #059669;
    --green-light: #f0fdf4;
    
    /* Neutres & Structure */
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #f3f4f6;
    
    /* Status */
    --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 */
h1, h2, h3 {
    letter-spacing: -0.025em;
    font-weight: 800;
}

.text-balance {
    text-wrap: balance;
}

/* Logo Filter (Gris/Noir -> Vert #10b981) */
.logo-green-filter {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(130deg) brightness(95%) contrast(92%);
}

/* Custom Component: Audit Card */
.audit-container {
    background: #0f172a; 
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Inputs & Forms (Dark Mode pour Audit Container) */
.audit-container input, 
.audit-container select, 
.audit-container textarea {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    resize: none;
}

.audit-container input:focus,
.audit-container select:focus,
.audit-container textarea:focus {
    border-color: var(--primary-green); /* Focus vert pour le recyclage */
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    outline: none;
}

/* Risk Meter & Animations */
.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-green) 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); }
}

/* Cards & Interaction */
.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);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 700;
}

.btn-green {
    background-color: var(--primary-green);
    color: white;
    font-weight: 700;
}

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

/* Global Utilities */
.text-green-custom { color: var(--primary-green); }
.bg-green-custom { background-color: var(--primary-green); }

.hidden { display: none; }

/* Tabs System */
.tab-btn {
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: currentColor;
}

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