/* ===== Site de Daphné Lejeune — styles communs à toutes les pages =====
   Couleurs et polices : voir :root et @font-face en haut du fichier.
   Les titres sont en Swell (variable --sw), les textes en Acumin Pro Wide (variable --ac). */
@font-face {
  font-family: "Swell";
  src: url(../fonts/Swell-Regular.woff2?v=2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Acumin Wide";
  src: url(../fonts/AcuminProWide-Medium.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap
}

:root {
  --sw: "Swell", "Acumin Wide", system-ui, sans-serif;
  --ac: "Acumin Wide", system-ui, sans-serif
}

:root {
  --paper: #EAEAE6;
  --ink: #0C0C0C;
  --soft: #D6D6CF;
  --mute: #6A6A66;
  --blue: #3040FF;
  --pink: #FFB3D9;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0C0C0C;
    --ink: #EAEAE6;
    --soft: #1E1E1E;
    --mute: #9A9A94
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0C0C0C;
  --ink: #EAEAE6;
  --soft: #1E1E1E;
  --mute: #9A9A94
}

html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
  overflow-x: clip
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ac);
  font-size: 16px;
  line-height: 1.55;
  font-synthesis: none;
  overflow-x: clip
}

a {
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.5vw, 48px)
}

.serif {
  font-family: var(--ac);
  font-style: normal
}

.vw .c {
  display: inline-block;
  transform: scale(var(--s, 1));
  transform-origin: 50% 75%;
  transition: transform .14s ease-out
}

.wd {
  display: inline-block;
  white-space: nowrap
}

/* header en inversion : lisible sur tous les fonds */
.hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) clamp(18px, 3.5vw, 48px) 0;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none
}

.hd>* {
  pointer-events: auto
}

.logo {
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-size: 21px
}

.logo img {
  display: block;
  height: clamp(46px, 6.5vw, 72px);
  width: auto
}

.hd .r {
  display: flex;
  gap: 22px;
  font-size: 15px
}

.hd button,
.hd a.ct {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none
}

.hd button:hover,
.hd a.ct:hover {
  text-decoration: underline;
  text-underline-offset: 5px
}

/* menu plein écran */
.ov {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(18px, 3.5vw, 48px) 40px;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 44px) 34px);
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s .7s
}

.ov.open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 34px);
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s
}

.ov a {
  display: block;
  text-decoration: none;
  font-size: clamp(34px, 8vh, 96px);
  line-height: .98;
  letter-spacing: -.045em
}

.ov small {
  margin-top: 26px;
  font-size: 15px;
  color: var(--mute)
}

/* hero */
.hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 90px 0 4vh
}

.big {
  margin: 0;
  line-height: 0
}

.big svg {
  display: block;
  margin: 0 auto;
  width: min(92vw, calc((100svh - 340px)*2.1));
  max-width: 1180px;
  min-width: 280px;
  height: auto;
  overflow: visible;
  color: var(--ink)
}

.lt {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: var(--sw, 0);
  stroke-linejoin: miter;
  stroke-miterlimit: 3;
  transition: stroke-width .14s ease-out
}

.dg {
  fill: currentColor
}

.big span.l {
  display: block
}

.big {
  text-align: center
}

.trio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 2px solid var(--ink);
  margin-top: 4vh;
  padding: 14px 2.5vw 0;
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.1;
  letter-spacing: -.02em
}

.trio p {
  margin: 0
}

.dot {
  display: inline-block;
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: var(--blue);
  margin-right: .4em
}

section {
  padding: 7vh 0 1vh
}

h2 {
  margin: 0 0 .35em;
  font-size: clamp(36px, 7vw, 104px);
  line-height: .88;
  letter-spacing: -.05em;
  font-weight: 400
}

/* index des travaux */
.grp {
  display: grid;
  grid-template-columns: min(34vw, 380px) 1fr;
  gap: 20px;
  border-top: 2px solid var(--ink);
  padding: 14px 0 22px
}

.grp h3 {
  margin: 0;
  position: sticky;
  top: 76px;
  align-self: start;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 400;
  white-space: nowrap
}

.grp ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.grp li {
  display: inline
}

.it {
  text-decoration: none;
  font-size: clamp(26px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
  font-variation-settings: "wght" 300, "wdth" 82;
  transition: font-variation-settings .35s, opacity .25s, color .2s;
  margin-right: .3em;
  display: inline-block
}

.it:hover,
.it:focus-visible {
  font-variation-settings: "wght" 800, "wdth" 100;
  color: var(--blue)
}

.grp ul:hover .it:not(:hover) {
  opacity: .22
}

#pv {
  position: fixed;
  left: 0;
  top: 0;
  width: min(24vw, 300px);
  aspect-ratio: 4/5;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1
}

#pv.on {
  opacity: 1
}

