/* =========================================================
   LES 7 DIMENSIONS — Design d'intérieur, Casablanca
   Palette et typographie dérivées de l'identité de marque.
   ========================================================= */

:root{
  --ink:        #15120F;
  --ink-soft:   #2A2420;
  --cream:      #FBF8F5;
  --paper:      #FFFFFF;
  --blush:      #FDD9D5;
  --blush-soft: #FDEEEB;
  --coral:      #F2A08C;
  --coral-deep: #D9775C;
  --muted:      #7C6F69;
  --line:       #E6DCD6;
  --line-dark:  rgba(251,248,245,.18);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  --shell: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --header-h: 84px;

  --ease: cubic-bezier(.2,.7,.25,1);
  --slow: .8s var(--ease);

  --shadow-sm: 0 2px 10px rgba(21,18,15,.06);
  --shadow-md: 0 18px 48px -24px rgba(21,18,15,.35);
  --shadow-lg: 0 40px 90px -40px rgba(21,18,15,.5);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-sans);
  font-weight:300;
  font-size:clamp(15.5px, .35vw + 14.6px, 17px);
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure,blockquote{ margin:0; }
:focus-visible{ outline:2px solid var(--coral-deep); outline-offset:3px; border-radius:2px; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:var(--cream); padding:12px 20px;
}
.skip-link:focus{ left:12px; top:12px; }

.shell{ width:100%; max-width:var(--shell); margin-inline:auto; padding-inline:var(--gut); }

/* Anchor targets must clear the fixed header. */
section[id]{ scroll-margin-top:calc(var(--header-h) + 8px); }
#hero{ scroll-margin-top:0; }

/* ---------- type ---------- */
.h2{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(2rem, 4.4vw, 3.5rem);
  line-height:1.08;
  letter-spacing:-.015em;
}
.h2 em{ font-style:italic; color:var(--coral-deep); }

.eyebrow{
  display:flex; align-items:center; gap:14px;
  font-size:.7rem; font-weight:500;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--muted);
  margin-bottom:20px;
}
.eyebrow--center{ justify-content:center; }
.eyebrow-rule{ display:block; width:clamp(28px,6vw,54px); height:1px; background:var(--coral); }

.section{ padding-block:clamp(72px, 10vw, 140px); position:relative; }
.section-head{ max-width:660px; margin-bottom:clamp(40px,5vw,64px); }
.section-head--center{ margin-inline:auto; text-align:center; }
.section-lede{ margin-top:22px; color:var(--muted); font-size:1.03rem; }

