/* Project patterns for Junod Plomberie, built on the kit's tokens. */

.brand { gap: var(--space-2); }
.brand__mark { width: 14px; height: 14px; border: 3px solid var(--accent); border-top: 0; border-right: 0; }

/* Hero: headline left, the business's "fiche" right, white and airy */
.hero--studio { background: var(--surface); padding-bottom: 0; }
.hero__grid { display: grid; gap: var(--space-7); align-items: end; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.3fr 1fr; } }
.hero--studio h1 { margin-bottom: var(--space-5); }
.hero__sub { display: block; color: var(--accent-strong); font-weight: 500; font-size: 0.62em; letter-spacing: -0.02em; margin-top: var(--space-2); }

.fiche { margin: 0; border-top: 1px solid var(--ink); }
.fiche > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.fiche dt { color: var(--muted); font-size: var(--text-sm); font-weight: 500; padding-top: 2px; }
.fiche dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.fiche address { font-style: normal; }

/* La conduite: the one memorable element, an accent line that bends down like a pipe */
.conduite { height: calc(var(--space-8) + 3px); margin-top: var(--space-8); margin-right: clamp(0px, 8vw, 96px); border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); border-top-right-radius: 18px; }

/* Services: a ruled list, not boxes */
.ruled { list-style: none; padding: 0; margin: 0; display: grid; column-gap: var(--space-7); grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .ruled { grid-template-columns: 1fr 1fr; } }
.ruled > li { padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.ruled h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.ruled p { color: var(--muted); margin: 0; }

/* Photos: a plain grid, square corners, same frame for every picture */
.photos { list-style: none; padding: var(--space-5) 0 0; margin: 0; display: grid; gap: var(--space-4); grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .photos { grid-template-columns: 1fr 1fr; } }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; background: var(--line); }

/* Footer legal links: comfortable tap targets */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer__legal a { padding-block: 10px; }

/* Legal and text pages */
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-7); }
.prose > :first-child { margin-top: 0; }
.prose address { font-style: normal; margin-bottom: var(--space-4); }
.prose { overflow-wrap: anywhere; }

/* Text pages sit on the container's left edge, like the rest of the site */
.measure { max-width: 46rem; }

.nowrap { white-space: nowrap; }
.site-footer__bottom { align-items: center; }