@media (hover:none) {
  #pv {
    display: none
  }
}

/* packs en accordéon */
.lead {
  max-width: 46ch;
  font-size: 18px;
  margin: 0 0 34px
}

.acc {
  display: flex;
  height: min(76vh, 620px);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink)
}

.pn {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: var(--b);
  color: var(--t);
  text-decoration: none;
  padding: 20px;
  display: flex;
  gap: 26px;
  transition: flex .65s cubic-bezier(.7, 0, .2, 1)
}

.acc:hover .pn {
  flex: .55
}

.acc .pn:hover,
.acc .pn:focus-visible {
  flex: 4
}

.acc:not(:hover):not(:focus-within) .pn.def {
  flex: 3.2
}

.pt {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: .9;
  letter-spacing: -.045em;
  font-weight: 300;
  font-variation-settings: "wdth" 82;
  white-space: nowrap;
  flex: none;
  transition: font-variation-settings .5s
}

.pn:hover .pt,
.pn:focus-visible .pt {
  font-variation-settings: "wght" 800, "wdth" 100
}

.px {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 230px;
  opacity: 0;
  transition: opacity .35s .15s;
  font-size: 15px;
  line-height: 1.3
}

.pn:hover .px,
.pn:focus-visible .px,
.acc:not(:hover):not(:focus-within) .pn.def .px {
  opacity: 1
}

.px p {
  margin: 0
}

.px em {
  font-style: normal;
  font-size: 18px
}

.pg {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px
}

.note {
  font-size: 13px;
  color: var(--mute);
  margin-top: 14px
}

/* fiches web + ateliers */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0
}

.fiche {
  padding: 0 3vw 0 0
}

.fiche+.fiche {
  padding: 0 0 0 3vw;
  border-left: 2px solid var(--ink)
}

.fiche h2 {
  font-size: clamp(34px, 5vw, 76px)
}

dl {
  margin: 0 0 24px
}

dl div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  border-top: 1px solid var(--ink);
  padding: 12px 0;
  font-size: 16px
}

dt {
  color: var(--mute)
}

dd {
  margin: 0
}

.lnk {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  transition: background .2s, color .2s
}

.lnk:hover {
  background: var(--blue);
  color: #fff
}

/* à propos */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  border-top: 2px solid var(--ink);
  padding-top: 18px
}

.about p {
  margin: 0 0 1em;
  max-width: 42ch
}

.about .q {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.035em;
  max-width: 14ch
}

/* contact */
.mega {
  display: block;
  font-size: clamp(44px, 13vw, 170px);
  line-height: .8;
  text-decoration: none;
  margin: 0 0 4vh
}

.links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 2px solid var(--ink);
  padding-top: 14px
}

.fm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
  margin: 0 0 7vh;
  scroll-margin-top: 80px;
  max-width: 980px
}

.fm label {
  display: block;
  font-size: 16px;
  line-height: 1.1
}

.fm .full {
  grid-column: 1/-1
}

.fm input,
.fm select,
.fm textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-style: normal;
  font-size: 19px;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 8px 0;
  resize: vertical
}

.fm option {
  background: var(--paper);
  color: var(--ink)
}

.fm input:focus,
.fm select:focus,
.fm textarea:focus {
  outline: 0;
  border-color: var(--blue)
}

.fm .lnk {
  font: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer
}

.fb {
  display: inline-block;
  margin: 0 0 0 18px;
  font-size: 16px;
  color: var(--mute)
}

@media(max-width:780px) {
  .fm {
    grid-template-columns: 1fr
  }

  .fb {
    display: block;
    margin: 14px 0 0
  }
}

.ph article {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  border-top: 2px solid var(--ink);
  padding: 22px 0
}

.ph h3 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 64px);
  line-height: .9;
  letter-spacing: -.01em;
  font-weight: 400
}

.ph p {
  margin: 0 0 14px;
  max-width: 46ch;
  font-size: 16px
}

.ph ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.ph li {
  border-top: 1px solid var(--ink);
  padding: 9px 0
}

.ex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 26px 0
}

.ex p {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1
}

.faq {
  border-bottom: 2px solid var(--ink)
}

.faq details {
  border-top: 2px solid var(--ink)
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -.04em;
  font-variation-settings: "wght" 300, "wdth" 84;
  transition: font-variation-settings .3s, color .2s
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  font-size: 1.1em;
  font-weight: 300;
  transition: transform .35s;
  flex: none
}

.faq details[open] summary::after {
  transform: rotate(45deg)
}

.faq summary:hover,
.faq details[open] summary {
  font-variation-settings: "wght" 750, "wdth" 98;
  color: var(--blue)
}

.faq details p {
  margin: 0 0 26px;
  max-width: 62ch;
  font-size: 17px
}

