@import url("./assets/fonts/fonts.css");

/* ============================================================
   LIGHTFALL — démo de site, structure d'après le template
   Bungee (Webflow). Palette et typographie: charte LIGHTFALL,
   docs/13-marque.md. Aucune couleur hors palette.
   ============================================================ */

:root{
  /* Palette charte, reprise telle quelle */
  --white:#FFFFFF;
  --haze:#E8EAEC;
  --ink:#0A0C0E;
  --signal:#1B4FD8;
  --pulse:#FF4D3D;

  /* Dérivés: uniquement des opacités d'INK, jamais un hex nouveau */
  --muted:rgba(10,12,14,.56);
  --line:rgba(10,12,14,.14);
  --line-soft:rgba(10,12,14,.08);
  --on-ink-muted:rgba(255,255,255,.56);
  --on-signal:rgba(255,255,255,.72);
  --on-signal-line:rgba(255,255,255,.24);

  /* Typographie: Helvetica Neue en latin, IBM Plex Sans Thai en thaï
     et en repli hors Apple. Substitution documentée. */
  --font-display:"Helvetica Neue","IBM Plex Sans Thai",Helvetica,Arial,sans-serif;
  --font-body:"Helvetica Neue","IBM Plex Sans Thai",Helvetica,Arial,sans-serif;
  --font-thai:"IBM Plex Sans Thai","Helvetica Neue",sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;

  --nav-h:80px;
  --gutter:32px;
  --radius-l:32px;
  --radius-xl:40px;
  --drip:80px;            /* le rayon asymétrique, signature du template */
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--font-body);font-size:1.0625rem;line-height:1.5;
  font-weight:400;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;}
h1,h2,h3,h4,p,figure,blockquote{margin:0;}
ul{margin:0;padding:0;list-style:none;}
:focus-visible{outline:2px solid var(--signal);outline-offset:3px;border-radius:2px;}
::selection{background:var(--signal);color:var(--white);}

/* ---------- primitives typographiques ---------- */
.mono{
  font-family:var(--font-mono);font-size:13px;line-height:1.22;
  font-weight:400;letter-spacing:.02em;text-transform:uppercase;
}
.mono--muted{color:var(--muted);}
.mono i{font-style:normal;opacity:.5;}
.thai{font-family:var(--font-thai);text-transform:none;}
.h2{font-size:clamp(2.25rem,5.2vw,3.75rem);line-height:1.06;letter-spacing:-.025em;font-weight:600;}
.h3{font-size:clamp(1.75rem,3.6vw,3rem);line-height:1.1;letter-spacing:-.02em;font-weight:500;}
.h4{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.1;letter-spacing:-.015em;font-weight:500;}
.lede{color:var(--muted);font-size:1.0625rem;line-height:1.5;max-width:46ch;}
.container{width:100%;max-width:1512px;margin:0 auto;padding:0 var(--gutter);}
.section{padding:32px 0 120px;}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed;inset:0 0 auto;z-index:60;height:var(--nav-h);
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;transition:border-color .3s ease;
}
.nav.is-stuck{border-bottom-color:var(--line-soft);}
.nav__bar{
  position:relative;z-index:2;display:flex;align-items:center;
  justify-content:space-between;height:100%;padding:0 var(--gutter);
}
.nav__brand{display:flex;align-items:center;gap:12px;}
.nav__right{display:flex;align-items:center;gap:clamp(16px,2vw,28px);}
.lang{
  display:flex;align-items:center;gap:8px;
  font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;
}
.lang__btn{color:var(--muted);transition:color .45s ease;}
.lang__btn:hover{color:var(--ink);}
.lang__btn.is-on{color:var(--signal);}
.lang__sep{color:var(--line);}