.link-underline{
  border-bottom:1px solid var(--coral);
  padding-bottom:2px;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.link-underline:hover{ color:var(--coral-deep); border-color:var(--coral-deep); }

.stars{ color:var(--coral-deep); letter-spacing:.16em; font-size:.85rem; }
.stars--lg{ font-size:1.25rem; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px;
  font-size:.74rem; font-weight:500;
  letter-spacing:.17em; text-transform:uppercase;
  border-radius:999px;
  border:1px solid transparent;
  transition:background-color .35s var(--ease), color .35s var(--ease),
             border-color .35s var(--ease), transform .35s var(--ease);
  will-change:transform;
}
.btn:hover{ transform:translateY(-2px); }
.btn-solid{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.btn-solid:hover{ background:var(--coral-deep); border-color:var(--coral-deep); }
.btn-ghost{ border-color:currentColor; color:inherit; }
.btn-ghost:hover{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.btn-sm{ padding:12px 22px; font-size:.7rem; }
.btn-block{ width:100%; }
.ico{ width:17px; height:17px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:90;
  height:var(--header-h);
  display:flex; align-items:center;
  transition:background-color .45s var(--ease), box-shadow .45s var(--ease),
             height .45s var(--ease), border-color .45s var(--ease);
  border-bottom:1px solid transparent;
  color:var(--cream);
}
.site-header.is-stuck{
  background:rgba(251,248,245,.92);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom-color:var(--line);
  color:var(--ink);
  height:70px;
  box-shadow:var(--shadow-sm);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }

.brand{ display:flex; align-items:center; gap:13px; }
.brand-mark{ width:34px; height:auto; flex:none; transition:opacity .3s var(--ease); }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-name{
  font-family:var(--font-display);
  font-size:1.17rem; font-weight:500; letter-spacing:.09em; text-transform:uppercase;
}
.brand-sub{
  font-size:.53rem; letter-spacing:.3em; text-transform:uppercase;
  opacity:.72; margin-top:5px;
}

.nav{ display:flex; align-items:center; gap:clamp(20px,3vw,44px); }
.nav-list{ display:flex; gap:clamp(18px,2.4vw,34px); }
.nav-list a{
  font-size:.74rem; letter-spacing:.15em; text-transform:uppercase; font-weight:400;
  position:relative; padding-block:6px;
  white-space:nowrap; /* "On site" / "Book a meeting" must never break in two */
}
.nav-cta{ white-space:nowrap; }
.nav-list a::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:right;
  transition:transform .4s var(--ease);
}
.nav-list a:hover::after,.nav-list a.is-current::after{ transform:scaleX(1); transform-origin:left; }
.nav-cta{ padding:12px 24px; }
.site-header:not(.is-stuck) .nav-cta{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.site-header:not(.is-stuck) .nav-cta:hover{ background:var(--coral-deep); color:var(--cream); border-color:var(--coral-deep); }

/* ---- FR / EN switch ---- */
.lang-switch{
  display:flex; align-items:center; gap:6px;
  font-size:.7rem; letter-spacing:.14em;
  opacity:.9;
}
.lang-switch > span{ opacity:.4; }
.lang-btn{
  padding:4px 2px;
  font-size:.7rem; letter-spacing:.14em; font-weight:400;
  color:inherit; opacity:.55;
  border-bottom:1px solid transparent;
  transition:opacity .3s var(--ease), border-color .3s var(--ease);
}
.lang-btn:hover{ opacity:.85; }
.lang-btn.is-active{ opacity:1; font-weight:500; border-bottom-color:currentColor; }

.burger{ display:none; width:44px; height:44px; position:relative; margin-right:-10px; }
.burger span{
  position:absolute; left:11px; width:22px; height:1.5px; background:currentColor;
  transition:transform .4s var(--ease), opacity .3s var(--ease);
}
.burger span:nth-child(1){ top:19px; }
.burger span:nth-child(2){ top:25px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ transform:translateY(-3px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; align-items:center;
  padding-block:calc(var(--header-h) + 40px) 120px;
  color:var(--cream);
  overflow:hidden;
  isolation:isolate;
}
@supports not (min-height:100svh){ .hero{ min-height:100vh; } }

.hero-media{ position:absolute; inset:0; z-index:-1; }
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0;
  /* Close to the Ken Burns end frame, so the outgoing slide does not jump. */
  transform:scale(1.12);
  transition:opacity 1.8s var(--ease);
  will-change:opacity, transform;
}
.hero-slide.is-active{
  opacity:1;
  animation:kenburns 7.5s linear forwards;
}
@keyframes kenburns{
  from{ transform:scale(1.02) translate3d(0,0,0); }
  to{   transform:scale(1.14) translate3d(-1.2%, -1.4%, 0); }
}
.hero-scrim{
  position:absolute; inset:0;
  /* The mid stop carries the headline over the brighter, daylit slides. */
  background:
    linear-gradient(180deg, rgba(21,18,15,.64) 0%, rgba(21,18,15,.44) 34%, rgba(21,18,15,.74) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(21,18,15,0) 30%, rgba(21,18,15,.55) 100%);
}
.grain{
  position:absolute; inset:0; opacity:.5; mix-blend-mode:overlay; pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.38'/></svg>");
}

.hero-inner{ text-align:center; display:flex; flex-direction:column; align-items:center; }
.hero-mark{
  width:clamp(58px, 8vw, 84px); height:auto; margin-bottom:26px;
  animation:fadeUp 1.1s var(--ease) both;
}
.hero-eyebrow{
  font-size:.7rem; letter-spacing:.34em; text-transform:uppercase;
  color:rgba(251,248,245,.8);
  animation:fadeUp 1.1s .1s var(--ease) both;
}
.hero-title{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(2.9rem, 10vw, 7rem);
  line-height:.98;
  letter-spacing:.015em;
  text-transform:uppercase;
  margin:18px 0 0;
  animation:fadeUp 1.1s .2s var(--ease) both;
}
.hero-lede{
  max-width:44ch; margin:26px auto 0;
  color:rgba(251,248,245,.88);
  font-size:clamp(.98rem, 1.6vw, 1.1rem);
  animation:fadeUp 1.1s .32s var(--ease) both;
}

/* The seven services, read as one capability strip under the name. */
.hero-services{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:6px 0;
  max-width:60ch; margin:26px auto 0;
  color:rgba(251,248,245,.9);
  animation:fadeUp 1.1s .32s var(--ease) both;
}
.hero-services li{
  display:flex; align-items:center;
  font-size:clamp(.74rem, 1.15vw, .86rem);
  letter-spacing:.11em; text-transform:uppercase; font-weight:400;
  white-space:nowrap;
}
.hero-services li::after{
  content:"·";
  margin-inline:12px;
  color:var(--coral);
  font-weight:600;
}
.hero-services li:last-child::after{ content:none; }
.hero-services span{
  text-transform:none; letter-spacing:.02em;
  opacity:.68; margin-left:6px; font-size:.92em;
}
.hero-actions{
  display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
  margin-top:38px;
  animation:fadeUp 1.1s .44s var(--ease) both;
}
.hero .btn-solid{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.hero .btn-solid:hover{ background:var(--coral-deep); color:var(--cream); border-color:var(--coral-deep); }
.hero .btn-ghost{ border-color:rgba(251,248,245,.5); color:var(--cream); }
.hero .btn-ghost:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }

.hero-rating{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; justify-content:center;
  margin-top:40px; padding:11px 22px;
  border:1px solid rgba(251,248,245,.22);
  border-radius:999px;
  background:rgba(21,18,15,.24);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  font-size:.78rem; letter-spacing:.04em;
  color:rgba(251,248,245,.9);
  animation:fadeUp 1.1s .56s var(--ease) both;
}
.hero-rating .stars{ color:var(--coral); }

@keyframes fadeUp{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:none; } }

.hero-dots{
  position:absolute; left:50%; bottom:34px; transform:translateX(-50%);
  display:flex; gap:9px; z-index:3;
}
.hero-dot{
  width:28px; height:2px; border-radius:2px;
  background:rgba(251,248,245,.34);
  transition:background-color .4s var(--ease), width .4s var(--ease);
}
.hero-dot.is-active{ background:var(--cream); width:44px; }

.scroll-cue{
  position:absolute; left:var(--gut); bottom:34px; z-index:3;
  display:flex; align-items:center; gap:12px;
  font-size:.62rem; letter-spacing:.24em; text-transform:uppercase;
  color:rgba(251,248,245,.7);
}
.scroll-line{ display:block; width:1px; height:52px; background:rgba(251,248,245,.35); position:relative; overflow:hidden; }
.scroll-line::after{
  content:""; position:absolute; inset:0; background:var(--cream);
  animation:scrolldrop 2.2s var(--ease) infinite;
}
@keyframes scrolldrop{ 0%{ transform:translateY(-100%);} 55%,100%{ transform:translateY(100%);} }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee{
  background:var(--ink); color:var(--cream);
  padding-block:16px; overflow:hidden; white-space:nowrap;
}
.marquee-track{
  display:inline-flex; align-items:center; gap:26px;
  animation:marquee 44s linear infinite;
  will-change:transform;
}
.marquee-track span{
  font-family:var(--font-display); font-size:1.12rem; font-style:italic;
  letter-spacing:.02em; opacity:.9;
}
.marquee-track i{ color:var(--coral); font-style:normal; font-size:.6rem; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* =========================================================
   STUDIO
   ========================================================= */
.studio{ background:var(--cream); }
.studio-grid{
  display:grid; grid-template-columns:.92fr 1fr;
  gap:clamp(36px, 6vw, 92px); align-items:center;
}
.studio-visual{ position:relative; }
.studio-img{ overflow:hidden; border-radius:3px; }
.studio-img img{ width:100%; height:100%; object-fit:cover; }
.studio-img--main{ aspect-ratio:4/5; box-shadow:var(--shadow-md); }
.studio-badge{
  position:absolute; top:-26px; left:-26px;
  width:112px; height:112px; border-radius:50%;
  background:var(--blush); color:var(--ink);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; box-shadow:var(--shadow-sm);
}
.studio-badge-num{ font-family:var(--font-display); font-size:2.4rem; line-height:1; }
.studio-badge-label{ font-size:.54rem; letter-spacing:.14em; text-transform:uppercase; margin-top:5px; line-height:1.45; }

.studio-copy p + p{ margin-top:18px; }
.studio-copy > p{ color:var(--muted); }
.studio-copy strong{ color:var(--ink); font-weight:500; }
.studio-points{ margin-top:32px; display:grid; gap:2px; }
.studio-points li{
  display:flex; gap:16px; align-items:baseline;
  padding:15px 0; border-top:1px solid var(--line);
  font-size:.95rem;
}
.studio-points li:last-child{ border-bottom:1px solid var(--line); }
.studio-points span{
  font-family:var(--font-display); font-size:.95rem; color:var(--coral-deep); flex:none;
}
.signature{ margin-top:34px; }
.signature-name{
  font-family:var(--font-display); font-style:italic;
  font-size:1.7rem; line-height:1;
}
.signature-role{
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted); margin-top:9px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services{ background:var(--blush-soft); }
.svc-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; background:var(--line); border:1px solid var(--line);
}
.svc{
  background:var(--blush-soft);
  padding:clamp(28px,3.4vw,44px);
  display:flex; flex-direction:column;
  transition:background-color .45s var(--ease), transform .45s var(--ease);
}
.svc:hover{ background:var(--paper); }
/* The seventh card fills the remainder of the last row, so the ruled grid
   never ends on an empty cell. */
.svc--accent{ background:var(--blush); grid-column:1 / -1; }
.svc--accent:hover{ background:var(--blush); }
@media (min-width:781px){
  .svc--accent{
    display:grid; grid-template-columns:auto minmax(0,.9fr) minmax(0,1.5fr);
    gap:clamp(20px,3vw,44px); align-items:center;
  }
  .svc--accent .svc-num{ margin-bottom:0; }
  .svc--accent h3{ margin-bottom:0; }
}
.svc-num{
  font-family:var(--font-display); font-size:.95rem;
  color:var(--coral-deep); letter-spacing:.1em; margin-bottom:22px;
}
.svc h3{
  font-family:var(--font-display); font-weight:500;
  font-size:1.5rem; line-height:1.18; margin-bottom:14px;
}
.svc p{ color:var(--muted); font-size:.93rem; }

/* =========================================================
   PROJETS
   ========================================================= */
.projets{ background:var(--cream); }
.filters{
  display:flex; flex-wrap:wrap; gap:9px;
  margin-bottom:clamp(28px,3.4vw,40px);
}
.filter{
  padding:10px 20px; border-radius:999px;
  border:1px solid var(--line);
  font-size:.7rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted);
  transition:background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.filter:hover{ border-color:var(--ink); color:var(--ink); }
.filter.is-active{ background:var(--ink); border-color:var(--ink); color:var(--cream); }

.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:clamp(10px,1.4vw,18px);
}
.tile{
  position:relative; overflow:hidden; border-radius:3px;
  aspect-ratio:3/4; cursor:zoom-in;
  background:var(--line);
  transition:opacity .45s var(--ease), transform .45s var(--ease);
}
.tile--wide{ grid-column:span 2; aspect-ratio:3/2; }
.tile img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.1s var(--ease), filter .5s var(--ease);
}
.tile:hover img{ transform:scale(1.06); }
.tile figcaption{
  position:absolute; inset:auto 0 0 0;
  padding:22px 20px 18px;
  display:flex; flex-direction:column; gap:5px;
  color:var(--cream);
  background:linear-gradient(180deg, rgba(21,18,15,0) 0%, rgba(21,18,15,.82) 100%);
  transform:translateY(8px); opacity:0;
  transition:transform .5s var(--ease), opacity .5s var(--ease);
}
.tile:hover figcaption,.tile:focus-within figcaption{ transform:none; opacity:1; }
.tile-cat{ font-size:.58rem; letter-spacing:.22em; text-transform:uppercase; color:var(--coral); }
.tile-title{ font-family:var(--font-display); font-size:1.12rem; line-height:1.2; }
.tile.is-hidden{ display:none; }

