/* Retouches de View From par-dessus la feuille de Webflow (chargée après elle). */

/* Cartes « Saisir l'émotion » et « Libérer le mouvement ».
   Le fond et le voile vivent dans deux calques (::before, ::after) pour pouvoir les animer :
   - ::before : la photo, en WebP 1400 px (ordinateur) ou 800 px (téléphone) au lieu des
     originaux de 2 à 3 Mo ; son zoom suit --vf-zoom, piloté au défilement par animations.js ;
   - ::after : léger dégradé noir sous le texte, renforcé au survol sur ordinateur. */
.location_card { position: relative; background-image: none; }
.location_card > * { position: relative; z-index: 2; }
.location_card::before,
.location_card::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.location_card::before {
  z-index: 0;
  background-position: 50%; background-size: cover; background-repeat: no-repeat;
  transform: scale(var(--vf-zoom, 1)); will-change: transform;
}
.location_card::after {
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .55) 100%);
  transition: opacity .5s ease;
}
.location_card.is-left { background-image: none; }
.location_card.is-right { background-image: none; }
.location_card.is-left::before { background-image: url("/assets/images/carte-gauche-1400.webp"); }
.location_card.is-right::before { background-image: url("/assets/images/carte-droite-1400.webp"); }
@media screen and (max-width: 767px) {
  .location_card.is-left::before { background-image: url("/assets/images/carte-gauche-800.webp"); }
  .location_card.is-right::before { background-image: url("/assets/images/carte-droite-800.webp"); }
}
@media (hover: hover) {
  .location_card::after { opacity: .8; }
  .location_card:hover::after { opacity: 1; }
  /* 5. l'étoile des boutons pivote au survol */
  .button .button-image { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
  .button:hover .button-image { transform: rotate(90deg); }
}

/* 7. Voile de passage entre les pages (piloté par animations.js).
   La classe vf-arrive est posée dans le <head> avant le premier affichage. */
.vf-voile {
  position: fixed; inset: 0; z-index: 9999; background: #efe5d7;
  visibility: hidden; pointer-events: none;
}
html.vf-arrive .vf-voile { visibility: visible; }
html.vf-arrive body { background-color: #efe5d7; }

/* Téléphone : le grand logo de l'ouverture doublonnait celui de la barre du haut
   et mangeait l'écran. On le retire pour laisser la vidéo plein cadre. */
@media screen and (max-width: 767px) {
  .hero_content-top .image-2 {
    display: none;
  }
}

/* Accroche (H1) sortie de la vidéo d'ouverture : posée sur le fond crème, entre l'ouverture
   et le bloc « VIEW FROM ». Mêmes tailles que les titres de section du site. */
.vf-accroche { padding: 6rem 2.5rem 0; text-align: center; scroll-margin-top: 2rem; }
.vf-accroche_titre { margin: 0; font-family: inherit; font-weight: 400; color: inherit; }
.vf-accroche_sur { display: block; margin-bottom: .75rem; font-size: 1rem; line-height: 1.5; text-transform: uppercase; }
.vf-accroche_grand { display: block; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.4; }
@media screen and (max-width: 767px) {
  .vf-accroche { padding: 4rem 1.25rem 0; }
}

/* Pied de page de référencement local, sous le grand « VIEW FROM ». Volontairement discret :
   une seule police, une seule graisse, petit corps. */
.vf-local { max-width: 90vw; margin: 0 auto; padding: 3.5rem 0 3rem; }
.vf-local_titre { margin: 0 0 1rem; font-family: inherit; font-size: 1.5rem; line-height: 1.4; font-weight: 400; }
.vf-local_intro { max-width: 68ch; margin: 0 0 2.5rem; font-size: 1rem; line-height: 1.6; }
.vf-local_grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.vf-local_grille h3 { margin: 0 0 .5rem; font-family: inherit; font-size: 1rem; line-height: 1.4; font-weight: 400; text-transform: uppercase; }
.vf-local_grille p, .vf-local_zones { margin: 0; font-size: .875rem; line-height: 1.6; opacity: .8; }
.vf-local_zones { margin-top: 2.5rem; }
.vf-local_zones strong { font-weight: inherit; }
@media screen and (max-width: 991px) { .vf-local_grille { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 479px) { .vf-local_grille { grid-template-columns: 1fr; gap: 1.75rem; } .vf-local { padding: 3rem 0 2rem; } }

/* Crédit de l'éditeur du site, sous le copyright. */
.vf-credit { margin-top: .5rem; opacity: .8; }
.vf-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.vf-credit a:hover { opacity: .7; }

/* Bandeau de consentement à la mesure d'audience (assets/js/mesure.js).
   Deux boutons de même poids : refuser est aussi simple qu'accepter. */
.vf-cookies {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 9000; max-width: 26rem;
  padding: 1.25rem 1.5rem; border-radius: 1rem;
  background: #171411; color: #efe5d7; box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.vf-cookies_texte { margin: 0 0 1rem; font-size: .9375rem; line-height: 1.5; }
.vf-cookies_boutons { display: flex; gap: .75rem; }
.vf-cookies_bouton {
  flex: 1; padding: .7rem 1rem; border: 1px solid #efe5d7; border-radius: .5rem;
  background: transparent; color: inherit; font: inherit; font-size: .9375rem; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.vf-cookies_bouton:hover, .vf-cookies_bouton:focus-visible { background: #efe5d7; color: #171411; }
.vf-cookies_lien {
  display: block; margin-top: .5rem; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
footer > .vf-cookies_lien { margin: 1rem 2.5rem 2rem; }
/* page sans pied de page (contact) : petit lien fixe dans le coin, sans allonger la page */

@media screen and (max-width: 479px) {
  .vf-cookies { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
}

/* Page mentions légales et confidentialité : une colonne de texte, mêmes polices que le site. */
.vf-legal { max-width: 46rem; margin: 0 auto; padding: 11rem 1.5rem 6rem; }
.vf-legal h1 { margin: 0 0 .5rem; font-family: "Zodiak Variable", Georgia, serif; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; font-weight: 400; }
.vf-legal_date { margin: 0 0 3rem; font-size: .875rem; opacity: .7; }
.vf-legal h2 { margin: 2.75rem 0 .75rem; font-family: inherit; font-size: 1.375rem; line-height: 1.4; font-weight: 400; }
.vf-legal p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.65; }
.vf-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.vf-legal code { font-family: inherit; font-size: inherit; }
.vf-legal_bouton { display: inline; margin: 0; opacity: 1; font-size: inherit; }

/* Pages intérieures (contact, mentions légales) : le logo blanc de la barre du haut était
   invisible sur le fond crème. On l'inverse pour l'avoir en noir. */
.nav_brand.w-variant-70bb92a8-5ae0-0df3-e45a-965420160f6e img { filter: invert(1); }

/* Pages sans pied de page : mentions légales et cookies dans le coin bas droit. */
.vf-coin { position: fixed; right: 1rem; bottom: .5rem; z-index: 50; display: flex; gap: 1rem; font-size: .75rem; }
.vf-coin a, .vf-coin .vf-cookies_lien { display: inline; margin: 0; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.vf-cookies_texte a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
