/* Retours des 8 et 9 octobre : tuiles Savoir-faire, matières sur téléphone, texte de présentation replié, molette des scènes. */

/* Savoir-faire : coins plus arrondis sur toutes les tailles d'écran. */
.project-tile{border-radius:12px}

/* Savoir-faire, grand écran : tuiles un peu plus petites, titre et pied de scène alignés sur la grille. */
.scenes-on .scene-skills .scene-inner{padding-top:calc(var(--header-h) + 2px + 2.5vh);padding-bottom:calc(28px + 2.5vh);padding-right:calc(var(--pad) + 2.5vw)}
@media(max-width:1200px){.scenes-on .scene-skills .scene-inner{padding-right:calc(35px + 2.5vw)}}

/* Présentation de l'atelier sous les scènes : repliée par défaut, le texte reste dans la page. */
.home-about-more>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;border-top:1px solid var(--line);cursor:pointer;list-style:none;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#aa9680}
.home-about-more>summary::-webkit-details-marker{display:none}
.home-about-more>summary::after{content:'+';font-size:18px;line-height:1;color:var(--gold);transition:transform .4s}
.home-about-more[open]>summary::after{transform:rotate(45deg)}
.home-about-more>summary:focus-visible{outline:1px solid var(--gold);outline-offset:4px}
.home-about:has(.home-about-more){padding-top:0;padding-bottom:24px}
.home-about-more>div{padding:38px 0;border-top:1px solid var(--line)}
.home-about-more>summary+div{border-top:0;padding-top:8px}

