:root{--bg:#05090c;--panel:#091015;--line:rgba(255,255,255,.2);--muted:#9ba6af;--white:#f6f6f3;--blue:#63b9ef;--orange:#ff6a3d;--sidebar:112px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;background:var(--bg)}body{font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--white);overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;width:100%}
.site-header{height:66px;position:fixed;z-index:50;top:0;left:var(--sidebar);right:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px;border-bottom:1px solid var(--line);background:rgba(5,9,12,.76);backdrop-filter:blur(16px)}
.brand{font-size:1.6rem;font-weight:900;letter-spacing:-.08em}.brand span,h1 span,h2 span{color:var(--orange)}.site-nav{display:flex;gap:34px;text-transform:uppercase;font-size:.77rem;font-weight:800;letter-spacing:.14em}.site-nav a{opacity:.82;transition:.2s}.site-nav a:hover{opacity:1;color:var(--blue)}.lang{justify-self:end;font-size:.7rem;letter-spacing:.16em}.lang span{opacity:.4}
.hero,.section{position:relative;border-bottom:1px solid var(--line);padding-left:var(--sidebar)}
.hero{min-height:720px;height:100vh;max-height:940px;display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(360px,.82fr) minmax(300px,.8fr);align-items:center;overflow:hidden;padding-top:66px;background:#060b0f}
.hero-space,.contact-space{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,12,.78) 0%,rgba(5,9,12,.16) 48%,rgba(5,9,12,.36) 100%),url('IMGprojets/hero/fondoindex.jpg') center/cover no-repeat;filter:saturate(1.08) contrast(1.05) brightness(.82)}
.hero-space::after,.contact-space::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,12,.82) 0%,rgba(5,9,12,.12) 33%,rgba(5,9,12,.08) 64%,rgba(5,9,12,.34) 100%),radial-gradient(circle at 49% 52%,rgba(255,92,42,.09),transparent 27%),radial-gradient(circle at 80% 42%,transparent 0 10%,rgba(5,9,12,.46) 60%,#05090c 100%)}
.hero-copy,.hero-notes{position:relative;z-index:3}.hero-copy{align-self:center;padding:30px 0 40px 28px;z-index:6}.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.2em;color:var(--blue);margin-bottom:12px}.hero-portfolio{font-size:.98rem;letter-spacing:.24em;margin-bottom:18px}.hero h1{font-size:clamp(5rem,7.4vw,8.5rem);line-height:.82;letter-spacing:-.075em;text-transform:lowercase;max-width:720px;text-shadow:0 8px 28px rgba(0,0,0,.45)}.hero-role{margin-top:26px;text-transform:uppercase;letter-spacing:.24em;font-size:.8rem;line-height:1.6}
.hero-notes{z-index:7;align-self:center;padding:0 48px 0 20px;text-transform:uppercase;letter-spacing:.18em;font-size:.68rem;line-height:1.75;text-shadow:0 4px 18px rgba(0,0,0,.7)}.discover{display:inline-flex;gap:15px;align-items:center;margin-top:52px;letter-spacing:.08em;font-size:.8rem}.discover span{width:44px;height:44px;border:1px solid white;border-radius:50%;display:grid;place-items:center;font-size:1.4rem;transition:.25s}.discover:hover span{transform:translateX(5px);border-color:var(--orange);color:var(--orange)}
.chapter{position:absolute;z-index:10;left:0;top:0;width:var(--sidebar);height:100%;border-right:1px solid var(--line);padding:42px 12px;background:linear-gradient(90deg,#0a1014,rgba(10,16,20,.78));text-transform:uppercase}.chapter--hero{padding-top:120px}.chapter strong{display:block;font-size:2.4rem;font-weight:300;color:#dce3e8}.chapter span{display:block;margin-top:8px;font-weight:900;font-size:.8rem}.chapter p{margin-top:24px;text-transform:none;font-size:.68rem;line-height:1.6;color:#a8b0b6}
.section{min-height:660px;background:var(--bg)}.section-content{padding:34px 24px 54px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:22px}.section h2{font-size:clamp(3.2rem,6vw,5.9rem);line-height:.85;letter-spacing:-.055em;text-transform:uppercase}.filters{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.filters button{border:1px solid rgba(255,255,255,.06);background:#0b1115;color:#90a0aa;border-radius:999px;padding:10px 19px;text-transform:uppercase;font-size:.63rem;letter-spacing:.13em;cursor:pointer}.filters button.is-active,.filters button:hover{color:white;border-color:#a8d9fa;background:#11191e}
.project-carousel{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:12px;align-items:center}.project-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:8px 2px 18px;overscroll-behavior-inline:contain}.project-track::-webkit-scrollbar{display:none}.project-card{flex:0 0 clamp(205px,18vw,268px);scroll-snap-align:start;cursor:pointer;border-radius:4px;outline:none;opacity:0;transform:translateY(18px);transition:opacity .45s,transform .45s}.project-card.is-visible{opacity:1;transform:none}.project-card[hidden]{display:none}.project-card:focus-visible{box-shadow:0 0 0 2px var(--blue)}.project-card.is-selected .project-image{box-shadow:0 0 0 2px var(--orange),0 0 38px rgba(255,106,61,.18)}.project-image{aspect-ratio:3/4;overflow:hidden;background:#12171b}.project-image img{height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .4s}.project-card:hover .project-image>img{transform:scale(1.045);filter:saturate(1.14)}.project-meta{padding:10px 3px}.project-meta h3{font-size:.83rem}.project-meta p{font-size:.68rem;color:var(--muted);margin-top:3px}.carousel-btn{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(5,9,12,.72);color:#fff;font-size:1.2rem;cursor:pointer;transition:.2s;backdrop-filter:blur(8px)}.carousel-btn:hover{border-color:var(--blue);color:var(--blue);transform:scale(1.05)}
.collage-cover{display:grid;grid-template-columns:1.2fr .8fr;grid-template-rows:1fr 1fr;gap:2px;background:#05090c}.collage-cover img{height:100%!important;width:100%;object-fit:cover!important;transform:none!important}.collage-cover img:first-child{grid-row:1/3}.project-placeholder{display:flex;flex-direction:column;justify-content:space-between;padding:22px;background:linear-gradient(150deg,#10181e,#071015 55%,#131016);border:1px solid rgba(255,255,255,.08)}.project-placeholder span{font-size:.7rem;letter-spacing:.2em;color:var(--orange)}.project-placeholder strong{font-size:clamp(1.55rem,2.4vw,2.4rem);line-height:.9;text-transform:uppercase;letter-spacing:-.05em}.project-placeholder small{font-size:.62rem;text-transform:uppercase;letter-spacing:.18em;color:var(--blue)}
.project-detail{position:relative;margin:22px 60px 0;padding:34px 64px 38px 34px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(120deg,rgba(13,20,25,.98),rgba(6,11,15,.98));border-radius:16px;opacity:0;transform:translateY(-8px);transition:.22s ease}.project-detail.is-open{opacity:1;transform:none}.project-detail__close{position:absolute;right:20px;top:18px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;font-size:1.4rem;cursor:pointer}.detail-head h3{font-size:clamp(2.3rem,5vw,5rem)}.detail-objective{margin-top:24px;padding:20px 22px;border-left:2px solid var(--orange);background:rgba(255,106,61,.055);max-width:940px}.detail-label{text-transform:uppercase;letter-spacing:.15em;color:var(--blue);font-size:.66rem;font-weight:800;margin-bottom:8px}.detail-objective p:last-child,.detail-copy p{color:#c4cbd0;line-height:1.65;font-size:.9rem}.detail-gallery{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:26px 0 12px;scrollbar-width:thin}.detail-gallery figure{flex:0 0 clamp(240px,31vw,460px);scroll-snap-align:start}.detail-gallery img{width:100%;height:clamp(300px,45vw,600px);border:1px solid rgba(255,255,255,.08)}.detail-gallery figcaption{font-size:.67rem;color:#aeb8bf;text-transform:uppercase;letter-spacing:.1em;padding:9px 2px}.detail-copy{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:36px;margin-top:16px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1)}.project-detail__tags{display:flex;flex-wrap:wrap;gap:8px}.project-detail__tags span{font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;border:1px solid rgba(99,185,239,.4);border-radius:999px;padding:8px 12px;color:#b7def6}.detail-empty{width:100%;padding:50px;border:1px dashed rgba(255,255,255,.15);color:#89969f;text-align:center;text-transform:uppercase;letter-spacing:.14em}
.about{display:grid;grid-template-columns:minmax(360px,1.1fr) minmax(360px,.9fr) minmax(250px,.55fr);min-height:620px}.about-visual{position:relative;overflow:hidden;background:linear-gradient(135deg,#041423,#07101b)}.about-visual::before{content:"";position:absolute;inset:0;background:url('IMGprojets/hero/fondoindex.jpg') center/cover no-repeat;opacity:.48;mix-blend-mode:screen}.about-visual img{position:absolute;left:9%;bottom:-48%;width:75%;height:142%;object-fit:cover;object-position:center top;filter:grayscale(1) contrast(1.2);mix-blend-mode:screen;opacity:.9}.about-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#05090c 0%,transparent 38%),linear-gradient(90deg,transparent 70%,#05090c)}.about-copy{padding:80px 44px;align-self:center;opacity:0;transform:translateY(18px);transition:.5s}.about-copy.is-visible,.about-side.is-visible,.contact-card.is-visible{opacity:1;transform:none}.about-copy p:not(.eyebrow){margin-top:16px;color:#c1c7cc;line-height:1.6;font-size:.9rem;max-width:600px}.about-more{margin-top:20px;border-top:1px solid rgba(255,255,255,.16);padding-top:18px}.about-more summary{display:inline-flex;align-items:center;gap:18px;border:1px solid #9bd1f3;border-radius:999px;padding:12px 22px;text-transform:uppercase;font-size:.68rem;font-weight:800;letter-spacing:.1em;cursor:pointer;list-style:none}.about-more summary::-webkit-details-marker{display:none}.about-more[open] summary{background:#fff;color:#05090c;border-color:#fff}.about-more__content{margin-top:20px;padding:22px;border-left:1px solid rgba(99,185,239,.45);background:rgba(255,255,255,.025);display:grid;gap:20px}.about-more__content p:not(.eyebrow){margin-top:6px!important}.about-side{padding:82px 28px;border-left:1px solid var(--line);opacity:0;transform:translateY(18px);transition:.5s .08s}.tool-list{display:grid;gap:9px}.tool-pill{min-height:44px;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:9px;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:6px 9px;font-weight:900}.tool-pill small{font-size:.58rem;line-height:1.25;font-weight:500;color:#aeb8bf}.tool-pill--ps{color:#63c6ff}.tool-pill--ai{color:#ff9d42}.tool-pill--id{color:#ff6c9a}.tool-pill--dr{color:#f2f2f2}.tool-pill--ae{color:#b5a2ff}.tool-pill--bl{color:#f39a54}.interest-title{margin-top:42px}.about-side ul{padding-left:17px;color:#c5ccd1;font-size:.8rem;line-height:1.75}
.contact{min-height:510px;display:grid;grid-template-columns:1fr minmax(340px,.6fr);align-items:center;overflow:hidden}.contact-space{opacity:.65}.contact-copy,.contact-card{position:relative;z-index:2}.contact-copy{padding:80px 56px}.contact-copy h2{font-size:clamp(4rem,7vw,7.4rem)}.contact-copy>p:last-child{margin-top:24px;max-width:440px;color:#c8ced2;line-height:1.5}.contact-card{margin-right:7vw;background:rgba(7,12,16,.9);border:1px solid rgba(255,255,255,.15);padding:34px;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start;gap:20px;box-shadow:0 24px 70px rgba(0,0,0,.35);opacity:0;transform:translateY(18px);transition:.5s}.contact-card>a:not(.outline-btn){font-size:.82rem;color:#edf6fb}.contact-card>p{font-size:.72rem;color:var(--blue)}.outline-btn{display:inline-flex;align-items:center;gap:18px;border:1px solid #9bd1f3;border-radius:999px;padding:12px 22px;text-transform:uppercase;font-size:.68rem;font-weight:800;letter-spacing:.1em;transition:.25s}.outline-btn:hover{background:white;color:#05090c;border-color:white}footer{margin-left:var(--sidebar);padding:24px 28px;color:#8b959c;font-size:.72rem;border-top:1px solid rgba(255,255,255,.08)}
@media(max-width:1100px){:root{--sidebar:82px}.hero{grid-template-columns:1fr 1fr}.hero-notes{display:none}.project-card{flex-basis:clamp(190px,27vw,250px)}.about{grid-template-columns:1fr 1fr}.about-side{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:start;padding:36px 28px}.interest-title{margin-top:0}.contact{grid-template-columns:1fr}.contact-card{margin:0 56px 56px;max-width:620px}}
@media(max-width:760px){:root{--sidebar:0}.chapter{display:none}.site-header{left:0;height:58px;padding:0 18px;grid-template-columns:auto 1fr}.site-nav{justify-self:end;gap:15px;font-size:.61rem}.lang{display:none}.brand{font-size:1.35rem}.hero,.section{padding-left:0}.hero{height:auto;min-height:760px;grid-template-columns:1fr;padding-top:58px;align-items:start}.hero-copy{padding:75px 22px 0;z-index:5}.hero h1{font-size:clamp(4rem,19vw,7rem)}.hero-portfolio{font-size:.86rem}.hero-role{font-size:.68rem}.section-content{padding:44px 18px}.section-head{align-items:flex-start;flex-direction:column}.filters{justify-content:flex-start}.project-carousel{grid-template-columns:38px minmax(0,1fr) 38px;gap:6px}.carousel-btn{width:36px;height:36px}.project-card{flex-basis:72vw}.project-detail{padding:24px 48px 24px 20px}.detail-gallery figure{flex-basis:82vw}.detail-gallery img{height:62vh;max-height:540px}.detail-copy{grid-template-columns:1fr}.about{grid-template-columns:1fr}.about-visual{min-height:450px}.about-copy{padding:55px 22px}.about-side{grid-column:auto;display:block;padding:34px 22px}.interest-title{margin-top:34px}.contact{display:block;padding-top:90px}.contact-copy{padding:40px 22px}.contact-copy h2{font-size:clamp(3.5rem,16vw,6rem)}.contact-card{margin:0 18px 48px;padding:24px}.contact-card>a:not(.outline-btn){word-break:break-all}footer{margin-left:0;padding:22px 18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.project-card,.about-copy,.about-side,.contact-card{opacity:1!important;transform:none!important}}

/* ===== ABOUT V4 — vidéo principale + outils séparés ===== */
.about-video-main{
  position:relative;
  min-height:620px;
  display:grid;
  place-items:center;
  background:#061019;
}
.about-video-main::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(5,9,12,.18),rgba(5,9,12,.52)),
    url('IMGprojets/hero/fondoindex.jpg') center/cover no-repeat;
  opacity:.72;
  filter:saturate(.92) brightness(.72);
}
.about-video-main::after{
  background:
    radial-gradient(circle at 50% 48%,rgba(99,185,239,.11),transparent 32%),
    linear-gradient(90deg,rgba(5,9,12,.48),transparent 22%,transparent 78%,rgba(5,9,12,.62));
}
.about-video-main__placeholder{
  position:relative;
  z-index:2;
  width:min(72%,420px);
  aspect-ratio:16/10;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  border:1px dashed rgba(255,255,255,.28);
  border-radius:18px;
  background:rgba(5,9,12,.32);
  backdrop-filter:blur(8px);
  box-shadow:0 24px 70px rgba(0,0,0,.24);
}
.about-video-main__play{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  padding-left:3px;
  border:1px solid rgba(255,255,255,.62);
  border-radius:50%;
  font-size:1rem;
}
.about-video-main__placeholder strong{
  font-size:.78rem;
  letter-spacing:.12em;
}
.about-video-main__placeholder small{
  color:var(--muted);
  font-size:.7rem;
}
.about-copy .about-kicker{
  position:relative;
  z-index:3;
  display:block;
  margin-bottom:20px;
  transform:translateY(-14px);
}
.tool-group-title{
  margin:16px 0 9px;
  color:#d7dee3;
  font-size:.61rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.tool-group-title--learning{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
}
.tool-pill--ia{color:#72e3bf}

@media(max-width:1100px){
  .about-side{display:block}
  .about-video-main{min-height:520px}
  .interest-title{margin-top:36px}
}
@media(max-width:760px){
  .about-video-main{min-height:420px}
  .about-video-main__placeholder{width:min(84%,360px)}
  .about-copy .about-kicker{transform:translateY(-8px);margin-bottom:14px}
}


/* ===== V6 — HERO portrait horizontal + ambient video ===== */
.hero,.contact{isolation:isolate}
.ambient-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
  z-index:0;
  filter:brightness(.50) saturate(.72) contrast(1.03) blur(.35px);
}
.ambient-video--hero{opacity:.38}
.ambient-video--contact{opacity:.30}
/* El fondo estático queda solo como respaldo; ya no tapa el vídeo. */
.hero-space,.contact-space{
  z-index:1;
  background:linear-gradient(90deg,rgba(5,9,12,.78) 0%,rgba(5,9,12,.26) 42%,rgba(5,9,12,.34) 100%);
  opacity:1;
}
.hero-space::after,.contact-space::after{
  background:
    linear-gradient(90deg,rgba(5,9,12,.66) 0%,rgba(5,9,12,.08) 34%,rgba(5,9,12,.08) 64%,rgba(5,9,12,.38) 100%),
    radial-gradient(circle at 54% 49%,rgba(255,92,42,.06),transparent 31%),
    radial-gradient(circle at 80% 42%,transparent 0 14%,rgba(5,9,12,.28) 64%,rgba(5,9,12,.62) 100%);
}

/* Qui suis-je ? +50% respecto al tamaño anterior */
.about-copy .about-kicker{font-size:1.05rem;line-height:1.15;transform:translateY(-18px);margin-bottom:22px}

@media(max-width:1100px){
  .ambient-video--hero{opacity:.34}.ambient-video--contact{opacity:.26}
}
@media(max-width:760px){
  .ambient-video{filter:brightness(.42) saturate(.62) contrast(1.02)}
  .ambient-video--hero{opacity:.28}.ambient-video--contact{opacity:.22}
  .about-copy .about-kicker{font-size:.98rem;transform:translateY(-10px);margin-bottom:16px}
}
@media(prefers-reduced-motion:reduce){
  .ambient-video{display:none!important}
}


/* ===== V7 — 5 sections + video framing ===== */
.ambient-video{object-position:50% 44%;}
.ambient-video--hero{object-position:50% 43%;}
.ambient-video--contact{object-position:50% 45%;}

/* 03 — Collaborations: structure prête pour les travaux de stage */
.collaborations{min-height:620px;background:linear-gradient(180deg,#05090c,#071015 60%,#05090c);}
.collaborations-content{padding:76px 6vw 76px 7vw;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.75fr);gap:54px;align-items:center;min-height:620px;}
.collaborations-head h2{margin-top:6px;}
.collaborations-intro{margin-top:24px;max-width:700px;color:#bcc6cc;line-height:1.7;font-size:.92rem;}
.collaborations-placeholder{position:relative;min-height:330px;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:linear-gradient(145deg,rgba(99,185,239,.07),rgba(255,106,61,.05) 48%,rgba(5,9,12,.72));box-shadow:0 28px 80px rgba(0,0,0,.24);}
.collaborations-placeholder::before{content:"";position:absolute;inset:0;background:url('IMGprojets/hero/fondoindex.jpg') center/cover no-repeat;opacity:.12;filter:brightness(.65) saturate(.72);}
.collaborations-placeholder>*{position:relative;z-index:1;}
.collaborations-placeholder>span{position:absolute;top:28px;left:30px;color:var(--blue);font-size:.72rem;letter-spacing:.2em;}
.collaborations-placeholder strong{font-size:clamp(2rem,4vw,4.6rem);line-height:.88;letter-spacing:-.05em;max-width:8ch;}
.collaborations-placeholder p{margin-top:18px;max-width:42ch;color:#aeb8bf;line-height:1.55;font-size:.8rem;}

@media(max-width:1100px){
  .collaborations-content{grid-template-columns:1fr;gap:30px;padding:62px 38px;}
  .collaborations-placeholder{min-height:260px;}
}
@media(max-width:760px){
  .ambient-video,.ambient-video--hero,.ambient-video--contact{object-position:50% 42%;}
  .collaborations-content{padding:50px 20px;min-height:unset;}
  .collaborations-placeholder{min-height:240px;padding:26px;}
}


/* ===== PROJECT DETAIL — mise en page validée (Bro-Colis) ===== */
.project-detail{margin:26px 34px 0;padding:34px;border-radius:18px;background:linear-gradient(120deg,rgba(10,16,20,.99),rgba(5,10,14,.99));box-shadow:0 28px 90px rgba(0,0,0,.34)}
.project-detail__grid{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.15fr);gap:46px;align-items:start}
.project-detail__info,.project-detail__visuals{min-width:0}.project-detail__visuals{padding-top:48px}
.detail-head{padding-right:44px;margin-bottom:26px}.detail-head h3{font-size:clamp(2.7rem,4.8vw,5rem);line-height:.9;letter-spacing:-.05em;text-transform:uppercase}
.detail-meta{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:12px;color:#e4e8eb;font-size:.9rem;letter-spacing:.02em}.detail-meta__dot{opacity:.55}
.detail-section{position:relative;margin-top:26px;padding-left:18px}
.detail-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 3px;
  height: 28px;
  background: #63b9ef;
  border-radius: 999px;
}

.detail-section .detail-label,.project-detail__visuals>.detail-label{margin-bottom:9px;color:#f3f6f8;font-size:.72rem;letter-spacing:.11em}.detail-section>p:last-child{color:#c9d0d5;line-height:1.62;font-size:.88rem}
.project-detail__tags{gap:10px}.project-detail__tags span{font-size:.64rem;padding:9px 13px;color:#dcebf5;border-color:rgba(99,185,239,.38);background:rgba(99,185,239,.045)}
.detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.detail-gallery figure{min-width:0;flex:none}.detail-gallery figure:first-child{grid-column:1/-1}
.detail-gallery img{height:auto;max-height:390px;aspect-ratio:4/3;object-fit:contain;border-radius:8px;background:#050708}.detail-gallery figure:first-child img{aspect-ratio:16/8.5;max-height:360px}.detail-gallery figcaption{padding:8px 2px 0;font-size:.62rem;line-height:1.35}.project-detail__close{z-index:4;right:18px;top:16px}
@media(max-width:1100px){.project-detail{margin:22px 18px 0}.project-detail__grid{grid-template-columns:1fr;gap:30px}.project-detail__visuals{padding-top:0}.detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.project-detail{margin:14px 0 0;padding:24px 18px}.detail-head{padding-right:40px}.detail-head h3{font-size:clamp(2.3rem,13vw,4rem)}.detail-meta{font-size:.78rem}.detail-section{margin-top:22px}.detail-gallery{grid-template-columns:1fr}.detail-gallery figure:first-child{grid-column:auto}.detail-gallery img,.detail-gallery figure:first-child img{aspect-ratio:auto;max-height:none;height:auto}}


/* ===== Galerie projet — agrandissement au clic ===== */
.detail-gallery img{
  cursor:zoom-in;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.detail-gallery img:hover{
  border-color:rgba(99,185,239,.42);
  box-shadow:0 14px 36px rgba(0,0,0,.28);
}
.image-lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:grid;
  place-items:center;
  padding:32px;
  background:rgba(2,5,8,.84);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:0;
  transition:opacity .18s ease;
}
.image-lightbox[hidden]{display:none}
.image-lightbox.is-open{opacity:1}
.image-lightbox__img{
  max-width:min(92vw,640px);
  background:#050708;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 28px 90px rgba(0,0,0,.58);
  transform:scale(.96);
  transition:transform .18s ease;
}
.image-lightbox.is-open .image-lightbox__img{transform:scale(1)}
.image-lightbox__close{
  position:fixed;
  top:22px;
  right:24px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(5,9,12,.72);
  color:#fff;
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.image-lightbox__close:hover{
  border-color:var(--blue);
  color:var(--blue);
}
@media(max-width:760px){
  .image-lightbox{padding:18px}
  .image-lightbox__img{
    max-width:94vw;
    max-height:84vh;
  }
  .image-lightbox__close{
    top:14px;
    right:14px;
    width:42px;
    height:42px;
  }
}




/* ===== GALERIES PROJETS — TAILLE UNIFORME =====
   Toutes les images utilisent le même cadre.
   Les compositions changent selon le projet, mais jamais la taille des visuels.
*/
.detail-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,360px));
  justify-content:center;
  align-items:start;
  gap:22px 18px;
  overflow:visible;
  padding:0;
  scroll-snap-type:none;
}

.detail-gallery figure,
.detail-gallery figure:first-child{
  width:100%;
  max-width:360px;
  min-width:0;
  grid-column:auto;
  justify-self:center;
  flex:none;
}

.detail-gallery img,
.detail-gallery figure:first-child img{
  display:block;
  width:100%;
  height:430px;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  border-radius:8px;
  background:#050708;
}

/* BRO-COLIS
   Ligne 1 : les deux affiches
   Ligne 2 : brainstorming / mind mapping centré
*/
.project-detail[data-project="brocolis"] .detail-gallery figure:nth-child(3){
  grid-column:1 / -1;
  justify-self:center;
}

/* SHINING ROOM
   Ligne 1 : résultat centré
   Ligne 2 : les deux affiches originales
   Ligne 3 : SCAMPER centré
*/
.project-detail[data-project="shining"] .detail-gallery figure:nth-child(1),
.project-detail[data-project="shining"] .detail-gallery figure:nth-child(4){
  grid-column:1 / -1;
  justify-self:center;
}

/* Captions centrées pour les visuels isolés */
.project-detail[data-project="brocolis"] .detail-gallery figure:nth-child(3) figcaption,
.project-detail[data-project="shining"] .detail-gallery figure:nth-child(1) figcaption,
.project-detail[data-project="shining"] .detail-gallery figure:nth-child(4) figcaption{
  text-align:center;
}

/* Zoom : le visuel agrandi n'est pas limité par le cadre uniforme */
.image-lightbox__img{
  width:auto;
  height:auto;
  max-width:min(92vw,900px);
  max-height:88vh;
  object-fit:contain;
}

@media(max-width:760px){
  .detail-gallery{
    grid-template-columns:minmax(0,360px);
    justify-content:center;
  }

  .detail-gallery figure,
  .detail-gallery figure:first-child,
  .project-detail[data-project="brocolis"] .detail-gallery figure:nth-child(3),
  .project-detail[data-project="shining"] .detail-gallery figure:nth-child(1),
  .project-detail[data-project="shining"] .detail-gallery figure:nth-child(4){
    grid-column:1;
    width:100%;
    max-width:360px;
  }

  .detail-gallery img,
  .detail-gallery figure:first-child img{
    width:100%;
    height:430px;
    max-height:none;
    object-fit:contain;
  }
}

@media(max-width:420px){
  .detail-gallery{
    grid-template-columns:minmax(0,1fr);
  }

  .detail-gallery figure,
  .detail-gallery figure:first-child,
  .project-detail[data-project="brocolis"] .detail-gallery figure:nth-child(3),
  .project-detail[data-project="shining"] .detail-gallery figure:nth-child(1),
  .project-detail[data-project="shining"] .detail-gallery figure:nth-child(4){
    max-width:100%;
  }

  .detail-gallery img,
  .detail-gallery figure:first-child img{
    height:400px;
  }
}


/* ===== DRACULA — galerie + présentation complète =====
   Ligne 1 : les deux couvertures
   Ligne 2 : quatrième de couverture centrée
   Taille identique aux autres projets.
*/
.project-detail[data-project="dracula"] .detail-gallery figure:nth-child(3){
  grid-column:1 / -1;
  justify-self:center;
}

.detail-project-action{
  display:flex;
  justify-content:center;
  margin-top:26px;
}
.detail-project-action[hidden]{display:none}
.detail-pdf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:46px;
  padding:12px 18px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  color:#f3f6f8;
  text-decoration:none;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,.025);
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.detail-pdf-btn:hover{
  border-color:var(--orange);
  background:rgba(255,255,255,.055);
  transform:translateY(-1px);
}

@media(max-width:760px){
  .project-detail[data-project="dracula"] .detail-gallery figure:nth-child(3){
    grid-column:1;
  }
}


/* ===== CAMPAGNE ÉTHIQUE — affiche unique =====
   Une seule affiche centrée, avec la même taille de cadre que les autres projets.
*/
.project-detail[data-project="campagneethique"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}

@media(max-width:760px){
  .project-detail[data-project="campagneethique"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== MONDE ROSE — référence + résultat =====
   Deux visuels côte à côte, avec la taille uniforme des autres projets.
*/
.project-detail[data-project="deeppink"] .detail-gallery figure:nth-child(1),
.project-detail[data-project="deeppink"] .detail-gallery figure:nth-child(2){
  grid-column:auto;
  justify-self:center;
}


/* ===== CARTE DE COMPÉTENCE — affiche unique ===== */
.project-detail[data-project="competence"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}

@media(max-width:760px){
  .project-detail[data-project="competence"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== CAMPAGNE RACISME — A3 + 3 déclinaisons =====
   Ligne 1 : affiche A3 centrée
   Ligne 2 : Header + Post + Story sur la même ligne
   Les cadres gardent la taille uniforme des autres projets.
*/
.project-detail[data-project="racisme"] .detail-gallery{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:center;
}
.project-detail[data-project="racisme"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}

@media(max-width:1180px){
  .project-detail[data-project="racisme"] .detail-gallery{
    grid-template-columns:repeat(2,minmax(0,360px));
  }
  .project-detail[data-project="racisme"] .detail-gallery figure:nth-child(1){
    grid-column:1 / -1;
  }
}

@media(max-width:760px){
  .project-detail[data-project="racisme"] .detail-gallery{
    grid-template-columns:minmax(0,360px);
  }
  .project-detail[data-project="racisme"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== CAMPAGNE RACISME — titre sur 2 lignes ===== */
.project-detail[data-project="racisme"] .detail-head h3{
  white-space:pre-line;
  text-align:left;
  overflow-wrap:break-word;
}
@media (min-width:1251px){
  .project-detail[data-project="racisme"] .detail-head h3{
    font-size:clamp(2.1rem,3vw,3.6rem);
  }
}


/* ===== WC EXPERIENCE — image unique ===== */
.project-detail[data-project="wcexperience"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}

@media(max-width:760px){
  .project-detail[data-project="wcexperience"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== ARTEMIS II — image unique ===== */
.project-detail[data-project="artemis"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}

@media(max-width:760px){
  .project-detail[data-project="artemis"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== LES GRAPHISTAS — 2 visuels + détail typographique ===== */
.project-detail[data-project="graphistas"] .detail-gallery figure:nth-child(3){
  grid-column:1 / -1;
  justify-self:center;
}
.project-detail[data-project="graphistas"] .detail-gallery figure:nth-child(3) figcaption{
  text-align:center;
}

@media(max-width:760px){
  .project-detail[data-project="graphistas"] .detail-gallery figure:nth-child(3){
    grid-column:1;
  }
}


/* ===== LA CHUTE — image unique ===== */
.project-detail[data-project="lachute"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}
@media(max-width:760px){
  .project-detail[data-project="lachute"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== CONTRASTES D'ADJECTIFS — duo typographique ===== */
.project-detail[data-project="typographie"] .detail-gallery{
  grid-template-columns:repeat(2,minmax(0,360px));
  justify-content:center;
}
.project-detail[data-project="typographie"] .detail-gallery figure{
  grid-column:auto;
  justify-self:center;
}

@media(max-width:760px){
  .project-detail[data-project="typographie"] .detail-gallery{
    grid-template-columns:minmax(0,360px);
  }
}


/* ===== ROMAN-PHOTO — galerie séquentielle compacte ===== */
.project-detail[data-project="supersamy"] .detail-gallery{
  display:block;
  max-width:760px;
  margin:0 auto;
}
.story-carousel{
  position:relative;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 52px;
  grid-template-areas:
    "prev visual next"
    ". footer .";
  align-items:center;
  gap:14px;
}
.story-carousel__figure{
  grid-area:visual;
  width:100%;
  max-width:560px;
  margin:0 auto;
  min-width:0;
}
.story-carousel__img{
  display:block;
  width:100%;
  height:430px;
  object-fit:contain;
  object-position:center;
  border-radius:8px;
  background:#050708;
  cursor:zoom-in;
}
.story-carousel__caption{
  padding:9px 2px 0;
  text-align:center;
  font-size:.62rem;
  line-height:1.35;
}
.story-carousel__btn{
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(5,9,12,.76);
  color:#f3f6f8;
  font-size:1.15rem;
  cursor:pointer;
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.story-carousel__btn:hover{
  border-color:var(--orange);
  background:rgba(255,255,255,.06);
  transform:scale(1.04);
}
.story-carousel__btn--prev{grid-area:prev;justify-self:end}
.story-carousel__btn--next{grid-area:next;justify-self:start}
.story-carousel__footer{
  grid-area:footer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-top:4px;
}
.story-carousel__count{
  font-size:.72rem;
  letter-spacing:.08em;
  color:#c9d0d5;
}
.story-carousel__dots{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.story-carousel__dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.24);
  cursor:pointer;
}
.story-carousel__dots button.is-active{
  background:var(--orange);
  transform:scale(1.2);
}

@media(max-width:760px){
  .story-carousel{
    grid-template-columns:42px minmax(0,1fr) 42px;
    gap:8px;
  }
  .story-carousel__img{
    height:400px;
  }
  .story-carousel__btn{
    width:38px;
    height:38px;
  }
}


/* ===== ROMAN-PHOTO — navigation directement dans le zoom ===== */
.image-lightbox__nav{
  position:fixed;
  top:50%;
  z-index:2002;
  width:52px;
  height:52px;
  margin-top:-26px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(5,9,12,.72);
  color:#fff;
  font-size:1.35rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.image-lightbox__nav[hidden]{display:none}
.image-lightbox__nav:hover{
  border-color:var(--orange);
  background:rgba(255,255,255,.08);
  transform:scale(1.06);
}
.image-lightbox__nav--prev{left:24px}
.image-lightbox__nav--next{right:24px}
.image-lightbox__count{
  position:fixed;
  left:50%;
  bottom:22px;
  z-index:2002;
  transform:translateX(-50%);
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(5,9,12,.68);
  color:#e8edf0;
  font-size:.72rem;
  letter-spacing:.08em;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.image-lightbox__count[hidden]{display:none}

@media(max-width:760px){
  .image-lightbox__nav{
    width:44px;
    height:44px;
    margin-top:-22px;
  }
  .image-lightbox__nav--prev{left:10px}
  .image-lightbox__nav--next{right:10px}
  .image-lightbox__count{bottom:14px}
}


/* ===== THE DEVIL IS INSIDE — affiche + 3 déclinaisons ===== */
.project-detail[data-project="devil"] .detail-gallery{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:center;
}
.project-detail[data-project="devil"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}
.project-detail[data-project="devil"] .detail-project-action{
  flex-wrap:wrap;
  gap:12px;
}

@media(max-width:1180px){
  .project-detail[data-project="devil"] .detail-gallery{
    grid-template-columns:repeat(2,minmax(0,360px));
  }
  .project-detail[data-project="devil"] .detail-gallery figure:nth-child(1){
    grid-column:1 / -1;
  }
}
@media(max-width:760px){
  .project-detail[data-project="devil"] .detail-gallery{
    grid-template-columns:minmax(0,360px);
  }
  .project-detail[data-project="devil"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== HONEY — packaging + 3 logos ===== */
.project-detail[data-project="honey"] .detail-gallery{
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:center;
}
.project-detail[data-project="honey"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}
.project-detail[data-project="honey"] .detail-project-action{
  justify-content:center;
}

@media(max-width:1180px){
  .project-detail[data-project="honey"] .detail-gallery{
    grid-template-columns:repeat(2,minmax(0,360px));
  }
  .project-detail[data-project="honey"] .detail-gallery figure:nth-child(1){
    grid-column:1 / -1;
  }
}
@media(max-width:760px){
  .project-detail[data-project="honey"] .detail-gallery{
    grid-template-columns:minmax(0,360px);
  }
  .project-detail[data-project="honey"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== HONEY — centrage Logo 1 & Logo 2 ===== */
.project-detail[data-project="honey"] .detail-gallery figure:nth-child(2),
.project-detail[data-project="honey"] .detail-gallery figure:nth-child(3){
  justify-self:center;
  text-align:center;
}

.project-detail[data-project="honey"] .detail-gallery figure:nth-child(2) img,
.project-detail[data-project="honey"] .detail-gallery figure:nth-child(3) img{
  display:block;
  margin-left:auto;
  margin-right:auto;
  object-position:center center;
}


/* ===== HONEY — position spécifique dans le zoom ===== */
.image-lightbox.is-honey-logo1,
.image-lightbox.is-honey-logo2{
  place-items:center;
}

.image-lightbox.is-open.is-honey-logo1 .image-lightbox__img{
  max-width:min(86vw,760px);
  max-height:76vh;
  justify-self:center;
  align-self:center;
  transform:translate3d(0,0,0) scale(1);
  transform-origin:center center;
  margin:auto;
}

.image-lightbox.is-open.is-honey-logo2 .image-lightbox__img{
  max-width:min(88vw,820px);
  max-height:78vh;
  justify-self:center;
  align-self:center;
  transform:translate3d(3.5vw,0,0) scale(1.01);
  transform-origin:center center;
  margin:auto;
}

@media(max-width:760px){
  .image-lightbox.is-open.is-honey-logo1 .image-lightbox__img{
    max-width:92vw;
    max-height:70vh;
    justify-self:center;
    align-self:center;
    transform:translate3d(0,0,0) scale(1);
  }
  .image-lightbox.is-open.is-honey-logo2 .image-lightbox__img{
    max-width:92vw;
    max-height:72vh;
    justify-self:center;
    align-self:center;
    transform:translate3d(4vw,0,0) scale(1.01);
  }
}


/* ===== STUDENT ART EXHIBITION — affiche unique ===== */
.project-detail[data-project="studentart"] .detail-gallery figure:nth-child(1){
  grid-column:1 / -1;
  justify-self:center;
}
.project-detail[data-project="studentart"] .detail-gallery figure:nth-child(1) figcaption{
  text-align:center;
}

@media(max-width:760px){
  .project-detail[data-project="studentart"] .detail-gallery figure:nth-child(1){
    grid-column:1;
  }
}


/* ===== NEOMETRIES — deux panneaux ===== */
.project-detail[data-project="neometries"] .detail-gallery{
  grid-template-columns:repeat(2,minmax(0,360px));
  justify-content:center;
}
.project-detail[data-project="neometries"] .detail-gallery figure,
.project-detail[data-project="neometries"] .detail-gallery figure:first-child{
  grid-column:auto;
  justify-self:center;
}

@media(max-width:760px){
  .project-detail[data-project="neometries"] .detail-gallery{
    grid-template-columns:minmax(0,360px);
  }
}

/* ===== À PROPOS — VIDÉO DE FONDO COMPLETO ===== */

/* El vídeo ocupa toda la sección, excepto la barra lateral 04 */
.about-video-main {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--sidebar);
  width: auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #05090c;
  z-index: 0;
  display: block;
}

/* Ocultar el fondo estático anterior */
.about-video-main::before {
  content: none;
}

/* Vídeo sin deformación */
.about-video-main video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Oscurecimiento suave para leer los textos */
.about-video-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 12, 0.55);
  pointer-events: none;
  z-index: 1;
}

/* Mantener la distribución original de las columnas */
.about-copy {
  grid-column: 2;
  position: relative;
  z-index: 2;
}

.about-side {
  grid-column: 3;
}

/* Adaptación a tabletas */
@media (max-width: 1100px) {
  .about-copy {
    grid-column: 1;
  }

  .about-side {
    grid-column: 1 / -1;
  }
}

/* Adaptación a móviles */
@media (max-width: 760px) {
  .about-video-main {
    left: 0;
  }

  .about-copy,
  .about-side {
    grid-column: 1;
  }
}

/* ==========================================
   04 — À PROPOS
   Colores rojos y columna derecha más estrecha
   ========================================== */

/* Reducir únicamente el ancho de la columna derecha */
@media (min-width: 1101px) {
  .about {
    grid-template-columns:
      minmax(360px, 1.1fr)
      minmax(360px, .9fr)
      290px;
  }
}

/* Título QUI SUIS-JE ? */

/* MES OUTILS y MES CENTRES D'INTÉRÊT */

/* Punto de À PROPOS. */

/* Borde de EN SAVOIR PLUS */
.about .about-more summary {
  border-color: var(--about-red);
}

/* Bordes de todas las tarjetas de herramientas */
.about .about-side .tool-pill {
  border-color: var(--about-red);
}

/* Iniciales de Blender */

/* ==========================================
   04 — À PROPOS
   Posición del texto y ajustes tipográficos
   ========================================== */

/* Recolocar el bloque central en la zona superior */
@media (min-width: 1101px) {
  .about-copy {
    align-self: start;
    padding-top: 85px;
    padding-bottom: 45px;
  }
}

/* QUI SUIS-JE ? */

/* MES OUTILS y MES CENTRES D'INTÉRÊT */
.about .about-side > .eyebrow {
  font-size: 0.735rem;
}

/* OUTILS PRINCIPAUX y EN APPRENTISSAGE */
.about .tool-group-title {
  font-size: 0.6405rem;
}

/* Photoshop, Illustrator, InDesign,
   DaVinci Resolve y Blender */
.about .tool-pill small {
  font-size: 0.609rem;
}

/* Conservar las dimensiones de la columna derecha */
.about-side {
  align-self: stretch;
}

/* ==========================================
   04 — À PROPOS · Ajustes finales
   ========================================== */

@media (min-width: 1101px) {
  /* Primera columna un 10 % más estrecha */
  .about {
    grid-template-columns:
      minmax(320px, .99fr)
      minmax(360px, 1.01fr)
      290px;
  }
}

/* Subir un 15 % el bloque de presentación,
   sin alterar su animación de entrada */
.about-copy {
  translate: 0 -15%;
}

/* Recuadros adaptados a la longitud del texto */
.about .tool-pill {
  width: max-content;
  max-width: 100%;
  padding: 7px 12px;
}

/* Títulos secundarios en gris */
.about .tool-group-title {
  color: #b9bec3;
}

/* Botón En savoir plus */
.about-more-trigger {
  margin-top: 20px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--about-red, #d92d32);
  border-radius: 999px;
  background: rgba(5, 9, 12, .35);
  color: #fff;
  font: inherit;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.about-more-trigger:hover {
  background: rgba(217, 45, 50, .18);
}

/* Desplegable sobre las dos primeras columnas */
.about-expanded {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--sidebar);
  right: 290px;
  z-index: 6;
  padding: 45px 55px;
  overflow: auto;
  background: rgba(5, 9, 12, .96);
  border-right: 1px solid rgba(255,255,255,.16);
}

.about-expanded[hidden] {
  display: none;
}

.about-expanded__inner {
  max-width: 850px;
  margin: 0 auto;
}

.about-expanded h3 {
  margin-bottom: 30px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.about-expanded h3 span {
  color: var(--about-red, #d92d32);
}

.about-expanded__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 35px;
}

.about-expanded__sections h4 {
  margin-bottom: 9px;
  color: var(--about-red, #d92d32);
  font-size: .85rem;
}

.about-expanded__sections p {
  color: #d2d8dc;
  font-size: .9rem;
  line-height: 1.65;
}

.about-expanded__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(5,9,12,.7);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* La columna Mes outils sigue visible */
.about-side {
  position: relative;
  z-index: 2;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .about-expanded {
    bottom: auto;
    height: 620px;
    right: 0;
  }
}

@media (max-width: 760px) {
  .about-copy {
    translate: none;
  }

  .about-expanded {
    position: relative;
    grid-column: 1;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    padding: 35px 22px;
  }

  .about-expanded__sections {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   04 — À PROPOS
   AJUSTES DE VIDEO, HERRAMIENTAS Y DESPLEGABLE
   ========================================== */

:root {
  --about-red: #d92d32;
  --about-side-width: 232px;
}

/* ==========================================
   ESTRUCTURA GENERAL
   ========================================== */

.about {
  position: relative;
  overflow: hidden;
}

@media (min-width: 1101px) {
  .about {
    grid-template-columns:
      minmax(320px, .99fr)
      minmax(360px, 1.01fr)
      var(--about-side-width);
  }
}

/* ==========================================
   VIDEO DE FONDO
   ========================================== */

.about .about-video-main {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--sidebar);

  width: auto;
  height: auto;
  min-height: 0;

  display: block;
  overflow: hidden;

  background: #05090c;
  z-index: 0;
}

/* Eliminar el fondo estático superpuesto */
.about .about-video-main::before {
  content: none;
}

/* Conservar los colores y detalles del MP4 */
.about .about-video-main video {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 1;
  filter: none;
  mix-blend-mode: normal;

  -webkit-mask-image: none;
  mask-image: none;
}

/*
  Antes: capa negra al 55 %.
  Ahora: capa ligera al 10 %.
  Mejora la visibilidad del personaje
  y de los elementos animados.
*/
.about .about-video-main::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(5, 9, 12, 0.10);

  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   BLOQUE QUI SUIS-JE / À PROPOS
   ========================================== */

.about .about-copy {
  grid-column: 2;
  z-index: 2;
}

@media (min-width: 1101px) {
  .about .about-copy {
    align-self: start;
    padding-top: 85px;
    padding-bottom: 45px;
    translate: 0 -15%;
  }
}

.about .about-kicker {
  color: var(--about-red);
  font-size: 1.1025rem;
  font-weight: 800;
}

.about .about-copy h2 span {
  color: var(--about-red);
}

/* ==========================================
   BOTÓN EN SAVOIR PLUS
   ========================================== */

.about .about-more-trigger {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  margin-top: 20px;
  padding: 12px 22px;

  border: 1px solid var(--about-red);
  border-radius: 999px;

  background: rgba(5, 9, 12, .35);
  color: #fff;

  font: inherit;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;

  cursor: pointer;
}

.about .about-more-trigger:hover {
  background: rgba(217, 45, 50, .18);
}

/* ==========================================
   COLUMNA MES OUTILS
   ========================================== */

.about .about-side {
  position: relative;
  grid-column: 3;

  min-width: 0;
  padding: 82px 18px;

  align-self: stretch;
  z-index: 2;
}

/* Títulos principales rojos */

.about .about-side > .eyebrow {
  color: var(--about-red);
  font-size: .84525rem;
  font-weight: 800;
}


/*
  Outils principaux / En apprentissage

  Gris anterior: #b9bec3
  Gris nuevo:    #6f7275

  Aproximadamente 40 % más oscuro
  en sus componentes RGB.
*/
.about .tool-group-title {
  color: #6f7275;

  font-size: .6405rem;
  font-weight: 800;

  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 0 5px rgba(255, 255, 255, .12);
}

/* ==========================================
   RECUADROS DE HERRAMIENTAS
   ========================================== */

/*
  El ancho lo determina el contenido más largo:
  DaVinci Resolve.

  Los cinco recuadros toman el mismo ancho.
*/
.about .tool-list {

  width: max-content;
}

/* Mismo tamaño en las cinco herramientas */
.about .tool-pill {
  min-width: 0;
  grid-template-columns: 38px max-content;
  gap: 9px;

  border: 1px solid var(--about-red);

  background: rgba(5, 9, 12, .22);
  font-weight: 900;
}

/* Textos interiores */
.about .tool-pill small {
  min-width: 0;

  color: #aeb8bf;
  font-size: .609rem;
  font-weight: 500;
  line-height: 1.25;
}

/* Mantener los colores de las iniciales */

/* ==========================================
   DESPLEGABLE EN SAVOIR PLUS
   ========================================== */

/*
  El panel cubre las dos primeras columnas.
  Termina exactamente antes de Mes outils.
*/
.about .about-expanded {
  position: absolute;

  top: 0;
  bottom: 0;
  left: var(--sidebar);
  right: var(--about-side-width);

  z-index: 6;

  padding: 45px 55px;

  overflow-x: hidden;
  overflow-y: auto;

  background: rgba(5, 9, 12, .96);
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.about .about-expanded[hidden] {
  display: none;
}

.about .about-expanded__inner {
  max-width: 850px;
  margin: 0 auto;
}

.about .about-expanded h3 {
  margin-bottom: 30px;

  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;

  letter-spacing: -.05em;
  text-transform: uppercase;
}

.about .about-expanded h3 span {
  color: var(--about-red);
}

.about .about-expanded__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 26px 35px;
}

.about .about-expanded__sections h4 {
  margin-bottom: 9px;

  color: var(--about-red);
  font-size: .85rem;
  font-weight: 800;
}

.about .about-expanded__sections p {
  color: #d2d8dc;
  font-size: .9rem;
  line-height: 1.65;
}

.about .about-expanded__close {
  position: absolute;
  top: 20px;
  right: 22px;

  width: 40px;
  height: 40px;

  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;

  background: rgba(5, 9, 12, .7);
  color: #fff;

  font-size: 1.5rem;
  cursor: pointer;
}

/* Accesibilidad */
.about .about-more-trigger:focus-visible,
.about .about-expanded__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (min-width: 761px) and (max-width: 1100px) {

  .about .about-copy {
    grid-column: 1;
  }

  .about .about-side {
    grid-column: 1 / -1;
    grid-row: 3;

    padding: 36px 28px;
  }

  .about .about-expanded {
    position: relative;

    top: auto;
    bottom: auto;
    left: auto;
    right: auto;

    grid-column: 1 / -1;
    grid-row: 2;

    padding: 35px;
    overflow: visible;
  }

}

/* ==========================================
   MÓVIL
   ========================================== */

@media (max-width: 760px) {

  .about .about-side {
    padding: 34px 22px;
  }

  .about .about-expanded {

    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 35px 22px;
  }

  .about .about-expanded h3 {
    padding-right: 30px;
  }
}
/* ==========================================
   04 — À PROPOS · TEXTOS EN BLANCO
   ========================================== */

/* Lista de Mes centres d'intérêt */
.about .about-side ul,
.about .about-side ul li {
  color: #ffffff;
}

/* Nombres de las herramientas:
   Photoshop, Illustrator, InDesign,
   DaVinci Resolve y Blender */

/* En apprentissage y Outils principaux */
.about .tool-group-title {
  color: #ffffff;
}

/* Párrafo de presentación de Cristian */
.about .about-copy p:not(.eyebrow) {
  color: #ffffff;
}

/* Mantener los colores originales de las iniciales */
.about .tool-pill--ps {
  color: #63c6ff;
}

.about .tool-pill--ai {
  color: #ff9d42;
}

.about .tool-pill--id {
  color: #ff6c9a;
}

.about .tool-pill--dr {
  color: #f2f2f2;
}

.about .tool-pill--bl {
  color: #e98a36;
}


/* 04 — À PROPOS · Sombreado aumentado un 30 % */

.about .about-copy h2 {
  text-shadow:
    0 1px 2.6px rgba(0, 0, 0, .95),
    0 0 6.5px rgba(255, 255, 255, .156);
}

/* ==========================================
   04 — À PROPOS · AJUSTES TIPOGRÁFICOS
   ========================================== */

/* Photoshop, Illustrator, InDesign,
   DaVinci Resolve y Blender: +10 % */
.about .tool-pill small {
  font-size: 0.6699rem;
}

/* En apprentissage: +10 % */
.about .tool-group-title--learning {
  font-size: 0.70455rem;
}

/* Qui suis-je ?: otro -10 % */
.about .about-kicker {
  font-size: 0.893025rem;
}

/* 04 — À PROPOS · Reducir separación un 30 % */

.about .tool-pill {
  column-gap: 2.3px; /* Antes: 9px */
}


/* ==========================================
   CURSOR DORADO — COMO EN INDEX.HTML
   ========================================== */

@media (hover: hover) and (pointer: fine) {

  html,
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M3 2L22 13L14.5 15.2L11.2 23.5L3 2Z' fill='%23FFD54A' stroke='%2305090c' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto;
  }

  a,
  button,
  .project-card,
  .tool-pill,
  .filters button,
  .carousel-btn,
  .detail-gallery img {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 2L25 14L16.5 16.5L13 26L4 2Z' fill='%23FFD54A' stroke='%2305090c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer;
  }
}

/* Partículas luminosas del cursor */
.cursor-spark {
  position: fixed;
  left: 0;
  top: 0;

  width: 5px;
  height: 5px;
  border-radius: 50%;

  pointer-events: none;
  z-index: 9999;

  background: #FFF4C2;

  box-shadow:
    0 0 5px rgba(255,244,194,.98),
    0 0 10px rgba(255,213,74,.58),
    0 0 16px rgba(255,244,194,.28);

  transform: translate(-50%, -50%);

  animation: cursorSparkFade .69s ease-out forwards;

  will-change: transform, opacity;
}

@keyframes cursorSparkFade {
  0% {
    opacity: .95;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(
      calc(-50% + var(--spark-x)),
      calc(-50% + var(--spark-y))
    ) scale(.15);
  }
}

@media (hover: none),
       (prefers-reduced-motion: reduce) {
  .cursor-spark {
    display: none;
  }
}


/* ==========================================
   BOTONES — ILUMINACIÓN AL PASAR EL CURSOR
   ========================================== */

/* Botones interactivos del portfolio */
.about .about-more-trigger,
.about .about-expanded__close,
.filters button,
.carousel-btn,
.outline-btn,
.discover span {
  transition:
    box-shadow .25s ease,
    border-color .25s ease,
    background-color .25s ease,
    color .25s ease,
    transform .25s ease;
}

/* Resplandor blanco como en index.html */
.about .about-more-trigger:hover,
.about .about-expanded__close:hover,
.filters button:hover,
.carousel-btn:hover,
.outline-btn:hover,
.discover:hover span {
  box-shadow:
    0 0 10px rgba(255,255,255,.45),
    0 0 32px rgba(255,255,255,.25),
    0 0 64px rgba(255,255,255,.15);
}

/* Botón de À propos: conservar el borde rojo */
.about .about-more-trigger:hover {
  border-color: var(--about-red, #d92d32);
  background: rgba(217,45,50,.18);
}

/* Recuadros rojos de Mes outils */
.about .tool-pill {
  transition:
    box-shadow .25s ease,
    background-color .25s ease,
    border-color .25s ease;
}

.about .tool-pill:hover {
  background: rgba(217,45,50,.10);

  box-shadow:
    0 0 10px rgba(217,45,50,.35),
    0 0 25px rgba(217,45,50,.20),
    0 0 45px rgba(217,45,50,.10);
}

/* Mantener los colores actuales de Ps, Ai, Id, DR y Bl */

/* Desactivar el halo en dispositivos táctiles */
@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* Respetar las preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

/* ==========================================
   02 — PROJETS
   POSICIÓN, TIPOGRAFÍA Y COLOR AZUL
   ========================================== */

/* Bajar un 15 % solamente el bloque
   Selected works + Projets. */
.work .section-head > div:first-child {
  translate: 0 15%;
}

/* Selected works:
   mismo estilo que los subtítulos
   de las demás secciones */
.work .section-head .eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .2em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #63b9ef;
}

/* Punto de Projets. en azul */
.work .section-head h2 span {
  color: #63b9ef;
}




/* ==========================================
   04 — À PROPOS · OUTILS COLORÉS
   ========================================== */

/* Los cinco recuadros con el mismo tamaño */
.about .tool-list {
  width: 175px;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.about .tool-pill {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;

  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 6.3px;
  align-items: center;

  padding: 7px 10px;

  border: 1px solid var(--tool-color);
  border-radius: 9px;

  background: var(--tool-background);
  color: var(--tool-color);

  transform: translateY(0);
  box-shadow: 0 0 0 transparent;

  transition:
    transform 350ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 350ms ease,
    border-color 350ms ease,
    background-color 350ms ease;
}

/* Nombres de herramientas siempre blancos */
.about .tool-pill small {
  color: #ffffff;
}

/* Photoshop */
.about .tool-pill--ps {
  --tool-color: #63c6ff;
  --tool-background: #0b2032;
  --tool-glow: rgba(99, 198, 255, .55);
}

/* Illustrator */
.about .tool-pill--ai {
  --tool-color: #ff9d42;
  --tool-background: #302013;
  --tool-glow: rgba(255, 157, 66, .55);
}

/* InDesign */
.about .tool-pill--id {
  --tool-color: #ff6c9a;
  --tool-background: #301522;
  --tool-glow: rgba(255, 108, 154, .55);
}

/* DaVinci Resolve */
.about .tool-pill--dr {
  --tool-color: #f2f2f2;
  --tool-background: #20252d;
  --tool-glow: rgba(242, 242, 242, .42);
}

/* Blender */
.about .tool-pill--bl {
  --tool-color: #e98a36;
  --tool-background: #302016;
  --tool-glow: rgba(233, 138, 54, .55);
}

/* Iluminación y movimiento al pasar el cursor */
@media (hover: hover) {
  .about .tool-pill:hover {
    transform: translateY(-3px);

    border-color: var(--tool-color);

    background: color-mix(
      in srgb,
      var(--tool-background) 82%,
      var(--tool-color) 18%
    );

    box-shadow:
      0 0 8px var(--tool-glow),
      0 0 20px var(--tool-glow),
      0 0 34px
        color-mix(in srgb, var(--tool-glow) 45%, transparent);
  }
}

/* Sin movimiento para quien lo tenga desactivado */
@media (prefers-reduced-motion: reduce) {
  .about .tool-pill {
    transition: none;
    transform: none;
  }
}

/* 04 — À PROPOS · Eliminar bordes rojos */

.about .about-side .tool-pill {
  border: 1px solid var(--tool-color);
}

.about .about-side .tool-pill:hover {
  border-color: var(--tool-color);
}

/* ==========================================
   04 — À PROPOS · CURSOR DORADO
   BOTÓN EN SAVOIR PLUS
   ========================================== */

.about .about-more-trigger,
.about .about-more-trigger:hover,
.about .about-more-trigger:active {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 2L25 14L16.5 16.5L13 26L4 2Z' fill='%23FFD54A' stroke='%2305090c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer;
}

/* ==========================================
   02 — PROJETS
   CARRUSEL FOTOGRÁFICO 3D PERMANENTE
   ========================================== */

/* Profundidad del carrusel */
.project-carousel {
  perspective: 1400px;
}

/* Espacio para permitir la ampliación */
.project-track {
  padding: 115px 14px 120px;
  align-items: center;
  perspective: 1400px;
  perspective-origin: center center;
}

/* Movimiento fluido de las tarjetas */
.project-card {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;

  transition:
    opacity .45s ease,
    transform .65s cubic-bezier(.22, 1, .36, 1),
    filter .45s ease;
}

/* Perspectiva permanente en tarjetas visibles */
.project-card.is-visible {
  transform: rotateY(12deg) scale(.94);
}

/* Inclinaciones alternadas */
.project-card.is-visible:nth-child(5n + 1),
.project-card.is-visible:nth-child(5n + 2) {
  transform: rotateY(16deg) scale(.94);
}

.project-card.is-visible:nth-child(5n + 3) {
  transform: rotateY(0deg) scale(1);
}

.project-card.is-visible:nth-child(5n + 4),
.project-card.is-visible:nth-child(5n + 5) {
  transform: rotateY(-16deg) scale(.94);
}

/* Efecto al pasar el cursor */
@media (hover: hover) {

  .project-card.is-visible:hover {
    z-index: 20;

    transform:
      rotateY(0deg)
      scale(1.5);

    filter: brightness(1.12);

    transition:
      transform .65s cubic-bezier(.22, 1, .36, 1),
      filter .45s ease;
  }

  /* Evitar el zoom anterior dentro del marco */
  .project-card:hover .project-image > img {
    transform: none;
  }
}

/* Profundidad visual suave */
.project-image {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: box-shadow .45s ease;
}

.project-card.is-visible:hover .project-image {
  box-shadow: 0 30px 65px rgba(0, 0, 0, .65);
}

/* En dispositivos táctiles mantenemos
   las tarjetas estables y utilizables */
@media (hover: none) {
  .project-card.is-visible {
    transform: none;
  }
}

/* Reducir movimiento por accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card.is-visible,
  .project-card.is-visible:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================
   05 — CONTACT · AJUSTES DE TÍTULOS
   ========================================== */

/* Disponible pour collaborer:
   50 % más grande y 30 % más arriba */
.contact .contact-copy > .eyebrow {
  font-size: 1.05rem;
  transform: translateY(-30%);
}

/* Punto lila de Travaillons ensemble. */
.contact .contact-copy h2 span {
  color: #b58cff;
}

/* ==========================================
   03 — COLLABORATIONS · AJUSTES DE TÍTULOS
   ========================================== */

/* Expériences professionnelles:
   verde, 50 % más grande y 30 % más arriba */
.collaborations .collaborations-head .eyebrow {
  font-size: 1.05rem;
  transform: translateY(-30%);
}

/* Punto final del título principal en verde */
.collaborations .collaborations-head h2 span {
  color: #4caf7d;
}

/* ==========================================
   04 — À PROPOS · AJUSTES DE TÍTULOS
   ========================================== */

/* Qui suis-je ?:
   rojo, 50 % más grande y 30 % más arriba */
.about .about-copy .about-kicker {
  font-size: 1.3395rem;
  transform: translateY(-30%);
}

/* Punto final de À propos. en rojo */
.about .about-copy h2 span {
  color: #d92d32;
}

/* 04 — À PROPOS · Bajar bloque completo un 20 % */

@media (min-width: 761px) {
  .about .about-copy {
    translate: 1% 0.5%;
  }
}

/* ==========================================
   03, 04 Y 05 — TIPOGRAFÍA SIN NEGRITA
   ========================================== */

.collaborations .collaborations-head .eyebrow,
.about .about-copy .about-kicker,
.contact .contact-copy > .eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .2em;
  line-height: 1.15;
  text-transform: uppercase;
  transform: translateY(-30%);
}

/* 03 — Collaborations: verde */
.collaborations .collaborations-head .eyebrow {
  color: #4caf7d;
}

/* 04 — À propos: rojo */
.about .about-copy .about-kicker {
  color: #d92d32;
}

/* 05 — Contact: lila */
.contact .contact-copy > .eyebrow {
  color: #b58cff;
}

/* ==========================================
   02 — PROJETS · FONDO DE VÍDEO
   ========================================== */

.projects {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* ==========================================
   02 — PROJETS · VÍDEO DE FONDO CORREGIDO
   ========================================== */

/* Sección real: .work */
.work {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #05090c;
}


/* Textos, filtros y carrusel sobre el vídeo */
.work > .section-content {
  position: relative;
  z-index: 2;
}

/* Barra lateral 02 por delante */
.work > .chapter {
  z-index: 10;
}




/* ==========================================
   02 — PROJETS
   BORDES AZULES + CHISPAS AZULES
   ========================================== */

/* Marco normal de las portadas */
.work .project-image {
  outline: 1px solid transparent;
  outline-offset: 0;

  transition:
    outline-color .45s ease,
    box-shadow .45s ease;
}

/* Proyecto seleccionado al hacer clic */
.work .project-card.is-selected .project-image,
.work .project-card.is-visible.is-selected .project-image,
.work .project-card:focus-visible .project-image {
  outline-color: #63b9ef;

  box-shadow:
    0 0 0 2px rgba(99, 185, 239, .95),
    0 0 10px rgba(99, 185, 239, .65),
    0 0 25px rgba(99, 185, 239, .38),
    0 0 42px rgba(99, 185, 239, .20),
    0 18px 40px rgba(0, 0, 0, .45);
}

/* Marco azul iluminado al ampliar la portada */
@media (hover: hover) {

  .work .project-card.is-visible:hover .project-image,
  .work .project-card.is-visible.is-selected:hover .project-image {
    outline-color: #63b9ef;

    box-shadow:
      0 0 0 1px rgba(99, 185, 239, .95),
      0 0 8px rgba(99, 185, 239, .75),
      0 0 18px rgba(99, 185, 239, .55),
      0 0 35px rgba(99, 185, 239, .32),
      0 0 55px rgba(99, 185, 239, .16),
      0 25px 65px rgba(0, 0, 0, .55);
  }

}

/* ==========================================
   CHISPAS AZULES ALREDEDOR DEL PROYECTO
   ========================================== */

/* Partículas luminosas */
.work .project-star {
  position: absolute;
  display: block;

  width: 3px;
  height: 3px;

  border-radius: 50%;
  background: #b9ecff;

  box-shadow:
    0 0 3px rgba(220, 247, 255, .95),
    0 0 7px rgba(99, 185, 239, .85),
    0 0 14px rgba(99, 185, 239, .45);

  pointer-events: none;
  z-index: 30;

  animation:
    projectStarFloat var(--star-duration, .8s)
    ease-out forwards;
}

/* Algunas partículas con forma de estrella */
.work .project-star::before,
.work .project-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  background: rgba(185, 236, 255, .95);

  box-shadow:
    0 0 6px rgba(99, 185, 239, .65);
}

/* Destello vertical */
.work .project-star::before {
  width: 1px;
  height: 9px;
}

/* Destello horizontal */
.work .project-star::after {
  width: 9px;
  height: 1px;
}

/* ==========================================
   ANIMACIÓN ORIGINAL DE LAS CHISPAS
   ========================================== */

@keyframes projectStarFloat {

  0% {
    opacity: 0;
    transform: translate(0, 0) scale(.4);
  }

  20% {
    opacity: .85;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;

    transform:
      translate(
        var(--star-x),
        var(--star-y)
      )
      scale(.15);
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .work .project-star {
    display: none;
  }
}


/* ==========================================
   05 — CONTACT · DETALLES EN LILA
   ========================================== */

/* Texto: Réponse en général sous 24–48h */
.contact .contact-card > p {
  color: #b58cff;
}

/* Botón: Voir le formulaire */
.contact .contact-card .outline-btn {
  border: 1px solid #b58cff;
  color: #ffffff;
  background: rgba(5, 9, 12, .35);

  transition:
    border-color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease,
    color .25s ease,
    transform .25s ease;
}

/* Resplandor lila al pasar el cursor */
.contact .contact-card .outline-btn:hover {
  border-color: #b58cff;
  color: #ffffff;
  background: rgba(181, 140, 255, .12);

  box-shadow:
    0 0 10px rgba(181, 140, 255, .38),
    0 0 25px rgba(181, 140, 255, .20),
    0 0 45px rgba(181, 140, 255, .10);

  transform: translateY(-2px);
}


/* ==========================================
   COLUMNA IZQUIERDA
   COLORES POR SECCIÓN
   ========================================== */

/* 02 — PROJETS · AZUL */
#work .chapter > span {
  color: #63b9ef;
}

/* 03 — COLLABS · VERDE */
#collaborations .chapter > span {
  color: #4caf7d;
}

/* 04 — À PROPOS · ROJO */
#about .chapter > span {
  color: #d92d32;
}

/* 05 — CONTACT · LILA */
#contact .chapter > span {
  color: #b58cff;
}




/* ==========================================
   FOOTER — DD. + 4 ELEMENTOS FLOTANTES
   ========================================== */

footer {
  --footer-fly-start: 90px;
  --footer-fly-end-inset: 360px;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
  overflow: hidden;

  color: #ffffff;
  font-size: .792rem;
}

/* ELIMINAR LA ANTIGUA LÍNEA DE LUZ */
footer::after {
  content: none !important;
  animation: none !important;
}

/* GRUPO IZQUIERDO */
footer .footer-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* LOGOTIPO DD. */
footer .footer-brand-mark {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;

  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;

  text-decoration: none;
  white-space: nowrap;
}

footer .footer-brand-mark span {
  color: #ff6a3d;
}

footer .footer-brand-mark:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,.35);
}

/* ==========================================
   LOS CUATRO ELEMENTOS VIAJAN JUNTOS
   DESDE DD. HASTA PORTFOLIO — 2026
   ========================================== */

footer .footer-elements {
  position: absolute;
  top: 50%;
  left: var(--footer-fly-start);
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 9px;

  width: max-content;
  transform: translateY(-50%);

  pointer-events: none;

  animation: footerElementsTravel
    12s ease-in-out infinite;
}

/* TAMAÑO GENERAL */
footer .footer-element-video {
  display: block;
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  object-fit: cover;
  object-position: center;
  background: transparent;

  transform: scale(1.25);

  animation: footerElementFloat
    2.5s ease-in-out infinite;
}

/* AZUL — IGUALAR TAMAÑO VISUAL */
footer .footer-element-video:nth-child(1) {
  transform: scale(1.50);
  animation-delay: 0s;
}

/* VERDE */
footer .footer-element-video:nth-child(2) {
  animation-delay: -.6s;
}

/* ROJO — 5% MÁS DE SEPARACIÓN CON EL VERDE */
footer .footer-element-video:nth-child(3) {
  margin-left: 2.1px;
  animation-delay: -1.2s;
}

/* LILA */
footer .footer-element-video:nth-child(4) {
  animation-delay: -1.8s;
}

/* ==========================================
   RECORRIDO FLOTANTE DE IZQUIERDA A DERECHA
   ========================================== */


/* ==========================================
   FOOTER — ELEMENTOS FLOTANTES
   VIAJE DE IDA Y VUELTA
   ========================================== */

@keyframes footerElementsTravel {

  /* INICIO JUNTO A DD. */
  0%, 9% {
    left: var(--footer-fly-start);
    opacity: 1;
    transform: translateY(-50%);
  }

  /* VIAJE HACIA PORTFOLIO */
  23% {
    transform: translateY(calc(-50% - 8px));
  }

  40% {
    transform: translateY(calc(-50% + 6px));
  }

  55% {
    transform: translateY(calc(-50% - 7px));
  }

  /* LLEGADA A PORTFOLIO */
  67%, 74% {
    left: calc(100% - var(--footer-fly-end-inset));
    opacity: 1;
    transform: translateY(-50%);
  }

  /* REGRESO FLOTANDO */
  82% {
    transform: translateY(calc(-50% - 8px));
  }

  88% {
    transform: translateY(calc(-50% + 6px));
  }

  /* LLEGADA A DD. */
  95%, 100% {
    left: var(--footer-fly-start);
    opacity: 1;
    transform: translateY(-50%);
  }
}


/* CADA ELEMENTO FLOTA DE FORMA INDEPENDIENTE */
@keyframes footerElementFloat {

  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

/* ==========================================
   ILUMINACIÓN DE PORTFOLIO — 2026
   AL LLEGAR LOS ELEMENTOS
   ========================================== */


/* ==========================================
   PORTFOLIO — 2026
   ILUMINACIÓN CON LOS CUATRO COLORES
   ========================================== */

footer > p {
  position: relative;
  z-index: 2;

  font-size: 1.0296rem;
  white-space: nowrap;
  margin: 0;

  /* LOS CUATRO COLORES */
  background-image: linear-gradient(
    90deg,
    #63b9ef 0%,
    #63b9ef 22%,
    #4caf7d 28%,
    #4caf7d 47%,
    #e84350 53%,
    #e84350 72%,
    #b58cff 78%,
    #b58cff 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: #ffffff;

  animation: footerPortfolioGlow
    12s linear infinite;
}

/* ILUMINACIÓN AL LLEGAR LOS SÍMBOLOS */
@keyframes footerPortfolioGlow {

  /* TEXTO BLANCO DURANTE EL VIAJE */
  0%, 56% {
    color: #ffffff;
    text-shadow: none;
  }

  /* EMPIEZAN A LLEGAR LOS ELEMENTOS */
  67% {
    color: transparent;

    text-shadow:
      0 0 8px rgba(99,185,239,.30),
      0 0 14px rgba(76,175,125,.20),
      0 0 20px rgba(232,67,80,.18),
      0 0 26px rgba(181,140,255,.24);
  }

  /* LOS CUATRO COLORES ILUMINADOS */
  74% {
    color: transparent;

    text-shadow:
      0 0 10px rgba(99,185,239,.40),
      0 0 16px rgba(76,175,125,.30),
      0 0 22px rgba(232,67,80,.25),
      0 0 30px rgba(181,140,255,.35);
  }

  /* VUELVE AL BLANCO DURANTE EL REGRESO */
  84%, 100% {
    color: #ffffff;
    text-shadow: none;
  }
}


/* ==========================================
   PANTALLAS MEDIANAS
   ========================================== */

@media (max-width: 1100px) {

  footer {
    --footer-fly-start: 85px;
    --footer-fly-end-inset: 345px;
  }

  footer .footer-elements {
    gap: 7px;
  }

  footer .footer-element-video {
    width: 38px;
    height: 38px;
    transform: scale(1.20);
  }

  footer .footer-element-video:nth-child(1) {
    transform: scale(1.44);
  }

  footer .footer-element-video:nth-child(3) {
    margin-left: 1.9px;
  }
}

/* ==========================================
   MÓVILES
   ========================================== */

@media (max-width: 760px) {

  footer {
    --footer-fly-start: 65px;
    --footer-fly-end-inset: 280px;
    min-height: 76px;
  }

  footer .footer-brand-group {
    gap: 8px;
  }

  footer .footer-brand-mark {
    font-size: 1.35rem;
  }

  footer .footer-elements {
    gap: 4px;
  }

  footer .footer-element-video {
    width: 32px;
    height: 32px;
    transform: scale(1.15);
  }

  footer .footer-element-video:nth-child(1) {
    transform: scale(1.38);
  }

  footer .footer-element-video:nth-child(3) {
    margin-left: 1.6px;
  }

footer > p {
  font-size: .91rem;
}
}

@media (max-width: 390px) {

  footer {
    --footer-fly-start: 54px;
    --footer-fly-end-inset: 245px;
    gap: 10px;
  }

  footer .footer-element-video {
    width: 28px;
    height: 28px;
  }

  footer .footer-element-video:nth-child(3) {
    margin-left: 1.4px;
  }

  footer > p {
    font-size: .845rem;
  }
}

/* ==========================================
   REDUCCIÓN DE MOVIMIENTO
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  footer .footer-elements,
  footer .footer-element-video,
  footer > p {
    animation: none !important;
  }

  footer .footer-elements {
    left: var(--footer-fly-start);
    opacity: 1;
    transform: translateY(-50%);
  }
}




/* ==========================================
   MENÚ SUPERIOR — HOVER POR SECCIÓN
   ========================================== */

/* Transición suave para todos los enlaces */
.site-header .site-nav a {
  transition: color .3s ease, opacity .3s ease;
}

/* 02 — Work: azul */
.site-header .site-nav a[href="#work"]:hover {
  color: #63b9ef;
}

/* 03 — Collaborations: verde */
.site-header .site-nav a[href="#collaborations"]:hover {
  color: #4caf7d;
}

/* 04 — About: rojo */
.site-header .site-nav a[href="#about"]:hover {
  color: #d92d32;
}

/* 05 — Contact: lila */
.site-header .site-nav a[href="#contact"]:hover {
  color: #b58cff;
}













/* ============================================================
   HERO 2026 - Intros DIDESIGNER 01 + 02.
   El vídeo nunca se estira ni se recorta: object-fit: contain.
   ============================================================ */
.hero.hero--intro {
  position: relative;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
  align-items: center;
  column-gap: clamp(18px, 3vw, 64px);
  width: 100%;
  height: 100svh;
  min-height: 580px;
  padding: calc(66px + 24px) clamp(22px, 3.5vw, 72px) 30px calc(var(--sidebar) + clamp(22px, 3vw, 58px));
  background: radial-gradient(circle at 73% 48%,#101a25 0%,#070b10 46%,#05090c 85%);
}
.hero.hero--intro .chapter--hero {z-index: 5;}
.hero.hero--intro .hero-copy {
  position: relative;
  align-self: center;
  z-index: 5;
  min-width: 0;
  transform: none;
}
.hero.hero--intro .hero-copy h1 {
  max-width: 100%;
  font-size: clamp(2.75rem, 5.65vw, 7.2rem);
  line-height: 0.98;
  overflow-wrap: normal;
  letter-spacing: -.075em;
}
.hero.hero--intro .hero-portfolio {font-size: clamp(.7rem,1vw,.96rem);}
.hero.hero--intro .hero-notes {
  position: static;
  transform: none;
  width: auto;
  padding: 0;
  margin: clamp(28px,6vh,72px) 0 0;
  z-index: auto;
  display: block;
  text-align: left;
}
.hero.hero--intro .hero-notes__fields {margin-bottom: 20px;}
.hero.hero--intro .hero-notes__fields p {line-height: 1.7;}
.hero.hero--intro .hero-notes .discover {position: static; margin-top: 12px;}
.hero.hero--intro .hero-video-area {
  position: relative;
  z-index: 4;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}
.hero.hero--intro .hero-video-frame {
  position: relative;
  max-height: calc(100svh - 165px);
  box-shadow: 0 16px 60px rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.13);
  isolation: isolate;
}
.hero.hero--intro .hero-intro-video {
  display: block;
}
.hero.hero--intro .intro-controls {
  z-index: 6;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent,rgba(0,0,0,.85));
}
.hero.hero--intro .intro-part-label,
.hero.hero--intro .hero-video-caption {
  font-size: .63rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #dedede;
}
.hero.hero--intro .hero-video-caption {color: #9ba6af;}
.hero.hero--intro .intro-control {
  appearance: none;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(4,8,12,.83);
  border-radius: 24px;
  padding: 9px 13px;
  font-size: .72rem;
  letter-spacing: .02em;
  transition: border-color .2s,background .2s;
}
.hero.hero--intro .intro-control:hover,
.hero.hero--intro .intro-control:focus-visible {background: #16232d;border-color: #fff;outline-offset: 2px;}
@media (max-width: 1100px) {
  .hero.hero--intro {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
    padding-left: calc(var(--sidebar) + 24px);
    gap: 18px;
  }
  .hero.hero--intro .hero-notes {display: block;}
  .hero.hero--intro .hero-copy h1 {font-size: clamp(2.3rem,5vw,5rem);}
}
@media (max-width: 760px) {
  .hero.hero--intro {
    justify-content: flex-start;
    gap: 28px;
    max-height: none;
    padding: 94px 16px 48px;
    overflow: visible;
  }
  .hero.hero--intro .chapter--hero {display: none;}
  .hero.hero--intro .hero-copy {padding: 0; flex: none;}
  .hero.hero--intro .hero-copy h1 {font-size: clamp(2.7rem,12vw,5.5rem);}
  .hero.hero--intro .hero-role {margin-top: 18px;}
  .hero.hero--intro .hero-notes {margin-top: 18px;display:block;}
  .hero.hero--intro .hero-notes__fields {display: none;}
  .hero.hero--intro .hero-video-area {flex: none;}
  .hero.hero--intro .hero-video-frame {aspect-ratio:16/9;}
  .hero.hero--intro .intro-control {font-size:.68rem;padding:8px 10px;}
  .hero.hero--intro .intro-controls {padding:26px 8px 8px;gap:6px;}
  .hero.hero--intro .intro-part-label {font-size:.54rem;}
}
@media (max-width: 390px) {
  .hero.hero--intro .hero-copy h1 {font-size: 11.5vw;}
  .hero.hero--intro .intro-control span {display:none;}
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero--intro .hero-intro-video {animation:none;}
}

/* ==================================================
   DIDESIGNER — HERO Y RESPONSIVE GLOBAL
   ================================================== */

html {
  scroll-padding-top: 76px;
}

html, body {
  width: 100%;
  max-width: 100%;
}

.hero, .section,
.section-content,
.project-carousel,
.project-track,
.project-detail,
.about-copy,
.about-side,
.contact-copy,
.contact-card {
  min-width: 0;
}

/* HERO */

.hero.hero--intro {
  display: grid;
  grid-template-columns:
    minmax(0, .72fr)
    minmax(0, 1.65fr);
  align-items: start;
  column-gap: clamp(18px, 2vw, 38px);
  height: auto;
  min-height: 100svh;
  max-height: none;
  padding:
    120px clamp(18px, 2vw, 40px) 46px
    calc(var(--sidebar) + 18px);
  overflow: hidden;
}

.hero.hero--intro .hero-copy {
  grid-column: 1;
  align-self: start;
  width: 100%;
  padding: 0;
  margin: 0;
}

.hero.hero--intro .hero-copy h1 {
  font-size: clamp(2.45rem, 4.55vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.hero.hero--intro .hero-portfolio {
  margin-bottom: 16px;
  font-size: clamp(.72rem, .95vw, 1rem);
}

.hero.hero--intro .hero-role {
  margin-top: 24px;
  font-size: clamp(.68rem, .82vw, .84rem);
  line-height: 1.65;
}

.hero.hero--intro .hero-notes {
  display: none !important;
}

.hero.hero--intro .hero-video-area {
  grid-column: 2;
  align-self: start;
  min-width: 0;
  width: 100%;
  max-width: none;
}

.hero.hero--intro .hero-video-frame {
  max-height: min(78svh, 900px);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

.hero.hero--intro .hero-intro-video {
  position: absolute;
  inset: 0;
  object-position: center;
  background: #000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero.hero--intro .hero-intro-video.is-active {
  visibility: visible;
  opacity: 1;
}

/* CONTROLES DE VÍDEO */

.hero.hero--intro .intro-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding: 24px 16px 14px;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(0,0,0,.86)
    );
}

.hero.hero--intro .intro-part-label {
  display: none;
}

.hero.hero--intro .intro-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.hero.hero--intro #introProgress {
  flex: 1;
  min-width: 0;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background:
    linear-gradient(
      to right,
      #63b9ef var(--progress,0%),
      rgba(255,255,255,.35) var(--progress,0%)
    );
}

.hero.hero--intro #introProgress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #63b9ef;
}

.hero.hero--intro #introProgress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #63b9ef;
}

.hero.hero--intro .intro-time {
  white-space: nowrap;
  color: #fff;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}

.hero.hero--intro .intro-controls__buttons {
  gap: 8px;
}

.hero.hero--intro .intro-control {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(5,9,12,.8);
  color: #fff;
  cursor: pointer;
}

.hero.hero--intro .intro-control:hover {
  background: rgba(31,46,59,.95);
  border-color: #fff;
}

.hero.hero--intro .hero-video-caption {
  margin-top: 4px;
  text-align: right;
}

/* PANTALLAS MEDIANAS / PORTÁTILES */

@media (max-width: 1250px) {
  .hero.hero--intro {
    grid-template-columns:
      minmax(0, .85fr)
      minmax(0, 1.5fr);
    gap: 22px;
  }

  .hero.hero--intro .hero-copy h1 {
    font-size: clamp(2.1rem, 4.1vw, 4.7rem);
  }

  .project-detail__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-detail__visuals {
    padding-top: 0;
  }
}

/* TABLETS */

@media (max-width: 1100px) {
  :root {
    --sidebar: 72px;
  }

  .hero.hero--intro {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding:
      108px 30px 65px
      calc(var(--sidebar) + 30px);
  }

  .hero.hero--intro .hero-copy,
  .hero.hero--intro .hero-video-area {
    grid-column: 1;
  }

  .hero.hero--intro .hero-copy h1 {
    font-size: clamp(3rem, 8vw, 6rem);
  }

  .hero.hero--intro .hero-video-area {
    max-width: 100%;
  }

  .section h2 {
    font-size: clamp(2.7rem, 6vw, 5rem);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .filters {
    justify-content: flex-start;
  }

  .collaborations-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 34px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .about .about-copy {
    grid-column: 1;
    padding: 60px 34px 35px;
    translate: none;
  }

  .about .about-side {
    grid-column: 1;
    grid-row: auto;
    padding: 30px 34px 50px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about .about-expanded {
    position: relative;
    grid-column: 1;
    grid-row: auto;
    inset: auto;
    height: auto;
    padding: 35px;
    overflow: visible;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding: 70px 40px 35px;
  }

  .contact-card {
    width: auto;
    max-width: 680px;
    margin: 0 40px 55px;
  }
}

/* MÓVILES */

@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }

  .chapter {
    display: none;
  }

  .site-header {
    left: 0;
    right: 0;
    height: auto;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
  }

  .site-header .brand {
    flex-shrink: 0;
    font-size: 1.4rem;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px 12px;
    min-width: 0;
    font-size: .62rem;
    letter-spacing: .055em;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero,
  .section {
    padding-left: 0;
  }

  .hero.hero--intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    width: 100%;
    min-height: 100svh;
    height: auto;
    padding: 112px 16px 48px;
  }

  .hero.hero--intro .hero-copy {
    width: 100%;
  }

  .hero.hero--intro .hero-copy h1 {
    font-size: clamp(2.65rem, 11.2vw, 5.5rem);
    white-space: nowrap;
  }

  .hero.hero--intro .hero-role {
    margin-top: 17px;
    font-size: .72rem;
  }

  .hero.hero--intro .hero-video-area {
    width: 100%;
  }

  .hero.hero--intro .hero-video-frame {
    max-height: none;
  }

  .hero.hero--intro .intro-controls {
    padding: 20px 9px 8px;
  }

  .hero.hero--intro .intro-controls__buttons {
    gap: 5px;
  }

  .hero.hero--intro .intro-control {
    min-height: 34px;
    padding: 6px 9px;
    font-size: .62rem;
  }

  .hero.hero--intro .intro-time {
    font-size: .61rem;
  }

  /* PROJETS */

  .section-content {
    padding: 52px 16px 45px;
  }

  .section-head {
    gap: 24px;
  }

  .section h2 {
    font-size: clamp(2.6rem, 10vw, 4.4rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .work .section-head > div:first-child {
    translate: none;
  }

  .filters {
    justify-content: flex-start;
    gap: 7px;
  }

  .filters button {
    padding: 10px 12px;
    min-height: 40px;
  }

  .project-carousel {
    grid-template-columns: 34px minmax(0,1fr) 34px;
    gap: 5px;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
  }

  .project-track {
    min-width: 0;
    gap: 12px;
    padding: 26px 4px 35px;
  }

  .project-card {
    flex: 0 0 min(66vw, 270px);
  }

  .project-card.is-visible {
    transform: none;
  }

  .project-detail {
    margin: 16px 0 0;
    padding: 28px 16px;
  }

  .project-detail__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-head h3 {
    font-size: clamp(2rem, 8vw, 3.8rem);
    overflow-wrap: anywhere;
  }

  .detail-gallery,
  .project-detail[data-project="racisme"] .detail-gallery,
  .project-detail[data-project="devil"] .detail-gallery,
  .project-detail[data-project="honey"] .detail-gallery,
  .project-detail[data-project="typographie"] .detail-gallery,
  .project-detail[data-project="neometries"] .detail-gallery {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }

  .detail-gallery figure,
  .detail-gallery figure:first-child {
    max-width: 100%;
    grid-column: 1;
  }

  .detail-gallery img,
  .detail-gallery figure:first-child img {
    width: 100%;
    height: auto;
    max-height: min(72svh, 480px);
    object-fit: contain;
  }

  .story-carousel {
    grid-template-columns: 32px minmax(0,1fr) 32px;
    gap: 5px;
  }

  .story-carousel__img {
    height: min(65svh, 400px);
  }

  .story-carousel__btn {
    width: 32px;
    height: 32px;
  }

  /* COLLABORATIONS */

  .collaborations-content {
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
    padding: 55px 18px;
  }

  .collaborations-intro {
    font-size: .9rem;
    line-height: 1.65;
  }

  .collaborations-placeholder {
    min-width: 0;
    min-height: 260px;
    padding: 28px 22px;
  }

  .collaborations-placeholder strong {
    font-size: clamp(2rem, 9vw, 3.5rem);
    overflow-wrap: anywhere;
  }

  /* À PROPOS */

  .about {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    overflow: hidden;
  }

  .about .about-video-main {
    left: 0;
    width: 100%;
  }

  .about .about-video-main video {
    object-fit: cover;
    object-position: center;
  }

  .about .about-copy {
    grid-column: 1;
    padding: 70px 22px 32px;
    translate: none;
  }

  .about .about-copy p {
    overflow-wrap: break-word;
  }

  .about .about-copy p br {
    display: none;
  }

  .about .about-side {
    grid-column: 1;
    padding: 30px 22px 48px;
  }

  .about .about-expanded {
    position: relative;
    grid-column: 1;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 35px 20px;
    overflow: visible;
  }

  .about .about-expanded__sections {
    grid-template-columns: 1fr;
  }

  .about .about-expanded h3 {
    font-size: clamp(2.3rem, 10vw, 3.5rem);
  }

  .about .tool-list {
    width: min(100%, 220px);
  }

  /* CONTACT */

  .contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 95px 0 45px;
  }

  .contact-copy {
    padding: 30px 22px;
  }

  .contact-copy h2 {
    font-size: clamp(2.9rem, 12vw, 5rem);
  }

  .contact-card {
    width: auto;
    max-width: none;
    margin: 12px 18px 20px;
    padding: 24px 20px;
    overflow-wrap: anywhere;
  }

  .contact-card a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* FOOTER */

  footer {
    margin-left: 0;
    padding: 22px 18px;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* MÓVILES PEQUEÑOS */

@media (max-width: 390px) {
  .site-header {
    padding: 10px 12px;
  }

  .site-nav {
    gap: 7px;
    font-size: .57rem;
  }

  .hero.hero--intro {
    padding-inline: 12px;
  }

  .hero.hero--intro .hero-copy h1 {
    font-size: 11vw;
  }

  .hero.hero--intro .intro-control span:last-child {
    display: none;
  }

  .hero.hero--intro .hero-video-caption {
    font-size: .55rem;
  }

  .section-content {
    padding-inline: 12px;
  }

  .project-card {
    flex-basis: 66vw;
  }
}

/* ACCESIBILIDAD */

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

  .project-card,
  .project-card.is-visible {
    transform: none !important;
  }
}

/* HERO — Vídeo ampliado y reproductor */

@media (min-width: 1101px) {
  .hero.hero--intro {
    grid-template-columns: minmax(0, .52fr) minmax(0, 1.98fr);
    column-gap: clamp(16px, 2vw, 36px);
    padding-right: 18px;
  }

  .hero.hero--intro .hero-copy h1 {
    font-size: clamp(2.2rem, 3.7vw, 5.2rem);
  }

  .hero.hero--intro .hero-video-area {
    width: 100%;
    max-width: none;
  }
}

.hero.hero--intro .hero-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
}

.hero.hero--intro .hero-intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Controles */
.hero.hero--intro .intro-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 28px 16px 14px;
}

.hero.hero--intro .intro-controls__buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.hero.hero--intro .intro-volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero.hero--intro #introVolume {
  width: 90px;
  accent-color: #63b9ef;
  cursor: pointer;
}

.hero.hero--intro .intro-control {
  min-height: 40px;
}

@media (max-width: 760px) {
  .hero.hero--intro .hero-video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hero.hero--intro .intro-controls {
    gap: 8px;
    padding: 20px 8px 8px;
  }

  .hero.hero--intro .intro-controls__buttons {
    gap: 6px;
  }

  .hero.hero--intro #introVolume {
    width: 65px;
  }

  .hero.hero--intro .intro-control {
    padding: 7px 9px;
    min-height: 36px;
  }
}

@media (max-width: 390px) {
  .hero.hero--intro #introVolume {
    width: 48px;
  }
}

/* ==========================================
   02 — PROJETS
   Eliminar fondo naranja
   ========================================== */

#work,
.work,
section.work {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}


/* Eliminar capas decorativas de fondo */
#work::before,
#work::after {
  background: transparent !important;
  background-image: none !important;
}


/* ==========================================
   04 — À PROPOS
   Eliminar fondo blanco
   ========================================== */

#about,
.about,
section.about {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Eliminar capas decorativas de fondo */
#about::before,
#about::after {
  background: transparent !important;
  background-image: none !important;
}
/* PROJETS — VIDEO JUNTO AL TITULO */

.projects-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.projects-title-row h2 {
  margin: 0;
}

.projects-title-video {
  max-width: none;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

/* La unidad em toma como referencia
   el tamaño del título */

.projects-title-row {
  font-size: inherit;
}

.projects-title-video {
  height: 0.5em;
  width: auto;
}
/* PROJETS — SÍMBOLO AZUL */

#work .projects-title-row {
  display: flex;
  align-items: center;
  gap: 0px;
}

#work .projects-title-row h2 {
  margin: 0;
  flex-shrink: 0;
}

#work .projects-title-video {
  display: block;
  width: auto;
  height: 110px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  /* El negro del MP4 se funde con el fondo de la web. */
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  #work .projects-title-row {
    gap: 12px;
  }

  #work .projects-title-video {
    height: 65px;
  }
}
/* À PROPOS — SÍMBOLO ROJO ANIMADO */

.about-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
}

.about-title-row h2 {
  margin: 0;
  flex-shrink: 0;
}

.about-title-video {
  display: block;
  width: 95px;
  height: 95px;
  flex-shrink: 0;
  object-fit: contain;
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (max-width: 768px) {
  .about-title-row {
    gap: 8px;
  }

  .about-title-video {
    width: 55px;
    height: 55px;
  }
}
/* À PROPOS — CORREGIR VISIBILIDAD DEL SÍMBOLO ROJO */

.about .about-copy {
  position: relative;
  z-index: 20;
}

.about .about-title-row {
  position: relative;
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 16px;
}


.about .about-title-video {
  position: relative;
  z-index: 22;
  display: block;
  width: 95px;
  height: 95px;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: normal;

  /* Aumento visual del 10% */
  transform: scale(1.10);
  transform-origin: center;
}

/* CONTACT — SÍMBOLO LILA 3D */

.contact .contact-title-row {
  gap: 16px;
}

.contact .contact-title-row h2 {
  flex-shrink: 0;
}

.contact .contact-title-video {
  width: 95px;
  height: 95px;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ADAPTACIÓN MÓVIL */

@media (max-width: 768px) {
  .contact .contact-title-row {
    gap: 8px;
  }

  .contact .contact-title-row h2 {
    flex-shrink: 1;
    min-width: 0;
  }

  .contact .contact-title-video {
    width: 55px;
    height: 55px;
  }
}
/* COLLABORATIONS — SÍMBOLO VERDE 3D */

.collaborations .collaborations-content {
  position: relative;
  z-index: 20;
}

.collaborations .collaborations-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.collaborations .collaborations-title-row h2 {
  margin: 0;
  flex-shrink: 0;
  min-width: 0;
}

.collaborations .collaborations-title-video {
  display: block;
  width: 95px;
  height: 95px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ADAPTACIÓN MÓVIL */

@media (max-width: 768px) {
  .collaborations .collaborations-title-row {
    gap: 8px;
  }

  .collaborations .collaborations-title-row h2 {
    flex-shrink: 1;
  }

  .collaborations .collaborations-title-video {
    width: 55px;
    height: 55px;
  }
}
/* À PROPOS — ELIMINAR FONDO ACTUAL */

.about {
  background: #05070d !important;
  isolation: isolate;
}

/* Ocultar el vídeo de fondo geométrico */
.about .about-video-main {
  display: none !important;
}

/* Mantener el contenido por encima del fondo */
.about .about-copy,
.about .about-side,
.about .about-expanded {
  position: relative;
  z-index: 2;
}
/* CONTACT — FONDO SIN GALAXIA */

.contact {
  background: #05070d;
}

.contact .ambient-video--contact {
  display: none !important;
}
/* CONTACT — CORREGIR TÍTULO Y SÍMBOLO LILA */

.contact .contact-copy {
  position: relative;
  z-index: 20;
  min-width: 0;
  width: min(100%, 900px);
}

.contact .contact-title-row {
  gap: 18px;
}

.contact .contact-title-row h2 {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.95;
}

.contact .contact-title-video {
  width: clamp(55px, 6vw, 95px);
  height: clamp(55px, 6vw, 95px);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contact .contact-title-row {
    gap: 10px;
  }

  .contact .contact-title-row h2 {
    font-size: clamp(2rem, 7vw, 3.5rem);
  }

  .contact .contact-title-video {
    width: 50px;
    height: 50px;
  }
}
/* CONTACT — PASO 2: CORRECCIÓN AISLADA DE LA MAQUETACIÓN
   La sección tiene dos columnas en escritorio: título a la izquierda,
   tarjeta a la derecha. En móvil mantiene la distribución previa.
   NO cambiar las reglas de otros apartados. */
.contact .contact-copy {
  grid-column: 1;
  grid-row: auto;
  justify-self: stretch;
  align-self: center;
  width: auto;
  max-width: none;
  margin: 0;
  /* Sin 'padding': se respetan los márgenes originales y responsive. */
}

.contact .contact-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 1vw, 16px);
}

.contact .contact-title-row h2 {
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
  font-size: clamp(2.2rem, 4.2vw, 4.75rem);
  line-height: .95;
}

.contact .contact-title-video {
  display: block;
  width: clamp(50px, 5vw, 80px);
  height: clamp(50px, 5vw, 80px);
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .contact .contact-title-row {
    gap: 8px;
  }

  .contact .contact-title-row h2 {
    font-size: clamp(1.7rem, 7vw, 2.7rem);
  }

  .contact .contact-title-video {
    width: clamp(38px, 10vw, 52px);
    height: clamp(38px, 10vw, 52px);
  }
}


/* PASO 3 — CONTACT: símbolo lila junto al punto de ENSEMBLE.
   Se mantiene el layout del paso 2 y no se alteran otras secciones. */
.contact .contact-title-row {
  display: block;
  width: 100%;
  max-width: 100%;
}
.contact .contact-title-row h2 {
  display: block;
}
.contact .contact-copy h2 .contact-title-second-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  white-space: nowrap;
  vertical-align: middle;
}
.contact .contact-copy h2 .contact-title-second-line > span {
  color: #b58cff;
}
.contact .contact-title-second-line > .contact-title-video {
  display: block;
  width: clamp(50px, 5vw, 80px);
  height: clamp(50px, 5vw, 80px);
  flex: 0 0 auto;
  object-fit: contain;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (max-width: 760px) {
  .contact .contact-copy h2 .contact-title-second-line { gap: 3px; }
  .contact .contact-title-second-line > .contact-title-video {
    width: clamp(38px, 10vw, 52px);
    height: clamp(38px, 10vw, 52px);
  }
}
/* COLLABORATIONS — SÍMBOLO VERDE JUNTO A LA DESCRIPCIÓN */

.collaborations .collaborations-intro-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  max-width: 100%;
}

.collaborations .collaborations-intro-row .collaborations-intro {
  flex: 0 1 760px;
  min-width: 0;
}

.collaborations .collaborations-intro-row .collaborations-title-video {
  display: block;
  width: 95px;
  height: 95px;
  flex: 0 0 95px;
  object-fit: contain;
  margin: 0;
}

@media (max-width: 768px) {
  .collaborations .collaborations-intro-row {
    gap: 12px;
  }

  .collaborations .collaborations-intro-row .collaborations-title-video {
    width: 55px;
    height: 55px;
    flex-basis: 55px;
  }
}

/* COLLABORATIONS — POSICIÓN DEL SÍMBOLO VERDE */

.collaborations .collaborations-head {
  position: relative;
  min-width: 0;
}

.collaborations .collaborations-floating-video {
  position: absolute;
left: 450px;
bottom: -35px;

  display: block;
  width: 95px;
  height: 95px;
  object-fit: contain;

  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1100px) {
  .collaborations .collaborations-floating-video {
    position: static;
    width: 65px;
    height: 65px;
    margin-top: 12px;
  }
}
/* APROPOS_FIX_PERSONAJES_Y_DESPLEGABLE_2026 */
/* À PROPOS — RESTAURAR PERSONAJES INDEPENDIENTES SIN EL FONDO GEOMÉTRICO */
#about.about {
  position: relative;
  isolation: isolate;
  background: #05070d !important;
}

#about .about-video-main {
  display: block !important; /* anula el display:none de la antigua corrección */
  position: absolute;
  inset: 0 0 0 var(--sidebar);
  width: auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
  z-index: 1;
  background: transparent !important;
  pointer-events: none;
}

#about .about-video-main::before,
#about .about-video-main::after {
  content: none !important;
  display: none !important;
}

#about .about-video-main video {
  display: block;
  position: absolute;
  inset: auto;
  height: auto;
  max-width: none;
  opacity: 1;
  filter: none;
  object-fit: contain;
  object-position: center;
}

#about .about-video-main .about-character--red {
  left: clamp(0px, 5vw, 105px);
  top: 24%;
  width: min(43%, 560px);
  mix-blend-mode: screen; /* disimula el negro del MP4 */
}


#about .about-video-main .about-character--monkey {
  right: calc(var(--about-side-width, 232px) + 70px);
  top: 60%;
  width: min(34%, 430px);
  aspect-ratio: 16 / 9;
  mix-blend-mode: normal;
}


/* DESPLEGABLE — SUPERPUESTO A LA ZONA IZQUIERDA Y CENTRAL */
@media (min-width: 1101px) {
  #about .about-expanded {
    position: absolute;
    inset: 0 var(--about-side-width, 232px) 0 var(--sidebar);
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: 100%;
    max-height: none;
    overflow-y: auto;
    z-index: 50;
    background: #05090c;
  }
}

#about .about-expanded[hidden] { display: none !important; }

@media (min-width: 761px) and (max-width: 1100px) {
  #about .about-video-main .about-character--red { top: 21%; width: 50%; }
  #about .about-video-main .about-character--monkey { right: 1%; top: 54%; width: 42%; }
  #about .about-expanded {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    z-index: 50;
    width: 100%;
    height: auto;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  #about .about-video-main {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 240px;
    min-height: 0;
  }
  #about .about-video-main .about-character--red {
    top: 0;
    height: 100%;
  }
  #about .about-video-main .about-character--monkey {
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
  }
  #about .about-copy { grid-row: 1; }
  #about .about-expanded {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: auto;
    z-index: 50;
    overflow: visible;
  }
  #about .about-side { grid-row: 4; }
}
  /* DIDISIGNER_VIDEOS_ALFA_2026 */
   #work .projects-title-video,
   #collaborations .collaborations-floating-video,
   #collaborations .collaborations-title-video,
   #about .about-title-video,
   #contact .contact-title-video,
   #about .about-video-main .about-character--red {
     mix-blend-mode: normal !important;
     background: transparent !important;
   }
   /* À PROPOS — POSICIÓN DEL MUÑECO CON GAFAS */

@media (min-width: 1101px) {
  #about .about-video-main .about-character--monkey {
    position: absolute;
    left: 48%;
    right: auto;
    transform: none;
  }
}


/* ==========================================
   04 — À PROPOS
   PERSONAJE ROJO GRANDE
   CAÍDA HACIA EL BORDE INFERIOR
   ========================================== */

/* ESCRITORIO */
#about .about-video-main .about-character--red {
  position: absolute;

  top: auto;
  right: auto;
  bottom: 0;
  left: 2%;

  width: min(52%, 780px);
  height: auto;
  max-width: none;

  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center bottom;

  transform: none;
  transform-origin: left bottom;

  opacity: 1;
  filter: none;
  z-index: 2;
  pointer-events: none;
}

/* TABLET */
@media (min-width: 761px) and (max-width: 1100px) {

  #about .about-video-main .about-character--red {
    top: auto;
    right: auto;
    bottom: 0;
    left: 1%;
    width: 55%;
    height: auto;
  }
}

/* MÓVIL */
@media (max-width: 760px) {

  #about .about-video-main .about-character--red {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;

    width: 50%;
    height: auto;

    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
}

/* EL PERSONAJE CON GAFAS CONSERVA
   SUS REGLAS CSS ACTUALES */


/* ==========================================
   05 — CONTACT · AJUSTES DEFINITIVOS
   Símbolo lila, tarjeta y botón de correo
   ========================================== */

/* SÍMBOLO LILA — 15% MÁS GRANDE QUE AHORA */
#contact .contact-title-video {
  transform: scale(2.1275);
  transform-origin: center;
}

