/* Base HJU — variables communes, sans intégration détaillée des maquettes. */
:root {
    --font-body: "sofia-pro", sans-serif;
    --color-text: #151515;
    --color-background: #fff;
    --color-primary: #9f82c4;
    --color-soft: #eae3f3;
    --color-accent: #c7d97d;
    --color-border: rgb(21 21 21 / 20%);
    --text-base: 1.125rem;
    --text-small: .875rem;
    --text-h1: clamp(2.5rem, 5vw, 4.75rem);
    --text-h2: clamp(2rem, 3.8vw, 3.625rem);
    --text-h3: 1.5rem;
    --space-sm: .5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 3rem;
    --section-space: clamp(3rem, 6vw, 6rem);
    --page-gutter: clamp(1.25rem, 6vw, 5.625rem);
    --content-width: 83.25rem;
    --radius-sm: 1rem;
    --radius-pill: 999px;
} 

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-background);
}

button, input, select, textarea, .button {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 var(--space-lg);
}

h1 {
    font-size: var(--text-h1);
}

h2 {
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
}

p {
    margin: 0 0 var(--space-md);
}

a {
    color: inherit;
}

strong, b {
    font-weight: 600;
}

pre, code {
    font-family: ui-monospace, monospace;
}

::selection {
    color: var(--color-text);
    background: var(--color-accent);
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

#container {
    background: var(--color-background);
    padding: 8rem var(--page-gutter) var(--section-space);
}

#content {
    width: 100%;
    max-width: var(--content-width);
    margin-inline: auto;
}

#header, #footer {
    padding: var(--space-lg) var(--page-gutter);
    color: var(--color-text);
    background: var(--color-background);
}

#header {
    height: auto;
    align-items: center;
}

#menu .menu > li > a {
    color: inherit;
    font-size: var(--text-small);
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

#menu .menu > .current_page_item > a {
    color: var(--color-primary);
}

#menu.toggled .menu > li > a {
    color: var(--color-background);
}

#wpadminbar {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
