:root {
  --anthracite: #2B2B2B;
  --jaune: #FBB302;
  --fond: #FFF8E1;
  --rose: #FF7BAC;
  --menthe: #8EE3C2;
  --papier: #E5E0CF;
  --gris-texte: #5A5A54;
  --trait: 3px;
  --ombre: 5px 5px 0 #2B2B2B;
  --rayon: 14px;
  --f-titre: Unbounded, Segoe UI, system-ui, sans-serif;
  --f-texte: Instrument Sans, Segoe UI, system-ui, sans-serif;
}

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: #2B2B2B;
  background: #FFF8E1;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
}

h3 {
  font-size: 1.05rem;
}

:focus-visible {
  outline: 3px solid #FF7BAC;
  outline-offset: 3px;
}

.conteneur {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}
@media (max-width: 900px) {
  .section {
    padding: 52px 0;
  }
}
.section--blanche {
  background: #FFFFFF;
  border-block: 3px solid #2B2B2B;
}
.section--jaune {
  background: #FBB302;
  border-bottom: 3px solid #2B2B2B;
}

.sur-titre {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2B2B2B;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lien-evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #FBB302;
  border: 3px solid #2B2B2B;
  border-radius: 10px;
  font-weight: 700;
}
.lien-evitement:focus {
  top: 12px;
}

.bouton {
  display: inline-block;
  padding: 12px 22px;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2B2B2B;
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 99px;
  box-shadow: 5px 5px 0 #2B2B2B;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.bouton:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #2B2B2B;
}
.bouton:active {
  transform: translate(5px, 5px);
  box-shadow: none;
}
.bouton--plein {
  background: #FBB302;
}
.bouton--rose {
  background: #FF7BAC;
}
.bouton--menthe {
  background: #8EE3C2;
}
.bouton--petit {
  padding: 8px 16px;
  font-size: 0.75rem;
  box-shadow: 3px 3px 0 #2B2B2B;
}

.pastille {
  display: inline-block;
  padding: 2px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 2px solid #2B2B2B;
  border-radius: 99px;
}
.pastille--active {
  background: #FBB302;
}

.vide {
  padding: 20px;
  font-weight: 500;
  background: #FFFFFF;
  border: 3px dashed #2B2B2B;
  border-radius: 14px;
}

.site-entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 3px solid #2B2B2B;
}
.site-entete__ligne {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}
.site-entete__marque {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.site-entete__logo {
  width: 48px;
  height: 36px;
  padding: 4px;
  background: #2B2B2B;
  border-radius: 50%/45%;
  object-fit: contain;
}
.site-entete__nav {
  display: flex;
  gap: 4px;
}
@media (max-width: 900px) {
  .site-entete__nav {
    display: none;
  }
}
.site-entete__lien {
  padding: 4px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 99px;
  transition: background 150ms ease;
}
.site-entete__lien:hover {
  background: #FFF8E1;
}
.site-entete__lien[aria-current=page] {
  background: #FBB302;
  border-color: #2B2B2B;
}

.site-menu {
  display: none;
}
@media (max-width: 900px) {
  .site-menu {
    display: block;
  }
}
.site-menu summary {
  padding: 6px 14px;
  font-weight: 700;
  border: 2px solid #2B2B2B;
  border-radius: 99px;
  cursor: pointer;
  list-style: none;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu[open] summary {
  background: #FBB302;
}
.site-menu__panneau {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: 6px 24px 18px;
  background: #FFFFFF;
  border-bottom: 3px solid #2B2B2B;
}
.site-menu__panneau a {
  padding: 14px 0;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid #2B2B2B;
}
.site-menu__panneau a[aria-current=page] {
  color: #5A5A54;
}
.site-menu__panneau a:last-child {
  border-bottom: 0;
}

.site-pied {
  padding: 44px 0 24px;
  color: #FFFFFF;
  background: #2B2B2B;
}
.site-pied__grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .site-pied__grille {
    grid-template-columns: 1fr;
  }
}
.site-pied__logo {
  width: 84px;
  margin-bottom: 8px;
}
.site-pied__titre {
  margin-bottom: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FBB302;
}
.site-pied__texte {
  max-width: 34ch;
  opacity: 0.85;
}
.site-pied__colonne a {
  display: block;
  padding: 3px 0;
  opacity: 0.9;
}
.site-pied__colonne a:hover {
  color: #FBB302;
  opacity: 1;
}
.site-pied__bas {
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.7;
}

.billet-lien {
  display: block;
  border-radius: 14px;
}

.billet {
  position: relative;
  height: 100%;
  overflow: visible;
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
  box-shadow: 5px 5px 0 #2B2B2B;
  transition: transform 150ms ease;
}
.billet__etat {
  position: absolute;
  top: -12px;
  right: -8px;
  z-index: 1;
  padding: 2px 10px;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #FF7BAC;
  border: 2px solid #2B2B2B;
  transform: rotate(5deg);
}
.billet__image {
  overflow: hidden;
  aspect-ratio: 16/9;
  border-bottom: 3px solid #2B2B2B;
  border-radius: 11px 11px 0 0;
  background: #E5E0CF;
}
.billet__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.billet__ligne {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
}
.billet__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  background: #8EE3C2;
  border-right: 3px dashed #2B2B2B;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
}
.billet__date b {
  font-size: 1.6rem;
}
.billet__date small {
  margin-top: 4px;
  font-size: 0.6rem;
  text-transform: uppercase;
}
.billet__texte {
  padding: 14px 16px;
}
.billet__texte p {
  font-size: 0.9rem;
  color: #5A5A54;
}
.billet--passe .billet__etat {
  background: #FFFFFF;
}
.billet--passe .billet__date {
  background: #E5E0CF;
}
.billet--passe .billet__image img {
  filter: grayscale(0.9);
}