/* TARJETA — BORDE LILA FLUORESCENTE */
#contact .contact-card {
  border: 1px solid #b58cff;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(181, 140, 255, 0.40),
    0 0 30px rgba(181, 140, 255, 0.18);

  transition:
    opacity 0.5s,
    transform 0.5s,
    border-color 0.3s,
    box-shadow 0.3s;
}

/* RESPLANDOR AL PASAR EL CURSOR */
#contact .contact-card:hover {
  border-color: #d2aaff;

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    0 0 15px rgba(181, 140, 255, 0.55),
    0 0 40px rgba(181, 140, 255, 0.25);
}

/* CORREO E INSTAGRAM — TEXTO +15% */
#contact .contact-card > a:not(.outline-btn) {
  font-size: 0.943rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* TEXTO DE RESPUESTA — +15% */
#contact .contact-card > p {
  font-size: 0.828rem;
  line-height: 1.5;
  color: #b58cff;
}

/* BOTÓN ENVOYER UN E-MAIL — +15% */
#contact .contact-card > .contact-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding: 12px 22px;
  max-width: 100%;

  font-size: 0.782rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;

  color: #ffffff;
  background: rgba(181, 140, 255, 0.06);
  border: 1px solid #b58cff;
  border-radius: 999px;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

/* ILUMINACIÓN LILA DEL BOTÓN */
#contact .contact-card > .contact-email-btn:hover {
  color: #ffffff;
  background: rgba(181, 140, 255, 0.18);
  border-color: #d2aaff;

  box-shadow:
    0 0 12px rgba(181, 140, 255, 0.55),
    0 0 28px rgba(181, 140, 255, 0.25);
}