/* le thaï: sa propre fonte, plus d'interligne, pas de chasse négative */
html[lang="th"]{
  --font-display:"IBM Plex Sans Thai","Helvetica Neue",sans-serif;
  --font-body:"IBM Plex Sans Thai","Helvetica Neue",sans-serif;
}
html[lang="th"] body{line-height:1.7;}
html[lang="th"] .h2,html[lang="th"] .h3,html[lang="th"] .h4,
html[lang="th"] .page-title,html[lang="th"] .sheet__title,
html[lang="th"] .reg__name,html[lang="th"] .svc__name,
html[lang="th"] .menu__label,html[lang="th"] .step__name{
  letter-spacing:0;line-height:1.35;
}
html[lang="th"] .hero__word{font-family:"Helvetica Neue",Helvetica,sans-serif;}
.nav__mark{width:30px;height:auto;border-radius:5px;}
.nav__wordmark{font-weight:700;letter-spacing:.22em;font-size:14px;}
.nav__toggle{
  position:relative;width:34px;height:34px;flex:none;
  display:grid;place-items:center;
}
.nav__toggle span{
  position:absolute;background:var(--ink);border-radius:2px;
  transition:transform .45s var(--ease),opacity .3s ease;
}
.nav__toggle span:nth-child(1){width:22px;height:1.5px;}
.nav__toggle span:nth-child(2){width:1.5px;height:22px;}
body.menu-open .nav__toggle span:nth-child(1){transform:rotate(45deg);}
body.menu-open .nav__toggle span:nth-child(2){transform:rotate(45deg);}

.menu{
  position:fixed;inset:0;z-index:55;background:var(--white);
  display:flex;flex-direction:column;justify-content:space-between;
  padding:calc(var(--nav-h) + 40px) var(--gutter) 40px;
  clip-path:inset(0 0 100% 0);transition:clip-path .7s var(--ease);
  visibility:hidden;
}
body.menu-open .menu{clip-path:inset(0 0 0 0);visibility:visible;}
body.menu-open{overflow:hidden;}
.menu__links{display:flex;flex-direction:column;}
.menu__link{position:relative;display:block;padding:14px 0;overflow:hidden;}
.menu__link-row{display:flex;align-items:baseline;gap:20px;}
.menu__num{color:var(--signal);width:40px;flex:none;}
.menu__label{
  font-size:clamp(2rem,6vw,4.5rem);line-height:1;letter-spacing:-.03em;
  font-weight:500;transition:transform .8s var(--ease),color .45s ease;
}
.menu__link::after{
  content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;
  background:var(--pulse);transform:scaleX(0);transform-origin:left;
  transition:transform .8s var(--ease);
}
.menu__link:hover .menu__label{transform:translateX(18px);color:var(--signal);}
.menu__link:hover::after{transform:scaleX(1);}
.menu__foot{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;}
.menu__mail{display:inline-block;border-bottom:1px solid var(--signal);padding-bottom:4px;color:var(--signal);}
.menu__foot .socials a:hover{color:var(--signal);}


/* ============================================================
   HERO
   ============================================================ */
.hero{padding-top:calc(var(--nav-h) + min(8vh,88px));}
.hero__lockup{display:flex;flex-direction:column;align-items:center;text-align:center;}
.hero__mark{width:clamp(56px,6vw,84px);border-radius:10px;}
.hero__word{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.9rem,8.8vw,7.9rem);line-height:.92;
  letter-spacing:.11em;text-indent:.11em;   /* le tracking large du logotype */
  margin-top:clamp(14px,2.2vw,26px);
}
.hero__baseline{margin-top:clamp(10px,1.6vw,18px);font-size:clamp(.95rem,1.35vw,1.25rem);}
.hero__rule{width:26px;height:2px;background:var(--pulse);margin:14px 0;border-radius:2px;}
.hero__thai{font-family:var(--font-thai);font-size:clamp(1.1rem,2vw,1.6rem);font-weight:500;}

.hero__bar{
  display:flex;justify-content:flex-end;align-items:flex-end;
  margin-top:clamp(28px,5vh,64px);gap:24px;
}
.socials{display:flex;gap:12px;align-items:center;color:var(--muted);}
.socials a{transition:color .25s ease;}
.socials a:hover{color:var(--signal);}
.socials i{font-style:normal;opacity:.4;}

/* ---------- bandeau défilant du hero: tourne en continu ---------- */
.strip{position:relative;margin-top:clamp(32px,5vh,56px);overflow:hidden;}
.strip__track{display:flex;gap:10px;width:max-content;animation:slide 64s linear infinite;}
.strip__group{display:flex;gap:10px;flex:none;}
.strip__cell{
  flex:none;width:181px;height:530px;overflow:hidden;background:var(--haze);
  border-radius:var(--drip) 0;             /* haut-gauche + bas-droit */
}
.strip__cell:nth-child(2n){border-radius:0 var(--drip);}
.strip__cell img{width:100%;height:100%;object-fit:cover;}
@keyframes slide{from{transform:translate3d(0,0,0);}to{transform:translate3d(-50%,0,0);}}
.strip__fade{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,var(--white),transparent 9%,transparent 91%,var(--white));
}

