:root {
  --papier: #fbf8f3;
  --papier-creuse: #f1eadf;
  --encre: #1b1a17;
  --encre-douce: #56504a;
  --laiton: #9a7b3f;
  --bordeaux: #6b1f2e;
  --filet: rgba(27, 26, 23, 0.16);
  --filet-clair: rgba(251, 248, 243, 0.18);
  --page: 1180px;
  --gouttiere: clamp(1.25rem, 5vw, 4rem);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--laiton);
  outline-offset: 4px;
}

.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--encre);
  color: var(--papier);
  padding: 0.75rem 1.25rem;
  z-index: 10;
}

.evitement:focus {
  left: 0;
}

.bouton {
  display: inline-block;
  background: var(--bordeaux);
  color: var(--papier);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  padding: 1.05rem 2.4rem;
  border: 0;
  cursor: pointer;
  transition: background 260ms ease, transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bouton:hover {
  background: var(--encre);
  transform: translateY(-2px);
}

.bouton:active {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gouttiere);
  overflow: hidden;
}

.hero-fond {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: blur(2px) sepia(0.18) saturate(0.92) brightness(0.92);
  transform: scale(1.16);
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--papier) 10%, transparent) 0%,
    color-mix(in srgb, var(--papier) 58%, transparent) 32%,
    color-mix(in srgb, var(--papier) 58%, transparent) 72%,
    color-mix(in srgb, var(--papier) 10%, transparent) 100%
  );
}

.hero-texte {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  text-align: center;
}

.hero-texte > * {
  animation: revele 900ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.hero-nom {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.015em;
  display: block;
}

.hero-titre {
  margin: 0;
  animation-delay: 80ms;
}

.hero-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  margin: 1.9rem 0 0;
}

.hero-zone {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--laiton);
  margin: 0.35rem 0 0;
  animation-delay: 320ms;
}

.hero-baseline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--encre-douce);
  max-width: 34ch;
  margin: 2.5rem auto 0;
  animation-delay: 440ms;
}

.hero .bouton {
  margin-top: 3rem;
  animation-delay: 560ms;
}

@keyframes revele {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
}

.barre {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--filet);
  padding: 0.9rem var(--gouttiere);
}

.barre-nom {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
}

.barre-liens {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.barre-liens a {
  position: relative;
  text-decoration: none;
  padding-block: 0.25rem;
}

.barre-liens a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--laiton);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.barre-liens a:hover::after,
.barre-liens a:focus-visible::after {
  transform: scaleX(1);
}

.barre-action {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 0.2rem;
}

.reassurance {
  background: var(--papier-creuse);
  padding: 2.25rem var(--gouttiere);
}

.reassurance-liste {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2.5rem;
}

.reassurance-liste li {
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}

.reassurance-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--laiton);
  transform: rotate(45deg);
}

.bande {
  padding: clamp(4.5rem, 10vw, 8rem) max(var(--gouttiere), (100% - var(--page)) / 2);
}

.bande--papier {
  background: var(--papier-creuse);
}

.bande-entete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: end;
  border-bottom: 1px solid var(--filet);
  padding-bottom: 1.75rem;
  margin-bottom: 3.5rem;
}

.bande-titre {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

.bande-intro {
  font-size: 0.98rem;
  color: var(--encre-douce);
  max-width: 46ch;
  margin: 0;
}

.video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
}

.video-lecture {
  width: 100%;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.1rem;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--filet);
  background: var(--papier-creuse);
  cursor: pointer;
  overflow: hidden;
}

.video-affiche {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-lecture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 23, 0.24);
  transition: background 240ms ease;
}

.video-lecture:hover::after {
  background: rgba(27, 26, 23, 0.34);
}

.video-marque {
  position: relative;
  z-index: 1;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--papier);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 340ms cubic-bezier(0.22, 0.61, 0.36, 1), background 240ms ease;
}

.video-lecture:hover .video-marque {
  transform: scale(1.08);
}