/* ACCESIBILIDAD */
#contact .contact-card > .contact-email-btn:focus-visible {
  outline: 2px solid #d2aaff;
  outline-offset: 4px;
}

/* ADAPTACIÓN A MÓVIL */
@media (max-width: 760px) {
  #contact .contact-title-video {
    transform: scale(1.15);
  }

  #contact .contact-card {
    overflow-wrap: anywhere;
  }
}

/* ==========================================
   À PROPOS — AJUSTES DE POSICIÓN
   PERSONAJE ROJO + BLOQUE DE PRESENTACIÓN
   ========================================== */

@media (min-width: 1101px) {

  /* PERSONAJE ROJO — 15% A LA IZQUIERDA */
  #about .about-video-main .about-character--red {
    translate: -15% -10%;
  }

  /* BLOQUE QUI SUIS-JE / À PROPOS
     20% A LA IZQUIERDA
     15% MÁS ARRIBA DE SU POSICIÓN ACTUAL */
  #about .about-copy {
    translate: -25% -10%;
  }

}

/* ==========================================
   À PROPOS — MON UNIVERS
   PRESENTACIÓN BIOGRÁFICA
   ========================================== */

#about .about-expanded__sections {
  gap: 42px;
}

#about .about-expanded__sections section {
  max-width: 72ch;
  min-width: 0;
}

