/* creativecurrry.com - feuille de style unique (thème clair uniquement)
   Mobile d'abord : base 360px, puis 480 / 768 / 1024px.
   Toutes les règles portent au moins une classe : elles ne dépendent pas d'un reset externe. */

:root {
  color-scheme: only light;
  --ink: #141414;
  --text: #2b2622;
  --muted: #5f564d;
  --rule: #c4bdb3;
  --rule-soft: #e4ded5;
  --paper: #ffffff;
  --beige: #f3e9df;
  --beige-deep: #eadccb;
  --quote: #efe8df;
  --bronze: #935f26;
  --bronze-dark: #744b1a;
  --bar: #1a1a1a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 16px;
  --section-gap: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
}

html.page-root {
  background-color: #ffffff;
  color: #2b2622;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body.page {
  margin: 0;
  background-color: #ffffff;
  color: #2b2622;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.page img,
.page video,
.page svg {
  max-width: 100%;
}

.page img,
.page video {
  display: block;
  height: auto;
}

.nb { white-space: nowrap; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background-color: #ffffff;
  color: #141414;
  font-family: var(--sans);
  font-size: 0.9375rem;
  text-decoration: underline;
}
.skip:focus {
  top: 8px;
  outline: 3px solid var(--bronze);
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
@media (min-width: 480px) {
  :root { --pad: 20px; }
}
@media (min-width: 768px) {
  :root { --pad: 30px; }
  body.page { font-size: 1.125rem; }
}

/* ---------- Barre de lecture ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background-color: transparent;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background-color: var(--bronze);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Bandeau ---------- */
.masthead {
  background-color: var(--bar);
  color: #ffffff;
}
.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}
.masthead__brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.masthead__brand a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  padding: 8px 0;
}
.masthead__brand a:hover { text-decoration: underline; text-underline-offset: 4px; }
.masthead__brand a:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.masthead__label {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ---------- Grille de page : article + colonne latérale ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background-color: #ffffff;
  color: #2b2622;
}
@media (min-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 336px;
    column-gap: 56px;
    align-items: start;
  }
}

.story {
  min-width: 0;
  background-color: #ffffff;
  color: #2b2622;
}

/* ---------- En-tête de l'article ---------- */
.story-head {
  padding-top: 26px;
}
@media (min-width: 768px) {
  .story-head { padding-top: 44px; }
}

.story-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
  line-height: 1.26;
  letter-spacing: -0.012em;
  color: #111111;
  text-wrap: balance;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 22px;
  padding: 16px 0 0;
  border-top: 1px solid #bdbdbd;
  font-family: var(--serif);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #2b2622;
}
.byline__who,
.byline__read {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.byline__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--beige-deep);
  color: var(--bronze-dark);
}
.byline__text { display: block; min-width: 0; }
.byline__pub,
.byline__date { display: block; }
.byline__sep { display: none; color: #8a8279; }
@media (min-width: 560px) {
  .byline__pub,
  .byline__date { display: inline; }
  .byline__sep { display: inline; margin: 0 6px; }
}
.byline__read { color: #4a423a; }
.byline__icon { flex: none; color: #4a423a; }

.dek {
  margin: 20px 0 0;
  padding: 14px 16px;
  background-color: var(--beige);
  color: #26211c;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.32);
  font-family: var(--sans);
  font-style: italic;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.2rem);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .dek { padding: 14px 18px; }
}

/* ---------- Médias ---------- */
.figure {
  margin: 22px 0 1.8em;
}
.story-head .figure { margin-bottom: 0; }
.figure__caption {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5f564d;
}
.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #e9e1d6;
}
.media-frame > video,
.media-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 1200 / 630; }
.media-frame--photo { aspect-ratio: 3 / 2; }
.media-frame--tall { aspect-ratio: 3 / 4; }
/* Recadrage léger pour ne garder que l'écran et la main */
.media-frame--zoom > video {
  transform: scale(1.7);
  transform-origin: 70% 50%;
}

.story-body .figure--tall {
  width: 100%;
  max-width: 320px;
  margin: 26px auto 22px;
}
@media (min-width: 768px) {
  .story-body .figure--tall {
    width: 300px;
    max-width: 42%;
    margin-top: 8px;
    margin-bottom: 18px;
  }
  .story-body .figure--right { float: right; margin-left: 32px; margin-right: 0; }
  .story-body .figure--left { float: left; margin-right: 32px; margin-left: 0; }
}