.video-marque::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 13px solid var(--papier);
  border-block: 9px solid transparent;
}

.video-action {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--papier);
}

.video-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--filet);
  background: var(--encre);
}

.video-texte {
  max-width: 48ch;
  text-align: center;
}

.video-titre {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

.video-contexte {
  max-width: 48ch;
  color: var(--encre-douce);
  margin: 1.25rem auto 0;
}

.video-relance {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  max-width: 44ch;
  margin: 2.25rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--filet);
}

.video-lien {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 0.2rem;
}

.avis-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.avis {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 0;
  padding-right: 2.75rem;
}

.avis + .avis {
  border-left: 1px solid var(--filet);
  padding-left: 2.75rem;
}

.avis-citation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
}

.avis-signature {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--filet);
}

.avis-maries {
  font-weight: 500;
  font-size: 0.95rem;
}

.avis-detail {
  font-size: 0.83rem;
  color: var(--encre-douce);
}

.galerie {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: min(34vw, 40rem);
  gap: 0;
  padding: 0;
}

.photo-cadre {
  margin: 0;
  overflow: hidden;
  background: var(--papier-creuse);
}

.photo-cadre--paysage {
  grid-column: span 2;
}

.photo-cadre--portrait {
  grid-column: span 1;
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.photo-cadre:hover .photo {
  transform: scale(1.06);
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.bio-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--filet);
}

.bio-texte p {
  max-width: 64ch;
  margin: 1.5rem 0 0;
}

.bio-texte .bande-titre {
  margin-bottom: 2rem;
}

.question {
  border-top: 1px solid var(--filet);
}

.question:last-child {
  border-bottom: 1px solid var(--filet);
}

.question-intitule {
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 400;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
}

.question-intitule::-webkit-details-marker {
  display: none;
}

.question-intitule::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 1.15rem;
  font-size: 1.4rem;
  color: var(--laiton);
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.question[open] .question-intitule::after {
  transform: rotate(135deg);
}

.question-intitule:hover {
  color: var(--laiton);
}

.question-reponse {
  max-width: 66ch;
  color: var(--encre-douce);
  margin: 0;
  padding-bottom: 1.75rem;
}

.reponse {
  background: var(--papier-creuse);
  padding: clamp(4.5rem, 10vw, 8rem) var(--gouttiere);
}

.reponse-carton {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--papier);
  border: 1px solid var(--laiton);
  outline: 1px solid var(--filet);
  outline-offset: -9px;
  padding: clamp(2.25rem, 6vw, 4rem);
}

.reponse-titre {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  margin: 0;
}

.reponse-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--encre-douce);
  max-width: 42ch;
  margin: 1rem auto 3rem;
}

.champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2.25rem;
}

.champ {
  display: flex;
  flex-direction: column;
}

.champ--large {
  grid-column: span 2;
}

.champ-nom {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--encre-douce);
  margin-bottom: 0.55rem;
}

.champ input,
.champ select,
.champ textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--encre);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--encre);
  border-radius: 0;
  padding: 0.5rem 0;
  width: 100%;
  transition: border-color 200ms ease;
}

.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%239a7b3f' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
}

.champ textarea {
  resize: vertical;
  line-height: 1.6;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: color-mix(in srgb, var(--encre-douce) 55%, transparent);
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-bottom-color: var(--bordeaux);
}

.champ-erreur {
  font-size: 0.78rem;
  color: var(--bordeaux);
  min-height: 1.2em;
  margin-top: 0.35rem;
}

.reponse-pied {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2.75rem;
}

.reponse-etat {
  font-size: 0.92rem;
  color: var(--encre-douce);
  text-align: center;
  margin: 0;
  min-height: 1.4em;
}

.reponse-etat[data-etat="erreur"] {
  color: var(--bordeaux);
}

.reponse-etat[data-etat="succes"] {
  color: var(--laiton);
}

.pied {
  text-align: center;
  border-top: 1px solid var(--filet);
  padding: 3.5rem var(--gouttiere);
}

.pied-nom {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}