#about .about-expanded__sections h4 {
  color: #d92d32;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .03em;
  margin-bottom: 20px;
}

#about .about-expanded__sections p {
  font-size: .95rem;
  line-height: 1.8;
  color: #d2d8dc;
}

#about .about-expanded__sections p + p {
  margin-top: 16px;
}

#about .about-expanded__sections strong {
  color: #ffffff;
  font-weight: 800;
}

/* ==========================================
   À PROPOS — EN SAVOIR PLUS
   COLOR ROJO AL ABRIR EL DESPLEGABLE
   ========================================== */

/* Estado abierto */
#about .about-more-trigger[aria-expanded="true"] {
  color: #d92d32 !important;
  border-color: #d92d32;
  background: rgba(217, 45, 50, 0.12);
}

/* Estado cerrado */
#about .about-more-trigger[aria-expanded="false"] {
  color: #ffffff;
}


/* ==========================================
   CURSOR DORADO — BOTONES DE CIERRE
   À PROPOS Y PROJETS
   ========================================== */

@media (hover: hover) and (pointer: fine) {

  /* Utilizar exactamente la misma flecha dorada
     que en el resto de la página */

  #about .about-more-trigger,
  #about .about-expanded__close,
  #work .project-detail__close,
  .project-detail__close {

    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 2L25 14L16.5 16.5L13 26L4 2Z' fill='%23FFD54A' stroke='%2305090c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important;
  }

  /* Conservarla también al pasar por encima,
     pulsar o seleccionar el botón */

  #about .about-expanded__close:hover,
  #about .about-expanded__close:active,
  #about .about-expanded__close:focus-visible,
  #work .project-detail__close:hover,
  #work .project-detail__close:active,
  #work .project-detail__close:focus-visible {

    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 2L25 14L16.5 16.5L13 26L4 2Z' fill='%23FFD54A' stroke='%2305090c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important;
  }
}

