

:root { --gouttiere: clamp(1.25rem, 7vw, 8rem); }
.mesure { max-width: 68rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

.p-photo { position: relative; display: block; margin: 0; padding: 0; border: 0; overflow: hidden; border-radius: var(--forme); background: var(--m-beige); }
.p-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
button.p-photo { cursor: zoom-in; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { button.p-photo:hover img { transform: scale(1.035); } }
button.p-photo:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }

.p-tete { display: grid; gap: 0.9rem; max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.p-tete p:not(.etiquette) { color: var(--encre-douce); font-size: 1.05rem; }

.p-service { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.p-service + .p-service { margin-top: clamp(4rem, 8vw, 6.5rem); }
@media (min-width: 56rem) {
  .p-service { grid-template-columns: 1.1fr 0.9fr; }
  .p-service--inverse { grid-template-columns: 0.9fr 1.1fr; }
  .p-service--inverse .p-service-photos { order: 2; }
}
.p-service-photos { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.7rem; aspect-ratio: 5 / 3.4; }
.p-service-photos .p-photo--grande { grid-row: 1 / 3; }
.p-service-photos--seule { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.p-photo--attente { display: grid; place-items: center; text-align: center; padding: 1.5rem; background: transparent; border: 1px dashed rgba(20, 16, 14, 0.22); color: var(--encre-douce); font-size: 0.9rem; line-height: 1.6; }
.p-service-mots { display: grid; gap: 1rem; align-content: center; }
.p-service-mots > p:not(.p-numero):not(.p-discret) { color: var(--encre-douce); }
.p-numero { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--encre-douce); }
.p-service-mots h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.p-boutons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.p-projets { list-style: none; margin: 0.2rem 0 0; padding: 0; border-top: 1px solid rgba(20, 16, 14, 0.12); }
.p-projets li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(20, 16, 14, 0.12); font-size: 0.95rem; }
.p-projets li span:last-child { color: var(--encre-douce); text-align: right; }
.p-discret { font-size: 0.85rem; color: var(--encre-douce); }

.p-qualif { display: grid; gap: 2.5rem; margin-top: clamp(4.5rem, 9vw, 7rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(20, 16, 14, 0.12); }
@media (min-width: 56rem) { .p-qualif { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }
.p-qualif .etiquette { margin-bottom: 1.1rem; }
.p-qualif-liste { list-style: none; margin: 0; padding: 0; font-size: 1.2rem; line-height: 1.8; color: var(--noir); }
.p-engagements { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 2.5rem; }
@media (min-width: 40rem) { .p-engagements { grid-template-columns: 1fr 1fr; } }
.p-engagements li { display: grid; grid-template-columns: 2.3rem 1fr; padding: 0.85rem 0; border-top: 1px solid rgba(20, 16, 14, 0.12); font-size: 1.05rem; color: var(--noir); }
.p-engagements span { color: #A9475C; font-size: 0.9rem; padding-top: 0.15rem; }

.p-plein.m-fiche { grid-template-columns: 1fr; gap: 0; align-items: start; }
.p-plein .p-plein-grande { width: 100%; aspect-ratio: 21 / 10; max-height: none; }
.p-plein-bas { position: relative; display: grid; gap: 0.75rem; margin-top: -4.5rem; padding-inline: clamp(0.75rem, 3vw, 2.5rem); }
.p-plein-carte { display: grid; gap: 0.8rem; background: var(--creme); border-radius: var(--forme); padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: 0 30px 60px -40px rgba(60, 40, 20, 0.45); }
.p-plein-carte h3 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; color: var(--noir); }
.p-plein-carte .m-fiche-phrase { margin: 0; }
.p-plein-carte dl { margin: 0.2rem 0 0; }
.p-rang { margin: 0; font-size: 0.74rem; letter-spacing: 0.2em; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.p-plein-petites { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0.75rem; min-width: 0; }
.p-plein-petites .p-photo { aspect-ratio: 4 / 5; }
@media (min-width: 64rem) {
  .p-plein-bas { grid-template-columns: 5fr 7fr; gap: 1.25rem; align-items: end; margin-top: -8rem; }
  .p-plein--inverse .p-plein-bas { grid-template-columns: 7fr 5fr; }
  .p-plein--inverse .p-plein-carte { order: 2; }
  .p-plein-petites { max-width: calc(var(--n) * 13rem); }
  .p-plein--inverse .p-plein-petites { justify-self: end; width: 100%; }
}

@media (max-width: 63.99rem) {
  .p-plein .p-plein-grande { aspect-ratio: 1 / 1; margin: 0; order: 0; }
  .p-plein .p-plein-grande[style*="height"] { aspect-ratio: auto; }
  .p-plein-bas { margin-top: -3.5rem; padding-inline: 0.75rem; gap: 0.6rem; }
  .p-plein-carte { gap: 0.5rem; padding: 1.1rem 1.25rem 1.2rem; }
  .p-plein-carte h3 { order: 0; font-size: 1.85rem; }
  .p-plein-carte .m-fiche-phrase { font-size: 1rem; line-height: 1.5; }
  .p-plein-carte dl { margin-top: 0; }
  .p-plein-carte .p-rang { display: none; }
  
  .p-plein-petites { grid-template-columns: repeat(var(--n), minmax(0, 7rem)); }
  .p-plein-petites .p-photo { aspect-ratio: auto; height: 4.75rem; }
}
.p-plein.m-fiche:not(:first-child) { padding-block: clamp(1.5rem, 4vw, 3.5rem); }

.p-galerie { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 0.6rem; }
@media (min-width: 56rem) {
  .p-galerie { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(9rem, 15vw, 13rem); gap: 0.75rem; }
  .p-galerie > :first-child { grid-column: span 2; grid-row: span 2; }
}
.p-galerie [data-plus] { display: none; }
.p-galerie[data-tout] [data-plus] { display: block; }
.p-galerie-pied { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

.p-loupe { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(20, 16, 14, 0.94); color: var(--creme); }
.p-loupe[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.p-loupe::backdrop { background: transparent; }
.p-loupe img { max-width: 100%; max-height: 84dvh; margin: auto; border-radius: calc(var(--forme) * 0.6); object-fit: contain; }
.p-loupe button { width: 3.25rem; height: 3.25rem; margin: 0.75rem; border: 0; border-radius: 50%; background: rgba(255, 252, 247, 0.1); color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color 0.25s; }
@media (hover: hover) { .p-loupe button:hover { background: rgba(255, 252, 247, 0.22); } }
.p-loupe .p-loupe-fermer { position: absolute; top: 0.5rem; right: 0.5rem; }
.p-loupe .p-loupe-compte { position: absolute; left: 0; right: 0; bottom: 1.1rem; margin: auto; text-align: center; font-size: 0.8rem; letter-spacing: 0.15em; opacity: 0.75; }
@media (max-width: 39.99rem) {
  .p-loupe[open] { grid-template-columns: 1fr; }
  .p-loupe .p-loupe-prec, .p-loupe .p-loupe-suiv { position: absolute; bottom: 0.25rem; }
  .p-loupe .p-loupe-prec { left: 0.5rem; } .p-loupe .p-loupe-suiv { right: 0.5rem; }
}

@media (min-width: 56rem) { .p-regions { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } .p-regions .p-tete { margin-bottom: 0; } }
.p-liste-regions { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 2.5rem; }
@media (min-width: 40rem) { .p-liste-regions { grid-template-columns: 1fr 1fr; } }
.p-liste-regions li { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-top: 1px solid rgba(20, 16, 14, 0.12); }
.p-liste-regions strong { font-size: 1.2rem; color: var(--noir); }
.p-liste-regions span { font-size: 0.9rem; color: var(--encre-douce); }

@media (prefers-reduced-motion: reduce) { .p-photo img { transition: none; } }

.m-cote-photo { aspect-ratio: 4 / 3; height: auto; max-height: none; }
.m-cote-photo img { height: 100%; object-fit: cover; }

@media (max-width: 55.99rem) {
  .p-galerie:not([data-tout]) > :nth-child(9), .p-galerie[data-tout] > :nth-child(17) { display: none; }
}

:root { --p-ligne-rose: #E2A6A2; }
h2:not(.etiquette), .couleur-appel.peinture-appel { width: fit-content; max-width: 100%; padding-bottom: 0.45em; border-bottom: 1px solid var(--p-ligne-rose); }
.pied h2 { border-bottom-color: rgba(240, 200, 196, 0.85); }
.etiquette, .m-specs span, .m-fiche dt, .m-avis-source, .m-avis-auteur, .chat-invite, .p-rang, .p-numero, .pied-bloc h4,
.couleur-appel, .duo-etiquettes, .sechage, .finis-titre, .populaires-titre {
  font-family: var(--police); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
}
.etiquette { font-size: 0.76rem; }