/* =========================================================
   COMPARE
   ========================================================= */
.compare{ background:var(--ink); color:var(--cream); }
.compare .section-lede{ color:rgba(251,248,245,.7); }
.compare .eyebrow{ color:rgba(251,248,245,.6); }
.compare .h2 em{ color:var(--coral); }

.compare-wrap{ max-width:1000px; margin-inline:auto; }
.cmp{
  position:relative; overflow:hidden; border-radius:4px;
  aspect-ratio:16/10; user-select:none; touch-action:pan-y;
  box-shadow:var(--shadow-lg);
  cursor:ew-resize;
}
.cmp-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Clipping keeps the "before" image at full size instead of squashing it
   as the wrapper narrows, so both halves stay in register. */
.cmp-before-wrap{
  position:absolute; inset:0; overflow:hidden;
  -webkit-clip-path:inset(0 50% 0 0);
  clip-path:inset(0 50% 0 0);
}
.cmp-label{
  position:absolute; top:18px; z-index:3;
  padding:7px 15px; border-radius:999px;
  font-size:.6rem; letter-spacing:.2em; text-transform:uppercase;
  background:rgba(21,18,15,.62); color:var(--cream);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  pointer-events:none;
}
.cmp-label--left{ left:18px; }
.cmp-label--right{ right:18px; }
.cmp-handle{
  position:absolute; top:0; bottom:0; left:50%; width:0;
  display:flex; align-items:center; justify-content:center; z-index:4;
  pointer-events:none;
}
.cmp-handle::before{
  content:""; position:absolute; top:0; bottom:0; left:-1px; width:2px;
  background:rgba(251,248,245,.8);
}
.cmp-knob{
  flex:none; /* the handle is a zero-width flex box; without this the knob squashes */
  width:52px; height:52px; border-radius:50%;
  background:var(--cream); color:var(--ink);
  display:grid; place-items:center;
  box-shadow:0 6px 24px rgba(0,0,0,.4);
  pointer-events:auto; cursor:ew-resize;
  transition:transform .3s var(--ease);
}
.cmp-knob:hover{ transform:scale(1.08); }
.cmp-knob svg{ width:22px; height:22px; }