/* ==========================================
   04 — À PROPOS
   CINCO DESPLEGABLES INDEPENDIENTES
   ========================================== */

/* Los cinco botones en una sola columna */
#about .about-expanded__sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* Contenedor individual */
#about .about-bio-item {
  width: 100%;
  min-width: 0;
}

/* Botones con el estilo EN SAVOIR PLUS */
#about .about-bio-item > summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  min-height: 46px;
  max-width: 100%;
  padding: 12px 22px;

  border: 1px solid #d92d32;
  border-radius: 999px;

  background: rgba(5, 9, 12, .35);
  color: #ffffff;

  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;

  list-style: none;
  user-select: none;

  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* Eliminar marcador triangular de Chrome */
#about .about-bio-item > summary::-webkit-details-marker {
  display: none;
}

/* Flecha dorada */
#about .about-bio-item > summary::after {
  content: "→";

  color: #ffd54a;
  font-size: 1.1rem;
  line-height: 1;

  display: inline-block;
  transition: transform .25s ease;
}

/* Iluminación al pasar el cursor */
#about .about-bio-item > summary:hover {
  background: rgba(217, 45, 50, .14);
  border-color: #f04a50;

  box-shadow:
    0 0 10px rgba(217, 45, 50, .3),
    0 0 24px rgba(217, 45, 50, .12);
}

