/* ══════════════════════════════════════════════════════════════════
   GROOMLY — le calendrier et les preuves (14 novembre 2026)

   Cinq objets, partages par l'accueil et par les pages « proprietaires »,
   « entreprises » et « menage Airbnb » :

     .pv-sync    le bloc « calendrier » : le texte a gauche, son
                 illustration a droite ;
     .pv-cal     l'illustration : trois semaines, les sejours, et a
                 chaque depart le menage reserve (fragments/preuves.html) ;
     .pv-mot     le mot du fondateur, signe ;
     .pv-avis    la note de la fiche Google ;
     .pv-photos  les photos de missions.

   Les trois derniers ne montrent que du vrai : la photo du fondateur si
   le fichier existe, le nombre de Grooms et la note Google s'ils sont
   reels, les photos de missions s'il y en a (Preuves.java). Rien n'est
   prevu ici pour « en attendant ».

   Comme pied-commun.css, cette feuille ne depend d'aucune autre : ses
   couleurs sont declarees ici, prefixees --pv-. Le rose est l'action, le
   vert de lac ce qui est fait, et rien d'autre. Aucun mouvement propre :
   l'illustration entre comme les autres blocs (.hb-anim, habit.css).

   Toute modification de ce fichier doit changer son « ?v= » dans les
   gabarits qui le chargent : index, proprietaires, entreprises,
   menage-airbnb-annecy.
   ══════════════════════════════════════════════════════════════════ */

.pv-sync, .pv-cal, .pv-mot, .pv-avis, .pv-photos {
  --pv-encre:      #0d0d10;
  --pv-encre-2:    #3f3f46;
  --pv-gris:       #65656e;
  --pv-gris-2:     #9a9aa3;
  --pv-filet:      #e4e4e7;
  --pv-filet-fort: #d4d4d8;
  --pv-papier:     #ffffff;
  --pv-sable-2:    #ebe6dd;
  --pv-rose:       #e11d48;
  --pv-lac:        #0b6b5b;
  --pv-lac-pale:   #e6f2ef;
}

.pv-micro {
  margin: 0; font-size: .7rem; font-weight: 700; line-height: 1.4;
  letter-spacing: .15em; text-transform: uppercase; color: var(--pv-gris-2);
}
/* Lu par les lecteurs d'ecran, invisible a l'oeil. */
.pv-vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.pv-sync a:focus-visible, .pv-mot a:focus-visible, .pv-avis a:focus-visible {
  outline: 2px solid var(--pv-rose); outline-offset: 3px; border-radius: 6px;
}

/* ══ LE BLOC « CALENDRIER » ════════════════════════════════════════
   Sur telephone : le texte, puis l'illustration. A partir de 900 px :
   cote a cote, l'illustration calee a droite.
   ═════════════════════════════════════════════════════════════════ */
.pv-sync { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.pv-sync > * { min-width: 0; }
@media (min-width: 900px) {
  .pv-sync { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; }
}
.pv-pts {
  list-style: none; margin: 28px 0 0; padding: 0; max-width: 580px;
  border-top: 1px solid var(--pv-encre);
}
.pv-pts li {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--pv-filet);
  font-size: .97rem; line-height: 1.5; color: var(--pv-encre-2);
}
.pv-pts b { color: var(--pv-encre); font-weight: 700; }
.pv-pts svg { width: 15px; height: 15px; flex: none; color: var(--pv-lac); transform: translateY(2px); }
.pv-sync-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pv-sync-actions > * { max-width: 100%; }
.pv-lien {
  font-size: .97rem; font-weight: 700; color: var(--pv-encre); text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid var(--pv-encre);
  transition: color .14s ease, border-color .14s ease;
}
.pv-lien:hover { color: var(--pv-rose); border-color: var(--pv-rose); }
.pv-sync-note { margin: 18px 0 0; max-width: 58ch; font-size: .88rem; line-height: 1.55; color: var(--pv-gris); }
.pv-sync-note a {
  color: var(--pv-encre); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pv-filet-fort);
}

