/* Bastelica Automobiles — charte graphique
   Couleurs : principale #353E25 (kaki foncé) · secondaire #6B6E70 (gris) · accent #B5A577 (kaki)
   Texte #2B2D2F · fond #FFFFFF · fond alterné #F2F2EF
   Polices : titres Barlow Condensed 700/800 · texte Barlow 400/600
   Tailles ordinateur : H1 48px · H2 34px · H3 24px · texte 17px
   Tailles mobile     : H1 32px · H2 26px · H3 20px · texte 16px */
:root {
  --primary: #353e25;
  --primary-2: #4a5535;
  --secondary: #6b6e70;
  --accent: #b5a577;
  --accent-dark: #7a6c42;
  --text: #2b2d2f;
  --muted: #6b6e70;
  --bg: #ffffff;
  --surface: #f2f2ef;
  --line: #dcddd8;
  --success: #1e8e5a;
  --danger: #c62828;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(53, 62, 37, .08);
  --font-title: "Barlow Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --font-text: "Barlow", "Segoe UI", Arial, sans-serif;
  --h1: 32px; --h2: 26px; --h3: 20px; --body: 16px;
}
@media (min-width: 900px) { :root { --h1: 48px; --h2: 34px; --h3: 24px; --body: 17px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: var(--body); line-height: 1.6; color: var(--text); background: var(--bg); padding-bottom: 72px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); }
h1, h2, h3 { font-family: var(--font-title); color: var(--primary); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: var(--h1); font-weight: 800; }
h2 { font-size: var(--h2); font-weight: 800; }
h3 { font-size: var(--h3); font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .4em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--primary); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--primary); background: var(--primary); color: #fff; font-weight: 700; font-family: var(--font-text); font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.btn-accent:hover { background: #c4b68c; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--surface); }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled=true] { opacity: .55; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 0; color: var(--primary-2); text-decoration: underline; font: inherit; cursor: pointer; }