/* ============================================================
   MANIFESTE
   ============================================================ */
.manifesto{padding:clamp(96px,14vh,164px) 0 0;}
.manifesto__mark{width:clamp(46px,4.4vw,62px);}
.manifesto__inner{max-width:880px;margin:0 auto;text-align:center;display:flex;flex-direction:column;gap:26px;align-items:center;}
.manifesto p{font-size:clamp(1.5rem,3.1vw,2.6rem);line-height:1.16;letter-spacing:-.025em;font-weight:400;text-wrap:balance;}
.reveal-word{display:inline-block;opacity:0;transform:translateY(.5em);
  transition:opacity .85s ease,transform 1.1s var(--ease);}
.is-in .reveal-word{opacity:1;transform:none;}

/* ---------- bandeau des domaines ---------- */
.fields{
  margin:clamp(76px,10vh,124px) auto 0;overflow:hidden;
  width:min(66vw,900px);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 13%,#000 87%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 13%,#000 87%,transparent);
}
.fields .strip__track{animation-duration:46s;gap:0;}
.field-run{display:flex;flex:none;align-items:center;}
.field-run span{
  display:flex;align-items:center;gap:12px;
  padding:clamp(22px,3vh,32px) clamp(20px,2.2vw,34px);
  font-size:clamp(1rem,1.5vw,1.3rem);letter-spacing:-.02em;
  font-weight:400;white-space:nowrap;
}
.field-run svg{
  width:22px;height:22px;flex:none;color:var(--signal);
  fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;
}

/* ============================================================
   TRAVAUX
   ============================================================ */
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:28px;}
.head:has(.lede){align-items:flex-start;}
.head:has(.lede) > .btn,.head:has(.lede) > .mono{margin-top:clamp(8px,1.4vw,18px);}
.head__title{display:flex;flex-direction:column;}
.grid-work{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.card{display:block;width:100%;text-align:left;color:var(--ink);cursor:pointer;}
.card__frame{
  display:block;position:relative;overflow:hidden;border-radius:var(--radius-l);
  height:750px;background:var(--haze);
}
.card__frame img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.8s var(--ease);
}
.card:hover .card__frame img,.card:focus-visible .card__frame img{transform:scale(1.03);}
.card__cue{
  position:absolute;right:18px;bottom:18px;z-index:2;
  display:grid;place-items:center;width:40px;height:40px;border-radius:10px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:var(--white);opacity:.92;
  transition:background .5s ease,opacity .5s ease;
}
.card__cue svg{width:14px;height:14px;}
.card:hover .card__cue,.card:focus-visible .card__cue{opacity:1;background:rgba(255,255,255,.3);}
.card__meta{display:flex;justify-content:space-between;align-items:center;padding:12px 0 12px 12px;gap:16px;}
.card__meta b{font-weight:500;font-size:.95rem;}
.card__tag{display:flex;gap:2px;color:var(--muted);}

/* ---------- la fiche de direction artistique ---------- */
.sheet{
  position:fixed;inset:0;z-index:80;background:var(--white);
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s;
}
.sheet.is-open{opacity:1;visibility:visible;}
body.sheet-open{overflow:hidden;}
.sheet__visual{background:var(--haze);overflow:hidden;}
.sheet__visual img{width:100%;height:100%;object-fit:cover;}
.sheet__panel{
  overflow-y:auto;padding:clamp(32px,5vw,72px);
  display:flex;flex-direction:column;gap:clamp(28px,3.4vw,44px);
  justify-content:center;
}
.sheet__head{display:flex;flex-direction:column;gap:12px;}
.sheet__title{font-size:clamp(1.75rem,3vw,2.6rem);line-height:1.05;letter-spacing:-.025em;font-weight:600;}
.sheet__notes{display:flex;flex-direction:column;gap:22px;max-width:52ch;}
.sheet__note{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start;}
.sheet__note dt{color:var(--muted);}
.sheet__note dd{margin:0;color:var(--ink);font-size:1rem;line-height:1.5;}
.sheet__series{align-self:flex-start;}
.sheet__close{
  position:fixed;top:24px;right:24px;z-index:82;width:44px;height:44px;
  border-radius:10px;background:var(--white);border:1px solid var(--line);
  display:grid;place-items:center;
}
.sheet__close::before,.sheet__close::after{
  content:"";position:absolute;width:16px;height:1.5px;background:var(--ink);
}
.sheet__close::before{transform:rotate(45deg);}
.sheet__close::after{transform:rotate(-45deg);}
.sheet__close:hover{border-color:var(--ink);}