/* ══ L'ILLUSTRATION : TROIS SEMAINES ═══════════════════════════════
   Une feuille de planning : des filets, pas une carte qui flotte. La
   semaine est une grille de 14 demi-journees ; les sept cases (.pv-j)
   en occupent deux chacune, les sejours (.pv-sej) s'y posent par leur
   « grid-column », ecrit dans le gabarit. Le rond vert (.pv-dep) est a
   cheval sur la fin du sejour : midi, le jour du depart.
   ═════════════════════════════════════════════════════════════════ */
.pv-cal {
  position: relative; box-sizing: border-box; width: 100%; max-width: 520px; margin: 0; justify-self: center;
  padding: 24px 20px 22px; background: var(--pv-papier);
  border: 1px solid var(--pv-encre); border-radius: 24px;
  display: flex; flex-direction: column; gap: 14px;
  font-variant-numeric: tabular-nums; text-align: left;
}
@media (min-width: 900px) { .pv-cal { justify-self: end; padding: 30px 30px 26px; } }
.pv-cal-tete { display: flex; flex-direction: column; gap: 5px; }
.pv-cal-tete b { font-size: 1.1rem; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--pv-encre); }
.pv-cal-grille { padding-top: 14px; border-top: 1px solid var(--pv-encre); }
.pv-cal-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pv-cal-jours span { text-align: center; font-size: .68rem; font-weight: 600; line-height: 1.4; color: var(--pv-gris-2); }
.pv-cal-quand { margin: 14px 0 6px; font-size: .7rem; font-weight: 700; line-height: 1.4; color: var(--pv-gris); }
.pv-cal-jours + .pv-cal-quand { margin-top: 10px; }
.pv-cal-sem {
  display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); height: 60px;
  border: 1px solid var(--pv-filet); border-left: 0;
}
.pv-j { grid-row: 1; border-left: 1px solid var(--pv-filet); }
.pv-j:nth-child(1) { grid-column: 1 / 3; }
.pv-j:nth-child(2) { grid-column: 3 / 5; }
.pv-j:nth-child(3) { grid-column: 5 / 7; }
.pv-j:nth-child(4) { grid-column: 7 / 9; }
.pv-j:nth-child(5) { grid-column: 9 / 11; }
.pv-j:nth-child(6) { grid-column: 11 / 13; }
.pv-j:nth-child(7) { grid-column: 13 / 15; }
.pv-sej {
  position: relative; grid-row: 1; align-self: start; box-sizing: border-box;
  height: 24px; margin: 10px 3px 0; padding: 0 10px; min-width: 0;
  display: flex; align-items: center;
  border-radius: 999px; background: var(--pv-sable-2);
  font-size: .7rem; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--pv-encre-2);
}
@media (max-width: 400px) { .pv-sej { padding: 0 7px; font-size: .66rem; } }
/* Un sejour qui commence le jour d'un depart : son nom laisse la place au
   rond vert, pose a cheval sur les deux. Sur un ecran tres etroit, il se tait. */
.pv-sej.pv-sej-apres { padding-left: 17px; }
@media (max-width: 359px) { .pv-sej.pv-sej-apres { font-size: 0; } }
/* Un sejour a cheval sur deux semaines : coupe net au bord de la grille. */
.pv-sej-entre { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.pv-sej-sort { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.pv-dep {
  position: absolute; z-index: 1; right: -14px; top: 1px; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--pv-lac); color: #fff;
  box-shadow: 0 0 0 3px var(--pv-papier); font-style: normal;
}
.pv-dep svg { width: 12px; height: 12px; }
.pv-dep b {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--pv-lac);
}
.pv-cal-legende {
  list-style: none; margin: 2px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: .8rem; line-height: 1.4; color: var(--pv-gris);
}
.pv-cal-legende li { display: inline-flex; align-items: center; gap: 8px; }
.pv-l-sej { width: 22px; height: 10px; flex: none; border-radius: 999px; background: var(--pv-sable-2); }
.pv-l-dep { width: 12px; height: 12px; flex: none; border-radius: 999px; background: var(--pv-lac); }
.pv-cal-pied {
  margin: 2px 0 0; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  background: var(--pv-lac-pale); color: var(--pv-lac); font-size: .82rem; font-weight: 700; line-height: 1.3;
}
.pv-cal-pied svg { width: 13px; height: 13px; flex: none; }