/* en-tête */
.topbar { background: var(--primary); color: #e3e4e0; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); }
.logo img { width: 40px; height: 40px; }
.logo span { font-family: var(--font-title); font-weight: 800; font-size: 17px; line-height: 1.05; letter-spacing: .02em; }
.logo small { display: block; font-weight: 600; font-size: 11px; color: var(--accent-dark); letter-spacing: .14em; }
#menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 22px; cursor: pointer; color: var(--primary); }
#site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
#site-nav.is-open { display: block; }
#site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
#site-nav a { display: block; padding: 12px 4px; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--surface); }
#site-nav a[aria-current=page] { color: var(--accent-dark); }
.header-cta { display: none; }
@media (min-width: 1080px) {
  #menu-toggle { display: none; }
  #site-nav { display: block; position: static; border: 0; box-shadow: none; }
  #site-nav ul { display: flex; gap: 4px; padding: 0; }
  #site-nav a { border: 0; padding: 10px 10px; font-size: 15px; }
  .header-cta { display: inline-flex; }
}

/* barre mobile fixe */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(53, 62, 37, .1); }
.mobile-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.mobile-bar .mb-call { background: var(--primary); color: #fff; }
.mobile-bar .mb-wa { background: #e8f6ee; color: #146c43; }
.mobile-bar .mb-main { background: var(--accent); color: var(--primary); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* héro */
.hero { position: relative; color: #fff; background: var(--primary) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(53, 62, 37, .94) 0%, rgba(53, 62, 37, .75) 55%, rgba(53, 62, 37, .35) 100%); }
.hero .wrap { position: relative; padding: 56px 0 40px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { font-size: 19px; max-width: 620px; color: #e7e8e3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 28px; }
.page-hero { background: var(--primary); color: #fff; }
.page-hero .wrap { padding: 40px 0 32px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #e3e4e0; max-width: 720px; margin: 0; }

/* recherche rapide */
.quick { background: #fff; color: var(--text); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; max-width: 920px; }
@media (min-width: 760px) { .quick { grid-template-columns: repeat(3, 1fr) auto; align-items: end; } }
.quick label, .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bdbeb9; border-radius: 10px; font: inherit; font-size: 16px; color: var(--text); background: #fff; }
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-2); outline: 3px solid rgba(181, 165, 119, .45); outline-offset: 0; }

/* catégories */
.cats { display: grid; gap: 16px; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; min-height: 220px; background: var(--primary); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(53, 62, 37, .92), rgba(53, 62, 37, .1) 70%); }
.cat div { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.cat h3 { color: #fff; margin: 0; }
.cat p { margin: 0; color: #d6cba8; font-weight: 600; font-size: 15px; }

/* cartes véhicules */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vcard a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.vcard-img { position: relative; aspect-ratio: 3 / 2; background: var(--surface); }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; }
.img-missing { width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--surface), #e2e3df); }
.vcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.vcard-title { font-size: 18px; margin-bottom: 4px; }
.vcard-meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.vcard-price { margin: auto 0 0; font-family: var(--font-title); font-weight: 800; font-size: 22px; color: var(--primary); }
.vcard-price small, .fiche-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.chip { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--surface); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.badge-reserved { background: var(--accent); color: var(--primary); }
.badge-sold { background: var(--danger); color: #fff; }

/* filtres */
.listing-layout { display: grid; gap: 24px; }
@media (min-width: 980px) { .listing-layout { grid-template-columns: 280px 1fr; align-items: start; } }
.filters { background: var(--surface); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
@media (min-width: 980px) { .filters { position: sticky; top: 88px; } }
.filters details summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.filters-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.filters-grid .full { grid-column: 1 / -1; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.results-bar p { margin: 0; font-weight: 700; }
.empty { text-align: center; padding: 40px 16px; background: var(--surface); border-radius: var(--radius); grid-column: 1 / -1; }

/* fiche */
.crumbs { font-size: 14px; color: var(--muted); margin: 20px 0; }
.crumbs a { color: var(--muted); }
.fiche-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .fiche-grid { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumb.is-active { border-color: var(--accent); }
.fiche-price { font-family: var(--font-title); font-weight: 800; font-size: 34px; color: var(--primary); margin: 0 0 4px; }
.fiche-keys { color: var(--muted); font-weight: 600; }
.status { padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.status-ok { background: #e8f6ee; color: #146c43; }
.status-reserved { background: #f3efe3; color: #5e5333; }
.status-sold { background: #fdecec; color: var(--danger); }
.fiche-actions { display: grid; gap: 10px; margin: 16px 0; }
.fiche-fin { font-size: 15px; }
.fiche-details { display: grid; gap: 8px 40px; margin: 40px 0 0; }
@media (min-width: 980px) { .fiche-details { grid-template-columns: 1fr 1fr; } }
.fiche-details section { padding: 20px 0; border-top: 1px solid var(--line); }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.specs div { display: contents; }
.specs dt { color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--surface); }
.specs dd { margin: 0; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--surface); }
.equip { columns: 2 220px; padding-left: 18px; margin: 0; }
.reserve-box { background: var(--surface); border-radius: var(--radius); padding: 24px 16px; margin-top: 40px; }
@media (min-width: 760px) { .reserve-box { padding: 32px; } }

/* atouts, avis, étapes */
.perks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.perk .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #f3efe3; color: var(--accent-dark); font-size: 22px; margin-bottom: 10px; }
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 0; }
.review .stars { color: var(--accent); letter-spacing: 2px; }
.review footer { font-weight: 700; font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; list-style: none; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.cta-band { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 32px 20px; display: grid; gap: 16px; }
.cta-band h2 { color: #fff; margin: 0; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 40px; } }
.two-col { display: grid; gap: 32px; }
@media (min-width: 980px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; }
@media (min-width: 760px) { .card { padding: 28px; } }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; font-size: calc(var(--h2) * .8); }
.prose li { margin-bottom: .4em; }
.legal-box { border-left: 4px solid var(--accent); background: #faf8f2; padding: 14px 16px; font-size: 14px; border-radius: 0 10px 10px 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::after { content: "+"; color: var(--accent-dark); font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--surface); }
.hours td:last-child { text-align: right; font-weight: 600; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); }

/* formulaires */
.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field-wide, .field-checkbox { grid-column: 1 / -1; } }
.req { color: var(--danger); font-weight: 700; }
.req-legend { font-size: 14px; color: var(--muted); }
.field-help { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.choice input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--primary); }
.form-error { color: var(--danger); font-weight: 700; margin: 12px 0; }
.form-error:empty { display: none; }
.form-legal { font-size: 13px; color: var(--muted); margin-top: 12px; }
.wix-form .btn-block, .rdv-form .btn-block { margin-top: 16px; }
.success { background: #e8f6ee; border: 1px solid #b7e1c8; border-radius: var(--radius); padding: 24px; }
.success h3 { color: #146c43; }
.notice { background: var(--surface); padding: 14px 16px; border-radius: 10px; }
.notice-error { background: #fdecec; color: var(--danger); font-weight: 600; }
.skeleton { display: grid; gap: 12px; }
.skeleton span { display: block; height: 48px; border-radius: 10px; background: linear-gradient(90deg, var(--surface), #e8e9e5, var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* rendez-vous */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.tab { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; font-size: 15px; color: var(--text); }
.tab[aria-selected=true] { background: var(--primary); color: #fff; border-color: var(--primary); }
.week { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.days { display: flex; gap: 8px; overflow-x: auto; flex: 1; padding: 2px; }
.day, .slot, .pager { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; font-size: 15px; color: var(--text); }
.day { flex: none; padding: 6px 12px; text-transform: capitalize; }
.pager { width: 44px; flex: none; font-size: 22px; }
.day[aria-pressed=true], .slot[aria-pressed=true] { background: var(--primary); color: #fff; border-color: var(--primary); }
.slot { padding: 6px 14px; }
.slot[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bucket { margin-bottom: 12px; }
.bucket-name { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.rdv-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }

/* pied de page */
.footer { background: #262d1a; color: #cfd0cb; padding: 48px 0 24px; font-size: 15px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h2 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #55613b; margin-top: 32px; padding-top: 16px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
/* mosaïque de la page d'accueil */
.hero { overflow: hidden; }
.hero-mosaic { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; background: #262d1a; }
.hero-mosaic img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.hero::before { z-index: 1; background: linear-gradient(90deg, rgba(38, 45, 26, .88) 0%, rgba(38, 45, 26, .66) 50%, rgba(38, 45, 26, .22) 100%); }
.hero .wrap { z-index: 2; }
.hero h1, .hero p.lead, .hero .eyebrow { text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
@media (max-width: 700px) {
  .hero-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
  .hero::before { background: rgba(38, 45, 26, .78); }
}

/* photo unique de la page d'accueil */
.hero-mosaic.hero-photo { display: block; gap: 0; }
.hero-photo img { object-position: center 65%; }
.hero::before { background: linear-gradient(90deg, rgba(38, 45, 26, .94) 0%, rgba(38, 45, 26, .82) 32%, rgba(38, 45, 26, .45) 62%, rgba(38, 45, 26, .12) 100%); }
@media (max-width: 700px) {
  .hero-mosaic.hero-photo { display: block; }
  .hero-photo img { object-position: 60% center; }
  .hero::before { background: linear-gradient(180deg, rgba(38, 45, 26, .82) 0%, rgba(38, 45, 26, .72) 60%, rgba(38, 45, 26, .88) 100%); }
}

/* logo Bastelica Pierre */
.logo img.logo-img { width: auto; height: 52px; }
.header .wrap { min-height: 76px; }
@media (max-width: 700px) { .logo img.logo-img { height: 42px; } .header .wrap { min-height: 64px; } }
/* page à propos : portrait et expérience */
.two-col img.portrait { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 20%; border-radius: 12px; justify-self: center; }
.xp-badge { display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px; background: #f1efe6; border: 1px solid #ddd9c8; color: var(--primary); font-size: 14px; font-weight: 600; }
.xp-badge strong { font-family: var(--font-title); font-size: 20px; font-weight: 800; color: var(--primary); }

/* galerie photos extérieur / intérieur */
.gallery-label { margin: 14px 0 0; font-weight: 700; font-size: 14px; color: var(--primary); display: flex; gap: 8px; align-items: baseline; }
.gallery-label span { font-weight: 400; font-size: 13px; color: #6b705f; }
.gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20, 22, 16, .55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.gal-nav:hover, .gal-nav:focus-visible { background: rgba(20, 22, 16, .8); }
.gal-prev { left: 10px; } .gal-next { right: 10px; }

/* photo principale affichée en entier (photos verticales comprises) */
.gallery-main { background: #1f2418; }
.gallery-main img { object-fit: contain; }

/* prestataires : icônes en couleur, plus grandes */
.prest .perk .ico { width: 64px; height: 64px; border-radius: 16px; color: #fff; margin-bottom: 14px; }
.prest .perk .ico svg { width: 34px; height: 34px; }
.prest .ico.c-blue { background: #2f6fb5; }
.prest .ico.c-orange { background: #e07a1f; }
.prest .ico.c-red { background: #c0392b; }
.prest .ico.c-purple { background: #8e44ad; }
.prest .ico.c-cyan { background: #1b9cc4; }
.prest .ico.c-green { background: #2e8b57; }


/* ===== Typographie unifiée : Barlow Condensed (titres & UI) + Barlow (texte) ===== */
html, body, p, li, td, dd, dt, label, input, select, textarea, .lead, .muted, .small, .field-help, .form-legal, .legal-box, .prose { font-family: var(--font-text); }
h1, h2, h3, h4, h5, h6,
.logo span, .eyebrow,
#site-nav a, .topbar a,
.btn, .mobile-bar a, .tab, .day, .slot, .link.btn,
.badge, .chip, .xp-badge, .xp-badge strong,
.vcard-title, .vcard-price, .fiche-price,
.cat h2, .cat h3, .cat p,
.faq-item summary, .filters details summary,
.results-bar p, .bucket-name, .gallery-label,
.steps li::before, .review footer,
.footer h2 { font-family: var(--font-title); }
.btn, .mobile-bar a, .tab, #site-nav a { letter-spacing: .02em; }
.btn, .mobile-bar a { font-size: 17px; font-weight: 700; }
#site-nav a { font-size: 17px; font-weight: 600; }


/* ===== Lien Facebook dans la barre du haut ===== */
.topbar .wrap { align-items: center; }
.topbar-links { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-fb { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.topbar-fb .fb-ico { flex: none; }
.topbar-fb:hover span, .topbar-fb:focus-visible span { text-decoration: underline; }


/* ===== Correctif enseigne : lettre S ajoutée sur la photo du garage ===== */
.cat .sign-fix { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: transform .3s; }
.cat:hover .sign-fix { transform: scale(1.04); }
.photo-fix { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.photo-fix img { width: 100%; height: auto; }
.photo-fix .sign-fix { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


/* ===== Bouton « Demander un contact » dans les cases prestataires ===== */
.prest .perk { display: flex; flex-direction: column; }
.prest .perk .perk-cta { margin: auto 0 0; padding-top: 14px; }
.prest .perk .perk-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }


/* ===== Icônes prestataires aux couleurs de la marque ===== */
.prest .perk .ico,
.prest .ico.c-blue, .prest .ico.c-orange, .prest .ico.c-red,
.prest .ico.c-purple, .prest .ico.c-cyan, .prest .ico.c-green { background: var(--primary); color: var(--accent); }
.prest .perk:hover .ico { background: var(--primary-2); }


/* ===== Badge expérience dans le pied de page ===== */
.footer-xp { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; color: #fff; }
.footer-xp-ico { flex: none; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--accent); }
.footer-xp strong { display: block; font-family: var(--font-title); font-size: 26px; font-weight: 800; line-height: 1.05; color: #fff; }
.footer-xp span:last-child { font-family: var(--font-title); font-size: 17px; font-weight: 600; line-height: 1.2; }


/* ===== Horloge numérique dans la barre du haut ===== */
.topbar-clock { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--accent); }
.topbar-clock time { font-family: var(--font-title); font-weight: 700; font-size: 15px; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: #fff; min-width: 4.6em; }


/* ===== Compteurs réseaux sociaux (accueil) ===== */
.socials { margin-top: 40px; text-align: center; }
.socials-title { font-size: var(--h3); margin-bottom: 16px; }
.socials-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.social-card { flex: 0 1 320px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--primary); transition: transform .15s, box-shadow .15s; }
.social-card:hover, .social-card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(53, 62, 37, .14); }
.social-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; margin-bottom: 6px; }
.social-num { font-family: var(--font-title); font-weight: 800; font-size: 44px; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.social-plus { font-size: .6em; margin-right: 4px; vertical-align: .25em; }
.social-label { font-family: var(--font-title); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