/* ============================================================
   CAS: une campagne entière, ratios natifs, aucun recadrage
   ============================================================ */
.case__hero,.case__cell{
  border-radius:var(--radius-l);overflow:hidden;background:var(--haze);
}
.case__hero img,.case__cell img{width:100%;height:auto;}
.grid-campaign{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:12px;}
.grid-campaign figure{margin:0;overflow:hidden;border-radius:var(--radius-l);background:var(--haze);}
.grid-campaign img{display:block;width:100%;height:100%;object-fit:cover;}
/* une pleine largeur, puis deux demies en 3:2, puis trois tiers en 1:1:
   dans chaque rangée les cellules sont identiques, le bloc se ferme droit */
.grid-campaign .cell-full{grid-column:span 6;aspect-ratio:16/9;}
.grid-campaign .cell-wide{grid-column:span 3;aspect-ratio:3/2;}
.grid-campaign .cell-square{grid-column:span 2;aspect-ratio:1/1;}
.grid-campaign .focus-high img{object-position:50% 30%;}
.case .head__title .mono{padding-bottom:14px;}

/* ============================================================
   DIRECTION ARTISTIQUE
   ============================================================ */
.rail{
  display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:8px;margin:0 calc(var(--gutter) * -1);padding-left:var(--gutter);padding-right:var(--gutter);
  scrollbar-width:none;
}
.rail::-webkit-scrollbar{display:none;}
.reg{
  flex:none;width:min(450px,82vw);height:500px;border-radius:var(--radius-xl);
  padding:40px;display:flex;flex-direction:column;justify-content:space-between;
  scroll-snap-align:start;background:var(--haze);
}
.reg--signal{background:var(--signal);color:var(--white);}
.reg--signal .reg__note,.reg--signal .mono--muted{color:var(--on-signal);}
.reg--out{background:var(--white);border:1px solid var(--signal);}
.reg--out .reg__no{color:var(--signal);}
.reg__no{font-size:12px;}
.reg__name{font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.05;letter-spacing:-.02em;font-weight:600;max-width:14ch;}
.reg__note{color:var(--muted);margin-top:16px;max-width:34ch;}
.reg__list{display:flex;flex-wrap:wrap;gap:8px;}
.reg__list li{
  border:1px solid currentColor;border-radius:100px;padding:6px 12px;
  font-family:var(--font-mono);font-size:11px;text-transform:uppercase;
  letter-spacing:.04em;opacity:.6;
}

/* ============================================================
   SERVICES
   ============================================================ */
.svc-list{border-top:1px solid var(--line);}
.svc{
  display:grid;grid-template-columns:110px minmax(0,1fr) minmax(0,1fr);
  gap:24px;align-items:start;padding:32px 0;border-bottom:1px solid var(--line);
}
.svc__no,.svc__name,.svc__txt{
  transition:transform .9s var(--ease),color .5s ease;will-change:transform;
}
.svc:hover .svc__no,.svc:hover .svc__name,.svc:hover .svc__txt{transform:translate3d(14px,0,0);}
.svc__no{color:var(--muted);}
.svc__name{font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.05;letter-spacing:-.02em;font-weight:500;}
.svc:hover .svc__name{color:var(--signal);}
.svc__txt{color:var(--muted);max-width:44ch;}

.btn{
  display:inline-flex;align-items:center;gap:14px;padding-bottom:4px;
  font-size:1.05rem;font-weight:500;letter-spacing:-.02em;position:relative;
}
.btn::after{
  content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;
  background:var(--pulse);transform-origin:right;transform:scaleX(1);
  transition:transform .7s var(--ease);
}
.btn:hover::after{transform:scaleX(0);}
.btn svg{transition:transform .7s var(--ease);}
.btn:hover svg{transform:translate(4px,-4px);}

.btn--fill{
  background:var(--signal);color:var(--white);
  padding:12px 18px;border-radius:8px;gap:10px;
  font-size:.95rem;font-weight:500;letter-spacing:-.005em;
  transition:background .5s ease;
}
.btn--fill::after{display:none;}
.btn--fill:hover{background:var(--ink);}
.btn--fill svg{width:12px;height:12px;}

