/* Socle de page — repris de `custom-bootstrap.css`, aux valeurs EXACTES.
 *
 * ## Pourquoi ce fichier existe
 *
 * `custom-bootstrap.css` (395 Ko, 44 Ko compressés) ne fournit pas que des
 * classes : il porte le SOCLE de la page — le modèle de boîte
 * (`box-sizing: border-box` sur `*`), la typographie de base, et le style de
 * trente et une balises nues. L'espace apprenant, entièrement rendu en Vue et
 * habillé par Tailwind, n'emploie AUCUNE de ses classes (mesuré : zéro classe
 * Bootstrap nue dans `assets/student/spa`) — mais il repose entièrement sur ce
 * socle.
 *
 * Retirer la feuille sans le reprendre ne « casse » rien au sens d'une erreur :
 * tout s'affiche, en Times New Roman, avec un modèle de boîte différent, donc
 * des largeurs fausses partout. Mesuré au rendu avant reprise : 1 388 objets
 * sur 1 388 différaient.
 *
 * ## Ce qui rend le retrait indolore
 *
 * Ce fichier est chargé JUSTE APRÈS `custom-bootstrap.css`, à SA PLACE dans la
 * cascade — donc avant `custom-style.css`, `theme.css` et les autres, qui
 * continuent de le surcharger exactement comme ils surchargeaient Bootstrap.
 * Tant que Bootstrap est là, poser les mêmes valeurs ne change RIEN ; c'est ce
 * qui permet de le débrancher espace par espace au lieu d'un grand soir.
 *
 * ## Règles d'édition
 *
 * ⚠️ NE PAS « améliorer » ces valeurs. Ce fichier n'est pas une charte : c'est
 * une reprise à l'identique, dont la justesse se mesure par l'écart de rendu
 * avec et sans Bootstrap. Les préférences de la plateforme vivent dans
 * `sbd/theme.css`, chargé après — c'est là qu'il faut écrire.
 *
 * Extrait automatiquement par un PARSEUR CSS (jamais une expression
 * régulière) : toute règle dont le sélecteur ne vise ni classe ni identifiant,
 * plus les variables `--bs-*` dont ces règles dépendent, résolues
 * transitivement, plus les trois que `custom-style.css` et `color.css` lisent
 * réellement.
 *
 * `--bs-body-text-align` est volontairement absente : Bootstrap ne la déclare
 * pas dans `:root`, et `text-align: var(--bs-body-text-align)` retombe alors
 * sur la valeur initiale — comportement identique avec et sans la feuille.
 *
 * Gardé par `tests/Config/BootstrapBaseLayerTest`.
 */

:root {
    --bs-body-bg: #fff;
    --bs-body-color: #747579;
    --bs-body-font-family: Roboto, sans-serif;
    --bs-body-font-size: 0.9375rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-primary: #066ac9;
    --bs-primary-rgb: 6, 106, 201;
}

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

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
    margin: 1rem 0;
    color: #9a9ea4;
    background-color: currentColor;
    border: 0;
    opacity: 0.25;
}

hr:not([size]) {
    height: 1px;
}

h6,
h5,
h4,
h3,
h2,
h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: "Heebo", sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #24292d;
}

h1 {
    font-size: calc(1.40625rem + 1.875vw);
}

h2 {
    font-size: calc(1.359375rem + 1.3125vw);
}

h3 {
    font-size: calc(1.3125rem + 0.75vw);
}

h4 {
    font-size: calc(1.2890625rem + 0.46875vw);
}

h5 {
    font-size: calc(1.25625rem + 0.075vw);
}

h6 {
    font-size: 0.9375rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

abbr[title],
abbr[data-bs-original-title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    cursor: help;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul {
    padding-left: 2rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

dt {
    font-weight: 700;
}

dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 0.875em;
}

mark {
    padding: 0.2em;
    background-color: #fcf8e3;
}

sub,
sup {
    position: relative;
    font-size: 0.75em;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

pre,
code,
kbd,
samp {
    font-family: var(--bs-font-monospace);
    font-size: 1em;
    direction: ltr ;
    unicode-bidi: bidi-override;
}

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: 0.875em;
}

pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

code {
    font-size: 0.875em;
    color: #d63384;
    word-wrap: break-word;
}

a > code {
    color: inherit;
}

kbd {
    padding: 0.2rem 0.4rem;
    font-size: 0.875em;
    color: #fff;
    background-color: #212529;
    border-radius: 0.2rem;
}

kbd kbd {
    padding: 0;
    font-size: 1em;
    font-weight: 700;
}

figure {
    margin: 0 0 1rem;
}

img,
svg {
    vertical-align: middle;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

caption {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #6c757d;
    text-align: left;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    border-radius: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
select {
    text-transform: none;
}

[role=button] {
    cursor: pointer;
}

select {
    word-wrap: normal;
}

select:disabled {
    opacity: 1;
}

[list]::-webkit-calendar-picker-indicator {
    display: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
    cursor: pointer;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    float: left;
    width: 100%;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: calc(1.275rem + 0.3vw);
    line-height: inherit;
}

legend + * {
    clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
    padding: 0;
}

::-webkit-inner-spin-button {
    height: auto;
}

[type=search] {
    outline-offset: -2px;
    -webkit-appearance: textfield;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-file-upload-button {
    font: inherit;
}

::file-selector-button {
    font: inherit;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    overflow-x: hidden;
    z-index: 0;
    position: relative;
}

main {
    background-color: #fff;
}

header {
    position: relative;
    z-index: 9000;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

video {
    background-size: cover;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

section {
    padding-top: 3.5rem;
    padding-bottom: 2.8rem;
}

small {
    font-weight: 400;
}

html[dir=rtl] select option {
    direction: rtl;
    unicode-bidi: bidi-override;
    text-align: left;
}

@media (min-width: 1200px) {
    h1 {
        font-size: 2.8125rem;
    }
    h2 {
        font-size: 2.34375rem;
    }
    h3 {
        font-size: 1.875rem;
    }
    h4 {
        font-size: 1.640625rem;
    }
    h5 {
        font-size: 1.3125rem;
    }
    legend {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
}

