/* assets/css/style.css */
:root {
    --color-graphite: #1C1F23;
    --color-accent: #3A6B5E;
    --color-surface: #FFFFFF;
    --color-veil: #F5F6F7;
    --color-line: #E2E5E8;
    --color-ink-soft: #5A6167;
    --radius: 6px;
    --border: 1px solid var(--color-line);
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1024px;
    --measure: 66ch;
}
/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-stack); background-color: var(--color-surface); color: var(--color-graphite); line-height: 1.6; font-size: 16px; }
h1, h2, h3, h4, p, ul { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; color: var(--color-graphite); }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 1rem; }
/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--color-accent); color: var(--color-surface); padding: 8px; z-index: 100; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { background: var(--color-surface); border-bottom: var(--border); padding: 1rem 0; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand a { font-size: 1.25rem; font-weight: 700; color: var(--color-graphite); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--color-graphite); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.site-nav a { color: var(--color-ink-soft); font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--color-graphite); text-decoration: underline; }
/* ==========================================================================
   HERO & BLOCKS
   ========================================================================== */
.hero { padding: 4rem 1rem; background-color: var(--color-veil); text-align: center; border-bottom: var(--border); }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; color: var(--color-ink-soft); max-width: var(--measure); margin: 0 auto 2rem; }
.btn { display: inline-block; background-color: var(--color-accent); color: var(--color-surface); padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid var(--color-accent); cursor: pointer; }
.btn:hover { background-color: #2b5046; text-decoration: none; }
.btn-outline { background-color: transparent; color: var(--color-accent); }
.block { padding: 3rem 1rem; }
.block-alt { background-color: var(--color-veil); border-top: var(--border); border-bottom: var(--border); }
.block-inner { max-width: var(--measure); margin: 0 auto; }
/* ==========================================================================
   CARDS SIMPLE
   ========================================================================== */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.card { background: var(--color-surface); border: var(--border); border-radius: var(--radius); padding: 1.5rem; }
details { background: var(--color-surface); border: var(--border); border-radius: var(--radius); margin-bottom: 1rem; padding: 1rem; }
summary { font-weight: 600; cursor: pointer; }
details[open] summary { margin-bottom: 1rem; }
/* ==========================================================================
   LEGAL DOCUMENT
   ========================================================================== */
.legal-doc { max-width: var(--measure); margin: 2rem auto; padding: 0 1rem; }
.legal-meta { background: var(--color-veil); padding: 1rem; border-radius: var(--radius); margin-bottom: 2rem; border: var(--border); }
.breadcrumb { margin-bottom: 1rem; font-size: 0.875rem; }
/* ==========================================================================
   TABLE
   ========================================================================== */
.table-wrapper { overflow-x: auto; margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border: var(--border); padding: 0.75rem; }
th { background-color: var(--color-veil); }
/* ==========================================================================
   FOOTER & COOKIES
   ========================================================================== */
.site-footer { background: var(--color-graphite); color: var(--color-surface); padding: 3rem 1rem 1rem; }
.site-footer a { color: var(--color-line); }
.site-footer a:hover { color: var(--color-surface); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--color-ink-soft); padding-bottom: 2rem; }
.footer-bottom { font-size: 0.875rem; color: var(--color-ink-soft); text-align: center; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--color-surface); border-top: var(--border); padding: 1rem; display: flex; justify-content: space-between; align-items: center; z-index: 100; }
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: flex; gap: 1rem; }
/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-bottom: var(--border); padding: 1rem; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 1rem; }
    .cards { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (min-width: 769px) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
    .site-header, .site-footer, .cookie-banner, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .container { width: 100%; max-width: none; }
}