/* le niveau intermédiaire: lisible sans crier, pour les retours */
.btn--ghost{
  padding:11px 16px;border-radius:8px;gap:10px;
  font-size:.95rem;font-weight:500;letter-spacing:-.005em;
  border:1px solid var(--line);color:var(--ink);
  transition:border-color .5s ease,background .5s ease;
}
.btn--ghost::after{display:none;}
.btn--ghost:hover{border-color:var(--ink);background:var(--haze);}
.btn--ghost svg{width:12px;height:12px;}

/* ============================================================
   MÉTHODE — c'est ici que la bande SIGNAL a sa place: au milieu
   de la page, loin du bandeau d'images, comme une rupture de
   chapitre et non comme une collision.
   ============================================================ */
.method-band{
  background:var(--signal);color:var(--white);
  padding:clamp(72px,10vh,120px) 0;margin-bottom:120px;
}
.method-band .mono--muted{color:var(--on-signal);}
.method-band .head{padding-bottom:44px;}
.method{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.step{border-top:1px solid var(--on-signal-line);padding-top:20px;display:flex;flex-direction:column;gap:10px;}
.step__top{display:flex;align-items:center;justify-content:flex-start;gap:18px;}
.step__no{font-family:var(--font-mono);font-size:clamp(2.4rem,4.4vw,3.6rem);line-height:1;color:var(--white);font-weight:400;}
.step__icon{width:34px;height:34px;object-fit:contain;filter:brightness(0) invert(1);opacity:.85;}
.step__name{font-size:1.15rem;font-weight:500;letter-spacing:-.01em;}
.step__txt{color:var(--on-signal);font-size:.95rem;line-height:1.45;}

/* ============================================================
   LE STUDIO
   ============================================================ */
.studio{
  display:grid;grid-template-columns:1fr 1fr;background:var(--haze);
  border-radius:var(--radius-l);overflow:hidden;
}
.studio__img{overflow:hidden;}
.studio__img img{width:100%;height:100%;object-fit:cover;}
.studio__body{display:flex;flex-direction:column;gap:clamp(24px,3vw,36px);padding:clamp(32px,4.5vw,64px);justify-content:center;}
.studio__facts{display:flex;flex-direction:column;gap:18px;margin:0;}
.studio__facts > div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:start;}
.studio__facts dt{color:var(--muted);}
.studio__facts dd{margin:0;max-width:44ch;}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.faq{display:flex;flex-direction:column;gap:12px;max-width:560px;}
.faq__item{width:100%;overflow:hidden;}
.faq__q{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--line);
  font-size:1rem;line-height:1.4;font-weight:400;
}
.faq__icon{flex:none;width:18px;height:18px;position:relative;}
.faq__icon::before,.faq__icon::after{
  content:"";position:absolute;inset:50% 0 auto;height:1.5px;background:var(--ink);
  transition:transform .6s var(--ease);
}
.faq__icon::after{transform:rotate(90deg);}
.faq__item.is-open .faq__icon::after{transform:rotate(0);}
.faq__item.is-open .faq__q{color:var(--signal);}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after{background:var(--signal);}
.faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .75s var(--ease);}
.faq__item.is-open .faq__a{grid-template-rows:1fr;}
.faq__a > div{overflow:hidden;}
.faq__a p{color:var(--muted);padding:16px 0;max-width:52ch;}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.footer{
  background:var(--signal);color:var(--white);
  margin:0 var(--gutter) var(--gutter);border-radius:var(--radius-l);padding:var(--gutter);
}
.footer .socials{color:var(--on-signal);}
.footer .socials a:hover{color:var(--white);}
.footer__top{display:flex;justify-content:space-between;align-items:center;padding-bottom:120px;}
.footer__legal{color:var(--on-signal);font-size:.9rem;margin-left:auto;}
.footer__mark{width:52px;border-radius:9px;}
.footer :focus-visible{outline-color:var(--white);}
.footer__mid{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding-bottom:120px;}
.footer__say{max-width:450px;display:flex;flex-direction:column;gap:26px;align-items:flex-start;}
.footer__say p{font-size:1.15rem;line-height:1.4;}
.footer__mail{font-size:clamp(1.5rem,3.4vw,2.6rem);letter-spacing:-.025em;font-weight:500;}
.footer__mail{transition:opacity .3s ease;}
.footer__mail:hover{opacity:.75;}
.news{max-width:450px;display:flex;flex-direction:column;gap:23px;width:100%;}
.news__note{color:var(--on-signal);margin-top:10px;}
.news__form{display:flex;flex-direction:column;gap:23px;}
.news__field{
  height:48px;background:transparent;border:0;border-bottom:1px solid var(--on-signal-line);
  font:inherit;color:var(--white);padding:0;border-radius:0;
}
.news__field::placeholder{color:var(--on-signal);}
.news__field:focus{outline:none;border-bottom-color:var(--white);}
.news__done{color:var(--on-signal);}
.footer__bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--on-signal-line);}
.footer__links{display:flex;gap:32px;flex-wrap:wrap;}
.footer__links a{position:relative;}
.footer__links a::after{
  content:"";position:absolute;left:0;bottom:-3px;height:1px;width:100%;background:currentColor;
  transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease);
}
.footer__links a:hover::after{transform:scaleX(1);}



