.entete {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  color: #fffaf1;
}
.barre {
  width: min(calc(100% - 2 * var(--marge)), 1500px);
  min-height: clamp(90px, 7.8vw, 122px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.marque { display: inline-flex; align-items: center; gap: .34em; white-space: nowrap; }
.marque span { font: 400 clamp(30px, 2.7vw, 47px)/1.12 var(--serif);  }
.marque img { width: clamp(44px, 4vw, 66px); height: auto; }
.entete .marque img { filter: brightness(0) invert(96%) sepia(8%) saturate(476%); }
#navigation { display: flex; align-items: center; gap: clamp(23px, 2.7vw, 55px); }
#navigation a { font-size: 17px; padding-block: 8px; border-bottom: 1px solid transparent; }
#navigation .contact-nav { border-bottom-color: #faf0dd9c; }
#navigation .contact-nav::after { content: "↗"; margin-left: 9px; }
.menu { display: none; }
.entete :focus-visible, .hero :focus-visible { outline-color: #ffe2af; }

.hero {
  --contour: clamp(83px, 7.8vw, 146px);
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #34281e;
  color: #fff8eb;
  min-height: 630px;
  height: clamp(630px, 84svh, 960px);
}
.scenes, .scene, .scene img, .hero-voile { position: absolute; inset: 0; width: 100%; height: 100%; }
.scenes { z-index: -2; overflow: hidden; }
.scene img { display: block; object-fit: cover; }
.scene-matiere img { object-position: 58% 47%; transform-origin: 73% 39%; }
.scene-roses { opacity: 0; }
.scene-roses img { object-position: 52% 42%; transform-origin: 64% 43%; }
.hero-voile {
  z-index: -1;
  background:
    linear-gradient(180deg, #140f0ce8 0%, #1b140da6 9%, transparent 32%),
    linear-gradient(0deg, #100e0ce8 0%, #15100de0 14%, #231a14ac 33%, #231a1430 55%, transparent 76%),
    linear-gradient(90deg, #241b144a, transparent 76%);
}
.composition {
  width: min(calc(100% - 2 * var(--marge)), 1500px);
  margin: 0 auto;
  padding: 128px 0 calc(var(--contour) + 17px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .48fr);
  grid-template-areas: "titre introduction" "villes ." "action .";
  align-items: end;
  column-gap: clamp(24px, 6vw, 130px);
}
#titre {
  grid-area: titre;
  font-size: clamp(79px, 7.85vw, 154px);
  line-height: .98;
  font-weight: 400;
  margin: 0;
}

.territoire {
  grid-area: villes;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .15em .64em;
  margin-top: clamp(18px, 1.8vw, 30px);
  color: #faebd9;
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.45;
}
.territoire b { font-weight: 400; color: #e4c2a4; }
.composition .intro { grid-area: introduction; width: min(100%, 335px); justify-self: end; }
#titre, .composition .intro { align-self: last baseline; }
.intro { font-size: clamp(18px, 1.34vw, 23px); line-height: 1.38; color: #fffaee; text-wrap: pretty; }
.ecrire { grid-area: action; justify-self: start; display: inline-flex; align-items: center; gap: 15px; margin-top: 10px; font-size: 17px; font-weight: 600; }
.ecrire span {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid #edd9b79e;
  font: 20px/1 Arial, sans-serif;
  transition: background .18s, color .18s;
}
.ecrire span { position: relative; }
.ecrire span::before, .ecrire span::after {
  content: ""; position: absolute; top: 50%; left: 50%;
}
.ecrire span::before {
  width: 12px; border-top: 1.4px solid; transform: translate(-50%, -50%) rotate(-45deg);
}
.ecrire span::after {
  width: 7px; height: 7px; border-top: 1.4px solid; border-right: 1.4px solid;
  transform: translate(-34%, -66%);
}
.ecrire:hover span { background: #f5e8d5; color: #332b23; }
.decoupe { position: absolute; width: 100%; height: var(--contour); inset: auto 0 -1px; fill: var(--ivoire); pointer-events: none; }
.commande-film {
  position: absolute;
  bottom: calc(var(--contour) + 12px);
  right: max(var(--marge), calc((100% - 1500px) / 2));
  color: #fff6e9;
}
.mouvement {
  width: 44px; height: 44px; border: 0; padding: 4px;
  display: grid; place-items: center; background: transparent; color: inherit;
}
.mouvement[hidden] { display: none; }
.icone-lecture { display: grid; place-items: center; border: 1px solid #fae9cdc7; background: #1e17154d; width: 36px; height: 36px; border-radius: 50%; }
.icone-lecture::after { content: ""; width: 5px; height: 10px; border-inline: 1.5px solid; }
.mouvement.en-pause .icone-lecture::after { width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; margin-left: 2px; }
.mouvement:hover .icone-lecture { background: #fff2; }
.repere {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  color: #804936;
  font-size: .8125rem;
  line-height: 1.4;
}
.repere::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  background: currentColor;
  -webkit-mask: url("images/symbole-atelier.svg") center / contain no-repeat;
  mask: url("images/symbole-atelier.svg") center / contain no-repeat;
}
.repere.clair { color: #f7e2c6; }
.observation .repere::before { content: none; }
.section-oeuvres { padding-top: clamp(24px, 2.6vw, 50px); }
.pied .marque { color: #4a3028; }
.pied .marque img { width: 36px; }
.pied .marque span { font-size: 25px; }

@media (max-width: 900px) {
  .barre { min-height: 85px; }
  #navigation { gap: 20px; }
  #navigation a { font-size: 15px; }
  .composition { grid-template-columns: 1fr .58fr; column-gap: 26px; }
  #titre { font-size: clamp(67px, 8.9vw, 84px); }
}
@media (max-width: 760px) {
  .barre { min-height: 76px; }
  .marque { gap: 8px; }
  .marque span { font-size: clamp(24px, 5.8vw, 33px); }
  .marque img { width: clamp(33px, 7.9vw, 44px); }
  .menu { flex: none; display: grid; align-content: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 1px solid #e9dbbf80; border-radius: 50%; color: inherit; background: #1c161422; }
  .menu span { display: block; height: 1px; width: 18px; background: currentColor; transition: transform .2s; }
  .menu[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  #navigation { display: none; position: absolute; top: calc(100% - 2px); right: var(--marge); min-width: 205px; padding: 13px 22px 18px; background: #322923; border: 1px solid #b2977a; border-radius: 18px 4px 18px 4px; box-shadow: 0 12px 32px #120e0d40; }
  #navigation.ouvert { display: grid; gap: 0; }
  #navigation a { display: block; width: fit-content; padding: 9px 0; font-size: 17px; }
}
@media (max-width: 680px) {
  .hero { --contour: clamp(45px, 9vw, 66px); min-height: 583px; height: clamp(583px, 84svh, 770px); }
  .composition { grid-template-columns: minmax(0, 1fr); grid-template-areas: "titre" "introduction" "villes" "action"; padding: 100px 0 calc(var(--contour) + 21px); }
  #titre { font-size: clamp(45px, 13.3vw, 85px); line-height: 1.01; }
  .territoire { gap: .1em .55em; font-size: 14px; margin-top: 15px; }
  .composition .intro { justify-self: start; margin-top: 14px; width: min(100%, 365px); }
  .intro { font-size: 17px; line-height: 1.38; }
  .ecrire { font-size: 16px; margin-top: 12px; gap: 12px; }
  .ecrire span { width: 32px; height: 32px; font-size: 17px; }
  .commande-film { bottom: calc(var(--contour) + 7px); }
  .icone-lecture { width: 32px; height: 32px; }
  .scene-matiere img { object-position: 59% 36%; }
  .scene-roses img { object-position: 58% 49%; }
  .hero-voile {
    background: linear-gradient(180deg, #15120fe3, #1e18115c 13%, transparent 28%),
      linear-gradient(0deg, #17120ff2 4%, #17120ee0 24%, #1e1611af 46%, #2118101a 66%);
  }
  .section-oeuvres { padding-top: 19px; }
  .pied { padding-block: 20px; }
  .pied .marque span { font-size: 21px; }
  .pied .marque img { width: 25px; }
}
@media (max-width: 400px) {
  .barre { gap: 10px; }
  .entete .marque { gap: 6px; }
  .entete .marque img { width: 30px; }
  .entete .marque span { font-size: clamp(20px, 6.1vw, 24px); }
}
@media (max-width: 355px) {
  .barre { gap: 8px; min-height: 66px; }
  .hero { min-height: 570px; }
  .pied { grid-template-columns: 1fr; grid-template-areas: "marque" "credits" "retour"; }
  .pied .retour-haut { justify-self: start; }
  .pied .lien { font-size: 13px; }
}
