/* Polices du studio, intégrées pour un affichage autonome. */
@font-face {
  font-family: "Gotham Studio";
  src: url("assets/fonts/gotham-book.otf") format("opentype"), local("Gotham-Book");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Studio";
  src: url("assets/fonts/gotham-medium.otf") format("opentype"), local("Gotham-Medium");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque Studio";
  src: url("assets/fonts/bricolage-grotesque-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
/* STUDIO20° — couleurs, proportions et espacements de la maquette. */
:root {
  --paper: #eee; --ink: #080808; --muted: #727272; --line: #b6b6b6;
  --blue: #3054ff; --orange: #f16b24; --purple: #834cff; --green: #30ff51;
  --gutter: clamp(12px, 1.7vw, 32px);
  --font: "Gotham Studio", "Gotham", Arial, sans-serif;
  --font-title: "Bricolage Grotesque Studio", "Bricolage Grotesque", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #000; color: var(--paper); font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 18px; background: white; color: black; z-index: 10; }
.skip-link:focus { top: 16px; }
/* Accueil : quatre blocs alignés, puis le showreel avec le même espacement. */
.hero { padding: var(--gutter); background: #000; color: var(--paper); }
.home-navigation { display: grid; grid-template-columns: 1.65fr repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.brand, .home-nav-button { min-width: 0; height: clamp(80px, 9vw, 170px); display: flex; align-items: center; justify-content: center; }
.brand-image { display: block; width: 100%; aspect-ratio: 1842 / 365; background: url('https://www.dropbox.com/scl/fi/sdb5cmt80war9k1251p8a/logo-studio20.svg?rlkey=ucf7gcj1y83g68tsr5nsfgk73&st=t6n2074q&raw=1') center / contain no-repeat; }
.home-nav-button { border-radius: clamp(16px, 1.8vw, 34px); background: #222; color: #eee; font-size: clamp(24px, 3.8vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1; transition: background .2s ease, color .2s ease; }
.home-nav-button:hover, .home-nav-button:focus-visible { background: #eee; color: #000; text-decoration: none; }
.showreel-frame { position: relative; isolation: isolate; margin-top: var(--gutter); aspect-ratio: 3274 / 1620; overflow: hidden; border-radius: clamp(10px, .85vw, 18px); background: #101010; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; }
.hero.has-showreel .hero-video { opacity: 1; }
.showreel-frame h1 { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; font: 600 clamp(28px, 6vw, 100px)/1.05 var(--font-title); text-align: center; }
.hero.has-showreel h1 { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-actions { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); }
.social-pill { display: flex; align-items: center; gap: 9px; }
.social { display: grid; place-items: center; width: clamp(24px, 2.2vw, 34px); height: clamp(24px, 2.2vw, 34px); border-radius: 50%; color: #2b2b2b; background: var(--paper); transition: transform .2s; }
.social:hover { transform: translateY(-3px); }
.social svg { width: 80%; height: 80%; }
.behance { font-family: Arial, sans-serif; font-size: clamp(13px, 1.3vw, 19px); font-weight: 700; }
.call-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 15px; padding: clamp(14px, 1.5vw, 23px) clamp(12px, 1.4vw, 22px); background: var(--paper); color: #000; white-space: nowrap; font-size: clamp(14px, 1.5vw, 23px); letter-spacing: -.015em; transition: background .2s, transform .2s; }
.call-button svg { width: clamp(22px, 2.1vw, 32px); height: clamp(22px, 2.1vw, 32px); }
.call-button:hover { background: #d8c7ff; transform: translateY(-2px); }
.studio { padding: clamp(52px, 6vw, 96px) clamp(24px, 6vw, 96px); }
.studio p { margin: 0 auto; max-width: 1100px; font-size: clamp(22px, 2.1vw, 32px); font-weight: 500; line-height: 1.28; letter-spacing: 0; text-align: center; text-wrap: pretty; }
.portfolio { padding: 0 var(--gutter); }
.project { background: var(--paper); color: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.featured { display: grid; grid-template-columns: 2.025fr 1fr; margin-bottom: clamp(20px, 2.8vw, 44px); }
.artwork { display: block; position: relative; overflow: hidden; background: #111; aspect-ratio: 451 / 370; }
.artwork > span { display: block; position: absolute; inset: 0; background-image: url('assets/projets-reference.png'); background-repeat: no-repeat; transition: filter .25s; }
a.artwork:hover > span { filter: brightness(1.07); }
/* Affichage de zones des captures originales, sans altérer les fichiers. */
.french-kiss { aspect-ratio: 922 / 530; background: #e5092c; }
.french-kiss > span { background-size: 156.182% 256.226%; background-position: 5.02% 5.676%; }
.together > span { background-size: 319.29% 368.92%; background-position: 2.73% 62.83%; }
.roxane > span { background-image: url('assets/vue-ensemble-reference.png'); background-size: 315.837% 722.099%; background-position: 49.476% 72.025%; }
.focaly > span { background-size: 319.29% 368.92%; background-position: 96.562% 62.83%; }
.kerafyrm-card { background: #09020e; }
.kerafyrm-card > span { background-image: url('https://www.dropbox.com/scl/fi/oyb64gyj4cgfn67d6vtfx/kerafyrm.png?rlkey=m9bbfxw5ailkf7rzza8seijjf&st=sbkhsjia&raw=1'); background-size: cover; background-position: center; }
.odyssee-card { background: #000; }
.odyssee-card > span { background-image: url('assets/odyssee/thumbnail.png'); background-size: contain; background-position: center; }
.yasuke-card { background: #160402; }
.yasuke-card > span { background-image: url('https://www.dropbox.com/scl/fi/wdrm5au5kjqy81v5kwejl/thumbnail.gif?rlkey=qcy69xuyv0yv8fikcl2euz72n&st=eiskpq8y&raw=1'); background-size: cover; background-position: center; }
.bruit-card { background: #002119; }
.bruit-card > span { background-image: url('assets/bruit-du-silence/01.gif'); background-size: cover; background-position: center; }
.project-info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 2vw, 32px); flex: 1; }
h2 { font-family: var(--font-title); font-optical-sizing: auto; font-weight: 600; letter-spacing: -.025em; }
.project h2 { display: flex; align-items: flex-start; gap: clamp(7px, .85vw, 14px); margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; }
.featured h2 { font-size: clamp(28px, 3.3vw, 50px); white-space: nowrap; }
.project-symbol { color: var(--accent); fill: currentColor; stroke: none; width: .8em; height: .8em; margin-top: .11em; }
.project-info p { margin: 0 0 26px; color: var(--muted); font-size: clamp(17px, 1.55vw, 24px); font-weight: 400; line-height: 1.25; letter-spacing: 0; }
.featured .project-info p { font-size: clamp(19px, 1.8vw, 28px); }
.project-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 12px 16px; margin-top: auto; background: var(--accent); color: white; border-radius: 14px; font-size: clamp(14px, 1.15vw, 19px); line-height: 1.2; letter-spacing: -.015em; transition: transform .2s, box-shadow .2s; }
.project-button:hover { transform: translateY(-3px); box-shadow: 0 5px 0 #0002; }
.featured .project-button { font-size: clamp(16px, 1.45vw, 23px); padding: 15px 20px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, .8vw, 16px); }
.project-grid .project-info { min-height: clamp(210px, 23.5vw, 365px); }
.more-projects { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(12px, 1.7vw, 28px); padding: 20px 30px; border-radius: 24px; background: #dcdcdc; color: #777; text-align: left; font-size: clamp(24px, 2.3vw, 36px); letter-spacing: -.015em; transition: color .2s, background .2s; }
.more-projects:hover { background: #d1c5f0; color: #4f2a94; }
.more-symbols { display: flex; gap: 6px; }
.more-symbols svg { fill: currentColor; stroke: none; width: .95em; height: .95em; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(34px, 5vw, 75px) var(--gutter) 24px; }
.footer-brand { color: var(--ink); display: flex; align-items: center; gap: 12px; background: #dcdcdc; padding: 7px 10px; border-radius: 12px; font-size: clamp(14px, 1.65vw, 26px); letter-spacing: -.015em; }
.footer-actions { justify-content: flex-end; margin-left: auto; }
.footer-wordmark { font-family: Georgia, serif; font-weight: 900; font-size: .96em; letter-spacing: -.08em; white-space: nowrap; }
.footer-wordmark span { display: inline-block; transform: rotate(-20deg); font-size: .85em; }
.footer .call-button { background: var(--purple); color: white; padding: 7px 10px; border-radius: 12px; font-size: clamp(14px, 1.2vw, 19px); }
.footer .call-button:hover { background: #6532d5; }
.footer .call-button svg { width: 24px; height: 24px; }
.footer .social-pill { background: #dcdcdc; padding: 7px 10px; gap: 8px; border-radius: 12px; }
.footer .social { background: #000; color: var(--paper); width: 27px; height: 27px; }
.footer .behance { font-size: 15px; }
/* Aperçus des projets, utilisables au clavier et sur écran tactile. */
body.dialog-open { overflow: hidden; }
dialog { color: var(--ink); background: var(--paper); border: none; padding: 0; max-height: 90dvh; overflow: auto; border-radius: 16px; box-shadow: 0 20px 90px #0005; }
dialog::backdrop { background: #000b; backdrop-filter: blur(6px); }
.project-dialog { width: min(900px, calc(100% - 32px)); }
.project-dialog .artwork { width: 100%; }
.project-dialog .artwork:not(.french-kiss) { max-width: 560px; max-height: none; margin: auto; }
.close-dialog { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; color: #000; background: white; border-radius: 50%; z-index: 1; box-shadow: 0 2px 12px #0002; }
.close-dialog:hover { background: #ddceff; }
.dialog-info { padding: 24px 30px 30px; }
.dialog-info h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 0 0 12px; }
.dialog-info p { color: var(--muted); font-family: var(--font); font-weight: 400; font-size: 20px; line-height: 1.3; margin: 0 0 30px; }
.project-navigation { display: flex; justify-content: space-between; gap: 14px; }
.project-navigation button { min-height: 44px; padding: 10px 14px; border-radius: 8px; background: #ddd; color: #111; font-size: 14px; }
.project-navigation button:hover { background: #d8c7ff; }
.info-dialog { width: min(480px, calc(100% - 32px)); padding: 55px 32px 32px; }
.info-dialog h2 { font-size: 32px; line-height: 1.1; margin: 10px 0 16px; }
.info-dialog p { font-size: 18px; line-height: 1.5; margin: 0; }
.noscript-note { padding: 16px 24px; }
@media (min-width: 1800px) { main, .footer { max-width: 1800px; margin-inline: auto; } }
@media (max-width: 1000px) {
  .featured h2 { white-space: normal; }
  .footer-brand { gap: 8px; }
  .footer-actions { gap: 8px; }
  .more-projects { padding: 17px 20px; border-radius: 16px; }
}
@media (max-width: 760px) {
  .studio { padding-block: 56px; }
  .desktop-break { display: none; }
  .project h2 { font-size: 24px; gap: 7px; }
  .featured h2 { font-size: 30px; }
  .project-info { padding: 16px 13px; }
  .project-grid .project-info { min-height: 230px; }
  .project-button { padding: 10px; border-radius: 9px; }
  .featured .project-button { padding: 11px; border-radius: 9px; }
}
@media (max-width: 540px) {
  .studio { padding: 48px 24px; }
  .studio p { font-size: 22px; line-height: 1.3; }
  .featured { display: flex; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-info { padding: 22px; }
  .project h2, .featured h2 { font-size: 30px; }
  .project h2 br { display: none; }
  .project-info p, .featured .project-info p { font-size: 20px; margin-bottom: 24px; }
  .project-grid .project-info { min-height: 0; }
  .project-button, .featured .project-button { font-size: 16px; padding: 12px 16px; }
  .more-projects { font-size: 24px; padding: 18px; }
  .more-symbols { gap: 3px; }
  .more-symbols svg { width: 20px; height: 20px; }
  .footer { padding-top: 32px; gap: 16px; }
  .footer-brand { width: 100%; flex-wrap: wrap; justify-content: center; gap: 8px 12px; padding: 20px 16px; border-radius: 16px; font-size: 18px; text-align: center; }
  .footer-actions { width: 100%; justify-content: space-between; }
  .dialog-info { padding: 22px; }
  .project-navigation button { padding: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}



[hidden] { display: none !important; }
@media (max-width: 600px) {
  .home-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand { grid-column: 1 / -1; height: 76px; }
  .brand-image { width: min(340px, 100%); }
  .home-nav-button { height: 64px; font-size: clamp(19px, 5vw, 30px); border-radius: 14px; }
  .showreel-frame { aspect-ratio: 4 / 3; }
}

/* Curseur de bureau : violet uni, agrandi au survol des liens et boutons. */
.studio-cursor { position: fixed; top: 0; left: 0; width: 20px; height: 20px; z-index: 2147483647; pointer-events: none; transform: translate3d(-100px, -100px, 0); }
.studio-cursor-dot { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: var(--purple); transform: scale(1); transition: transform .18s ease; }
.studio-cursor.is-interactive .studio-cursor-dot { transform: scale(1.15); }
@media (hover: hover) and (pointer: fine) {
  html.cursor-active, html.cursor-active * { cursor: none !important; }
}
@media (forced-colors: active) { .studio-cursor { display: none; } }

/* Le fichier Bricolage fourni est droit : le navigateur applique son inclinaison italique. */
.studio-location { font-family: var(--font-title); font-optical-sizing: auto; font-weight: 650; font-style: italic; font-synthesis: style; }

/* L’accueil tient dans la fenêtre : marge basse identique aux marges latérales. */
@media (min-width: 601px) {
  .hero { height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--gutter); }
  .showreel-frame { margin-top: 0; min-height: 0; aspect-ratio: auto; }
}

/* En-tête animé : son emplacement conserve la hauteur initiale du showreel. */
.header-slot { min-width: 0; }
.header.scroll-header { position: fixed; z-index: 20; pointer-events: none; }
.scroll-header .brand, .scroll-header .home-nav-button { pointer-events: auto; will-change: transform; }
.scroll-header .brand { position: relative; transform-origin: top left; }
.scroll-header .brand-image { flex-shrink: 0; }
.scroll-header .home-nav-button[inert] { visibility: hidden; pointer-events: none; }
.skip-link { z-index: 30; }
@media (prefers-reduced-motion: reduce) {
  .scroll-header .brand, .scroll-header .home-nav-button { will-change: auto; }
}

/* Projets : archive latérale fixe et deux colonnes de grands visuels. */
.portfolio { display: grid; grid-template-columns: minmax(210px, 21%) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.portfolio-sidebar { position: sticky; top: calc(var(--gutter) + 70px); max-height: none; overflow: visible; }
.season-filters { display: flex; flex-direction: column; padding: 14px; background: #222; border-radius: 18px; }
.season-filters button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px; min-height: 44px; background: transparent; border-radius: 9px; color: #aaa; text-align: left; font-size: clamp(15px, 1.3vw, 22px); letter-spacing: -.04em; }
.season-filters button[aria-pressed="true"] { color: #fff; }
.season-filters button[aria-pressed="true"] > span:first-child::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .4em; border-radius: 50%; background: var(--purple); vertical-align: .08em; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.category-filters button, .empty-projects button { min-height: 44px; padding: 10px 13px; border-radius: 12px; color: #eee; background: #222; font-size: clamp(14px, 1.1vw, 18px); letter-spacing: -.035em; text-align: left; }
.category-filters button, .season-filters button, .empty-projects button { transition: background .18s, color .18s; }
.category-filters button[aria-pressed="true"], .category-filters button:hover, .season-filters button:hover, .empty-projects button:hover { background: var(--purple); color: #fff; }
.season-filters button:hover > span:first-child::before { background: #fff; }
.filter-count { font-size: 13px; color: #aaa; margin: 20px 0 0; }
.portfolio-results { min-width: 0; }
.portfolio .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px var(--gutter); align-items: start; }
.portfolio .project { border: 0; background: transparent; color: var(--paper); }
.portfolio .project-info { min-height: 0; padding: 16px 0 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-tags span { padding: 8px 11px; border-radius: 10px; background: #222; color: #ddd; font-size: clamp(12px, 1vw, 16px); }
.portfolio .project h2 { font-size: clamp(26px, 2.5vw, 40px); }
.portfolio .project-info p { font-size: clamp(16px, 1.25vw, 20px); color: #aaa; margin-bottom: 18px; }
.portfolio .project-button { background: #222; color: #eee; min-height: 44px; font-size: 14px; padding: 10px 14px; border-radius: 10px; }
.portfolio .project-button:hover { background: var(--purple); transform: none; box-shadow: none; }
.portfolio .more-projects { margin-top: 36px; background: #222; color: #aaa; font-size: clamp(20px, 1.6vw, 28px); }
.portfolio .more-projects:hover { color: white; background: var(--purple); }
.empty-projects { padding: 40px 0 64px; color: #aaa; }
.empty-projects p { font-size: 22px; }
@media (max-width: 900px) and (min-width: 761px) {
  .portfolio { grid-template-columns: 190px minmax(0, 1fr); }
  .season-filters { padding: 8px; }
  .season-filters button { font-size: 14px; }
}
@media (max-width: 760px) {
  .portfolio { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portfolio-sidebar { position: static; max-height: none; overflow: visible; }
  .season-filters { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 8px; }
  .season-filters button { width: auto; flex: 1 1 auto; justify-content: center; gap: 8px; }
  .filter-count { margin-top: 14px; }
}
@media (max-width: 540px) {
  .portfolio .project-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

.portfolio:not(.filters-ready) { grid-template-columns: minmax(0, 1fr); }

/* Le bouton de la page active reste inversé, même sans survol. */
.home-nav-button[aria-current="page"] { background: #eee; color: #000; }

/* Actions du footer regroupées à gauche sur tous les écrans. */
.footer { justify-content: flex-start; }
.footer .footer-actions { margin-left: 0; justify-content: flex-start; flex-wrap: wrap; }

/* Réseaux sous la réservation, sans fond rectangulaire. */
.footer .footer-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
.footer .social-pill { background: transparent; padding: 0; border-radius: 0; }
.footer .social { background: var(--paper); color: #000; }

/* Page Contact : coordonnées et carte dans un même bloc. */
.contact-header { padding: var(--gutter); }
.contact-layout { display: grid; grid-template-columns: minmax(210px, 21%) minmax(0, 1fr); gap: var(--gutter); padding: clamp(36px, 4vw, 64px) var(--gutter) 0; }
.contact-sidebar { position: sticky; top: var(--gutter); align-self: start; }
.contact-sections { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: #222; }
.contact-sections a { display: block; padding: 10px 6px; border-radius: 8px; font-size: clamp(14px, 1.2vw, 20px); line-height: 1.3; transition: color .2s; }
.contact-sections a:hover { color: var(--purple); }
.contact-content { min-width: 0; }
.contact-intro { padding-bottom: clamp(32px, 4vw, 64px); }
.contact-eyebrow { color: #aaa; font-size: 16px; margin: 0 0 20px; }
.contact-intro h1 { font-family: var(--font-title); font-weight: 600; font-size: clamp(38px, 5vw, 84px); letter-spacing: normal; line-height: 1.03; margin: 0 0 24px; }
.contact-intro > p:last-child { margin: 0; color: #aaa; font-size: clamp(18px, 1.5vw, 25px); line-height: 1.45; }
.contact-card { display: grid; width: 100%; max-width: 820px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 22px; background: #222; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; min-width: 0; }
.contact-details h2 { font-size: clamp(28px, 2.5vw, 42px); line-height: 1.1; margin: 0; }
.contact-email { width: 100%; }
.contact-label { margin: 0 0 12px; color: #aaa; font-size: 14px; }
.contact-email-link { display: inline-block; max-width: 100%; padding: 13px 14px; background: #eee; color: #000; border-radius: 12px; font-size: clamp(14px, 1.15vw, 19px); line-height: 1.5; overflow-wrap: anywhere; transition: background .2s, color .2s; }
.contact-networks { margin-top: auto; }
.contact-network-links { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-network-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 13px; border-radius: 12px; background: #eee; color: #000; font-size: 15px; transition: background .2s, color .2s; }
.contact-email-link:hover, .contact-network-links a:hover { background: var(--purple); color: #fff; }
.contact-location { min-width: 0; }
.contact-map { height: 300px; overflow: hidden; border-radius: 15px; background: #333; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-location-caption { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.contact-location-caption h2 { font-size: clamp(24px, 2vw, 32px); line-height: 1.15; margin: 0; }
.contact-location-caption a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #bbb; }
.contact-location-caption a:hover { color: var(--purple); }
@media (max-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-sidebar { position: static; }
  .contact-sections { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
}
@media (max-width: 600px) {
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .contact-details { gap: 30px; }
  .contact-layout { padding-top: 24px; }
  .contact-intro { padding-top: 12px; }
  .contact-email-link { font-size: 15px; }
}

/* Réservation intégrée aux coordonnées, sans footer répété sur Contact. */
.contact-page .contact-layout { padding-bottom: 32px; }
.contact-booking { display: flex; width: fit-content; margin-top: 12px; min-height: 44px; padding: 10px 13px; font-size: 15px; border-radius: 12px; background: var(--purple); color: #fff; }
.contact-booking svg { width: 24px; height: 24px; }
.contact-booking:hover { background: #6532d5; }
@media (max-width: 600px) {
  .contact-card { padding: 20px; }
  .contact-map { height: 260px; }
}

/* Repère de la rubrique sélectionnée dans le menu Contact. */
.contact-sections a { display: flex; align-items: center; gap: 10px; }
.contact-sections a::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #fff; visibility: hidden; }
.contact-sections a[aria-current="location"]::before { visibility: visible; }

/* Présentation du studio et portraits en lentilles circulaires. */
.studio-layout { padding-bottom: 64px; }
.studio-content { min-width: 0; }
.studio-eyebrow { color: #aaa; margin: 0 0 22px; font-size: 16px; }
.studio-about h1 { margin: 0 0 36px; font-family: var(--font-title); font-size: clamp(36px, 4.5vw, 76px); font-weight: 600; letter-spacing: normal; line-height: 1.08; }
.studio-about > p:not(.studio-eyebrow), .studio-approach p { max-width: 1050px; font-size: clamp(21px, 2vw, 32px); line-height: 1.4; margin: 0 0 24px; text-wrap: pretty; }
.studio-approach { padding-top: clamp(32px, 4vw, 64px); }
.studio-approach h2, .studio-team h2 { font-family: var(--font); font-size: 17px; font-weight: 500; letter-spacing: normal; color: #aaa; margin: 0 0 24px; }
.studio-team { margin-top: clamp(48px, 6vw, 96px); }
.team-portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); }
.team-portrait { aspect-ratio: 1; min-width: 0; border-radius: 50%; overflow: hidden; background: #222; isolation: isolate; }
.portrait-lens { display: block; width: 100%; height: 100%; fill: none; stroke: none; overflow: hidden; }
.team-signature { color: #aaa; font-size: 14px; margin: 22px 0 0; }
.studio-contact-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 48px; padding: 16px 22px; border-radius: 14px; background: #222; color: #eee; font-size: clamp(17px, 1.5vw, 24px); transition: background .2s; }
.studio-contact-link:hover { background: var(--purple); }
@media (max-width: 540px) {
  .team-portraits { grid-template-columns: 1fr; gap: 24px; }
  .team-portrait { width: min(100%, 340px); margin-inline: auto; }
  .studio-about h1 { font-size: 36px; }
  .studio-contact-link { font-size: 17px; gap: 16px; }
}

/* En-tête compact : symbole à l’accueil, signature complète au défilement. */
.home-navigation { grid-template-columns: 160px repeat(3, minmax(0, 1fr)) minmax(0, 1.65fr); }
.brand, .home-nav-button { height: clamp(64px, 5vw, 88px); }
.brand { position: relative; justify-content: flex-start; }
.brand-symbol { display: block; width: 120px; aspect-ratio: 1298 / 690; background: url('https://www.dropbox.com/scl/fi/kbxaaavur7q4wl4jhmhx2/logo-symbol.svg?rlkey=6ekgubu4o0rgdgnobj4x45e0t&st=tqm04xdv&raw=1') left center / contain no-repeat; }
.header .brand-image { position: absolute; left: 0; top: calc(50% - 16px); width: 160px; opacity: 0; filter: brightness(0.142857143); }
.home-nav-button { border-radius: 15px; font-size: clamp(20px, 2.3vw, 36px); letter-spacing: normal; }
.home-nav-button.header-booking { background: #222; color: white; gap: 8px; padding: 10px; text-align: center; }

.home-nav-button.header-booking:hover { background: var(--purple); color: white; }
.contact-sidebar { top: calc(var(--gutter) + 70px); }
@media (min-width: 601px) and (max-width: 900px) {
  .home-navigation { grid-template-columns: 100px repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); }
  .brand-symbol { width: 96px; }
  .home-nav-button { font-size: 18px; }
  .home-nav-button.header-booking { gap: 5px; }

}
@media (max-width: 600px) {
  .home-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand { grid-column: 1; grid-row: 1; height: 54px; }
  .brand-symbol { width: 90px; max-width: 100%; }
  .header .brand-image { width: 128px; top: calc(50% - 13px); }
  .home-nav-button { grid-row: 2; height: 52px; font-size: clamp(18px, 4.5vw, 24px); border-radius: 12px; }
  .home-nav-button.header-booking { grid-column: 2 / -1; grid-row: 1; height: 54px; }
}

/* Accent typographique de la présentation d’accueil. */
.home-question { font-family: var(--font-title); font-optical-sizing: auto; font-weight: 650; font-style: italic; font-synthesis: style; }

/* Filtre unique par discipline : la forme remplace le point de sélection. */
.project-filters { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #222; border-radius: 18px; }
.project-filters button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 9px 10px; border-radius: 10px; background: transparent; color: #aaa; text-align: left; font-size: clamp(15px, 1.3vw, 22px); line-height: 1.15; letter-spacing: -.025em; transition: background .18s, color .18s; }
.project-filters button[aria-pressed="true"] { color: #fff; }
.project-filters button:hover { background: var(--purple); color: #fff; }
.filter-choice-icon, .filter-choice-icons { flex-shrink: 0; color: var(--purple); visibility: hidden; }
.filter-choice-icon { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.filter-choice-icons { display: flex; gap: 2px; }
.filter-choice-icons svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.project-filters button[aria-pressed="true"] .filter-choice-icon,
.project-filters button[aria-pressed="true"] .filter-choice-icons { visibility: visible; }
.project-filters button:hover .filter-choice-icon,
.project-filters button:hover .filter-choice-icons { color: #fff; }
.project-tags .project-tag { display: inline-flex; align-items: center; gap: 6px; }
.project-category-tag svg { width: 16px; height: 16px; fill: var(--purple); stroke: none; }
@media (max-width: 760px) {
  .project-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
  .project-filters button { font-size: 14px; }
}
@media (max-width: 420px) {
  .project-filters { grid-template-columns: minmax(0, 1fr); }
}

/* Rythme des projets : un grand format, puis deux formats simples. */
.portfolio .project-grid .project.layout-wide { grid-column: 1 / -1; }
.portfolio .project-grid .project.layout-wide .artwork { aspect-ratio: 1.8 / 1; }
@media (max-width: 540px) {
  .portfolio .project-grid .project.layout-wide { grid-column: auto; }
}
@media (max-width: 540px) {
  .portfolio .project-grid .project.layout-wide .artwork { aspect-ratio: 451 / 370; }
  .portfolio .project-grid .project.layout-wide .artwork.french-kiss { aspect-ratio: 922 / 530; }
}

/* Les projets partent du même niveau ; le grand visuel alterne de droite à gauche. */
.portfolio .project-grid .project.layout-tall .artwork { aspect-ratio: 1 / 1; }
@media (max-width: 540px) {
  .portfolio .project-grid .project.layout-tall .artwork { aspect-ratio: 451 / 370; }
}

/* Page du projet Kerafyrm. Les médias gardent toujours leurs proportions originales. */
.project-page { background: #000; color: #eee; }
.project-page-main { padding: clamp(28px, 4vw, 64px) var(--gutter) clamp(70px, 9vw, 150px); }
.case-study { max-width: 1320px; margin: 0 auto; }
.case-study-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin: clamp(44px, 7vw, 110px) 0 clamp(28px, 4vw, 64px); }
.case-study-kicker { margin: 0 0 12px; color: #aaa; font-size: clamp(16px, 1.3vw, 21px); }
.case-study h1 { margin: 0; max-width: 1000px; font-family: var(--font-title); font-size: clamp(44px, 6vw, 100px); font-weight: 600; line-height: .96; letter-spacing: normal; }
.case-study-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 420px; }
.case-study-meta span { padding: 9px 12px; border-radius: 10px; background: #222; color: #ddd; font-size: clamp(13px, 1vw, 16px); }
.case-study-media { width: 100%; margin: 0; overflow: hidden; border-radius: 0; background: #0b0610; }
.case-study-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.case-study-copy { max-width: 900px; margin: clamp(65px, 8vw, 130px) auto; }
.case-study-copy h2 { margin: 0 0 24px; font-size: clamp(32px, 4.2vw, 68px); line-height: 1; letter-spacing: normal; }
.case-study-copy p { margin: 0; color: #c5c5c5; font-size: clamp(18px, 1.5vw, 25px); line-height: 1.42; letter-spacing: normal; }
.case-study-copy p + p { margin-top: 1em; }
.case-study-copy.on-white { max-width: none; margin: 0; padding: clamp(54px, 7vw, 110px) clamp(18px, 5vw, 70px); background: #fff; color: #111; }
.case-study-copy.on-white h2, .case-study-copy.on-white p { max-width: 900px; margin-left: auto; margin-right: auto; }
.case-study-copy.on-white p { color: #333; }
.case-study-gallery { display: grid; gap: 0; margin: 0; }
.case-study-gallery.two-columns { grid-template-columns: minmax(0, 1fr); }
.case-study-gallery .case-study-media { min-width: 0; }
.case-study-embed { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border-radius: 0; background: #111; }
.case-study-comparison { aspect-ratio: 1920 / 867; }
.case-study-embed iframe, .case-study-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case-study-embed video { display: block; object-fit: contain; }
.case-study-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(70px, 10vw, 160px); }
.case-study-end a { display: inline-flex; align-items: center; min-height: 54px; padding: 12px 18px; border-radius: 13px; background: #222; color: #eee; font-size: clamp(16px, 1.3vw, 21px); transition: background .2s, color .2s; }
.case-study-end a:hover { background: var(--purple); color: #fff; }
@media (max-width: 760px) {
  .case-study-heading { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .case-study-meta { justify-content: flex-start; }
  .case-study-gallery.two-columns { grid-template-columns: minmax(0, 1fr); }
  .case-study-copy { margin: 60px 0; }
}
@media (max-width: 600px) {
  .project-page-main { padding: 18px 0 72px; }
  .case-study-heading { gap: 18px; margin: 30px 0 24px; padding: 0 12px; }
  .case-study-kicker { margin-bottom: 8px; font-size: 14px; }
  .case-study h1 { font-size: clamp(36px, 11vw, 52px); line-height: .98; }
  .case-study-meta { gap: 6px; }
  .case-study-meta span { padding: 7px 9px; font-size: 12px; }
  .case-study-copy { margin: 44px 14px; }
  .case-study-copy h2 { margin-bottom: 14px; font-size: 22px; line-height: 1.1; }
  .case-study-copy p { font-size: 14px; font-weight: 400; line-height: 1.55; }
  .case-study-gallery { gap: 0; margin: 0; }
  .case-study-media, .case-study-embed { border-radius: 0; }
  .case-study-media img { width: 100%; height: auto; object-fit: contain; }
  .case-study-end { align-items: stretch; flex-direction: column; margin: 64px 12px 0; }
  .case-study-end a { justify-content: center; width: 100%; font-size: 16px; }
}

/* Maquette du 10 septembre : Platypi, sélection éditoriale et signature. */
@font-face {
  font-family: "Platypi Studio";
  src: url("assets/fonts/platypi-variable.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
:root { --font-title: "Platypi Studio", Georgia, serif; }
h2, .case-study h1, .studio-about h1, .contact-intro h1 { font-weight: 400; letter-spacing: normal; }
.home-navigation { grid-template-columns: 1.65fr repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: clamp(6px, .7vw, 12px); }
.brand, .home-nav-button { height: clamp(48px, 5vw, 76px); }
.brand-symbol { width: clamp(80px, 11vw, 164px); aspect-ratio: 730 / 330; background-image: url('https://www.dropbox.com/scl/fi/z0dylpglmo0s5wmfntv1m/logo-stacked.svg?rlkey=mjj8al3rv1ubsin2q7hpqqu98&st=m90gf7d3&raw=1'); }
.home-nav-button, .call-button { font-family: var(--font-title); font-weight: 400; }
.home-nav-button { font-size: clamp(16px, 2vw, 30px); border-radius: 6px; }
.home-question { font-weight: 400; }
.portfolio-home .hero { height: auto; display: block; }
.portfolio-home .showreel-frame { margin-top: var(--gutter); aspect-ratio: 2.55 / 1; border-radius: 7px; }
.portfolio-home .studio { padding: clamp(24px, 3.3vw, 52px) var(--gutter); }
.portfolio-home .studio p { max-width: none; text-align: left; font-family: var(--font-title); font-size: clamp(22px, 3.1vw, 46px); font-weight: 400; line-height: 1.22; }
.portfolio-home .portfolio { grid-template-columns: minmax(175px, 21.5%) minmax(0, 1fr); gap: clamp(20px, 3vw, 46px) var(--gutter); }
.portfolio-home .portfolio:not(.filters-ready) { grid-template-columns: minmax(0, 1fr); }
.portfolio-home .project-grid { gap: clamp(28px, 4.2vw, 64px) clamp(10px, 1.3vw, 22px); }
.portfolio-home .project-grid .project .artwork { aspect-ratio: 194 / 151; border-radius: 0; }
.portfolio-home .project-grid .project.layout-wide .artwork { aspect-ratio: 16 / 9; }
.portfolio-home .project-grid .project.layout-wide .kerafyrm-card { aspect-ratio: 2.1 / 1; }
.french-new > span { background: url('https://www.dropbox.com/scl/fi/37yknw4hehao9a7s7nsuk/french-kiss.png?rlkey=dyxam7szt04m7pqjqvxnu9et5&st=listkqkm&raw=1') center / cover no-repeat; }
.chapelle > span { background: url('https://www.dropbox.com/scl/fi/mnhyi9wsl18nz3vu6q09a/chapelle-radio.png?rlkey=60jo4yit8m4y16y8kdm54mty3&st=zx0px63l&raw=1') center / cover no-repeat; }
.brandon > span { background: #000 url('https://www.dropbox.com/scl/fi/ef7d64awzgvm23ob3kexn/brandon.png?rlkey=a0uuvr57yjz7y6k2pi3r67ym1&st=p7u2spmh&raw=1') center / contain no-repeat; }
.archives > span { background: #000 url('https://www.dropbox.com/scl/fi/8wwmlsrdegjdix1pt4nnm/archives.png?rlkey=ohuzgdk4b4yy6tstbycsv4p6j&st=l33kfbw0&raw=1') center / cover no-repeat; }
.portfolio-home .project-info { display: block; min-height: 0; padding: clamp(10px, 1vw, 16px) 0 0; }
.portfolio-home .project.layout-wide .project-info { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.portfolio-home .project h2 { margin: 0; font-size: clamp(19px, 2.1vw, 32px); font-weight: 400; line-height: 1.2; gap: 9px; }
.portfolio-home .project h2 a { transition: color .2s; }
.portfolio-home .project h2 a:hover { color: var(--purple); }
.portfolio-home .project-info p { display: none; margin: 0; color: #ccc; font-size: clamp(13px, 1.1vw, 17px); line-height: 1.4; font-weight: 400; }
.portfolio-home .project.layout-wide .project-info p { display: block; }
.discipline-icon { display: inline-block; width: 1em; height: 1.15em; flex: 0 0 1em; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.icon-direction { --icon: url('https://www.dropbox.com/scl/fi/yn0a4nkrwjdvyjpggymjq/icon-direction.svg?rlkey=btm54r3q1z32611stbgm4h8co&st=k2xs5jnw&raw=1'); }
.icon-animation { --icon: url('https://www.dropbox.com/scl/fi/9doibwuu910ohkkmasdm5/icon-animation.svg?rlkey=aago4l2a35rzjij18901aizpe&st=0yonu2mu&raw=1'); }
.icon-illustration { --icon: url('https://www.dropbox.com/scl/fi/exf2spk73ry1x8ih43kzc/icon-illustration.svg?rlkey=9u045axzhq81tggrpi4dlgclh&st=ub4o6ias&raw=1'); }
.discipline-icons { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }
.project h2 > .discipline-icon { color: #444; font-size: .85em; margin-top: .1em; }
.project-filters { padding: clamp(10px, 1.5vw, 24px); gap: 2px; border-radius: 6px; }
.project-filters button { justify-content: flex-start; min-height: 40px; gap: 8px; padding: 8px 0; font-size: clamp(12px, 1.13vw, 18px); font-weight: 400; letter-spacing: normal; border-radius: 4px; }
.project-filters button .discipline-icons { color: #484848; }
.project-filters button[aria-pressed="true"] .discipline-icons, .project-filters button:hover .discipline-icons { color: #fff; }
.project-filters button:hover { background: transparent; color: white; }
.filter-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.portfolio-home .more-projects { grid-column: 1 / -1; justify-content: flex-start; gap: 12px; margin: 0; padding: 14px 22px; border-radius: 6px; color: #eee; font: 400 clamp(18px, 2.1vw, 32px)/1.2 var(--font-title); }
.more-projects .discipline-icons { font-size: .65em; }
.portfolio-home .footer { gap: 12px; padding-top: clamp(48px, 8vw, 120px); }
.portfolio-home .footer-actions { width: 100%; margin: 0; justify-content: flex-start; flex-direction: row; align-items: center; }
.portfolio-home .footer .call-button { border-radius: 5px; background: #222; color: #eee; font-size: clamp(18px, 2vw, 30px); padding: 6px 14px; }
.portfolio-home .footer .call-button:hover { background: var(--purple); }
.portfolio-home .footer .social-pill { padding: 0; background: none; }
.portfolio-home .footer .social { background: #222; color: #eee; width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); }
.footer-signature { display: block; width: 100%; aspect-ratio: 1842 / 365; background: url('https://www.dropbox.com/scl/fi/sdb5cmt80war9k1251p8a/logo-studio20.svg?rlkey=ucf7gcj1y83g68tsr5nsfgk73&st=t6n2074q&raw=1') center / contain no-repeat; }
.case-study-media video { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 760px) {
  .portfolio-home .portfolio { grid-template-columns: minmax(0, 1fr); }
  .project-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
  .project-filters button { font-size: 14px; }
  .portfolio-home .project h2 { font-size: 22px; }
}
@media (max-width: 600px) {
  .home-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .brand, .home-nav-button.header-booking { height: 48px; }
  .home-nav-button { height: 44px; font-size: 18px; }
  .brand-symbol { width: 94px; }
  .portfolio-home .showreel-frame { aspect-ratio: 1.8 / 1; }
  .portfolio-home .studio p { font-size: 22px; }
  .portfolio-home .project.layout-wide .project-info { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .portfolio-home .project-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .portfolio-home .project-grid .project.layout-wide { grid-column: auto; }
  .portfolio-home .project-info p { font-size: 14px; }
  .portfolio-home .footer .call-button { font-size: 16px; }
  .portfolio-home .footer-actions { gap: 10px; }
  .portfolio-home .footer .social-pill { gap: 6px; }
  .portfolio-home .footer .social { width: 28px; height: 28px; }
}

/* Corrections de la maquette : transparence, pictos et fin du défilement. */
.portfolio-home .studio p { text-align: left; text-align-last: left; text-wrap: wrap; word-spacing: normal; }
svg.discipline-icon { display: inline-block; background: none; mask: none; -webkit-mask: none; fill: currentColor; stroke: none; width: 1em; height: 1.15em; flex: 0 0 1em; }
.project-filters .discipline-icon { font-size: 1.4em; }
.portfolio-sidebar-boundary { align-self: stretch; min-width: 0; }
.portfolio-home .portfolio-sidebar { top: calc(var(--gutter) + 70px); }
.portfolio-home .footer { position: relative; display: block; padding-top: clamp(64px, 9vw, 140px); }
.portfolio-home .footer-signature { margin-top: 0; }
.portfolio-home .footer-actions { position: relative; z-index: 1; margin-bottom: clamp(-85px, -4.8vw, -24px); width: 70%; transform: translateY(-8px); }
@media (max-width: 760px) {
  .portfolio-sidebar-boundary { align-self: auto; }
  .portfolio-home .portfolio-sidebar { position: static; }
}
@media (max-width: 600px) {
  .portfolio-home .studio p { text-align: left; text-align-last: left; }
  .portfolio-home .footer-actions { width: 100%; margin-bottom: 0; transform: none; }
  .portfolio-home .footer-signature { margin-top: 8px; }
}

/* Vignettes fournies : largeur de colonne et hauteur proportionnelle au fichier. */
.portfolio-home .portfolio .project-grid .project .artwork.natural-thumbnail { aspect-ratio: auto; height: auto; width: 100%; background: transparent; }
.artwork.natural-thumbnail > img { display: block; width: 100%; height: auto; max-width: 100%; transition: filter .25s; }
a.artwork.natural-thumbnail:hover > img { filter: brightness(1.07); }

/* Pictogrammes PNG séparés : chargement direct, proportions et alignement stables. */
img.discipline-icon { display: block; position: static; width: 1em; height: 1.15em; flex: 0 0 1em; object-fit: contain; object-position: center; background: transparent; mask: none; -webkit-mask: none; filter: brightness(.28); transition: filter .18s; }
.project-filters .discipline-icons { align-items: center; gap: 4px; }
.project-filters button[aria-pressed="true"] img.discipline-icon,
.project-filters button:hover img.discipline-icon,
.project-filters button:focus-visible img.discipline-icon,
.more-projects img.discipline-icon { filter: brightness(1); }
.project h2 > img.discipline-icon { margin-top: .1em; }

/* Téléphone : filtres présentés verticalement, comme sur ordinateur. */
@media (max-width: 760px) {
  .portfolio-home .project-filters { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; }
  .portfolio-home .project-filters button { width: 100%; min-height: 44px; justify-content: flex-start; }
  .scroll-header .brand[inert] { visibility: hidden; pointer-events: none; }
}

/* Présentation sur ordinateur : espacement naturel et respiration verticale. */
@media (min-width: 761px) {
  .portfolio-home .studio { padding-block: clamp(72px, 7vw, 112px); }
  .portfolio-home .studio p {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.3;
    text-align: left;
    text-align-last: left;
    text-wrap: wrap;
    word-spacing: normal;
  }
}


/* Finitions : mouvement discret, pictogrammes équilibrés et pages par univers. */
html { scroll-behavior: smooth; }
.scroll-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.scroll-reveal.is-revealed, .scroll-reveal:focus-within { opacity: 1; transform: none; }
.project-filters img.icon-direction,
.project-filters img.icon-illustration { transform: scale(.88); }
.footer-signature { filter: brightness(.3); }
.project-page { --project-bg: #000; --project-text: #eee; --project-muted: #c5c5c5; background: var(--project-bg); color: var(--project-text); font-weight: 400; }
.project-page.light { --project-bg: #fff; --project-text: #161616; --project-muted: #333; }
.project-page.theme-french { --project-bg: #f4f4f4; }
.project-page.theme-chapelle { --project-bg: #171515; }
.project-page.theme-bruit { --project-bg: #004b45; --project-text: #f4f8f4; --project-muted: #c2eddb; }
.project-page .contact-header, .project-page-main { background: var(--project-bg); }
.project-page.light .brand-symbol { filter: brightness(.1); }
.project-page.light .home-nav-button[aria-current="page"] { background: #ddd; color: #111; }
.project-page .case-study-kicker { color: var(--project-muted); font-weight: 400; }
.project-page .case-study-copy { max-width: none; margin-inline: 0; }
.project-page .case-study-copy p { font-family: var(--font); font-weight: 400; color: var(--project-muted); line-height: 1.55; text-align: justify; text-align-last: left; }
.project-page .case-study-copy.on-white { padding-inline: 0; background: var(--project-bg); color: var(--project-text); }
.project-page .case-study-copy.on-white h2,
.project-page .case-study-copy.on-white p { max-width: none; }
.project-page .case-study-meta span, .project-page .case-study-end a { font-weight: 400; }
.project-page .case-study-media { background: var(--project-bg); }
@media (max-width: 600px) {
  .project-page .case-study-copy { margin-inline: 14px; }
  .project-page .case-study-copy p { text-align: left; font-size: 14px; }
  .project-page .case-study-copy.on-white { margin-inline: 0; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* Pictogrammes à la taille du titre, centrés sur sa ligne de texte. */
.portfolio-home .project h2 { align-items: center; }
.portfolio-home .project h2 > img.discipline-icon { font-size: inherit; height: 1em; width: 1em; flex: 0 0 1em; margin: 0; transform: none; object-fit: contain; align-self: center; }
.footer-signature { background-image: url('https://www.dropbox.com/scl/fi/3rifzliicw3ljvn7hxuyk/logo-studio20-footer.svg?rlkey=1y4vbdv17xfzmpf3pmpx3lq15&st=7nw0q6ko&raw=1'); filter: none; }
.project-page.theme-yasuke { --project-bg: #e5e5e5; }
.scroll-reveal { transform: translateY(24px); opacity: 0; transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.scroll-reveal.is-revealed { opacity: 1; transform: translateY(0); }
.scroll-reveal:focus-within { opacity: 1; transform: translateY(0); transition-delay: 0ms !important; }
.related-projects { margin-top: clamp(64px, 8vw, 120px); }
.related-projects > h2 { margin: 0 0 24px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.2; }
.related-projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.related-project { display: block; min-width: 0; }
.related-project img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; transition: opacity .2s; }
.related-project h3 { margin: 12px 0 0; font: 400 clamp(18px, 1.5vw, 24px)/1.25 var(--font-title); }
.related-project:hover img { opacity: .8; }
.related-project:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .related-projects { padding-inline: 14px; }
  .related-projects-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* Textes courants des pages Studio et Contact en Gotham Book. */
.studio-page, .contact-page { font-weight: 400; }
.studio-page .studio-team h2, .studio-page .studio-approach h2 { font-weight: 400; }
@media (min-width: 761px) and (max-height: 500px) {
  .portfolio-sidebar { position: static; }
}

/* Symboles seuls : bords des disques exclus, fond commun #222. */
.social-pill .social { position: relative; overflow: hidden; isolation: isolate; background: #222; border: 0; box-shadow: none; }
.social-pill .social .social-art { position: absolute; display: block; max-width: none; height: auto; pointer-events: none; filter: grayscale(1) contrast(3); mix-blend-mode: screen; }
.social-pill [data-social="behance"] .social-art { width: 140.4011%; left: -20.2006%; top: -20.2006%; clip-path: inset(32% 22% 30% 23%); }
.social-pill [data-social="instagram"] .social-art { width: 117.1843%; left: -8.9027%; top: -10.1449%; clip-path: inset(22%); }
.social-pill [data-social="tiktok"] .social-art { width: 114.4628%; left: -6.4050%; top: -8.6777%; clip-path: inset(24% 24% 23% 24%); }

.contact-booking .booking-phone-circle { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #fff; border-radius: 50%; }
.contact-booking .booking-phone-icon { display: block; width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }

/* Statut visible aussi quand Roxane occupe une demi-colonne. */
.portfolio-home .project[data-project-key="roxane"] .project-info p { display: block; }

/* La mention de Roxane commence sous le texte du titre. */
.portfolio-home .project[data-project-key="roxane"] .project-info { display: block; }
.portfolio-home .project[data-project-key="roxane"] .project-info p { padding-left: calc(clamp(19px, 2.1vw, 32px) + 9px); }
@media (max-width: 760px) {
  .portfolio-home .project[data-project-key="roxane"] .project-info p { padding-left: 31px; }
}
#page-loader { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #000; color: #eee; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s; }
.page-loading #page-loader { opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
.loader-logo { width: 190px; height: 70px; background: url('https://www.dropbox.com/scl/fi/sdb5cmt80war9k1251p8a/logo-studio20.svg?rlkey=ucf7gcj1y83g68tsr5nsfgk73&st=t6n2074q&raw=1') center / contain no-repeat; }
.page-loading .loader-logo { animation: loader-breathe 1s ease-in-out infinite alternate; }
@keyframes loader-breathe { from { opacity: .45; transform: translateY(4px); } to { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .page-loading .loader-logo { animation: none; }
  #page-loader { transition: none; }
}

/* Garder l’interpellation ensemble à toutes les largeurs. */
.portfolio-home .studio .home-question { display: inline-block; white-space: nowrap; word-spacing: normal; }

@media (max-width: 760px) {
  .portfolio-home .studio .home-question { display: inline; white-space: normal; }
}