/* Botón abierto: texto rojo */
#about .about-bio-item[open] > summary {
  color: #d92d32;
  background: rgba(217, 45, 50, .1);
}

/* Misma flecha, rotada hacia abajo */
#about .about-bio-item[open] > summary::after {
  transform: rotate(90deg);
}

/* Contenido de cada subsección */
#about .about-bio-content {
  width: 100%;
  max-width: 72ch;

  margin-top: 15px;
  padding: 22px 26px;

  border-left: 2px solid #d92d32;
  background: rgba(255, 255, 255, .035);
  border-radius: 0 10px 10px 0;
}

/* Texto */
#about .about-bio-content p {
  color: #d2d8dc;
  font-size: .95rem;
  line-height: 1.8;
}

#about .about-bio-content p + p {
  margin-top: 16px;
}

#about .about-bio-content strong {
  color: #ffffff;
  font-weight: 800;
}

/* Conservar el cursor dorado personalizado */
@media (hover: hover) and (pointer: fine) {
  #about .about-bio-item > summary {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 2L25 14L16.5 16.5L13 26L4 2Z' fill='%23FFD54A' stroke='%2305090c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer;
  }
}

/* Accesibilidad por teclado */
#about .about-bio-item > summary:focus-visible {
  outline: 2px solid #ffd54a;
  outline-offset: 4px;
}

/* Adaptación móvil */
@media (max-width: 760px) {
  #about .about-expanded__sections {
    gap: 14px;
  }

  #about .about-bio-item > summary {
    padding: 12px 16px;
    font-size: .7rem;
    gap: 12px;
  }

  #about .about-bio-content {
    padding: 18px;
  }

  #about .about-bio-content p {
    font-size: .88rem;
    line-height: 1.7;
  }
}

