:root {
    --color-brand: #3e084c;
    --color-cta: #f0c414;
    --font-main: 'Trebuchet MS', Helvetica, sans-serif;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --border: #ddd;
    --bg-light: #f8f5fa;
    --bg-card: #fff;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
}

a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover,
a:focus {
    color: #6a1080;
    outline: none;
}

a:focus-visible {
    outline: 2px solid var(--color-cta);
    outline-offset: 2px;
    border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 16px;
    color: var(--text-dark);
}

p {
    margin: 0 0 16px;
    line-height: 1.6;
}

ul, ol {
    margin: 0 0 16px;
    padding-left: 20px;
    line-height: 1.6;
}

li {
    line-height: 1.6;
    margin-bottom: 6px;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

.btn {
    display: inline-block;
    background-color: var(--color-cta);
    color: var(--color-brand);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn:hover,
.btn:focus {
    background-color: #f5d020;
    color: var(--color-brand);
    box-shadow: 0 4px 12px rgba(240,196,20,0.35);
    outline: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-brand);
    border: 2px solid var(--color-brand);
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 10px 26px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-align: center;
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--color-brand);
    color: #fff;
    outline: none;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 8px;
    line-height: 1.6;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.table-responsive,
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
}

th {
    background-color: var(--color-brand);
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    border: none;
}

td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    vertical-align: top;
}

tr:nth-child(even) td {
    background-color: var(--bg-light);
}

tr:hover td {
    background-color: #f0e8f4;
}

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background-color: var(--color-cta);
    color: var(--color-brand);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 0 0 6px 0;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.text-muted {
    color: var(--text-muted);
}

.text-brand {
    color: var(--color-brand);
}

.cat-tag {
    display: inline-block;
    background-color: var(--color-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 3px;
}

.cat-tag--fitness { background-color: #5a0e70; }
.cat-tag--musculation { background-color: #3e084c; }
.cat-tag--combat { background-color: #2d0038; }
.cat-tag--nutrition { background-color: #6a1080; }
.cat-tag--materiel { background-color: #4a0c5e; }

.read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.read-time svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        font-size: 16px;
    }

    .container {
        width: 100%;
        padding: 0 16px;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }

    .section-title {
        font-size: 22px;
    }

    .btn {
        font-size: 15px;
        padding: 12px 22px;
    }

    .grid, [class*='grid'] {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 13px;
    }

    th, td {
        padding: 9px 12px;
    }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    h1 { font-size: 22px; }
    h2 { font-size: 19px; }
    .container { padding: 0 14px; }
}