/* ---------- Corps du texte ---------- */
.story-body {
  padding-bottom: 8px;
}
.story-body > p:first-child,
.story-body .chapter--open > p:first-child {
  margin-top: 0;
}
.story-body p {
  margin: 0 0 1.2em;
}
.story-body .chapter--open {
  display: flow-root;
  padding-top: 26px;
}

.chapter {
  display: flow-root;
  margin-top: var(--section-gap);
}

.story-body h2 {
  margin: 0 0 0.75em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.8rem);
  line-height: 1.28;
  letter-spacing: -0.008em;
  color: #111111;
  text-wrap: balance;
}
.story-body h3 {
  margin: 0 0 0.6em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.35;
  color: #111111;
}

.story-body a:not(.cta) {
  color: var(--bronze-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story-body a:not(.cta):hover { color: #4d3010; }

.story-body strong { font-weight: 700; color: #1a1612; }

/* Étapes numérotées */
.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
  border-bottom: 1px solid var(--rule);
}
.steps__item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.steps__item::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  text-align: center;
  color: var(--bronze);
  padding-top: 2px;
}
.steps__item div { min-width: 0; }
.steps__lead {
  display: block;
  font-weight: 700;
  color: #141414;
}

/* Liste simple (limites) */
.plain-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.plain-list__item {
  position: relative;
  margin: 0 0 0.85rem;
  padding-left: 26px;
}
.plain-list__item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--bronze);
}

/* Citation du carnet (forme carte de l'accent) */
.pull {
  margin: 2rem 0;
  padding: 22px 20px;
  background-color: var(--quote);
  color: #26211c;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
}
.pull__text {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  line-height: 1.6;
  color: #26211c;
}
.story-body .pull__text { margin: 0; }
@media (min-width: 768px) {
  .pull { padding: 26px 30px; }
}

/* Ce qu'il faut pour démarrer : trois lignes pleines */
.needs {
  margin: 1.75rem 0 0;
  clear: both;
}
.needs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.need {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background-color: var(--beige);
  color: #26211c;
}
.need:nth-child(even) { background-color: #f6efe6; }
.need__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--bronze-dark);
}
.need__title {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #141414;
}
.need__text {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4a423a;
}
@media (min-width: 768px) {
  .needs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .need { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 14px; }
}