/* ==========================================
   À PROPOS — BOTONES EN CÍRCULO
   ========================================== */

#about .about-expanded__sections {
  display: block;
  width: 100%;
  height: 510px;
  min-height: 0;
  margin: 0 auto;
}

/* Los cinco botones */
#about .about-bio-item {
  position: absolute;
  z-index: 2;
  width: max-content;
  max-width: 32%;
  transform: translate(-50%, -50%);
}

/* Quitar todas las flechas de los botones */
#about .about-bio-item > summary::after,
#about .about-bio-item > summary::before {
  display: none !important;
  content: none !important;
}

/* Texto centrado y sin flechas */
#about .about-bio-item > summary {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  white-space: normal;
}

/* Posiciones en sentido horario */
#about .about-bio-item:nth-child(1) {
  top: 7%;
  left: 50%;
}

#about .about-bio-item:nth-child(2) {
  top: 31%;
  left: 82%;
}

#about .about-bio-item:nth-child(3) {
  top: 78%;
  left: 77%;
}

#about .about-bio-item:nth-child(4) {
  top: 78%;
  left: 23%;
}

#about .about-bio-item:nth-child(5) {
  top: 31%;
  left: 18%;
}

/* Espacio central para el futuro multimedia */
#about .about-bio-media {

  width: min(32%, 240px);
  overflow: hidden;

  border: 1px dashed rgba(217, 45, 50, .6);
  border-radius: 50%;

  background: rgba(217, 45, 50, .04);
}

#about .about-bio-media span {
  padding: 14px;
  color: #aab2bb;
  font-size: .67rem;
  letter-spacing: .08em;
  text-align: center;
}

/* Preparado para insertar imagen o vídeo */
#about .about-bio-media img,
#about .about-bio-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* El contenido se mostrará en un panel inferior */
#about .about-bio-item > .about-bio-content {
  display: none !important;
}

#about .about-bio-result {
  max-width: 72ch;
  margin: 10px auto 25px;
  padding: 24px 28px;
  border-left: 2px solid #d92d32;
  background: rgba(255,255,255,.035);
  border-radius: 0 12px 12px 0;
}

#about .about-bio-result[hidden] {
  display: none !important;
}

#about .about-bio-result h4 {
  color: #d92d32;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

#about .about-bio-result p {
  color: #d2d8dc;
  font-size: .95rem;
  line-height: 1.8;
}

#about .about-bio-result p + p {
  margin-top: 16px;
}

#about .about-bio-result strong {
  color: #fff;
}

/* Adaptación a pantallas pequeñas */
@media (max-width: 760px) {

  #about .about-expanded__sections {
    height: 460px;
  }

  #about .about-bio-item {
    width: 46%;
    max-width: 46%;
  }

  #about .about-bio-item > summary {
    padding: 10px 9px;
    font-size: .62rem;
    line-height: 1.4;
  }

  #about .about-bio-item:nth-child(1) {
    top: 7%;
    left: 50%;
  }

  #about .about-bio-item:nth-child(2) {
    top: 32%;
    left: 76%;
  }

  #about .about-bio-item:nth-child(3) {
    top: 78%;
    left: 76%;
  }

  #about .about-bio-item:nth-child(4) {
    top: 78%;
    left: 24%;
  }

  #about .about-bio-item:nth-child(5) {
    top: 32%;
    left: 24%;
  }

  #about .about-bio-media {
    width: 36%;
  }

  #about .about-bio-media span {
    font-size: .52rem;
  }

  #about .about-bio-result {
    padding: 18px;
  }

  #about .about-bio-result p {
    font-size: .88rem;
  }
}

/* ==========================================
   À PROPOS — AJUSTES MON UNIVERS
   ========================================== */

/* Permitir aprovechar toda la anchura disponible */
#about .about-expanded__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* EN SAVOIR PLUS — ROJO */

/* MON UNIVERS — CENTRADO SOLO EN EJE X */

/* Mantener el círculo centrado y con su tamaño */
#about .about-expanded__sections {
  width: min(100%, 850px);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   CONTENIDO — APROVECHAR IZQUIERDA Y DERECHA
   ========================================== */

/* Panel ancho, no limitado al centro */
#about .about-bio-result {
  width: 100%;
  max-width: none;
  margin: 20px 0 28px;
  padding: 28px 34px;
  box-sizing: border-box;
}

/* Título de cada apartado alineado a la izquierda */
#about .about-bio-result > h4 {
  text-align: left;
}

/* Distribuir la información en dos columnas */
#about .about-bio-result__content {
  column-count: 2;
  column-gap: 55px;
  column-fill: balance;
  width: 100%;
}

/* Párrafos alineados a la izquierda */
#about .about-bio-result__content p {
  display: block;
  text-align: left;
  break-inside: avoid;
  margin: 0 0 18px;
}

#about .about-bio-result__content p + p {
  margin-top: 0;
}

/* ==========================================
   TABLET Y MÓVIL
   ========================================== */

@media (max-width: 760px) {

  #about .about-expanded__inner > h3 {
    text-align: center;
  }

  #about .about-bio-result {
    width: 100%;
    padding: 20px 18px;
  }

  /* Una columna para facilitar la lectura */
  #about .about-bio-result__content {
    column-count: 1;
  }
}

/* HERO — ENTRADA CON SONIDO */

.hero-video-frame .intro-start-with-sound {
  position: absolute;
  inset: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  background: rgba(5, 9, 12, .72);
  border: 1px solid rgba(255,255,255,.15);

  color: #ffffff;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;

  cursor: pointer;
}

.hero-video-frame .intro-start-with-sound:hover {
  color: #ff6a3d;
  background: rgba(5, 9, 12, .85);
}

/* ==========================================
   À PROPOS — SCROLL AUTOMÁTICO AL TEXTO
   ========================================== */

#about .about-bio-result {
  scroll-margin-top: 50px;
}

@media (max-width: 260px) {
  #about .about-bio-result {
    scroll-margin-top: 5px;
  }
}

/* ==========================================
   À PROPOS — CENTRAR LOS DOS TÍTULOS
   ========================================== */

/* EN SAVOIR PLUS */
#about .about-expanded__inner > .eyebrow {
  display: block;
  width: 100%;
  text-align: center;
  color: #d92d32 !important;
  margin-left: 0;
  margin-right: 0;
}

/* MON UNIVERS */
#about .about-expanded__inner > h3 {
  width: 100%;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}

/* ==========================================
   MON UNIVERS — ESFERA DE ENERGÍA
   ========================================== */

#about .about-expanded__sections {
  position: relative;
  isolation: isolate;
}

/* Contenedor central */
#about .about-bio-media {
  z-index: 2;
}

/* Núcleo de energía */
#about .about-energy-sphere {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;

  background: radial-gradient(
    circle at 38% 32%,
    #fff4d7 0%,
    #ffa178 11%,
    #f0454b 28%,
    #a31328 52%,
    #400916 73%,
    transparent 77%
  );

  box-shadow:
    0 0 20px rgba(255, 79, 79, .9),
    0 0 55px rgba(217, 45, 50, .5),
    0 0 100px rgba(217, 45, 50, .22),
    inset -14px -15px 22px rgba(20, 0, 12, .6);

  animation: aboutEnergyFloat 4s ease-in-out infinite;
}

/* Primer anillo orbital */
#about .about-energy-sphere::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  border: 2px solid rgba(255, 143, 124, .65);
  border-left-color: transparent;
  border-bottom-color: rgba(255, 255, 255, .15);

  transform: rotate(-30deg) scaleY(.48);
  animation: aboutEnergyOrbit 9s linear infinite;

  box-shadow: 0 0 14px rgba(255, 76, 76, .2);
}

/* Segundo anillo orbital */
#about .about-energy-sphere::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 190, .55);
  border-top-color: transparent;
  border-right-color: rgba(255, 255, 255, .85);

  transform: rotate(40deg) scaleY(.6);
  animation: aboutEnergyOrbitReverse 12s linear infinite;
}

@keyframes aboutEnergyFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.045);
  }
}

@keyframes aboutEnergyOrbit {
  from {
    transform: rotate(0deg) scaleY(.48);
  }

  to {
    transform: rotate(360deg) scaleY(.48);
  }
}

@keyframes aboutEnergyOrbitReverse {
  from {
    transform: rotate(360deg) scaleY(.6);
  }

  to {
    transform: rotate(0deg) scaleY(.6);
  }
}

/* ==========================================
   RAYOS SVG INTERACTIVOS
   ========================================== */

#about .about-energy-rays {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 1;
  overflow: visible;
  pointer-events: none;

  opacity: 0;
}

#about .about-energy-rays.is-visible {
  opacity: 1;
}

/* Resplandor exterior */
#about .about-energy-ray-glow {
  fill: none;
  stroke: #f0444b;
  stroke-width: 14;
  stroke-linecap: round;
  filter: blur(5px);

  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* Centro luminoso del rayo */
#about .about-energy-ray-core {
  fill: none;
  stroke: #ffe9cb;
  stroke-width: 2.8;
  stroke-linecap: round;

  filter: drop-shadow(0 0 5px #ff444d);

  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* Descarga desde la esfera al botón */
#about .about-energy-rays.is-firing
.about-energy-ray-glow,
#about .about-energy-rays.is-firing
.about-energy-ray-core {
  animation: aboutEnergyFire .7s ease-out forwards;
}

@keyframes aboutEnergyFire {
  from {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Los botones siempre estarán por encima del rayo */

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  #about .about-energy-sphere,
  #about .about-energy-sphere::before,
  #about .about-energy-sphere::after {
    animation: none;
  }

  #about .about-energy-rays.is-firing
  .about-energy-ray-glow,
  #about .about-energy-rays.is-firing
  .about-energy-ray-core {
    animation-duration: .01ms;
  }
}

/* ==========================================
   04 — À PROPOS
   ALTURA Y POSICIÓN DE MES OUTILS
   ========================================== */

@media (min-width: 1101px) {

  /* Dar la misma altura que Projets */

#about.about {
  min-height: calc(
    var(--about-projects-height, 850px) * 0.80
  );
}


  /* Dar más espacio superior a la presentación */
  #about .about-copy {
    padding-top: 92px;
  }

  /* Desplazar MES OUTILS un 10% a la izquierda */
  #about .about-side {
    left: -10%;
  }

  /* Adaptar el desplegable a la nueva posición
     de la columna de herramientas */
  #about .about-expanded {
    right: calc(var(--about-side-width, 232px) * 1.10);
  }

}

/* ==========================================
   FOOTER — REPOSICIONAR DD.
   ========================================== */

@media (min-width: 1101px) {

  footer {
    margin-left: 0;
    padding-left: 30px;
  }

  /* Logotipo DD. */
  footer .footer-brand-mark {
    position: relative;
    left: 0;
  }

  /* Mantener la posición de salida de los símbolos */
  footer {
    --footer-fly-start: 200px;
  }

}

/* ==========================================
   04 — À PROPOS
   COLUMNA MES OUTILS MÁS ANCHA Y CENTRADA
   ========================================== */

@media (min-width: 1101px) {

  /* Nueva anchura de la columna derecha */
  #about.about {
    --about-side-width: clamp(280px, 22vw, 420px);

    grid-template-columns:
      minmax(0, .99fr)
      minmax(0, 1.01fr)
      var(--about-side-width);
  }

  /* COLUMNA MES OUTILS */
  #about .about-side {

    /* Anular el desplazamiento anterior */
    position: relative;
    left: 0;
    right: auto;
    transform: none;

    grid-column: 3;

    width: 100%;
    box-sizing: border-box;

    /* Centrar todos los elementos */
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 82px 28px 40px;

    /* Línea divisoria vertical */
    border-left: 1px solid rgba(255, 255, 255, .18);
  }

  /* TÍTULO MES OUTILS */
  #about .about-side > .eyebrow {
    width: 100%;
    text-align: center;
    margin-bottom: 26px;
    color: #d92d32;

    font-size: 1rem;
    letter-spacing: .16em;
  }

  /* Títulos de los dos grupos */
  #about .about-side .tool-group-title {
    width: 100%;
    text-align: center;
    margin-bottom: 14px;

    color: #ffffff;
    font-size: .76rem;
    letter-spacing: .1em;
  }

  /* LISTAS DE HERRAMIENTAS */
  #about .about-side .tool-list {
    width: 100%;
    max-width: 250px;

    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  /* Los cinco recuadros del mismo tamaño */
  #about .about-side .tool-pill {
    width: 100%;
    min-height: 52px;

    padding: 10px 14px;

    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;

    column-gap: 10px;
    font-size: 1.25rem;
  }

  /* Nombre de cada aplicación */
  #about .about-side .tool-pill small {
    font-size: .8rem;
    color: #ffffff;
    text-align: left;
  }

  /* Separación entre los dos grupos */
  #about .about-side .tool-group-title--learning {
    width: 100%;
    max-width: 250px;

    border-top: 1px solid rgba(255, 255, 255, .18);

    margin-top: 30px;
    padding-top: 26px;

    text-align: center;
  }

  /* Adaptar MON UNIVERS a la nueva columna */
  #about .about-expanded {
    right: var(--about-side-width);
  }

}

/* ==========================================
   MON UNIVERS — PERSONAJE INTERACTIVO
   ========================================== */

/* Contenedor central del personaje */

#about .about-bio-media {
  position: absolute;

  top: 52%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: min(42%, 300px);
  aspect-ratio: 1;

  display: grid;
  place-items: center;

  overflow: visible;

  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  z-index: 1;
  pointer-events: none;
}


/* Contenedor que realiza la flotación */

#about .about-character-float {
  position: relative;

  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  animation: aboutCharacterFloat
    4s ease-in-out infinite;

  will-change: transform;
}


/* Imagen del personaje y su nube */

#about .about-bio-media .about-interactive-character {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: contain;
  object-position: center;

  user-select: none;
  -webkit-user-drag: none;

  pointer-events: none;
}


/* Movimiento suave de arriba a abajo */

@keyframes aboutCharacterFloat {

  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

}


/* Los cinco botones quedan por delante */

#about .about-bio-item {
  z-index: 3;
}


/* Eliminar visualmente los antiguos rayos */

#about .about-energy-rays,
#about .about-energy-sphere {
  display: none !important;
}


/* ==========================================
   TABLET Y MÓVIL
   ========================================== */

@media (max-width: 760px) {

  #about .about-bio-media {
    top: 54%;
    width: min(48%, 180px);
  }

  #about .about-character-float {
    animation-duration: 4s;
  }

}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

  #about .about-character-float {
    animation: none;
  }

}

/* ==========================================
   MON UNIVERS — CORRECCIÓN DEL PERSONAJE
   ========================================== */

/* Área de los cinco botones */

#about #aboutExpanded .about-expanded__sections {
  isolation: isolate;

  width: min(100%, 850px);
}


/* Personaje centrado dentro del círculo */

#about #aboutExpanded .about-bio-media {
  position: absolute;

  transform: translate(-50%, -50%);
  height: auto;
  aspect-ratio: 1 / 1;

  display: block;

  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;

  z-index: 1;
  pointer-events: none;
}


/* Contenedor de flotación */

#about #aboutExpanded .about-character-float {
  position: relative;

  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

  animation: aboutCharacterFloat
    4s ease-in-out infinite;
}


/* PNG del personaje */

#about #aboutExpanded .about-interactive-character {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
  object-position: center;

  pointer-events: none;
}


/* Botones siempre delante del personaje */

#about #aboutExpanded .about-bio-item {
  z-index: 3;
}


/* El desplegable debe estar por delante
   de los personajes principales de À propos */

#about #aboutExpanded[hidden] {
  display: none !important;
}


/* MÓVIL */

@media (max-width: 760px) {

  #about #aboutExpanded .about-expanded__sections {
    height: 460px;
  }

  #about #aboutExpanded .about-bio-media {
    top: 54%;
    width: min(42%, 180px);
  }

}


/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

  #about #aboutExpanded .about-character-float {
    animation: none;
  }

}

/* ==========================================
   03 — COLLABORATIONS
   04 — À PROPOS

   AMPLIACIÓN VERTICAL DEL FONDO
   +20% SUPERIOR
   +20% INFERIOR
   ========================================== */

@media (min-width: 1101px) {

  /* ==========================================
     03 — COLLABORATIONS
     ========================================== */

  #collaborations.collaborations {

    /* Altura original: 620px */
    min-height: 868px;

    /* Espacio adicional superior e inferior */
    padding-top: 124px;
    padding-bottom: 124px;
  }

  /* Mantener el contenido en su tamaño original */

  #collaborations .collaborations-content {
    min-height: 620px;
  }


  /* ==========================================
     04 — À PROPOS
     ========================================== */

  #about.about {

    /* Altura actual +40% */
    min-height: calc(
      var(--about-projects-height, 850px) * 1.12
    );

    /* Añadir un 20% arriba y otro 20% abajo */
    padding-top: calc(
      var(--about-projects-height, 850px) * 0.16
    );

    padding-bottom: calc(
      var(--about-projects-height, 850px) * 0.16
    );

  }

  /* Mantener el desplegable ocupando
     toda la altura de À propos */

}

/* ==========================================
   MON UNIVERS — EDITORIAL 2026

   Desplegable a ancho completo
   Personaje + navegación a la izquierda
   Texto editorial a la derecha
   ========================================== */


/* 1 — DESPLEGABLE COMPLETO */

#about #aboutExpanded {

  background-color: #05090c;
  z-index: 50;

}

@media (min-width: 1101px) {

  #about #aboutExpanded {

    position: absolute;

    top: 0;
    bottom: 0;

    left: var(--sidebar);

    /* Cubrir también MES OUTILS */
    right: 0;

    width: auto;
    height: 100%;

    padding: 45px clamp(30px, 3vw, 65px);

    overflow-x: hidden;
    overflow-y: auto;

  }

}


/* 2 — ESTRUCTURA INTERIOR */

#about #aboutExpanded .about-expanded__inner {

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 1fr);

  column-gap: clamp(24px, 3vw, 60px);

  align-items: start;

  width: 100%;
  max-width: 1600px;

  margin: 0 auto;

}


/* 3 — TÍTULO EN SAVOIR PLUS */

#about #aboutExpanded
.about-expanded__inner > .eyebrow {

  grid-column: 1 / -1;

  font-family: 'Manrope', sans-serif;

  font-size: .75rem;
  font-weight: 700;

  letter-spacing: .22em;

  color: #d92d32;

  text-align: left;

  margin: 0 0 12px;

}


/* 4 — TITULAR MON UNIVERS */