/* ============================================================
   PAGES: portfolio et études de cas
   ============================================================ */
.page-head{padding:calc(var(--nav-h) + clamp(56px,9vh,104px)) 0 clamp(32px,5vh,56px);}
.page-head__inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,64px);align-items:end;}
.page-title{font-size:clamp(2.5rem,6.4vw,5.25rem);line-height:.98;letter-spacing:-.035em;font-weight:600;text-wrap:balance;}
.page-back{margin-bottom:24px;}
.page-back svg{transform:rotate(180deg);}
.page-back:hover svg{transform:rotate(180deg) translate(4px,-4px);}

.cs-meta{
  display:flex;flex-wrap:wrap;gap:clamp(24px,4vw,56px);
  border-top:1px solid var(--line);margin-top:clamp(32px,5vh,56px);padding-top:22px;
}
.cs-meta div{display:flex;flex-direction:column;gap:7px;}
.cs-meta b{font-weight:500;font-size:1.05rem;letter-spacing:-.01em;}

main{display:flex;flex-direction:column;}   /* permet de réordonner sur mobile */
.cs-lead{border-radius:var(--radius-l);overflow:hidden;background:var(--haze);}
.cs-lead img{width:100%;height:auto;}

.cs-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,3vw,40px) clamp(32px,5vw,72px);}
.cs-note{display:flex;flex-direction:column;gap:10px;max-width:52ch;}
.cs-note p{color:var(--muted);}

/* Les pages de série: une image par rangée, aussi grande que l'écran le
   permet, jamais recadrée. Une grille les rapetissait pour rien. */
.cs-grid{display:flex;flex-direction:column;align-items:center;gap:20px;}
.cs-grid figure{
  margin:0;width:auto;max-width:100%;
  border-radius:var(--radius-l);overflow:hidden;background:var(--haze);
}
.cs-grid img{
  display:block;width:auto;height:auto;max-width:100%;max-height:86vh;
}

.cs-next{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--line);padding-top:28px;}
.cs-next a{display:flex;flex-direction:column;gap:8px;transition:transform .9s var(--ease),color .5s ease;}
.cs-next a:hover{transform:translate3d(10px,0,0);color:var(--signal);}
.cs-next b{font-weight:500;font-size:1.25rem;letter-spacing:-.015em;}

.pf-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.pf-card{display:block;color:var(--ink);}
.pf-card__frame{
  display:block;position:relative;overflow:hidden;border-radius:var(--radius-l);
  height:620px;background:var(--haze);
}
.pf-card__frame img{width:100%;height:100%;object-fit:cover;transition:transform 1.8s var(--ease);}
.pf-card:hover .pf-card__frame img{transform:scale(1.03);}
.pf-card__frames{color:var(--muted);}
/* la règle de la série, en clair sous la carte */
.pf-card__rule{padding:10px 0 0 12px;color:var(--ink);font-size:.95rem;max-width:52ch;}
.pf-card__meta{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0 0 12px;}
.pf-card__meta b{font-weight:500;font-size:1.35rem;letter-spacing:-.02em;}
.pf-card__note{color:var(--muted);padding:6px 0 0 12px;max-width:44ch;}
.pf-grid .pf-card:last-child{grid-column:1 / -1;}
.pf-grid .pf-card:last-child .pf-card__frame{height:420px;}

/* ============================================================
   RÉVÉLATIONS AU DÉFILEMENT
   ============================================================ */