.journey{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(20px,3vw,40px);
  margin-top:clamp(48px,6vw,80px);
}
.journey-step figure{ overflow:hidden; border-radius:3px; aspect-ratio:4/3; margin-bottom:22px; }
.journey-step img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.journey-step:hover img{ transform:scale(1.05); }
.journey-num{
  font-size:.6rem; letter-spacing:.24em; text-transform:uppercase; color:var(--coral);
}
.journey-step h3{
  font-family:var(--font-display); font-weight:400;
  font-size:1.55rem; margin:8px 0 10px;
}
.journey-step p{ color:rgba(251,248,245,.66); font-size:.92rem; }

/* =========================================================
   CHANTIER — a photo essay, deliberately looser than the
   uniform project grid: each shot keeps its own proportions.
   ========================================================= */
.chantier{ background:var(--blush-soft); }
.chantier-grid{
  columns:4;
  column-gap:clamp(10px,1.4vw,18px);
}
.chantier-grid figure{
  break-inside:avoid;
  margin:0 0 clamp(10px,1.4vw,18px);
  cursor:zoom-in;
}
.chantier-grid img{
  width:100%; height:auto; display:block;
  border-radius:3px;
  background:var(--line);
  transition:transform .7s var(--ease), filter .4s var(--ease);
}
.chantier-grid figure:hover img{ transform:scale(1.02); filter:brightness(1.04); }
.chantier-grid figcaption{
  padding-top:9px;
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted);
}
.chantier-grid figure:focus-visible{ outline:2px solid var(--coral-deep); outline-offset:4px; }