#about #aboutExpanded
.about-expanded__inner > h3 {

  grid-column: 1 / -1;

  font-family: 'Syne', sans-serif;

  font-size: clamp(2.8rem, 5vw, 5.8rem);

  font-weight: 800;
  line-height: .95;

  letter-spacing: -.055em;

  color: #ffffff;

  text-align: left;

  margin: 0 0 38px;

}

#about #aboutExpanded
.about-expanded__inner > h3 span {

  color: #d92d32;

}


/* 5 — NAVEGACIÓN Y PERSONAJE */

#about #aboutExpanded .about-expanded__sections {

  grid-column: 1;

  position: relative;

  width: 100%;
  max-width: 720px;

  height: 510px;

  margin: 0 auto;

}

#about #aboutExpanded .about-bio-item > summary {

  font-family: 'Manrope', sans-serif;

  font-size: .72rem;
  font-weight: 700;

  letter-spacing: .06em;

  padding: 12px 16px;

}

#about #aboutExpanded .about-bio-media {

  width: min(36%, 280px);

  top: 52%;
  left: 50%;

}


/* 6 — PANEL EDITORIAL */

#about #aboutExpanded .about-bio-result {

  padding: 12px 0 36px
    clamp(22px, 3vw, 48px);

}


/* Indicador del capítulo */

/* 6 — PANEL EDITORIAL */

#about #aboutExpanded .about-bio-result {
  grid-column: 2;
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 12px 0 36px clamp(22px, 3vw, 48px);
  border: none;
  border-left: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: transparent;
  font-family: 'Manrope', sans-serif;
}

/* Ya no usamos el kicker rojo superior */
#about .bio-editorial-kicker {
  display: none !important;
}

/* 7 — NÚMERO + TITULAR SUPERPUESTOS */

#about .bio-editorial-header {
  position: relative;
  min-height: 220px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
}

/* Número 10% más grande y detrás del título */
#about .bio-editorial-number {
  position: absolute;
  left: 0;
  top: -8px;
  z-index: 1;

  display: block;

  font-family: 'Syne', sans-serif;
  font-size: clamp(5rem, 7.7vw, 8.8rem);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.09em;

  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 45, 50, .75);

  user-select: none;
  pointer-events: none;
}

/* Título delante del número */
#about #aboutExpanded .about-bio-result .bio-editorial-title {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin: 0;
  padding: 8px 0 16px 108px;

  overflow: visible;
}

/* Línea editorial roja */
#about #aboutExpanded .about-bio-result .bio-editorial-title::after {
  content: "";
  position: absolute;
  left: 108px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #d92d32;
}

/* Cada línea del título */
#about .bio-editorial-title-line {
  display: block;
  white-space: nowrap;

  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3vw, 4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Primera línea de 01: QUI, un poco más grande */
#about .bio-editorial-title-line.is-lead {
  font-size: clamp(2.1rem, 3.3vw, 4.35rem);
}

/* Acento rojo para ? o . cuando exista */
#about .bio-editorial-title-accent {
  color: #d92d32;
}

/* 8 — SUBTÍTULO EDITORIAL */

#about #aboutExpanded .about-bio-result .bio-editorial-subtitle {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 0 22px;
}

@media (max-width: 1100px) {
  #about #aboutExpanded .about-bio-result {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.18);
    padding: 32px 0;
  }

  #about .bio-editorial-header {
    min-height: 170px;
  }

  #about .bio-editorial-number {
    font-size: clamp(4.7rem, 15vw, 7.9rem);
    top: -4px;
  }

  #about #aboutExpanded .about-bio-result .bio-editorial-title {
    padding-left: 84px;
  }

  #about #aboutExpanded .about-bio-result .bio-editorial-title::after {
    left: 84px;
  }

  #about .bio-editorial-title-line {
    font-size: clamp(1.55rem, 5vw, 2.9rem);
  }

  #about .bio-editorial-title-line.is-lead {
    font-size: clamp(1.75rem, 5.6vw, 3.15rem);
  }
}

@media (max-width: 760px) {
  #about .bio-editorial-header {
    min-height: 145px;
    margin-bottom: 18px;
  }

  #about .bio-editorial-number {
    font-size: clamp(4.1rem, 20vw, 6.6rem);
    left: 0;
    top: 0;
  }

  #about #aboutExpanded .about-bio-result .bio-editorial-title {
    padding-left: 68px;
    padding-top: 2px;
  }

  #about #aboutExpanded .about-bio-result .bio-editorial-title::after {
    left: 68px;
  }

  #about .bio-editorial-title-line {
    font-size: clamp(1.35rem, 6vw, 2.25rem);
    line-height: .94;
  }

  #about .bio-editorial-title-line.is-lead {
    font-size: clamp(1.48rem, 6.6vw, 2.45rem);
  }
}


/* 8 — SUBTÍTULO EDITORIAL */

#about #aboutExpanded
.about-bio-result .bio-editorial-subtitle {

  font-family: 'Syne', sans-serif;

  font-size: clamp(1rem, 1.35vw, 1.35rem);

  font-weight: 700;

  line-height: 1.4;

  color: #ffffff;

  margin: 0 0 22px;

}


/* 9 — TEXTO PRINCIPAL */

#about #aboutExpanded
.about-bio-result__content {

  column-count: 1;

  width: 100%;

  font-family: 'Manrope', sans-serif;

}

#about #aboutExpanded
.about-bio-result__content p {

  font-size: .93rem;

  font-weight: 400;
  line-height: 1.85;

  color: #d2d8dc;

  text-align: left;

  margin: 0 0 18px;

}

#about #aboutExpanded
.about-bio-result__content p + p {

  margin-top: 0;

}

#about #aboutExpanded
.about-bio-result__content strong {

  color: #ffffff;
  font-weight: 700;

}


/* 10 — CITA DESTACADA */

#about .bio-editorial-quote {

  margin: 28px 0;

  padding: 6px 0 6px 18px;

  border-left: 2px solid #d92d32;

  font-family: 'Manrope', sans-serif;

  font-size: 1rem;

  font-weight: 500;
  font-style: italic;

  line-height: 1.65;

  color: #ffffff;

}


/* 11 — PIE EDITORIAL */

#about .bio-editorial-footer {

  display: flex;

  justify-content: space-between;
  flex-wrap: wrap;

  gap: 12px;

  padding-top: 18px;

  border-top: 1px solid
    rgba(255,255,255,.14);

  font-size: .62rem;
  font-weight: 600;

  letter-spacing: .12em;

  color: #9ba6af;

}

#about .bio-editorial-footer span:last-child {

  color: #d92d32;

}


/* 12 — ESTADO INICIAL */

#about .bio-editorial-empty {

  display: flex;

  flex-direction: column;

  justify-content: center;

  min-height: 420px;

}

#about #aboutExpanded
.bio-editorial-empty h4 {

  font-family: 'Syne', sans-serif;

  font-size: clamp(1.8rem, 3vw, 3rem);

  font-weight: 800;

  line-height: 1.05;

  color: #ffffff;

  margin-bottom: 20px;

}

#about #aboutExpanded
.bio-editorial-empty p {

  color: #9ba6af;

  font-family: 'Manrope', sans-serif;

  font-size: .95rem;

  line-height: 1.8;

  max-width: 35ch;

}


/* 13 — CRUZ DE CIERRE */

#about #aboutExpanded .about-expanded__close {

  z-index: 10;

}


/* 14 — TABLET Y MÓVIL */

@media (max-width: 1100px) {

  #about #aboutExpanded
  .about-expanded__inner {

    grid-template-columns: minmax(0, 1fr);

    gap: 20px;

  }

  #about #aboutExpanded
  .about-expanded__sections,

  #about #aboutExpanded
  .about-bio-result {

    grid-column: 1;

  }

  #about #aboutExpanded
  .about-bio-result {

    border-left: none;

    border-top: 1px solid
      rgba(255,255,255,.18);

    padding: 32px 0;

  }

  #about .bio-editorial-empty {

    min-height: 120px;

  }

  #about .bio-editorial-number {

    font-size: clamp(4rem, 15vw, 7rem);

  }

}

@media (max-width: 760px) {

  #about #aboutExpanded
  .about-expanded__sections {

    height: 460px;

  }

  #about #aboutExpanded
  .about-bio-media {

    width: min(42%, 180px);

  }

  #about #aboutExpanded
  .about-bio-item > summary {

    font-size: .62rem;

    padding: 10px 9px;

  }

  #about #aboutExpanded
  .bio-editorial-title {

    font-size: clamp(1.4rem, 5vw, 2.4rem);

  }

  #about .bio-editorial-header {

    min-height: 100px;

  }

  #about #aboutExpanded
  .about-bio-result__content p {

    font-size: .9rem;

  }

}
/* ==========================================
   MON UNIVERS — POSICIÓN PERSONALIZADA
   DE LOS NÚMEROS 01 / 02 / 03 / 04 / 05
   ========================================== */

#about .bio-editorial-header {
  overflow: visible;
}

#about .bio-editorial-number {
  left: auto !important;
  right: auto;
  top: 0;
}

/* 01 — círculo rojo */
#about .about-bio-result[data-chapter="01"] .bio-editorial-number {
  right: 8px;
  top: -14px;
}

/* 02 — círculo naranja */
#about .about-bio-result[data-chapter="02"] .bio-editorial-number {
  right: -2px;
  top: -2px;
}

/* 03 — círculo azul */
#about .about-bio-result[data-chapter="03"] .bio-editorial-number {
  right: 52px;
  top: 22px;
}

/* 04 — círculo verde */
#about .about-bio-result[data-chapter="04"] .bio-editorial-number {
  right: 8px;
  top: 14px;
}

/* 05 — círculo blanco */
#about .about-bio-result[data-chapter="05"] .bio-editorial-number {
  right: 18px;
  top: 12px;
}

/* ==========================================
   MON UNIVERS — SUBIR NÚMEROS UN 10%
   ========================================== */

#about #aboutExpanded .bio-editorial-number {

  transform: translateY(-80%);

}
/* ==========================================
   AJUSTE ESPECÍFICO — 01
   ========================================== */

#about .about-bio-result[data-chapter="01"] .bio-editorial-number {
  right: 40px;
  top: 118px;
}
/* ==========================================
   AJUSTE ESPECÍFICO — 02
   CENTRAR LA "À"
   ========================================== */

#about .about-bio-result[data-chapter="02"] .bio-editorial-title-line:nth-child(2) {
  align-self: center;
  text-align: center;
}

/* ==========================================
   MON UNIVERS — AJUSTES INDIVIDUALES
   TÍTULO 02 Y NÚMEROS 03, 04, 05
   ========================================== */


/* ==========================================
   02 — CENTRAR TODO EL TITULAR
   DE CADIX
   À
   BRUXELLES.
   ========================================== */

#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title {
  box-sizing: border-box;

}

/* Centrar también la línea roja inferior */


/* ==========================================
   03 — BAJAR EL NÚMERO UN 20%
   ========================================== */

#about #aboutExpanded
.about-bio-result[data-chapter="03"]
.bio-editorial-number {

  right: 72px;
  top: 22px;

  transform: translateY(-60%);

}


/* ==========================================
   04 — POSICIÓN PERSONALIZABLE
   ========================================== */

#about #aboutExpanded
.about-bio-result[data-chapter="04"]
.bio-editorial-number {

  right: 120px;
  top: -5px;

  transform: translateY(-80%);

}


/* ==========================================
   05 — POSICIÓN PERSONALIZABLE
   ========================================== */

#about #aboutExpanded
.about-bio-result[data-chapter="05"]
.bio-editorial-number {

  right: 100px;
  top: 90px;

  transform: translateY(-80%);

}


/* ==========================================
   MON UNIVERS — ELIMINAR LOS NÚMEROS
   01 / 02 / 03 / 04 / 05
   ========================================== */

#about #aboutExpanded .bio-editorial-number {

  display: none !important;

}

/* ==========================================
   MON UNIVERS — TITULARES SIN NÚMEROS
   ========================================== */

/* Alinear los titulares con el texto */

#about #aboutExpanded
.about-bio-result
.bio-editorial-title {

  width: 100%;
  padding-left: 0;
  padding-right: 0;

}

/* Línea roja debajo del titular */

#about #aboutExpanded
.about-bio-result
.bio-editorial-title::after {

  left: 0;
  right: 0;
  width: 100%;

}

/* 02 — Mantener el título centrado */

/* Centrar las tres líneas del 02 */
/* ==========================================
   02 — DE CADIX / A / BRUXELLES
   MÁS AIRE Y CENTRADO
   ========================================== */

#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title {

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

}

#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title-line {

  align-self: center;
  text-align: center;
  display: block;

}

/* Dar un poco más de aire solo a la A */
#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title-line:nth-child(2) {

  margin: 0.08em 0 0.12em 0;

}

/* Mantener la línea roja bien colocada */
#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title::after {

  left: 0;
  right: 0;
  width: 100%;

}

/* ==========================================
   MON UNIVERS — 02 MES ORIGINES
   TÍTULO ALINEADO A LA IZQUIERDA
   ========================================== */

#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title {

  width: 100%;

  padding-left: 0;
  padding-right: 0;

  align-items: flex-start;
  text-align: left;

  gap: 0.12em;

}


/* Alinear las tres líneas a la izquierda */

#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title-line {

  align-self: flex-start;
  text-align: left;

}


/* Separación de la À */

#about #aboutExpanded
.about-bio-result[data-chapter="02"]
.bio-editorial-title-line:nth-child(2) {

  margin: 0.08em 0;

}


/* ===========================================================
   PASO 5C — Correcciones responsive verificables
   Botones de vídeo, título/elemento verde y lectura de À propos.
   No altera la distribución de escritorio.
   =========================================================== */

/* El grupo solo crea una fila visual en móvil/tablet.
   En escritorio deja al vídeo exactamente en el mismo
   contexto de posición absoluta de .collaborations-head. */
#collaborations .collaborations-kicker-row {
  display: contents;
}

@media (max-width: 1100px) {
  #collaborations .collaborations-kicker-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(10px, 2vw, 18px);
    max-width: 100%;
    min-width: 0;
  }

  #collaborations .collaborations-kicker-row > .eyebrow {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 72px);
    margin: 0;
    transform: none;
  }

  #collaborations .collaborations-kicker-row > .collaborations-floating-video {
    display: block;
    position: static;
    inset: auto;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    margin: 0;
    object-fit: contain;
    transform: none;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  /* Los tres botones contienen iconos en <span>.
     Una regla anterior a 390 px ocultaba incluso esos iconos. */
  .hero.hero--intro .intro-controls__buttons .intro-control > span {
    display: inline !important;
    visibility: visible;
  }

  #collaborations .collaborations-kicker-row {
    gap: 12px;
  }

  #collaborations .collaborations-kicker-row > .eyebrow {
    max-width: calc(100% - 66px);
  }

  #collaborations .collaborations-kicker-row > .collaborations-floating-video {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  /* Evita que la palabra COLLABORATIONS se parta en dos. */
  #collaborations .collaborations-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
    line-height: 1.03;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* Respeta el encabezado fijo al llevar al lector al capítulo. */
@media (max-width: 1100px) {
  #about #aboutExpanded .about-bio-result {
    scroll-margin-top: 86px;
  }
}
/* ===============================================================
   PASO 5D — AJUSTES DE POSICION SOLICITADOS (27/11/2026)
   Sobre la base aprobada del paso 5C.
   Solo posicionamiento, no afecta a los ficheros de video.
   =============================================================== */

/* 1. PROJETS — acercar azul3D al punto del titulo (escritorio). */
@media (min-width: 1101px) {
  #work .projects-title-video {
    margin-left: -68px;
  }
}

/* 2. PROJETS y COLLABORATIONS — posiciones marcadas en movil. */
@media (max-width: 760px) {
  #work .projects-title-video {
    margin-left: -40px;
  }

  /* No altera el espacio reservado ni la altura del encabezado. */
  #collaborations .collaborations-kicker-row > .collaborations-floating-video {
    transform: translateX(clamp(-65px, -16vw, -48px));
  }

  /* À propos: subir solo al personaje rojo en la fila visual.
     El personaje con gafas conserva todas sus reglas previas. */
  #about .about-video-main .about-character--red {
    bottom: 80px;
  }
}

/* 3. TABLET — ensanchar con moderacion la columna lateral. */
@media (min-width: 761px) and (max-width: 1100px) {
  :root {
    --sidebar: 96px;
  }

  .chapter {
    padding-right: 10px;
    padding-left: 10px;
  }

  .chapter > span {
    max-width: 100%;
    font-size: .76rem;
    overflow-wrap: break-word;
  }

  .chapter > p {
    max-width: 100%;
    font-size: .62rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  /* Personaje de capa roja junto a la descripcion de À propos.
     No modifica .about-character--monkey ni el bloque de texto. */
  #about .about-video-main .about-character--red {
    left: 47%;
    right: auto;
    top: 105px;
    bottom: auto;
    width: min(55%, 385px);
    height: auto;
  }
}

/* PASO 5E — PROJETS: acercar azul3D al titulo en tablet.
   Evita modificar el posicionamiento ya aprobado para movil y escritorio. */
@media (min-width: 761px) and (max-width: 900px) {
  #work .projects-title-video {
    margin-left: -40px;
  }
}

/* =========================================================
   FR / ES — selector accesible y siempre visible
   Solo modifica el encabezado; no cambia secciones ni animaciones.
   ========================================================= */
.site-header .lang {
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
.lang .lang-choice {
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  opacity:.64;
  font:inherit;
  font-weight:700;
  letter-spacing:inherit;
  cursor:pointer;
  padding:6px 2px;
  min-width:20px;
  transition:opacity .2s ease;
}
.lang .lang-choice[aria-pressed="true"]{opacity:1;color:#f6f6f3}
.lang .lang-choice:hover{opacity:1}
.lang .lang-choice:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:2px}
@media (max-width:760px){
  .site-header{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:0 12px}
  .site-header .site-nav{min-width:0;justify-self:center;gap:clamp(5px,1.3vw,12px);font-size:clamp(.48rem,1.9vw,.60rem);letter-spacing:.025em}
  .site-header .lang{font-size:.64rem;letter-spacing:.04em;gap:2px}
  .site-header .lang .lang-choice{min-width:19px;padding:8px 1px}
}
@media (max-width:360px){
  .site-header{padding:0 8px;gap:5px}
  .site-header .site-nav{gap:4px;font-size:.46rem}
}

/* PASO 7E — selector FR / ES / EN: conservar los tres idiomas en móvil. */
@media (max-width:760px){
  .site-header .lang{gap:1px;font-size:.60rem;letter-spacing:0}
  .site-header .lang .lang-choice{min-width:16px;padding:8px 0}
}
@media (max-width:390px){
  .site-header{padding:0 9px;gap:5px}
  .site-header .site-nav{gap:5px;font-size:.48rem;letter-spacing:0}
  .site-header .brand{font-size:1.28rem}
}