.up{opacity:0;transform:translateY(28px);transition:opacity 1s ease,transform 1.3s var(--ease);}
.up.is-in{opacity:1;transform:none;}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .card__frame,.pf-card__frame{height:560px;}
  .page-head__inner{grid-template-columns:1fr;align-items:start;}
  .cs-next{grid-template-columns:1fr;gap:0;}
  .cs-next a{padding:16px 0;border-bottom:1px solid var(--line);}
  .testi__img{height:480px;}
  .method{grid-template-columns:repeat(2,1fr);}
  .sheet{grid-template-columns:1fr;grid-template-rows:minmax(0,42vh) minmax(0,1fr);}
  .sheet__panel{justify-content:flex-start;}
}
@media (max-width:860px){
  :root{--gutter:20px;--drip:56px;}
  .case__grid{columns:1;}
  .section{padding:24px 0 88px;}
  .grid-work,.faq-grid{grid-template-columns:1fr;}
  .svc{grid-template-columns:70px 1fr;}
  .svc__txt{grid-column:2 / -1;}
  .studio{grid-template-columns:1fr;}
  .studio__img{height:300px;}
  .studio__facts > div{grid-template-columns:1fr;gap:4px;}
  .strip__cell{width:132px;height:392px;}
  .head{flex-direction:column;align-items:flex-start;gap:14px;}
  .card__frame,.pf-card__frame{height:440px;}
  .sheet__note{grid-template-columns:1fr;gap:6px;}
  .cs-grid,.pf-grid{grid-template-columns:1fr;}

  /* les campagnes: une colonne, hauteur naturelle, aucun recadrage.
     C'est la seule façon d'apprécier ces images sur un téléphone. */
  .grid-campaign{grid-template-columns:1fr;gap:12px;}
  .grid-campaign figure{grid-column:1 / -1 !important;aspect-ratio:auto !important;}
  .grid-campaign img{height:auto;}
  .cs-grid{gap:12px;}
  .cs-grid figure{width:100%;}
  .cs-grid img{width:100%;max-height:none;}

  /* les images avant le texte: sur un téléphone, le pavé de direction
     repoussait la série trop loin */
  .cs-sec-lead{order:1;}
  .cs-sec-set{order:2;}
  .cs-sec-notes{order:3;}
  .cs-sec-next{order:4;}

  /* la fiche: le bouton de série monte juste sous le titre */
  .sheet__panel{display:flex;flex-direction:column;}
  .sheet__head{order:1;}
  .sheet__series{order:2;margin-bottom:4px;}
  .sheet__notes{order:3;}

  /* pied de page: le logo au-dessus, les réseaux en dessous */
  .footer__top{flex-direction:column;align-items:flex-start;gap:22px;padding-bottom:48px;}
  .footer__links{gap:14px 20px;font-size:.95rem;}
  .footer__bottom{gap:14px;}
  .footer__legal{margin-left:0;align-self:flex-end;}

  .pf-card__rule{padding-left:12px;font-size:.9rem;}

  /* la direction: trois cartes empilées, chacune à sa hauteur */
  .rail{display:block;overflow:visible;margin:0;padding:0;scroll-snap-type:none;}
  .reg{width:100%;height:auto;min-height:0;margin-bottom:12px;padding:28px;}
  .reg__note{margin-top:12px;max-width:none;}

  /* services: plus compact */
  .svc{padding:22px 0;gap:14px;grid-template-columns:58px 1fr;}
  .svc:hover{padding-left:0;}
  .svc__name{font-size:1.4rem;}
  .svc__txt{font-size:.95rem;max-width:none;}

  /* méthode: grille 2x2 */
  .method{grid-template-columns:repeat(2,1fr);gap:20px 12px;}
  .method-band{padding:64px 0;margin-bottom:88px;}

  /* pied de page: une colonne franche */
  .footer{margin:0 12px 12px;padding:24px 20px;}
  .footer__top{padding-bottom:56px;}
  .footer__mid{flex-direction:column;gap:48px;padding-bottom:56px;}
  .footer__say,.news{max-width:none;}
  .footer__bottom{flex-direction:column;align-items:flex-start;gap:18px;}
  .footer__links{gap:18px 22px;}
  .cs-notes{grid-template-columns:1fr;}
}
@media (max-width:520px){
  .method{grid-template-columns:repeat(2,1fr);}
  .step__no{font-size:2rem;}
  .step__icon{width:26px;height:26px;}
  .card__frame,.pf-card__frame{height:400px;}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
  .up,.reveal-word{opacity:1;transform:none;}
  .card__cue{opacity:1;transform:none;}
}
