@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --encre: #250e03;
  --papier: #f6ecdf;
  --accent: #ee5900;
  --peche: #ffbc83;
  --blush: #ffe3d3;
  --blanc: #ffffff;
  --mesure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.passer {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 999px;
}
.passer:focus { transform: none; }

.cadre { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.barre {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.marque {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.sceau {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.sceau span {
  width: 16px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 3px;
  position: relative;
}
.sceau span::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -6px;
  height: 2px;
  background: #fff;
}
.marque b {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.marque small {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 12px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
}
.nav a[aria-current="page"] { background: var(--blush); }
.menu {
  display: none;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--encre);
  background: transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--encre);
}

.pilule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 6px 6px 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}
.pilule .rond {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--encre);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.pilule.claire {
  background: var(--blanc);
  color: var(--encre);
}
.pilule.claire .rond { background: var(--accent); }

.premier {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0 80px;
}
h1 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}
.chapo { max-width: var(--mesure); margin: 0 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.scene { position: relative; min-height: 420px; }
.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.blob.a { width: 280px; height: 280px; background: var(--peche); right: 0; top: 10px; }
.blob.b { width: 180px; height: 180px; background: var(--blush); left: 10px; bottom: 20px; }
.fiche {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 28px;
  padding: 28px 26px 24px;
  margin: 48px 24px 0 0;
  box-shadow: 0 18px 40px rgba(37, 14, 3, 0.08);
  transform: rotate(-2deg);
}
.fiche h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
}
.etiquette {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
}
.fiche ol { margin: 0 0 18px; padding-left: 1.2em; }
.fiche li { margin: 6px 0; }

.rubrique { padding: 80px 0; }
.rubrique h2, .page h1 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 28px;
  max-width: 16ch;
}
.ligne {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  padding: 20px 0;
  border-top: 1px solid rgba(37, 14, 3, 0.15);
  min-height: 72px;
}
.ligne:last-child { border-bottom: 1px solid rgba(37, 14, 3, 0.15); }
.ligne b { display: block; font-size: 22px; }
.ligne span { display: block; }
.ligne .detail { font-size: 16px; max-width: 62ch; }
.num { font-family: "Unbounded", sans-serif; font-size: 14px; }
.fleche {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: grid;
  place-items: center;
}

.decale {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
  padding: 40px 0 120px;
}
.decale img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 32px 32px 80px 32px;
}
.legende { font-size: 14px; margin: 10px 0 0; max-width: 46ch; }
.note { max-width: var(--mesure); }
.note p { margin: 0 0 14px; }

.bandeau {
  background: var(--encre);
  color: var(--papier);
  border-radius: 32px;
  padding: 48px 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 80px;
}
.bandeau h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  max-width: 16ch;
  color: #fff;
}
.bandeau p { margin: 0 0 18px; max-width: var(--mesure); }

.page { padding: 28px 0 100px; }
.page p { max-width: var(--mesure); }
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: 32px;
  align-items: center;
  margin: 48px 0;
}
.duo img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 28px;
}
.duo.inverse { grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.15fr); }
.duo.inverse figure { order: -1; }
.duo h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

form.ecrire { margin-top: 24px; max-width: 520px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input, textarea {
  width: 100%;
  border: 2px solid var(--encre);
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }

footer {
  border-top: 1px solid rgba(37, 14, 3, 0.15);
  padding: 28px 0 40px;
  font-size: 15px;
}
.pied { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pied a { display: inline-block; min-height: 44px; line-height: 44px; margin-right: 14px; }

.cookies {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(37, 14, 3, 0.12);
  display: none;
  z-index: 50;
}
.cookies.ouvert { display: block; }
.cookies p { margin: 0 0 10px; font-size: 14px; }
.cookies button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--encre);
  background: #fff;
  font-family: inherit;
  font-weight: 600;
  margin-right: 8px;
  color: var(--encre);
}
.cookies button[data-choix="oui"] { background: var(--accent); color: #fff; border-color: var(--accent); }

@media (max-width: 860px) {
  .menu { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--papier);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    z-index: 30;
    border-bottom: 1px solid rgba(37, 14, 3, 0.12);
  }
  .nav.ouvert { display: flex; }
  .nav a { width: 100%; }
  .barre .pilule { display: none; }
  .premier, .decale, .duo, .duo.inverse, .bandeau {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .duo.inverse figure { order: 0; }
  .scene { min-height: 0; }
  .fiche { margin: 20px 8px 0; transform: none; }
  .blob.a { width: 160px; height: 160px; }
  .blob.b { width: 110px; height: 110px; }
  .rubrique, .page { padding-top: 48px; padding-bottom: 48px; }
  .decale { padding-bottom: 48px; }
  .ligne { grid-template-columns: 40px 1fr auto; }
  .bandeau { padding: 28px 20px; margin-bottom: 48px; }
  .pilule.large { width: 100%; justify-content: space-between; }
}