/* =========================================================
   MÉTHODE
   ========================================================= */
.methode{ background:var(--cream); }
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(18px,2.4vw,34px); }
.step{ padding-top:26px; border-top:2px solid var(--ink); }
.step-num{
  font-family:var(--font-display); font-size:2.7rem; line-height:1;
  color:var(--blush); display:block; margin-bottom:14px;
}
.step h3{ font-family:var(--font-display); font-weight:500; font-size:1.35rem; margin-bottom:10px; }
.step p{ color:var(--muted); font-size:.92rem; }

/* =========================================================
   AVIS
   ========================================================= */
.avis{ background:var(--blush-soft); }
.rating-block{ margin-top:22px; display:flex; flex-direction:column; align-items:center; gap:7px; }
.rating-block p{ font-size:.85rem; color:var(--muted); letter-spacing:.04em; }
/* ---- published reviews ---- */
.avis-grid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(16px,2.2vw,26px);
  align-items:start;
}
.avis-grid:empty{ display:none; }
.avis-card{
  background:var(--paper); padding:clamp(26px,2.6vw,36px);
  border-radius:3px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:16px;
  position:relative; overflow:hidden;
}
.avis-card::before{
  content:"”"; position:absolute; top:-26px; right:14px;
  font-family:var(--font-display); font-size:8rem; color:var(--blush); line-height:1;
}
.avis-card p{
  font-family:var(--font-display); font-size:1.15rem; line-height:1.55;
  position:relative; z-index:1;
  overflow-wrap:anywhere; /* a visitor can paste one very long word */
}
.avis-card cite{
  font-style:normal; display:flex; flex-direction:column; gap:4px; margin-top:auto;
}
.avis-name{ font-size:.86rem; font-weight:500; letter-spacing:.06em; }
.avis-meta{
  font-size:.63rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted);
}
.avis-empty{
  text-align:center; color:var(--muted); font-size:.95rem;
  padding-block:clamp(20px,4vw,44px);
}

.review-divider{
  display:flex; align-items:center; gap:18px;
  margin-block:clamp(40px,6vw,72px) clamp(26px,3vw,38px);
  color:var(--muted);
  font-size:.66rem; letter-spacing:.24em; text-transform:uppercase;
}
.review-divider::before,
.review-divider::after{
  content:""; flex:1; height:1px; background:var(--line);
}

/* ---- leave a review ---- */
.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;
}

.review-wrap{ max-width:660px; margin-inline:auto; }
.hp-field{
  position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;
}
.field-hint{
  font-size:.7rem; color:var(--muted); text-align:right; letter-spacing:.04em;
}
.review-form{
  background:var(--paper); padding:clamp(26px,3.2vw,42px);
  border-radius:4px; box-shadow:var(--shadow-md);
  display:grid; gap:20px;
}

