/* public/assets/css/public.css — Thème Officiel Gouvernemental (San Andreas) */
:root {
    --primary: #1e3a8a; /* Deep Blue (Official) */
    --primary-light: #3b82f6;
    --accent: #d4af37; /* Gold */
    --accent-glow: rgba(212, 175, 55, 0.1);
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --text-dim: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Header */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
}

.logo img { height: 40px; }
.logo-text h1 { font-size: 1.2rem; font-weight: 900; letter-spacing: -1px; line-height: 0.9; }
.logo-text span { font-size: 0.65rem; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), #1e1b4b);
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../../assets/img/seal.png') no-repeat center;
    background-size: 40%;
    opacity: 0.05;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h2 { font-size: 3.5rem; font-weight: 900; letter-spacing: -2px; margin-bottom: 20px; line-height: 1; }
.hero p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 30px; }

/* Grid Cards */
.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; }

.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--primary); }

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

.public-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.public-card:hover { transform: translateY(-10px); }

/* Footer */
.public-footer {
    background: #0f172a;
    color: white;
    padding: 60px 20px;
    margin-top: 100px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 { font-size: 1rem; color: var(--accent); margin-bottom: 20px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
.footer-col ul li a:hover { color: white; }

/* Buttons */
.btn-public {
    display: inline-flex;
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-public:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--accent-glow); }