@media(max-width:700px){
  .project-tile{height:225px}

  /* Matières sur téléphone : six bandes horizontales qui tiennent sur un écran. */
  .material-strips{display:flex;flex-direction:column;gap:6px;height:auto}
  /* Au survol ou au focus, la bande garde sa taille : les règles d'accordéon de l'ordinateur ne s'appliquent pas ici. */
  .material-strips .material-tile,.material-strips .material-tile:last-child,.material-strips .material-tile:is(.is-active,:focus-visible),.material-strips.has-active .material-tile:not(.is-active){flex:none;height:clamp(62px,9vh,80px);min-height:0;grid-column:auto;transition:opacity .5s,border-color .5s}
  .material-tile .tile-image{object-position:50% 50%}
  .material-tile .tile-shade{background:linear-gradient(90deg,#070707d9 0%,#0707078c 48%,#07070714 100%)}
  .material-copy{inset:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px}
  .material-copy h3{font-size:clamp(21px,6vw,25px);line-height:1;white-space:nowrap}
  .material-copy h3 br{display:none}
  .material-explore,.material-tile:is(.is-active,:focus-visible) .material-explore{max-height:none;margin:0;opacity:.85;font-size:10px}
  .material-tile:is(.is-active,:focus-visible) .tile-image{transform:scale(1.04)}
  .materials .section-heading{margin-bottom:18px}
}

/* Molette des scènes (grand écran) : capitales, style Helvetica, un peu plus grasses. */
.scene-wheel .dot-label{font:600 15px/1 "Helvetica Neue",Helvetica,Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em}
@media(max-width:1200px){.scene-wheel .dot-label{font-size:13px}}

/* Proposition du 9 octobre : une lecture plus sobre des matières et des repères. */
.material-copy h3,.scenes-on .material-copy h3,.scenes-off .material-copy h3{font-family:Manrope,sans-serif;font-weight:400;font-size:clamp(19px,1.55vw,25px);line-height:1.22;letter-spacing:-.045em}
.scene-wheel .dot-label{font-family:Manrope,sans-serif;font-size:17px;font-weight:500;text-transform:none;letter-spacing:-.025em}
@media(max-width:1200px){.scene-wheel .dot-label{font-size:15px}}
@media(max-width:700px){.material-copy h3,.scenes-off .material-copy h3{font-size:21px;letter-spacing:-.025em}}
/* Long client list: constant speed regardless of the number of logos. */
.brands-track{animation-duration:140s}
.brands-group .brand-client{width:145px;height:34px;object-fit:contain}
.brands-group .brand-client.brand-compact{width:90px;height:40px}
@media(prefers-reduced-motion:reduce){
 .brands-window{overflow-x:auto;mask-image:none}
 .brands-track{width:max-content}
 .brands-group{flex-wrap:nowrap;gap:35px;padding-right:35px}
 .brands-group[aria-hidden]{display:none}
}
/* Bandeau des logos : chaque logo garde ses proportions (hauteur commune, largeur naturelle)
   et l'écart entre deux logos est constant. Le défilement est piloté par brands.js. */
.brands-band.js-flow .brands-track{animation:none;will-change:transform}
.brands-band .brands-group{gap:60px;padding-right:60px}
.brands-band .brands-group .brand-client{width:auto;height:26px;max-width:170px;object-fit:contain}
.brands-band .brands-group .brand-dior,.brands-band .brands-group .brand-prada,.brands-band .brands-group .brand-valmont{height:22px}
.brands-band .brands-group .brand-louis-vuitton,.brands-band .brands-group .brand-armani,.brands-band .brands-group .brand-chanel{height:17px}
.brands-band .brands-group .brand-givenchy,.brands-band .brands-group .brand-gucci{height:44px}
.brands-band .brands-group .brand-kilian,.brands-band .brands-group .brand-jean-paul-gaultier,.brands-band .brands-group .brand-cacharel,.brands-band .brands-group .brand-margiela,.brands-band .brands-group .brand-trudon{height:36px}
.brands-band .brands-group .brand-frederic-malle,.brands-band .brands-group .brand-hennessy,.brands-band .brands-group .brand-diesel{height:34px}
.brands-band .brands-group .brand-helena-rubinstein{height:14px}
.brands-band .brands-group .brand-diesel{height:50px;max-width:none}
.brands-band .brands-group .brand-hennessy{height:46px}
.brands-band .brands-group .brand-yves-rocher{height:30px;max-width:210px}
.brands-band .brands-group .brand-kilian{height:42px}
.brands-band .brands-group .brand-lancome{height:30px}
.brands-band .brands-group .brand-chanel{height:20px}
@media(max-width:700px){.brands-band .brands-group{gap:40px;padding-right:40px}.brands-band .brands-group .brand-client{max-width:130px}}

/* Parcours (plan du site) : secteurs cliquables sur les deux premiers écrans, lien vers la page
   de chaque écran, et pied de page en colonnes à la place de la ligne de petits liens. */
.sector-links{text-transform:uppercase}
.sector-links a{transition:color .3s,box-shadow .3s}
.sector-links a:hover,.sector-links a:focus-visible{color:#fff;box-shadow:inset 0 -1px 0 var(--gold)}
.scene-page-links{display:flex;flex-wrap:wrap;gap:8px 26px}
.scene-page-links a,.scene-page-link{color:#e3ceb3;border-bottom:1px solid #6f5b42;letter-spacing:.12em;text-transform:uppercase;font-size:10px;padding-bottom:2px;transition:color .3s,border-color .3s;white-space:nowrap}
.scene-page-links a:hover,.scene-page-link:hover{color:#fff;border-color:var(--gold)}
.section-heading .scene-page-link{align-self:flex-end;margin-bottom:8px}
#materials-title a{color:inherit;transition:color .3s}
#materials-title a:hover{color:#fff}
.home-footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 28px;margin-top:12px;padding-top:12px;border-top:1px solid #ffffff17;font-size:11.5px;color:#a59d92}
.home-footer p{margin:0;display:flex;flex-wrap:wrap;gap:3px 14px}
.home-footer .home-footer-title{display:block;margin-bottom:5px;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:#aa9680}
.home-footer a{transition:color .3s}
.home-footer a:hover,.home-footer a:focus-visible{color:#fff}
@media(max-width:900px){.hero-foot:has(.scene-page-links){flex-wrap:wrap;gap:14px}.home-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin-top:22px}}
@media(max-width:700px){.section-heading:has(.scene-page-link){flex-wrap:wrap;gap:10px}}

@media(max-width:700px){.scene-page-links{flex-direction:column;align-items:flex-start;gap:12px}.scene-page-links a{white-space:normal}}
.brands-band .brands-group .brand-armani-wordmark{height:22px}
/* Logos sur plusieurs lignes : conserver une hauteur de lettres lisible. */
.brands-band .brands-group .brand-remy-martin{height:52px}
.brands-band .brands-group .brand-partisan-du-sens{height:42px}
.brands-band .brands-group .brand-shiseido{height:32px}
.brands-band .brands-group .brand-evidens{height:34px}

/* Tuiles Matières façon couverture de magazine : nom en grandes capitales Didone (Bodoni Moda)
   qui occupe toute la largeur en haut, second mot en petites capitales espacées, numéro discret. */
.materials .material-strips{container-type:inline-size;container-name:strips}
.materials .material-strips .material-tile .tile-shade{background:linear-gradient(180deg,#0708098c 0%,#07080933 26%,transparent 45%,transparent 70%,#07080966 100%)}
.materials .material-strips .material-copy.cover{position:absolute;inset:0;margin:0;padding:0;display:block}
.materials .material-strips .cover-title{position:absolute;left:0;right:0;top:20px;margin:0;display:flex;flex-direction:column;align-items:center;text-align:center;font:inherit;letter-spacing:0;line-height:1;text-shadow:none}
.cover-word{display:block;width:100%;font:500 calc((100cqw - 50px) / 6 * .9 / 5.2)/.86 'Bodoni Moda',Didot,'Bodoni 72',Georgia,serif;font-variation-settings:'opsz' 96;letter-spacing:-.01em;color:#fff;text-transform:uppercase;white-space:nowrap;text-shadow:0 2px 24px #0005;transition:transform 1s cubic-bezier(.2,.75,.25,1),letter-spacing 1s cubic-bezier(.2,.75,.25,1)}
.cover-sub{display:block;margin-top:10px;font:500 11.5px/1 Manrope,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#ffffffd9;padding-left:.32em}
.material-tile:is(.is-active,:focus-visible) .cover-word{letter-spacing:.02em}
@media(max-width:700px){
    .materials .material-strips .cover-title{top:0;bottom:0;left:16px;right:auto;align-items:flex-start;justify-content:center;text-align:left}
  .cover-word{width:auto;font-size:30px}
  .cover-sub{margin-top:5px;padding-left:2px;font-size:10px}
  .materials .material-strips .material-tile .tile-shade{background:linear-gradient(90deg,#070809a6 0%,#07080940 55%,transparent 100%)}
}

/* Tuiles Savoir-faire : même traitement « couverture » que les tuiles Matières.
   Taille commune aux 4 titres, réglée sur les mots les plus longs (MAQUETTES, PACKAGING). */
.hero-grid{container-type:inline-size}
.hero-grid .project-tile .tile-shade{background:linear-gradient(180deg,#0708098c 0%,#07080933 28%,transparent 48%,transparent 62%,#050505a6 100%)}
.hero-grid .project-tile .tile-copy{inset:0;transform:none}
.hero-grid .project-tile .cover-title{position:absolute;top:22px;left:0;right:0;margin:0;display:flex;flex-direction:column;align-items:center;text-align:center;font:inherit;letter-spacing:0;line-height:1;text-shadow:none}
.hero-grid .cover-word{width:100%;font:500 calc((100cqw - 14px) / 2 * .55 / 6.9)/.86 'Bodoni Moda',Didot,'Bodoni 72',Georgia,serif;font-variation-settings:'opsz' 96;letter-spacing:-.01em;color:#fff;white-space:nowrap;text-shadow:0 2px 24px #0005;transition:letter-spacing 1s cubic-bezier(.2,.75,.25,1)}
.hero-grid .cover-sub{margin-top:10px;font:500 11px/1 Manrope,sans-serif;letter-spacing:.32em;padding-left:.32em;text-transform:uppercase;color:#ffffffd9}
.hero-grid .project-tile:is(.is-active,:focus-visible) .cover-word{letter-spacing:.02em}
.hero-grid .project-tile .tile-copy p{position:absolute;left:28px;right:65px;bottom:27px;margin:0}
@media(max-width:700px){
  .hero-grid .cover-word{width:100%;font-size:calc((100cqw - 10px) / 2 * .86 / 6.6)}
  .hero-grid .project-tile .cover-title{top:18px}
  .hero-grid .cover-sub{font-size:10.5px;margin-top:8px}
  .hero-grid .project-tile .tile-copy p{left:20px;bottom:20px}
}

/* Tuiles Savoir-faire : cadrage remonté pour voir le haut des objets (bouchons, flacons). */
.tile-maquettes .tile-image{object-position:50% 6%}
.tile-packaging .tile-image{object-position:50% 18%}
.tile-plv .tile-image{object-position:50% 0%}
.tile-couleur .tile-image{object-position:52% 14%}

/* Tuiles Savoir-faire plus petites (moins « pleine page ») et images moins zoomées. */
@media(min-width:701px){
  .scene-skills .hero-heading,.scene-skills .hero-grid{width:100%;max-width:1060px;margin-inline:auto}
  .scenes-on .scene-skills .hero-grid{flex:0 1 auto;height:min(640px,calc(100svh - 250px))}
  .hero-grid .project-tile .tile-image{transform:none}
  .hero-grid .project-tile:is(.is-active,:focus-visible) .tile-image{transform:scale(1.04)}
  .hero-grid .project-tile.tile-packaging:is(.is-active,:focus-visible) .tile-image{transform:scale(1.06)}
}

/* Bandeau des marques : on peut le faire glisser au doigt (brands.js) ; le défilement vertical de la page reste libre. */
.brands-band{touch-action:pan-y}
