/* ptitonde — feuille de style unique du site.
   Aucune ressource tierce : police, images et styles sont servis par ce site. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* Charte relevée sur l'avatar. L'orange ne sert jamais de couleur de texte sur le
   crème (contraste 2,98:1) : il reste un fond ou un élément du mot-symbole. */
:root {
  --nuit: #082549;
  --nuit-doux: #3d5170;
  --orange: #fa5d3e;
  --creme: #fdf9ee;
  --trait: rgba(8, 37, 73, 0.14);
  --teinte: #fce9dc;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--nuit);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--nuit);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--orange);
}

:focus-visible {
  outline: 3px solid var(--nuit);
  outline-offset: 3px;
  border-radius: 6px;
}

.evitement {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--nuit);
  color: var(--creme);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  z-index: 10;
}

.evitement:focus {
  top: 1rem;
}

/* Mot-symbole : « ptit » bleu nuit, « onde » orange, toujours en bas de casse. */
.mot-symbole {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mot-symbole .ptit {
  color: var(--nuit);
}

.mot-symbole .onde {
  color: var(--orange);
}

/* Accueil */
.accueil {
  flex: 1;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
}

.avatar {
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1.5rem;
}

.accueil h1 {
  margin: 0;
  font-size: clamp(2.75rem, 13vw, 4.75rem);
}

.promesse {
  margin: 1rem auto 0;
  max-width: 22ch;
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.35;
}

.accueil h2 {
  margin: 2.75rem 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.reseaux {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.reseaux a,
.reseaux .bientot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
}

.reseaux a {
  background: var(--orange);
  color: var(--nuit);
  text-decoration: none;
}

.reseaux a:hover {
  background: var(--nuit);
  color: var(--creme);
}

.reseaux .bientot {
  border: 2px dashed var(--trait);
  color: var(--nuit-doux);
}

.reseaux small {
  font-size: 0.85em;
  font-weight: 650;
}

.contact {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

/* Pages légales */
.entete {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0;
}

.entete a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border-radius: 999px;
}

.entete img {
  width: 2.5rem;
  height: 2.5rem;
}

.entete .mot-symbole {
  font-size: 1.6rem;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3rem;
}

.page h1 {
  margin: 1.75rem 0 0.35rem;
  font-size: clamp(1.9rem, 7vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
}

.page h2 {
  margin: 2.4rem 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 850;
  line-height: 1.3;
}

.page p,
.page ul,
.page dl {
  margin: 0 0 1rem;
}

.page ul {
  padding-left: 1.25rem;
}

.page li + li {
  margin-top: 0.4rem;
}

.maj {
  color: var(--nuit-doux);
  font-size: 0.95rem;
}

.encadre {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  background: var(--teinte);
  border-radius: 1rem;
}

.fiche dt {
  font-weight: 800;
}

.fiche dd {
  margin: 0 0 0.8rem;
}

/* Pied de page commun */
.pied {
  width: 100%;
  border-top: 2px solid var(--trait);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--nuit-doux);
  font-size: 0.95rem;
}

.pied ul {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.4rem;
}

.pied a {
  color: var(--nuit);
  font-weight: 700;
}

.pied p {
  margin: 0;
}

@media (min-width: 40rem) {
  body {
    font-size: 1.125rem;
  }

  .accueil {
    padding-top: 4.5rem;
  }

  .avatar {
    width: 11rem;
    height: 11rem;
  }
}