.rating-field{ border:0; padding:0; margin:0; text-align:center; }
.rating-field legend{
  font-size:.66rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:10px; padding:0;
}
/* Stars are laid out in reverse so the CSS sibling selector can light up
   every star to the left of the hovered/checked one. */
.rating-stars{
  display:inline-flex; flex-direction:row-reverse;
  justify-content:center; gap:4px;
}
.rating-stars input{
  position:absolute; opacity:0; width:0; height:0; pointer-events:none;
}
.rating-stars label{
  font-size:2.1rem; line-height:1; cursor:pointer;
  color:var(--line);
  transition:color .2s var(--ease), transform .2s var(--ease);
}
.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label{ color:var(--coral-deep); }
.rating-stars label:hover{ transform:scale(1.12); }
.rating-stars input:focus-visible + label{
  outline:2px solid var(--coral-deep); outline-offset:3px; border-radius:3px;
}
.rating-caption{
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); margin-top:10px; min-height:1.2em;
}

.review-note{ font-size:.82rem; color:var(--coral-deep); text-align:center; min-height:1.2em; }
.review-note.is-ok{ color:#2E7D52; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; transform:none; }
.btn[disabled]:hover{ transform:none; background:var(--ink); border-color:var(--ink); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  position:relative; color:var(--cream);
  padding-block:clamp(80px,10vw,150px);
  text-align:center; overflow:hidden; isolation:isolate;
}
.cta-media{ position:absolute; inset:0; z-index:-1; }
.cta-media img{ width:100%; height:100%; object-fit:cover; }
.cta-scrim{ position:absolute; inset:0; background:rgba(21,18,15,.68); }
.cta-inner .h2 em{ color:var(--coral); }
.cta-inner p{ margin-top:20px; color:rgba(251,248,245,.8); }
.cta-band .btn-solid{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.cta-band .btn-solid:hover{ background:var(--coral-deep); color:var(--cream); border-color:var(--coral-deep); }
.cta-band .btn-ghost{ border-color:rgba(251,248,245,.5); color:var(--cream); }
.cta-band .btn-ghost:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ background:var(--cream); padding-bottom:0; }
.contact-grid{
  display:grid; grid-template-columns:1fr 1.05fr;
  gap:clamp(40px,6vw,88px); align-items:start;
  padding-bottom:clamp(64px,8vw,110px);
}
.contact-list{ margin-top:38px; display:grid; gap:2px; }
.contact-list li{ padding:20px 0; border-top:1px solid var(--line); }
.contact-list li:last-child{ border-bottom:1px solid var(--line); }
.contact-label{
  display:block; font-size:.6rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--muted); margin-bottom:9px;
}
.contact-list a{ transition:color .3s var(--ease); font-size:.98rem; }
.contact-list a:hover{ color:var(--coral-deep); }
.contact-quick{ display:flex; gap:11px; flex-wrap:wrap; margin-top:30px; }

.contact-form{
  background:var(--paper); padding:clamp(26px,3.4vw,46px);
  border-radius:4px; box-shadow:var(--shadow-md);
  display:grid; gap:18px;
}
.form-intro{
  font-size:.62rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--muted); padding-bottom:16px; border-bottom:1px solid var(--line);
}
.field{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field label{
  font-size:.66rem; letter-spacing:.17em; text-transform:uppercase; color:var(--ink-soft);
}
.field .opt{ text-transform:none; letter-spacing:.04em; color:var(--muted); }
.field input,.field select,.field textarea{
  font-family:var(--font-sans); font-size:.95rem; font-weight:300; color:var(--ink);
  background:var(--cream);
  border:1px solid var(--line); border-radius:3px;
  padding:13px 15px; width:100%;
  transition:border-color .3s var(--ease), background-color .3s var(--ease);
}
.field textarea{ resize:vertical; min-height:120px; }
.field select{ appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%237C6F69' stroke-width='1.4'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center; background-size:11px;
  padding-right:38px;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--coral-deep); background:var(--paper);
}
.field-error{
  display:none; font-size:.73rem; color:var(--coral-deep); letter-spacing:.02em;
}
.field.has-error input,.field.has-error textarea{ border-color:var(--coral-deep); }
.field.has-error .field-error{ display:block; }
.form-alt{ font-size:.8rem; color:var(--muted); text-align:center; }
.form-note{ font-size:.82rem; color:var(--coral-deep); text-align:center; min-height:1.2em; }