.billet-lien:hover .billet,
.billet-lien:focus-visible .billet {
  transform: rotate(-1.2deg) translateY(-3px);
}

.tuile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 140px;
  padding: 18px;
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
  box-shadow: 5px 5px 0 #2B2B2B;
  transition: transform 150ms ease;
}
.tuile p {
  font-size: 0.92rem;
}
.tuile__aller {
  margin-top: auto;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}
.tuile:hover, .tuile:focus-visible {
  transform: rotate(-1.2deg) translateY(-3px);
}

.grille-site {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.formulaire-site {
  display: grid;
  gap: 16px;
}
.formulaire-site label {
  display: block;
  margin-bottom: 4px;
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}
.formulaire-site input[type=text],
.formulaire-site input[type=email],
.formulaire-site select,
.formulaire-site textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-weight: 500;
  color: #2B2B2B;
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 10px;
}
.formulaire-site textarea {
  min-height: 140px;
  resize: vertical;
}
.formulaire-site ul {
  list-style: none;
}
.formulaire-site li, .formulaire-site .erreur {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #B3261E;
}
.formulaire-site__piege {
  position: absolute;
  left: -9999px;
}

.message {
  padding: 14px 18px;
  font-weight: 600;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
}
.message--ok {
  background: #8EE3C2;
}
.message--erreur {
  background: #FFD9D4;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.section--serree {
  padding: 40px 0 72px;
}

.titre-page {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
}

.texte-secondaire {
  color: #5A5A54;
}

.intro {
  padding: 48px 0 8px;
}
.intro h1 span {
  display: inline-block;
  padding: 0 0.15em;
  color: #FBB302;
  background: #2B2B2B;
  border-radius: 0.15em;
  transform: rotate(-2deg);
}
.intro__texte {
  color: #5A5A54;
}
.intro__etapes li::before {
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  background: #FBB302;
  border: 2px solid #2B2B2B;
}

.poles {
  gap: 28px;
}

.pole {
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-top: 14px solid var(--couleur-pole, #FBB302);
  border-radius: 14px;
  box-shadow: 5px 5px 0 #2B2B2B;
}
.pole__nom {
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 1.1rem;
}
.pole__description {
  color: #5A5A54;
}
.pole__sous-titre {
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 0.68rem;
  color: #5A5A54;
}
.pole__etiquettes li {
  font-weight: 600;
  background: #FFF8E1;
  border: 2px solid #2B2B2B;
}
.pole__bouton {
  background: #FF7BAC;
}

.pole__liste li::before {
  color: #2B2B2B;
}

.formulaire__bloc {
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
  box-shadow: 3px 3px 0 #2B2B2B;
}
.formulaire__bloc legend {
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
}

.champ label, .champ__label {
  font-weight: 700;
}
.champ input[type=text],
.champ input[type=email],
.champ input[type=password],
.champ input[type=date],
.champ input[type=time],
.champ input[type=number],
.champ select,
.champ textarea {
  border: 3px solid #2B2B2B;
  border-radius: 10px;
}
.champ input[type=text]:focus,
.champ input[type=email]:focus,
.champ input[type=password]:focus,
.champ input[type=date]:focus,
.champ input[type=time]:focus,
.champ input[type=number]:focus,
.champ select:focus,
.champ textarea:focus {
  outline: 3px solid #FF7BAC;
  outline-offset: 2px;
}
.champ__aide {
  color: #5A5A54;
}
.champ__erreur {
  color: #B3261E;
  font-weight: 600;
}
.champ:has(.champ__erreur) :is(input, select, textarea) {
  border-color: #B3261E;
}
.champ .choix__option {
  background: #FFF8E1;
  border: 2px solid #2B2B2B;
}
.champ .choix__option:has(input:checked) {
  background: #FBB302;
  border-color: #2B2B2B;
}
.champ .choix__option:has(input:focus-visible) {
  outline: 3px solid #FF7BAC;
  outline-offset: 2px;
}

.obligatoire {
  color: #B3261E;
}

.rgpd {
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
}

.etapes__item {
  border-bottom: 3px solid #E5E0CF;
  color: #5A5A54;
}
.etapes__item--active {
  border-color: #2B2B2B;
  color: #2B2B2B;
}
.etapes__item--faite {
  border-color: #2B2B2B;
}

.etapes__numero {
  font-family: "Unbounded", "Segoe UI", system-ui, sans-serif;
  background: #FFFFFF;
  border: 2px solid #2B2B2B;
}
.etapes__item--active .etapes__numero {
  background: #FBB302;
}

.alerte {
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
}
.alerte--erreur {
  background: #FFD9D4;
}
.alerte--important {
  background: #FBB302;
}

.recap,
.encart {
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
}
.recap dt,
.encart dt {
  color: #5A5A54;
}

.creneaux {
  background: #FFFFFF;
  border: 3px solid #2B2B2B;
  border-radius: 14px;
}
.creneaux__option {
  background: #FFF8E1;
  border: 2px solid #2B2B2B;
}
.creneaux__option:has(input:checked) {
  background: #FBB302;
  border-color: #2B2B2B;
}
.creneaux__option:has(input:focus-visible) {
  outline: 3px solid #FF7BAC;
  outline-offset: 2px;
}

.rendez-vous {
  color: #FFFFFF;
  background: #2B2B2B;
  border-radius: 14px;
  box-shadow: 5px 5px 0 #2B2B2B;
}
.rendez-vous__heure {
  color: #FBB302;
}

.succes__icone {
  background: #8EE3C2;
  border: 3px solid #2B2B2B;
}

.actions .bouton {
  text-align: center;
}
