:root{--paper:#fff;--ink:#151515;--muted:#6c675f;--soft:#f7f4ed;--line:#ece5d8;--red:#d85032;--blue:#294f78;--yellow:#f4c84f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);display:flex;justify-content:space-between;align-items:center;padding:18px clamp(20px,5vw,64px);border-bottom:1px solid var(--line)}
.logo{text-decoration:none;color:var(--ink);font-size:32px;font-weight:900;letter-spacing:-1.5px}.logo span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.18em;font-weight:500;color:var(--muted)}nav{display:flex;gap:18px;flex-wrap:wrap}nav a{text-decoration:none;color:var(--ink);font-size:14px;font-weight:700}
.hero{min-height:88vh;display:grid;grid-template-columns:.95fr 1.05fr;gap:40px;align-items:center;padding:70px clamp(20px,5vw,72px)}
.small{margin:0 0 14px;color:var(--red);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.16em}
h1{margin:0;font-size:clamp(72px,12vw,170px);line-height:.78;letter-spacing:-7px;font-weight:950}h1 em{display:block;font-style:normal;font-weight:300;font-size:.38em;letter-spacing:.02em;margin-top:18px;color:var(--blue);text-transform:uppercase}
.baseline{font-size:clamp(28px,4vw,58px);line-height:.95;font-weight:900;margin:30px 0 12px}.intro{font-size:20px;line-height:1.6;max-width:640px;color:#302d29}.button{display:inline-block;margin-top:22px;padding:14px 22px;border-radius:999px;background:var(--ink);color:white;text-decoration:none;font-weight:800}
.hero-stage{position:relative;height:620px;background:linear-gradient(145deg,#fff,var(--soft));border-radius:36px;overflow:hidden}.hero-fade{position:absolute;object-fit:contain;background:transparent;filter:drop-shadow(0 18px 25px rgba(0,0,0,.10));opacity:0;animation:fadeFloat 18s infinite ease-in-out}
.h1{width:46%;height:46%;left:7%;top:6%;animation-delay:0s}.h2{width:36%;height:36%;right:8%;top:9%;animation-delay:2s}.h3{width:40%;height:40%;left:12%;bottom:6%;animation-delay:4s}.h4{width:38%;height:38%;right:9%;bottom:10%;animation-delay:6s}.h5{width:30%;height:30%;left:39%;top:34%;animation-delay:8s}.h6{width:28%;height:28%;right:31%;top:4%;animation-delay:10s}.h7{width:31%;height:31%;left:3%;top:40%;animation-delay:12s}.h8{width:30%;height:30%;right:3%;top:42%;animation-delay:14s}
@keyframes fadeFloat{0%,100%{opacity:0;transform:translateY(20px) scale(.96)}12%,42%{opacity:1;transform:translateY(0) scale(1)}55%{opacity:0;transform:translateY(-14px) scale(.98)}}
.univers,.gallery-section,.about,.contact{padding:70px clamp(20px,5vw,72px)}.section-head h2,.gallery-head h2,.about h2,.contact h2{font-size:clamp(44px,6vw,90px);line-height:.9;margin:0 0 26px;letter-spacing:-4px}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.category-card{background:#fff;text-decoration:none;color:var(--ink);border-radius:28px;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.055);border:1px solid var(--line);transition:.22s ease}.category-card:hover{transform:translateY(-7px);box-shadow:0 28px 60px rgba(0,0,0,.09)}
.cat-image{height:190px;display:flex;align-items:center;justify-content:center;background:var(--soft);padding:12px}.cat-image img{width:100%;height:100%;object-fit:contain}.cat-copy{padding:18px}.cat-copy h3{margin:0 0 8px;font-size:25px;line-height:1;letter-spacing:-1px}.cat-copy p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:1.45}.cat-copy span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--red)}
.gallery-section{background:var(--soft)}.gallery-head{display:grid;grid-template-columns:1fr 430px;gap:28px;align-items:end;margin-bottom:24px}.gallery-head p:last-child{color:var(--muted);font-size:18px;line-height:1.55}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px}.filters button{border:1px solid var(--line);background:white;border-radius:999px;padding:10px 14px;cursor:pointer;font-weight:700}.filters button.active{background:var(--ink);color:white}
.gallery{columns:5 220px;column-gap:22px}.work{break-inside:avoid;margin:0 0 22px;background:white;border-radius:20px;overflow:hidden;box-shadow:0 14px 35px rgba(0,0,0,.055)}.work img{width:100%;display:block;background:white;padding:10px}.work figcaption{padding:0 14px 14px;color:var(--muted);font-size:13px;line-height:1.35}.work b{display:block;color:var(--red);font-size:10px;text-transform:uppercase;letter-spacing:.13em;margin-bottom:4px}
.about{max-width:1050px;margin:auto;text-align:center}.about p:last-child{font-size:21px;line-height:1.65;color:#36322e}.contact{text-align:center}.contact a{font-size:clamp(30px,5vw,68px);font-weight:900;color:var(--red);text-decoration:none}footer{text-align:center;padding:26px;color:var(--muted);border-top:1px solid var(--line)}
@media(max-width:1100px){.hero,.gallery-head{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(3,1fr)}.hero-stage{height:520px}}@media(max-width:720px){.header{flex-direction:column;align-items:flex-start}.category-grid{grid-template-columns:1fr}.hero{padding-top:45px}.gallery{columns:2 160px}h1{letter-spacing:-3px}.hero-stage{height:430px}}


/* Finalisation Bod’z */
.logo-image { width: 190px; height: 64px; display:flex; align-items:center; overflow:hidden; }
.logo-image img { width:100%; height:auto; object-fit:contain; mix-blend-mode:multiply; }
.work img { cursor: zoom-in; }
.work { transition: transform .25s ease, opacity .25s ease; }
.work:hover { transform: translateY(-4px); }

.about {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(320px, 1.1fr);
  gap:clamp(36px, 7vw, 100px);
  align-items:center;
  padding:clamp(70px, 10vw, 140px) 5vw;
  border-top:1px solid #ece8e1;
}
.about-copy { max-width:680px; }
.about-lead { font-size:clamp(1.15rem, 2vw, 1.45rem); line-height:1.55; }
.about-art img { width:100%; max-height:620px; object-fit:contain; }

.contact {
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:end;
  padding:70px 5vw;
  background:#111;
  color:#fff;
}
.contact h2 { max-width:750px; margin:.35rem 0 .6rem; }
.contact p { color:#d8d8d8; }
.contact-mail {
  color:#fff;
  font-size:clamp(1.25rem, 3vw, 2.3rem);
  text-decoration:none;
  border-bottom:1px solid #fff;
  white-space:nowrap;
}

.lightbox {
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(255,255,255,.97);
}
.lightbox.open { display:flex; }
.lightbox figure {
  width:min(92vw, 1500px);
  height:88vh;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.lightbox img {
  max-width:100%;
  max-height:82vh;
  object-fit:contain;
  box-shadow:0 18px 55px rgba(0,0,0,.12);
}
.lightbox figcaption {
  margin-top:12px;
  font-size:.86rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#555;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position:absolute;
  border:0;
  background:transparent;
  color:#111;
  cursor:pointer;
  line-height:1;
}
.lightbox-close { top:18px; right:28px; font-size:48px; }
.lightbox-prev, .lightbox-next { top:50%; transform:translateY(-50%); font-size:72px; }
.lightbox-prev { left:20px; }
.lightbox-next { right:20px; }
body.lightbox-open { overflow:hidden; }

@media (max-width: 820px) {
  .logo-image { width:145px; height:52px; }
  .about { grid-template-columns:1fr; }
  .contact { align-items:flex-start; flex-direction:column; }
  .lightbox-prev, .lightbox-next { font-size:52px; }
}


/* ===== BOD'Z V2 — ÉTAPE 1 : accueil atelier ===== */
.hero{grid-template-columns:.88fr 1.12fr;gap:clamp(32px,5vw,76px);min-height:90vh}
.hero-copy{position:relative;z-index:2}
h1{font-family:"Trebuchet MS","Arial Rounded MT Bold",Arial,sans-serif;font-size:clamp(78px,12vw,176px);line-height:.76;letter-spacing:-.065em;transform:rotate(-1deg);transform-origin:left center}
h1 em{font-family:Georgia,"Times New Roman",serif;font-style:italic;text-transform:none;font-size:.30em;letter-spacing:.01em;margin-top:24px;color:var(--blue);font-weight:400;transform:rotate(1deg)}
.baseline{max-width:560px}.intro{max-width:590px}
.button{transition:transform .22s ease,box-shadow .22s ease}.button:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.14)}
.hero-stage{height:clamp(610px,68vw,760px);background:radial-gradient(circle at 50% 45%,#fff 0,#fff 42%,var(--soft) 100%);border-radius:42px;overflow:hidden}
.hero-fade{filter:drop-shadow(0 24px 32px rgba(0,0,0,.13));animation:fadeFloatV2 24s infinite ease-in-out;transition:filter .3s ease}
.hero-fade:hover{filter:drop-shadow(0 30px 38px rgba(0,0,0,.18))}
.h1{width:56%;height:56%;left:1%;top:0;animation-delay:0s;--tilt:-4deg}.h2{width:45%;height:45%;right:1%;top:3%;animation-delay:3s;--tilt:4deg}.h3{width:49%;height:49%;left:5%;bottom:0;animation-delay:6s;--tilt:3deg}.h4{width:47%;height:47%;right:2%;bottom:2%;animation-delay:9s;--tilt:-4deg}.h5{width:39%;height:39%;left:31%;top:31%;animation-delay:12s;--tilt:2deg}.h6{width:36%;height:36%;right:27%;top:0;animation-delay:15s;--tilt:-2deg}.h7{width:41%;height:41%;left:0;top:35%;animation-delay:18s;--tilt:5deg}.h8{width:40%;height:40%;right:0;top:37%;animation-delay:21s;--tilt:-3deg}
@keyframes fadeFloatV2{0%,100%{opacity:0;transform:translateY(22px) scale(.94) rotate(var(--tilt))}10%,38%{opacity:1;transform:translateY(0) scale(1) rotate(var(--tilt))}50%{opacity:0;transform:translateY(-12px) scale(.985) rotate(var(--tilt))}}
@media(max-width:1100px){.hero-stage{height:600px}.hero{gap:24px}}
@media(max-width:720px){.hero{min-height:auto}.hero-stage{height:500px;border-radius:28px}h1{font-size:clamp(72px,25vw,120px)}h1 em{font-size:.28em}.hero-fade{filter:drop-shadow(0 16px 22px rgba(0,0,0,.11))}}
@media(prefers-reduced-motion:reduce){.hero-fade{animation:none;opacity:1}.button{transition:none}}

/* ===== BOD'Z V2 — ÉTAPE 2 : identité typographique validée ===== */
.hero-copy h1{
  margin:0 0 28px;
  font-family:"Marker Felt","Bradley Hand","Chalkboard SE","Segoe Print","Comic Sans MS",cursive;
  font-size:clamp(86px,13vw,190px);
  line-height:.70;
  letter-spacing:-.085em;
  font-weight:700;
  transform:rotate(-1.5deg) skewX(-5deg);
  transform-origin:left center;
  text-shadow:1px 1px 0 rgba(0,0,0,.035);
}
.bodz-word{display:block;white-space:nowrap;}
.bodz-black{color:var(--ink);}
.bodz-z{display:inline-block;color:var(--blue);font-size:1.02em;transform:rotate(-4deg) translateY(.02em);transform-origin:center;}
.hero-copy h1 em{
  display:block;
  width:max-content;
  max-width:100%;
  margin:30px 0 0 14px;
  padding:0 0 10px;
  color:var(--blue);
  font-family:"Marker Felt","Bradley Hand","Chalkboard SE","Segoe Print","Comic Sans MS",cursive;
  font-size:.255em;
  line-height:1.05;
  letter-spacing:.015em;
  font-style:normal;
  font-weight:600;
  transform:rotate(1deg) skewX(0);
  border-bottom:4px solid var(--blue);
}
.baseline{
  position:relative;
  width:max-content;
  max-width:100%;
  margin:38px 0 28px;
  padding-bottom:12px;
  font-family:"Marker Felt","Bradley Hand","Chalkboard SE","Segoe Print","Comic Sans MS",cursive;
  font-size:clamp(25px,2.5vw,40px);
  line-height:1.15;
  font-style:normal;
  font-weight:500;
  letter-spacing:-.025em;
  transform:rotate(-.5deg);
}
.baseline::after{
  content:"";
  position:absolute;
  left:8%;bottom:0;
  width:72%;height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--blue),rgba(41,79,120,.08));
  transform:rotate(-1deg);
}
.small{letter-spacing:.17em}
.section-head h2,.gallery-head h2,.about h2,.contact h2{
  font-family:"Avenir Next","Helvetica Neue",Arial,sans-serif;
  font-weight:800;
  letter-spacing:-.055em;
}
@media(max-width:720px){
  .hero-copy h1{font-size:clamp(78px,27vw,128px);letter-spacing:-.075em}
  .hero-copy h1 em{font-size:.235em;margin-top:24px;border-bottom-width:3px}
  .baseline{font-size:clamp(24px,7vw,32px);margin-top:32px}
}


/* === V2 Étape 2 corrigée : identité typographique validée === */
.hero-title-image{
  margin:0 0 18px;
  line-height:1;
  transform:none;
  letter-spacing:normal;
  font-size:0;
  max-width:640px;
}
.hero-title-image img{
  display:block;
  width:min(100%, 620px);
  height:auto;
  object-fit:contain;
  object-position:left center;
}
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
@media(max-width:720px){
  .hero-title-image{max-width:100%;margin-bottom:14px}
  .hero-title-image img{width:min(100%, 520px)}
}


/* =========================================================
   V2 Étape 3 — Typographies secondaires plus dynamiques
   IMPORTANT : le hero Bod'z, alias Ronceray, les illustrations
   et les fondus validés ne sont pas modifiés.
   ========================================================= */

/* Esprit manuscrit/illustrateur, avec polices locales de secours */
:root{
  --bodz-hand: "Bradley Hand", "Segoe Print", "Chalkboard SE",
               "Comic Sans MS", cursive;
}

/* Boutons : notamment « Explorer les univers » */
.cta,
.btn,
button,
a[class*="button"],
a[class*="btn"]{
  font-family:var(--bodz-hand);
  font-weight:600;
  letter-spacing:.015em;
}

/* Titres des sections et des univers */
section h2,
section h3,
.univers h2,
.univers h3,
.gallery h2,
.gallery h3,
.about h2,
.about h3,
.categories h2,
.categories h3,
.category h3,
.card h3{
  font-family:var(--bodz-hand);
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.08;
}

/* Petit geste graphique bleu sous les grands titres de section */
section h2{
  position:relative;
  display:fit-content;
}
section h2::after{
  content:"";
  display:block;
  width:2.4em;
  height:2px;
  margin:.18em 0 .5em;
  background:currentColor;
  opacity:.55;
  transform:rotate(-1.5deg);
  border-radius:999px;
}

/* Les légendes / petits sous-titres gardent du caractère sans perdre la lisibilité */
.subtitle,
.section-subtitle,
.eyebrow,
.kicker,
.card-title,
.category-title,
figcaption{
  font-family:var(--bodz-hand);
  letter-spacing:.01em;
}

/* Sur mobile, rester expressif mais propre */
@media(max-width:720px){
  section h2{line-height:1.12}
  .cta,.btn,button,a[class*="button"],a[class*="btn"]{
    letter-spacing:0;
  }
}


/* =========================================================
   V2 Étape 4 — Typographie dynamique étendue
   Le hero Bod'z / alias Ronceray, les illustrations et fondus
   restent STRICTEMENT inchangés.
   ========================================================= */

/* Petits surtitres rouges : Galerie, À propos, etc. */
.small,
.section-label,
.gallery-label,
.about-label,
.contact-label{
  font-family:var(--bodz-hand);
  text-transform:none;
  letter-spacing:.035em;
  font-size:15px;
  font-weight:600;
}

/* Titres principaux de sections : Les dessins, Explorer les univers, etc. */
.section-head h2,
.gallery-head h2,
.about h2,
.contact h2{
  font-family:var(--bodz-hand);
  font-weight:600;
  letter-spacing:.005em;
}

/* Titres des cartes / univers */
.cat-copy h3,
.category-card h3,
.card h3{
  font-family:var(--bodz-hand);
  font-weight:600;
  letter-spacing:.005em;
}

/* Légendes et noms de catégories dans la galerie */
.work figcaption,
.work figcaption b{
  font-family:var(--bodz-hand);
}
.work figcaption b{
  text-transform:none;
  letter-spacing:.02em;
  font-size:12px;
}

/* Filtres : un peu plus vivants, mais restent très lisibles */
.filters button{
  font-family:var(--bodz-hand);
  font-size:15px;
  font-weight:600;
  letter-spacing:0;
}

/* Bouton contact et autres appels à l'action */
.contact-mail,
.button{
  font-family:var(--bodz-hand);
  letter-spacing:.01em;
}

/* Éviter d'appliquer cette identité au grand titre image verrouillé */
.hero-title-image,
.hero-title-image *,
.logo-image,
.logo-image *{
  font-family:inherit;
}