.pied-liens {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.pied-liens a {
  text-decoration: none;
  border-bottom: 1px solid var(--filet);
  padding-bottom: 0.15rem;
}

.pied-liens a:hover {
  border-bottom-color: var(--laiton);
}

.pied-zone {
  font-size: 0.83rem;
  color: var(--encre-douce);
  margin: 1.75rem 0 0;
}

.reponse-mention {
  max-width: 46ch;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--encre-douce);
  text-align: center;
  margin: 0;
}

.mentions {
  max-width: 46rem;
  margin: 3rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--filet);
  text-align: left;
}

.mentions-titre {
  list-style: none;
  cursor: pointer;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--encre-douce);
}

.mentions-titre::-webkit-details-marker {
  display: none;
}

.mentions-titre:hover {
  color: var(--laiton);
}

.mentions-corps {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--encre-douce);
}

.mentions-corps dt {
  margin-top: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--encre);
}

.mentions-corps dt:first-of-type {
  margin-top: 0;
}

.mentions-corps dd {
  margin: 0.4rem 0 0;
  max-width: 68ch;
}

.bande--sombre {
  background: var(--encre);
  color: var(--papier);
}

.bande--sombre .bande-titre,
.bande--sombre .avis-citation,
.bande--sombre .avis-maries {
  color: var(--papier);
}

.bande--sombre .bande-entete,
.bande--sombre .avis-signature {
  border-color: var(--filet-clair);
}

.bande--sombre .avis + .avis {
  border-left-color: var(--filet-clair);
}

.bande--sombre .avis-detail {
  color: rgba(251, 248, 243, 0.62);
}

.bande-photo {
  margin: 0;
}

.bande-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: grayscale(1);
}

.defile {
  overflow: hidden;
  background: var(--papier-creuse);
  border-block: 1px solid var(--filet);
  padding-block: 1.5rem;
}

.defile-piste {
  display: flex;
  width: max-content;
  animation: defiler 42s linear infinite;
}

.defile:hover .defile-piste {
  animation-play-state: paused;
}

.defile-serie {
  display: flex;
}

.defile-mot {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  white-space: nowrap;
  padding-right: 1.8rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--encre);
}

.defile-mot::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--laiton);
  transform: rotate(45deg);
}

@keyframes defiler {
  to {
    transform: translateX(-50%);
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.42'/%3E%3C/svg%3E");
}

.anime-actif .bande-entete,
.anime-actif .video,
.anime-actif .avis,
.anime-actif .bio,
.anime-actif .question,
.anime-actif .reponse-carton,
.anime-actif .bande-photo,
.anime-actif .reassurance-liste li {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 950ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 950ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.anime-actif .photo-cadre {
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.anime-actif .vu,
.anime-actif .reassurance-liste li.vu {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .reassurance-liste {
    grid-template-columns: repeat(2, 1fr);
  }

  .bande-entete {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .video {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .video-lecture,
  .video-media {
    width: 100%;
  }

  .bio {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

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

  .avis {
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .avis + .avis {
    border-left: 0;
    border-top: 1px solid var(--filet);
    padding-left: 0;
    padding-top: 2rem;
  }

  .bande--sombre .avis + .avis {
    border-top-color: var(--filet-clair);
  }

  .bande-photo img {
    aspect-ratio: 3 / 2;
  }

  .galerie {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 58vw;
  }

  .photo-cadre--paysage {
    grid-column: span 2;
  }

  .photo-cadre--portrait {
    grid-column: span 1;
  }

  .bio-portrait {
    max-width: 18rem;
  }

  .barre-liens {
    display: none;
  }

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

  .champ--large {
    grid-column: span 1;
  }
}

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

  .hero-texte > * {
    animation: none;
  }

  .defile-piste {
    animation: none;
  }

  .photo-cadre:hover .photo,
  .bouton:hover,
  .video-lecture:hover .video-marque {
    transform: none;
  }

  * {
    transition-duration: 1ms !important;
  }
}

.piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