.map-wrap{
  position:relative;
  height:clamp(340px,42vw,460px);
  background:var(--blush-soft); /* stands in if the embed is slow or blocked */
}
.map-wrap iframe{
  width:100%; height:100%; border:0; display:block;
  filter:grayscale(1) contrast(.96);
}
.map-card{
  position:absolute; z-index:2;
  top:50%; left:var(--gut); transform:translateY(-50%);
  width:min(330px, calc(100% - var(--gut) * 2));
  background:var(--paper); color:var(--ink);
  padding:28px 30px; border-radius:4px;
  box-shadow:var(--shadow-md);
}
.map-card-label{
  font-size:.6rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--muted); margin-bottom:14px;
}
.map-card-addr{ font-size:.95rem; line-height:1.7; margin-bottom:20px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--ink); color:var(--cream); padding-top:clamp(56px,7vw,88px); }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1.25fr;
  gap:clamp(28px,4vw,56px);
  padding-bottom:clamp(40px,5vw,64px);
}
.footer-brand img{ width:46px; margin-bottom:18px; }
.footer-name{
  font-family:var(--font-display); font-size:1.28rem;
  letter-spacing:.1em; text-transform:uppercase;
}
.footer-sub{ font-size:.63rem; letter-spacing:.24em; text-transform:uppercase; color:rgba(251,248,245,.55); margin-top:8px; }
.footer-col h4{
  font-size:.62rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--coral); margin-bottom:20px; font-weight:500;
}
.footer-col li{ font-size:.87rem; color:rgba(251,248,245,.7); padding-block:6px; }
.footer-col a{ transition:color .3s var(--ease); }
.footer-col a:hover{ color:var(--coral); }
.footer-addr{ line-height:1.6; max-width:26ch; }
.footer-bottom{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between;
  padding-block:24px; border-top:1px solid var(--line-dark);
  font-size:.76rem; color:rgba(251,248,245,.5);
}

/* =========================================================
   FAB + LIGHTBOX
   ========================================================= */