/* ══ LE MOT DU FONDATEUR ═══════════════════════════════════════════
   Un texte a la premiere personne, signe, avec un numero qui sonne.
   La photo n'est dans la page que si le fichier existe ; sans elle le
   texte tient seul, sans cadre vide ni initiale a la place d'un visage.
   ═════════════════════════════════════════════════════════════════ */
.pv-mot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; text-align: left; }
.pv-mot-qui { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.pv-mot-corps { min-width: 0; }
.pv-mot-photo {
  display: block; width: 104px; height: 130px; border-radius: 18px;
  object-fit: cover; background: var(--pv-sable-2);
}
.pv-mot-texte {
  margin: 0; max-width: 60ch;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem); line-height: 1.5; font-weight: 500;
  letter-spacing: -.012em; color: var(--pv-encre); text-wrap: pretty;
}
.pv-mot-signe { margin: 16px 0 0; font-size: 1rem; line-height: 1.4; color: var(--pv-gris); }
.pv-mot-signe b { color: var(--pv-encre); font-weight: 700; }
.pv-mot-faits {
  list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;
  font-size: .86rem; line-height: 1.35; color: var(--pv-gris); font-variant-numeric: tabular-nums;
}
.pv-mot-faits li {
  display: inline-block; padding: 7px 13px;
  border: 1px solid var(--pv-filet-fort); border-radius: 999px; background: var(--pv-papier);
}
.pv-mot-faits b { color: var(--pv-encre); font-weight: 700; }
.pv-mot-faits a { color: var(--pv-encre); font-weight: 700; text-decoration: none; }
.pv-mot-faits a:hover { color: var(--pv-rose); }

/* Sur l'accueil : sous les six engagements, sur les memes colonnes
   (5 / 7) — l'etiquette et le visage a gauche, le texte a droite. */
.pv-mot-suite { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--pv-filet-fort); }
@media (min-width: 900px) {
  .pv-mot-suite { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .pv-mot-suite .pv-mot-photo { width: 132px; height: 165px; }
}

/* A cote du formulaire d'essai : plus petit, le visage sur la ligne de
   l'etiquette. */
.pv-mot-essai { gap: 12px; }
.pv-mot-essai .pv-mot-qui { flex-direction: row; align-items: center; gap: 14px; }
.pv-mot-essai .pv-mot-photo { order: -1; width: 56px; height: 70px; border-radius: 12px; }
.pv-mot-essai .pv-mot-texte { font-size: 1.04rem; line-height: 1.55; max-width: 52ch; }

/* ══ LA NOTE GOOGLE ════════════════════════════════════════════════
   Une ligne. L'etoile est a l'encre : pas de jaune dans la page.
   ═════════════════════════════════════════════════════════════════ */
.pv-avis { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--pv-gris); font-variant-numeric: tabular-nums; }
.pv-avis a { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; color: inherit; text-decoration: none; }
.pv-avis svg { width: 17px; height: 17px; flex: none; color: var(--pv-encre); }
.pv-avis b { color: var(--pv-encre); font-weight: 800; }
.pv-avis u {
  color: var(--pv-encre); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--pv-filet-fort);
}
.pv-avis a:hover u { color: var(--pv-rose); text-decoration-color: var(--pv-rose); }
.pv-avis-centre { margin-top: 22px; text-align: center; }

/* ══ LES PHOTOS DE MISSIONS ════════════════════════════════════════
   De vraies photos de fin de menage, publiees avec l'accord du
   proprietaire : la commune, le logement, la piece, le mois.
   ═════════════════════════════════════════════════════════════════ */
.pv-photos {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 16px;
}
@media (min-width: 620px) { .pv-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pv-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pv-photos figure { margin: 0; }
.pv-photos img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 20px; background: var(--pv-sable-2);
}
.pv-photos figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 12px;
  font-size: .95rem; line-height: 1.4; color: var(--pv-gris);
}
.pv-photos figcaption b { color: var(--pv-encre); font-weight: 700; }
.pv-photos figcaption small { flex-basis: 100%; font-size: .82rem; color: var(--pv-gris-2); }
/* Les photos puis « les derniers logements rendus prets » : une seule
   bande, pas deux marges empilees. */
.pv-terrain + #derniers { padding-top: 0; }
