/* immodere.com V2 — couleurs reprises de la V1 (stylepages.css) */
:root {
    --bleu-clair: #d3e2f3;
    --orange: #ec9d2c;
    --rouge: #c8102e;
    --fond: #f7f3f3;
    --bordure: #e7e3e3;
    --texte: #151212;
    --texte-doux: #5b5555;
    --blanc: #fff;
    --rayon: 6px;
    --largeur: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
    color: var(--texte);
    background: var(--fond);
}
img { max-width: 100%; height: auto; }
a { color: var(--texte); }
a:hover { color: var(--rouge); }

.conteneur { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }

.entete { background: var(--bleu-clair); border-top: 3px solid var(--orange); border-bottom: 4px solid var(--bordure); }
.entete__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.entete__logo img { display: block; max-height: 64px; width: auto; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-weight: 600; }
.menu a { text-decoration: none; }

.bouton {
    display: inline-block; padding: 8px 16px; border-radius: var(--rayon);
    background: var(--orange); color: var(--blanc) !important; text-decoration: none; font-weight: 600;
}
.bouton:hover { filter: brightness(.92); }

main { background: var(--blanc); margin-block: 16px; padding: 16px 24px 32px; border: 1px solid var(--bordure); border-radius: var(--rayon); }
h1 { font-size: 1.8rem; margin: .4em 0; }
.titre-rubrique { background: var(--rouge); color: var(--blanc); text-align: center; padding: 8px; border-radius: var(--rayon); font-size: 1.15rem; }
.bandeau { border-bottom: 2px solid var(--orange); padding-bottom: 12px; margin-bottom: 16px; }
.vide { color: var(--texte-doux); text-align: center; }

.alerte { padding: 10px 14px; border-radius: var(--rayon); background: var(--bleu-clair); }
.alerte--erreur { background: #fde2e2; }
.alerte--succes { background: #e1f5e4; }

.erreur { text-align: center; padding: 32px 0; }

.pied { text-align: center; font-size: .9rem; color: var(--texte-doux); padding: 8px 0 24px; }

.carte-formulaire { max-width: 460px; margin-inline: auto; }
.formulaire { display: grid; gap: 14px; margin-block: 16px; }
.formulaire label { display: grid; gap: 4px; font-weight: 600; }
.formulaire .case { display: block; font-weight: 400; }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=password] {
    width: 100%; padding: 9px 10px; border: 1px solid var(--bordure); border-radius: var(--rayon); font: inherit; background: var(--blanc);
}
.formulaire input:focus-visible, .bouton:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.formulaire button.bouton { border: 0; cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }
.bouton--clair { background: var(--bleu-clair); color: var(--texte) !important; }
.separateur { text-align: center; color: var(--texte-doux); margin: 8px 0; }
.alerte ul { margin: 0; padding-left: 20px; }

@media (max-width: 600px) {
    main { padding: 12px 16px 24px; }
    h1 { font-size: 1.45rem; }
}