/* ---------- Appel à l'action ---------- */
.cta-block {
  clear: both;
  margin: var(--section-gap) 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.cta-block__lead {
  margin: 0 auto 18px;
  max-width: 32em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  line-height: 1.4;
  color: #141414;
}
.story-body .cta-block__lead { margin: 0 auto 18px; text-wrap: balance; }
.steps + .cta-block {
  margin-top: 0;
  padding-top: 30px;
  border-top: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 26px;
  background-color: var(--bronze);
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(60, 36, 8, 0.35);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.cta:hover {
  background-color: var(--bronze-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(60, 36, 8, 0.3);
}
.cta:active { transform: translateY(0); }
.cta:focus-visible {
  outline: 3px solid #141414;
  outline-offset: 3px;
}
.cta__arrow {
  font-size: 1.35em;
  line-height: 1;
  transition: transform 0.18s ease;
}
.cta:hover .cta__arrow { transform: translateX(3px); }
@media (min-width: 480px) {
  .cta-block .cta { width: auto; min-width: 300px; }
}

.after-cta {
  margin: 12px auto 0;
  max-width: 34em;
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6a6157;
}
.story-body .after-cta { margin: 12px auto 0; }

/* ---------- FAQ (accordéon) ---------- */
.faq {
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--rule);
}
.faq__item {
  border-bottom: 1px solid var(--rule);
  background-color: #ffffff;
  color: #2b2622;
  transition: background-color 0.18s ease;
}
.faq__item[open] { background-color: #f4f0ea; }
.faq__q {
  position: relative;
  display: block;
  min-height: 56px;
  padding: 16px 52px 16px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: #141414;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bronze-dark);
  background-color: #f3e9df;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.faq__item[open] .faq__q::after { content: "\2212"; background-color: var(--bronze); color: #ffffff; }
.faq__q:hover { color: var(--bronze-dark); }
.faq__q:focus-visible { outline: 3px solid var(--bronze); outline-offset: -3px; }
.faq__a {
  padding: 0 52px 18px 4px;
  font-size: 1rem;
  line-height: 1.65;
}
.story-body .faq__a p { margin: 0; }
.faq__item[open] .faq__q { padding-left: 14px; }
.faq__item[open] .faq__a { padding-left: 14px; }

/* ---------- Colonne latérale ---------- */
.rail {
  margin: var(--section-gap) 0 0;
  min-width: 0;
  background-color: #ffffff;
  color: #2b2622;
}
@media (min-width: 1024px) {
  .rail {
    position: sticky;
    top: 24px;
    margin-top: 48px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }
}
.rail__toc { display: none; }
@media (min-width: 1024px) {
  .rail__toc { display: block; }
}
.rail__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #111111;
}
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 40px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--rule-soft);
  color: #2b2622;
  font-family: var(--serif);
  font-size: 0.97rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.toc__num {
  flex: none;
  min-width: 1.2em;
  font-weight: 700;
  color: var(--bronze);
}
.toc__link:hover { color: var(--bronze-dark); padding-left: 8px; }
.toc__link:focus-visible { outline: 3px solid var(--bronze); outline-offset: 1px; }
.toc__link[aria-current="true"] { color: #141414; font-weight: 700; }
.rail__rule {
  height: 0;
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #bdbdbd;
  display: none;
}
@media (min-width: 1024px) {
  .rail__rule { display: block; }
}

.rail-card {
  padding: 24px 20px 26px;
  background-color: var(--beige);
  color: #26211c;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.rail-card__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #111111;
}
.rail-card__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  background-color: var(--bronze);
}
.rail-card__art {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 16px auto 12px;
}
.rail-card__text {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #3d352d;
}
.rail-card .cta { width: 100%; padding-inline: 16px; }
.rail-card .after-cta { color: #5f564d; }

/* ---------- Pied de page : mentions de l'éditeur ---------- */
.site-foot {
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  padding: 0 0 56px;
  background-color: #ffffff;
  color: #5a5148;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
}
.site-foot__in {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.site-foot__contact-info {
  margin: 0;
  color: #5a5148;
  font-size: 13px;
  line-height: 1.7;
}
.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 14px -8px 6px;
}
.site-foot__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: #4a4138;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.site-foot__link:hover { color: var(--bronze-dark); }
.site-foot__link:focus-visible { outline: 3px solid var(--bronze); outline-offset: 0; }
.site-foot .about-line {
  max-width: 62em;
  margin: 8px 0 0;
  color: #5a5148;
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- Pages légales / à propos ---------- */
.doc {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding: 36px var(--pad) 0;
  background-color: #ffffff;
  color: #2b2622;
}
@media (min-width: 768px) {
  .doc { padding-top: 60px; }
}
.doc__kicker {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f564d;
}
.doc__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #111111;
  text-wrap: balance;
}
.policy-dates {
  margin: 14px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #bdbdbd;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5f564d;
}
.doc__lead {
  margin: 26px 0 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.7;
  padding: 14px 16px;
  background-color: var(--beige);
  color: #26211c;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
}
.doc__body { padding-top: 6px; }
.doc__body h2 {
  margin: 2em 0 0.55em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  line-height: 1.3;
  color: #111111;
}
.doc__body p { margin: 0 0 1em; }
.doc__body ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.doc__body li { margin: 0 0 0.45em; padding-left: 0.2em; }
.doc__body a {
  color: var(--bronze-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc__body a:hover { color: #4d3010; }
.doc__body a:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.doc__address {
  margin: 0 0 1.2em;
  padding: 14px 16px;
  background-color: #f6efe6;
  color: #26211c;
  font-style: normal;
  line-height: 1.7;
}
.doc__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--bronze-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc__back:hover { color: #4d3010; }
.doc__back:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html.page-root { scroll-behavior: auto; }
  .cta, .cta__arrow, .toc__link, .faq__item, .faq__q::after { transition: none; }
}