.qui {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 340px);
  gap: 30px;
  align-items: start;
  margin: 0 0 26px
}

.qui p {
  margin: 0
}

.moi {
  display: block;
  width: 100%;
  height: auto
}

@media(max-width:780px) {
  .qui {
    grid-template-columns: 1fr
  }

  .moi {
    max-width: 360px
  }
}

.ex2 {
  margin: 18px 0 0;
  font-size: 17px
}

.ex2 a {
  font-weight: 700;
  text-underline-offset: 5px
}

.parts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink)
}

.pt1 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(110px, 16vw, 200px);
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 24px)
}

.pt1+.pt1 {
  border-left: 2px solid var(--ink)
}

.pt1 img {
  max-width: 78%;
  max-height: clamp(64px, 8vw, 110px);
  width: auto;
  height: auto;
  display: block;
  mix-blend-mode: multiply
}

:root[data-theme="dark"] .pt1 img {
  mix-blend-mode: normal;
  background: #EAEAE6;
  padding: 14px 18px;
  border-radius: 2px
}

@media(max-width:780px) {
  .ph article {
    grid-template-columns: 1fr
  }

  .parts {
    grid-template-columns: 1fr 1fr
  }

  .pt1:nth-child(3) {
    border-left: 0
  }

  .pt1:nth-child(n+3) {
    border-top: 2px solid var(--ink)
  }
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9vh 0 38px;
  font-size: 14px;
  color: var(--mute)
}

.theme {
  background: none;
  border: 1px solid var(--mute);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 5px 14px;
  cursor: pointer
}

@media(max-width:780px) {
  .trio {
    grid-template-columns: 1fr 1fr
  }

  .grp {
    grid-template-columns: 1fr
  }

  .grp h3 {
    position: static
  }

  .acc {
    flex-direction: column;
    height: auto
  }

  .pn {
    flex: none !important;
    flex-direction: column;
    gap: 12px
  }

  .pt {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 48px
  }

  .px {
    opacity: 1 !important;
    min-width: 0;
    gap: 16px
  }

  .duo,
  .about {
    grid-template-columns: 1fr
  }

  .fiche,
  .fiche+.fiche {
    padding: 0;
    border: 0;
    margin-bottom: 40px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .pn,
  .ov,
  .ov.open,
  .it,
  .pt,
  .vw .c {
    transition: none
  }
}

body h2,
body .ph h3,
body .big,
body .mega,
body .it,
body .pt,
body .ov a,
body .about .q,
body .ex p,
body .faq summary,
#pv {
  font-family: var(--sw);
  font-weight: 400;
  letter-spacing: .04em
}

body .faq summary {
  letter-spacing: .03em
}

.logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s
}

body.sc .logo {
  opacity: 1;
  pointer-events: auto
}

@media(prefers-reduced-motion:reduce) {
  .lt {
    transition: none
  }
}

/* r2 : typo, logo, points médians */
body h2{letter-spacing:.005em}
body .ph h3{letter-spacing:.005em}
body .mega{letter-spacing:.005em}
#faq h2{white-space:nowrap;font-size:clamp(26px,5.2vw,80px);letter-spacing:.03em}
.big svg{width:min(74vw,calc((100svh - 340px)*1.7));max-width:940px}
.grp li{display:inline}
.grp li:not(:last-child) .it::after{content:"\2022";font-family:var(--ac);font-weight:500;font-size:.9em;margin:0 .1em 0 .4em;vertical-align:.12em;letter-spacing:0;display:inline-block}
.it{margin-right:0}
.fiche h2{white-space:nowrap;font-size:clamp(26px,3.9vw,60px)}

/* texte à propos dans le menu */
.ov .apm{position:absolute;right:clamp(18px,3.5vw,48px);top:50%;transform:translateY(-50%);width:min(34vw,500px);color:var(--paper)}
.ov .apm .t{margin:0 0 .6em;font-family:var(--sw);font-weight:400;font-size:clamp(26px,3vw,48px);line-height:.98;letter-spacing:.005em}
.ov .apm p:not(.t){margin:0 0 .9em;font-size:clamp(14px,1.15vw,17px);line-height:1.4;color:var(--paper);opacity:.85}
@media(max-width:1000px){.ov .apm{display:none}}

.cta-packs{margin:22px 0 0}

/* comprendre / créer / livrer : lignes plus longues */
.ph p{max-width:none}

/* coupures de lignes propres : pas de mots seuls en fin de paragraphe, titres équilibrés */
p, dd, li, summary, small, figcaption { text-wrap: pretty; }
h1, h2, h3, .lead, .note, .ex p, .pjt, .apm .t { text-wrap: balance; }

/* Sélecteur de langue (pied de page) */
.ft-r { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
a.theme.lang { text-decoration: none; display: inline-block }