.fab-wa{
  position:fixed; right:18px; bottom:18px; z-index:80;
  width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff;
  display:grid; place-items:center;
  box-shadow:0 10px 30px -8px rgba(37,211,102,.75);
  transform:translateY(90px); opacity:0;
  transition:transform .5s var(--ease), opacity .5s var(--ease), background-color .3s var(--ease);
}
.fab-wa.is-visible{ transform:none; opacity:1; }
.fab-wa:hover{ background:#1FB855; }
.fab-wa svg{ width:29px; height:29px; }

.lightbox{
  position:fixed; inset:0; z-index:120;
  background:rgba(12,10,9,.96);
  display:grid; place-items:center;
  padding:clamp(16px,4vw,56px);
  opacity:0; transition:opacity .35s var(--ease);
}
.lightbox[hidden]{ display:none; }
.lightbox.is-open{ opacity:1; }
.lb-figure{ max-width:min(1200px,100%); max-height:100%; display:flex; flex-direction:column; gap:16px; align-items:center; }
.lb-figure img{
  max-width:100%; max-height:calc(100svh - 150px);
  width:auto; object-fit:contain; border-radius:3px;
}
.lb-figure figcaption{
  color:rgba(251,248,245,.8); font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; text-align:center;
}
.lb-close,.lb-nav{
  position:absolute; z-index:2; color:var(--cream);
  width:50px; height:50px; border-radius:50%;
  display:grid; place-items:center; line-height:1;
  background:rgba(251,248,245,.09);
  transition:background-color .3s var(--ease);
}
.lb-close:hover,.lb-nav:hover{ background:rgba(251,248,245,.2); }
.lb-close{ top:18px; right:18px; font-size:2rem; }
.lb-nav{ top:50%; transform:translateY(-50%); font-size:2.2rem; }
.lb-prev{ left:16px; }
.lb-next{ right:16px; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .footer-grid{ grid-template-columns:1fr 1fr; row-gap:40px; }
  .gallery{ grid-template-columns:repeat(3,1fr); }
  .chantier-grid{ columns:3; }
}

@media (max-width:900px){
  .studio-grid{ grid-template-columns:1fr; }
  .studio-visual{ max-width:520px; margin-inline:auto; }
  .contact-grid{ grid-template-columns:1fr; }
  .journey{ grid-template-columns:1fr; gap:34px; }
  .journey-step{ display:grid; grid-template-columns:130px 1fr; gap:20px; align-items:center; }
  .journey-step figure{ margin-bottom:0; aspect-ratio:1; }
  .avis-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ---- mobile navigation ---- */
/* Between the drawer breakpoint and ~1280px the bar fits, but only just.
   Tighten it rather than sending laptops to the burger menu. */
@media (min-width:1041px) and (max-width:1280px){
  .nav{ gap:18px; }
  .nav-list{ gap:15px; }
  .nav-list a{ font-size:.67rem; letter-spacing:.09em; }
  .nav-cta{ padding:11px 15px; font-size:.65rem; }
  .brand-name{ font-size:1rem; }
  .brand-sub{ font-size:.48rem; letter-spacing:.24em; }
  .brand-mark{ width:29px; }
  .lang-switch{ font-size:.64rem; gap:4px; }
  .lang-btn{ font-size:.64rem; }
}

/* Six nav items plus the CTA and the FR/EN switch stop fitting on one line
   below ~1040px, so the drawer takes over earlier than the other breakpoints. */
@media (max-width:1040px){
  :root{ --header-h:66px; }
  .burger{ display:block; }
  .nav{
    position:fixed; inset:0;
    background:var(--ink); color:var(--cream);
    flex-direction:column; justify-content:center; align-items:center;
    gap:34px;
    opacity:0; visibility:hidden;
    transform:translateY(-12px);
    transition:opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    z-index:-1;
  }
  .nav.is-open{ opacity:1; visibility:visible; transform:none; z-index:1; }
  .nav-list{ flex-direction:column; align-items:center; gap:4px; }
  .nav-list a{
    font-family:var(--font-display); font-size:1.85rem;
    letter-spacing:.03em; text-transform:none; padding-block:11px;
  }
  .nav-list a::after{ display:none; }
  .nav-cta{ padding:15px 32px; background:var(--cream); color:var(--ink); border-color:var(--cream); }
  .lang-switch{ font-size:.82rem; gap:10px; margin-top:6px; }
  .lang-btn{ font-size:.82rem; padding:8px 4px; }
  body.nav-open{ overflow:hidden; }
  /* Brand and burger stay above the overlay, and the bar goes light with it. */
  .burger,.brand{ position:relative; z-index:3; }
  .site-header.is-nav-open{
    color:var(--cream); background:transparent;
    box-shadow:none; border-bottom-color:transparent;
  }
}

@media (max-width:780px){
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .chantier-grid{ columns:2; }
  .tile--wide{ grid-column:span 2; aspect-ratio:3/2; }
  .hero{ padding-bottom:140px; }
  .hero-lede{ max-width:34ch; }
  .scroll-cue{ display:none; }
  .cmp{ aspect-ratio:4/3; }
  .field-row{ grid-template-columns:1fr; }
  .footer-bottom{ justify-content:center; text-align:center; }
  /* Let the map breathe above the card instead of being covered by it. */
  .map-wrap{ height:auto; }
  .map-wrap iframe{ height:clamp(240px,52vw,320px); }
  .map-card{
    position:static; transform:none; width:auto;
    border-radius:0; box-shadow:none;
    background:var(--blush-soft);
    padding:26px var(--gut) 32px;
  }
}

@media (max-width:560px){
  .svc-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .avis-grid{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr 1fr; gap:9px; }
  .tile{ aspect-ratio:3/4; }
  .tile--wide{ aspect-ratio:3/2; }
  .tile figcaption{ opacity:1; transform:none; padding:16px 13px 13px; }
  .tile-title{ font-size:.95rem; }
  .tile-cat{ font-size:.53rem; }
  .btn{ padding:14px 24px; font-size:.7rem; }
  .hero-actions{ flex-direction:column; width:100%; }
  .hero-actions .btn{ width:100%; }
  /* One service per line on a phone — the inline strip overflows below ~380px. */
  .hero-services{ flex-direction:column; gap:8px; margin-top:22px; }
  /* block, not flex: the parenthetical has to sit under its service, not beside */
  .hero-services li{ display:block; text-align:center; white-space:normal; }
  .hero-services li::after{ content:none; }
  .hero-services span{ display:block; margin-left:0; margin-top:3px; }
  .studio-badge{ width:104px; height:104px; top:-18px; left:-14px; padding:0 8px; }
  .studio-badge-num{ font-size:2rem; }
  .studio-badge-label{ font-size:.44rem; letter-spacing:.1em; }
  .journey-step{ grid-template-columns:1fr; }
  .journey-step figure{ aspect-ratio:16/10; }
  .lb-nav{ width:42px; height:42px; font-size:1.8rem; }
  .lb-prev{ left:8px; } .lb-next{ right:8px; }
  .fab-wa{ width:50px; height:50px; right:14px; bottom:14px; }
  .fab-wa svg{ width:26px; height:26px; }
}

/* =========================================================
   MOTION PREFERENCES
   ========================================================= */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
  .hero-slide.is-active{ animation:none; transform:scale(1.02); }
  .scroll-line::after{ display:none; }
}

@media print{
  .site-header,.fab-wa,.hero-dots,.scroll-cue,.marquee,.lightbox,.map-wrap{ display:none !important; }
  .hero{ min-height:auto; color:var(--ink); }
  .hero-media{ display:none; }
  body{ background:#fff; }
}
