/* Project styles, after kit.css, direction.css and tokens.css. */

/* The logo file has wide white margins: show only the drawn part. */
.brand img { width: 172px; height: 52px; object-fit: cover; object-position: 40% 50%; }

/* The memorable element: the logo's orange ring (a wheel). */
.wheel { display: inline-block; flex: none; width: 1em; height: 1em; border: 0.17em solid var(--orange); border-radius: 50%; position: relative; }
.wheel::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22%; height: 22%; border-radius: 50%; background: var(--accent); }

.hero--plain::after { background: transparent; border: clamp(28px, 4.5vw, 64px) solid var(--orange); opacity: .9; right: -12vw; top: -8vw; }
.hero--plain::before { content: ""; position: absolute; z-index: 0; right: calc(-12vw + min(19vw, 260px) - 18px); top: calc(-8vw + min(19vw, 260px) - 18px); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); }
@media (max-width: 700px) { .hero--plain::after, .hero--plain::before { display: none; } }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-bottom: var(--space-5); }
.hero__express { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); margin: 0 0 var(--space-6); padding: var(--space-3) var(--space-4); background: var(--surface); border-left: 4px solid var(--orange); border-radius: var(--radius); font-size: var(--text-lg); }
.hero__express strong { font-family: var(--font-heading); color: var(--accent); }

.prose > * { max-width: var(--measure); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-5); }
.prose ul { padding-left: 1.2em; }

.page-head { padding-block: var(--space-8) var(--space-6); background: var(--surface-2); border-bottom: 4px solid var(--orange); }
.page-head h1 { font-size: var(--text-3xl); margin: 0; }

.placeholder { background: var(--orange-soft); padding: 0 4px; border-radius: 3px; }

.services__more { margin: var(--space-5) 0 0; font-weight: 600; }

/* Price list: reads like the workshop's printed tarifs. */
.prices { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; gap: var(--space-6); } }
.price-list + .price-list { margin-top: var(--space-7); }
.price-list h2 { font-size: var(--text-2xl); padding-bottom: var(--space-2); border-bottom: 3px solid var(--orange); display: inline-block; }
.price-table th[scope="row"] { font-weight: 400; color: var(--text); background: none; font-size: inherit; overflow-wrap: anywhere; }
.price-table__price { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.price-notes { list-style: none; padding: 0; margin: 0 0 var(--space-5); }
.prices__aside { padding-top: var(--space-8); }
@media (max-width: 860px) { .prices__aside { padding-top: 0; } }
.price-notes li { padding: var(--space-3) var(--space-4); margin-bottom: var(--space-2); background: var(--orange-soft); border-left: 4px solid var(--orange); border-radius: var(--radius); }

/* Opening hours: the wheel marks the open days. */
.hours { min-width: 0; }
.hours h2 { padding-bottom: var(--space-2); border-bottom: 3px solid var(--orange); display: inline-block; }
.hours-table th[scope="row"] { font-weight: 600; color: var(--text); background: none; font-size: inherit; width: 45%; }
.hours-table td { font-variant-numeric: tabular-nums; }
.hours-table__day { display: inline-flex; align-items: center; gap: var(--space-3); }
.hours-table__dash { display: inline-block; flex: none; width: 1em; height: 1em; border: 2px dashed var(--line); border-radius: 50%; }
.hours-table__closed th[scope="row"], .hours-table__closed td { color: var(--muted); }
.hours__note { margin: var(--space-4) 0 0; color: var(--muted); }
@media (max-width: 520px) { .hours-table th[scope="row"] { width: auto; } }

/* Home: hours beside the day-rental teaser, both on the container's edges. */
.home-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.rental-teaser { border-top: 4px solid var(--orange); }
.rental-teaser h2 { font-size: var(--text-xl); margin: 0 0 var(--space-2); }
.rental-teaser__list { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-5); }
.rental-teaser__list li { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.rental-teaser__list strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.intro { font-size: var(--text-lg); }
@media (max-width: 860px) { .home-split { grid-template-columns: 1fr; gap: var(--space-7); } }

a[href^="tel:"] { white-space: nowrap; }

/* Day rental: one card per bike, the price large like on the price list. */
.page-head__lead { margin: var(--space-3) 0 0; font-size: var(--text-lg); color: var(--muted); max-width: var(--measure); }
.rentals .rental-list { max-width: none; }
.rentals h2 { padding-bottom: var(--space-2); border-bottom: 3px solid var(--orange); display: inline-block; }
.rental-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-5); margin-top: var(--space-4); }
.rental { border-top: 4px solid var(--orange); }
.rental h3 { margin: 0 0 var(--space-3); overflow-wrap: anywhere; }
.rental__price { margin: 0; font-variant-numeric: tabular-nums; }
.rental__price strong { font-family: var(--font-heading); font-size: var(--text-2xl); color: var(--accent); white-space: nowrap; }
.rental__price span { color: var(--muted); }
.rentals__note { margin: var(--space-6) 0 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-8); align-items: start; }
.contact h2 { padding-bottom: var(--space-2); border-bottom: 3px solid var(--orange); display: inline-block; }
.contact__address { font-size: var(--text-lg); margin: var(--space-4) 0; }
.contact__list { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-6); }
.contact__list dt { font-weight: 600; }
.contact__list dd { margin: 0; overflow-wrap: anywhere; }
.contact__hours { list-style: none; padding: 0; margin: 0; font-variant-numeric: tabular-nums; }
.contact__hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.contact__hours li span:first-child { font-weight: 600; }
.contact__form .alert { margin: var(--space-4) 0; }
.contact__form form { margin-top: var(--space-4); }
.contact__privacy { color: var(--muted); font-size: var(--text-sm); }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; gap: var(--space-7); } }
