/* ==========================================================================
   Tex Racing, maquette v2 (version claire)
   Fond blanc, texte anthracite. Les couleurs du logo ne servent que d'accents :
   orange pour les actions et les promos, noir pour le pied de page,
   doré pour quelques filets.
   ========================================================================== */

@font-face { font-family: "Kanit"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/kanit-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --blanc: #FFFFFF;
  --clair: #F7F5F2;            /* fond des sections alternées */
  --encre: #1A1714;            /* texte principal : 17,9:1 sur blanc */
  --gris: #5E574F;             /* texte secondaire : 7,1:1 sur blanc, 6,5:1 sur clair */
  --trait: #E4DFD8;
  --trait-fort: #8A8178;       /* bords de champs : 3,8:1 sur blanc */
  --orange: #D9772B;           /* aplats (boutons, pastilles) avec texte --encre : 5,6:1 */
  --orange-texte: #A84E0E;     /* orange assombri pour le texte : 5,6:1 sur blanc, 5,1:1 sur clair */
  --or: #AC8A2D;               /* filets décoratifs seulement */
  --noir: #0C0A09;             /* pied de page */

  --titres: "Kanit", "Helvetica Neue", Arial, sans-serif;
  --texte: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gout: clamp(16px, 4vw, 40px);
  --rayon: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
address { font-style: normal; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gout)); margin-inline: auto; padding-inline: var(--gout); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Titres : italique sportive, sans capitales forcées ---------- */
h1, .titre, .service h3, .occasion-vide h3 {
  font-family: var(--titres);
  font-style: italic;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.005em;
  text-wrap: balance;
  color: var(--encre);
}
.titre { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); }
.titre::after {            /* le seul rappel doré et orange du logo : un double filet */
  content: ""; display: block; width: 64px; height: 4px; margin-top: 14px;
  background: linear-gradient(90deg, var(--orange) 0 62%, transparent 62% 70%, var(--or) 70%);
}
.chapo { margin-top: 12px; color: var(--gris); max-width: 62ch; }

.section-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(22px, 3.4vw, 38px); }
.section-tete > div { min-width: 0; }
.lien-tout { font-weight: 600; color: var(--encre); text-underline-offset: 6px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; padding-block: 8px; }
.lien-tout:hover { color: var(--orange-texte); }

.bloc { padding-block: clamp(52px, 7vw, 92px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--texte); font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--rayon);
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-orange { background: var(--orange); color: var(--encre); }
.btn-orange:hover { background: var(--encre); color: #fff; }
.btn-ligne { background: var(--blanc); border-color: var(--encre); color: var(--encre); }
.btn-ligne:hover { background: var(--encre); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.a-completer { color: #6B4A00; background: #FFF4D6; border: 1px dashed #B08A2E; padding: 1px 8px; font-size: .9375rem; border-radius: 3px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { background: var(--blanc); border-bottom: 1px solid var(--trait); position: relative; z-index: 20; }
.entete { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo outils" "rech rech rech"; align-items: center; gap: 10px 12px; padding-block: 10px 14px; }
.burger { grid-area: burger; }
.logo { grid-area: logo; justify-self: center; display: block; }
.logo img { width: clamp(124px, 32vw, 180px); }
.outils { grid-area: outils; display: flex; gap: 4px; }
.outil {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-width: 46px; min-height: 46px; justify-content: center; padding: 0 8px;
  background: none; border: 0; border-radius: var(--rayon); cursor: pointer; text-decoration: none; color: var(--encre);
}
.outil:hover { background: var(--clair); }
.outil .lib { display: none; font-weight: 500; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--encre); color: #fff;
  font-size: .75rem; font-weight: 600; line-height: 20px; text-align: center;
}
.cart-count.plein { background: var(--orange); color: var(--encre); }

.woocommerce-product-search { grid-area: rech; display: flex; min-width: 0; border: 1px solid var(--trait-fort); border-radius: var(--rayon); background: var(--blanc); overflow: hidden; }
.woocommerce-product-search:focus-within { border-color: var(--encre); box-shadow: 0 0 0 1px var(--encre); }
.woocommerce-product-search input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; background: transparent; border: 0; color: var(--encre); }
.woocommerce-product-search input::placeholder { color: var(--gris); opacity: 1; }
.woocommerce-product-search input:focus-visible { outline: 0; }
.woocommerce-product-search button { width: 50px; border: 0; background: var(--encre); color: #fff; cursor: pointer; display: grid; place-items: center; }
.woocommerce-product-search button:hover { background: var(--orange); color: var(--encre); }
.woocommerce-product-search button:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }

.nav-principale { display: none; border-top: 1px solid var(--trait); }

@media (min-width: 1100px) {
  html { scroll-padding-top: 140px; }
  .site-header { position: sticky; top: 0; }
  .burger { display: none; }
  .entete { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo rech outils"; gap: 40px; padding-block: 10px; }
  .logo { justify-self: start; }
  .logo img { width: 170px; }
  .woocommerce-product-search { max-width: 560px; justify-self: center; width: 100%; }
  .outil .lib { display: inline; }
  .outil { padding: 0 12px; }
  .cart-contents { padding-right: 36px; }
  .cart-count { top: 13px; right: 8px; }
  .nav-principale { display: block; }
  .nav-principale ul { display: flex; align-items: stretch; margin-inline: -14px; }
  .nav-principale a {
    display: block; padding: 12px 14px;
    font-weight: 600; font-size: 1.0625rem; text-decoration: none; color: var(--encre);
    background: linear-gradient(var(--orange), var(--orange)) no-repeat 14px 100% / 0 3px;
    transition: background-size .2s;
  }
  .nav-principale a:hover { background-size: calc(100% - 28px) 3px; }
  .nav-principale .lien-occasion a { color: var(--orange-texte); }
  .nav-principale .groupe-2 { margin-left: auto; }
}

/* ---------- Menu mobile ---------- */
.tiroir {
  position: fixed; inset: 0 auto 0 0; margin: 0;
  width: min(340px, 86vw); height: 100dvh; max-height: none; max-width: none;
  padding: 0; border: 0;
  background: var(--blanc); color: var(--encre);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .28s ease, overlay .28s allow-discrete, display .28s allow-discrete;
}
.tiroir[open] { transform: none; }
@starting-style { .tiroir[open] { transform: translateX(-100%); } }
.tiroir::backdrop { background: rgba(12, 10, 9, .55); }
.tiroir-feuille { min-height: 100%; }
.tiroir-tete { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--trait); }
.tiroir-tete img { width: 124px; }
.tiroir nav a { display: block; padding: 14px 24px; font-weight: 600; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--trait); }
.tiroir nav a:hover { background: var(--clair); }
.tiroir .lien-occasion a { color: var(--orange-texte); }
.tiroir .groupe-2 { border-top: 3px solid var(--orange); }
.tiroir a:focus-visible, .tiroir button:focus-visible { outline-offset: -4px; }

/* ==========================================================================
   Héro : photo plein cadre, texte dans un bandeau blanc opaque
   ========================================================================== */
.hero { position: relative; background: var(--clair); }
.hero-photo { display: block; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 70%; }
.hero-contenu { position: relative; }
.hero-texte { background: var(--blanc); padding: 26px 0 36px; }
.hero { background: var(--blanc); }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.1rem); }
.hero-texte p { margin-top: 16px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); max-width: 48ch; }

@media (min-width: 860px) {
  .hero { display: grid; }
  .hero > * { grid-area: 1 / 1; }
  .hero-photo img { height: 100%; min-height: clamp(460px, 44vw, 640px); max-height: 640px; aspect-ratio: auto; object-position: 0% 78%; }
  .hero-contenu { display: flex; justify-content: flex-end; align-items: center; padding-block: 40px; }
  .hero-texte { width: min(520px, 46%); padding: clamp(28px, 3vw, 44px); border-radius: var(--rayon); border-top: 4px solid var(--orange); box-shadow: 0 18px 50px rgba(12, 10, 9, .22); }
}

@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 860px) {
    .hero-texte { animation: entree .6s .1s cubic-bezier(.2, .7, .2, 1) both; }
    @keyframes entree { from { opacity: 0; translate: 0 18px; } }
  }
}

/* ==========================================================================
   Cartes produits (boucle WooCommerce)
   ========================================================================== */
ul.products { display: grid; gap: clamp(12px, 1.8vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
li.product {
  position: relative; min-width: 0;
  display: flex; flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--trait); border-radius: var(--rayon);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
li.product:hover { border-color: var(--trait-fort); box-shadow: 0 10px 28px rgba(26, 23, 20, .1); }
.product-visuel { position: relative; background: var(--blanc); aspect-ratio: 1; display: grid; place-items: center; border-bottom: 1px solid var(--trait); }
.product-visuel img { width: 84%; max-height: 84%; object-fit: contain; transition: scale .3s; }
.product-visuel.large { aspect-ratio: 1.5; }
.product-visuel.large img { width: 88%; }
li.product:hover .product-visuel img { scale: 1.04; }

.product-corps { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px clamp(12px, 1.5vw, 18px) clamp(14px, 1.5vw, 18px); }
.product-cat { color: var(--gris); font-size: .9375rem; }
.woocommerce-loop-product__title { font-family: var(--texte); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; overflow-wrap: anywhere; }
.woocommerce-loop-product__link { text-decoration: none; color: var(--encre); }
.woocommerce-loop-product__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* toute la carte est cliquable */
.woocommerce-loop-product__link:focus-visible { outline: 0; }
.woocommerce-loop-product__link:focus-visible::after { outline: 3px solid var(--encre); outline-offset: -3px; border-radius: var(--rayon); }
li.product:hover .woocommerce-loop-product__link { text-decoration: underline; text-underline-offset: 4px; }

.price { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 1.3rem; line-height: 1.15; color: var(--encre); }
.price del { font-weight: 500; font-size: 1rem; color: var(--gris); margin-right: 6px; }
.price ins { text-decoration: none; color: var(--orange-texte); }

.onsale, .stock-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; font-weight: 600; font-size: .875rem; line-height: 1.25; border-radius: 4px; }
.onsale { background: var(--orange); color: var(--encre); }
.stock-badge { background: var(--encre); color: #fff; }
li.product.outofstock .product-visuel img { opacity: .7; }

.add_to_cart_button {
  position: relative; z-index: 2; margin-top: 10px;
  min-height: 46px; padding: 8px 12px; width: 100%;
  background: var(--blanc); color: var(--encre);
  border: 2px solid var(--encre); border-radius: var(--rayon);
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.add_to_cart_button:hover { background: var(--encre); color: #fff; }
.add_to_cart_button.added { background: var(--orange); border-color: var(--orange); color: var(--encre); }

@media (min-width: 700px) {
  ul.products.colonnes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  ul.products.colonnes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  ul.products.colonnes-3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .cart-count.saut { animation: saut .4s ease; }
  @keyframes saut { 40% { scale: 1.35; } }
}

/* ==========================================================================
   Vélos d'occasion : la section vedette
   ========================================================================== */
.occasion { background: var(--clair); padding-block: clamp(52px, 7vw, 92px); border-block: 1px solid var(--trait); }
.occasion .titre { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); }

.occasion ul.products { grid-template-columns: 1fr; }
.occasion .product-visuel { aspect-ratio: 4 / 3; background: #ECE8E2; border-bottom: 0; overflow: hidden; }
.occasion .product-visuel img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.occasion li.product:hover .product-visuel img { scale: 1.02; }
.occasion .product-corps { gap: 10px; padding: clamp(16px, 2vw, 24px); }
.occasion .woocommerce-loop-product__title { font-family: var(--titres); font-style: italic; font-weight: 600; font-size: 1.4rem; line-height: 1.15; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.product-tags li { padding: 2px 10px; border: 1px solid var(--trait-fort); border-radius: 4px; color: var(--encre); font-size: .9375rem; font-weight: 500; background: var(--blanc); }
.occasion .desc { max-width: 52ch; }
.occasion .credit { color: var(--gris); font-size: .9375rem; }
.occasion .price { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 1.8rem; }
.occasion .price del { font-size: 1.1rem; margin: 0; }
.occasion .price ins { color: var(--encre); }
.faux-btn { align-self: flex-start; margin-top: 8px; }
li.product:hover .faux-btn { background: var(--encre); color: #fff; }
.photo-exemple { color: var(--gris); font-size: .9375rem; border: 1px dashed var(--trait-fort); border-radius: 4px; padding: 6px 14px; }

/* la grille s'adapte au nombre de vélos, sans classe ni JS */
@media (min-width: 640px) {
  .occasion ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .occasion ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .occasion ul.products:has(> li:nth-child(2):last-child),
  .occasion ul.products:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 5 vélos : le premier prend deux colonnes pour éviter une ligne incomplète */
  .occasion ul.products:has(> li:nth-child(5):last-child) > li:first-child { grid-column: span 2; }
  .occasion ul.products:has(> li:nth-child(5):last-child) > li:first-child .product-visuel { aspect-ratio: auto; flex: 1; min-height: 300px; }
}
/* 3 ou 5 vélos sur tablette : le premier en pleine largeur */
@media (min-width: 640px) and (max-width: 1039px) {
  .occasion ul.products:has(> li:nth-child(3):last-child) > li:first-child,
  .occasion ul.products:has(> li:nth-child(5):last-child) > li:first-child { grid-column: 1 / -1; }
}

/* un seul vélo : grande fiche horizontale */
.occasion ul.products > li:only-child { grid-column: 1 / -1; }
.occasion li:only-child .woocommerce-loop-product__title { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.occasion li:only-child .price { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.occasion li:only-child .price del { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.occasion li:only-child .onsale { font-size: 1.0625rem; padding: 6px 14px; top: 16px; left: 16px; }
@media (min-width: 860px) {
  .occasion ul.products > li:only-child { flex-direction: row; align-items: stretch; }
  .occasion li:only-child .product-visuel { flex: 0 0 52%; aspect-ratio: 1.12; }
  .occasion li:only-child .product-corps { justify-content: center; gap: 16px; padding: clamp(24px, 3.4vw, 52px); }
  .occasion li:only-child .faux-btn { margin-top: 10px; min-height: 54px; padding-inline: 30px; }
}

/* aucun vélo */
.occasion-vide { display: none; border: 1px solid var(--trait); border-left: 4px solid var(--orange); border-radius: var(--rayon); background: var(--blanc); padding: clamp(24px, 4.4vw, 56px); }
.occasion ul.products:empty { display: none; }
.occasion ul.products:empty + .occasion-vide { display: block; }
.occasion-vide h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.occasion-vide p { margin-top: 12px; max-width: 58ch; }


/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--clair); border-block: 1px solid var(--trait); }
.services-grille { display: grid; gap: clamp(16px, 2vw, 24px); }
.service { min-width: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.service-photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.service-atelier .service-photo { object-position: 50% 60%; }
.service-corps { flex: 1; padding: clamp(20px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.service h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.service p { max-width: 52ch; }
.types-velo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; width: 100%; }
.types-velo li { min-width: 0; border-top: 3px solid var(--orange); padding-top: 10px; }
.types-velo strong { display: block; font-family: var(--titres); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.05; }
.types-velo span { display: block; margin-top: 4px; color: var(--gris); font-size: .9375rem; line-height: 1.3; }
.infos { width: 100%; display: grid; gap: 0; }
.infos > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.infos dt { color: var(--gris); }
.service .btn { margin-top: auto; }

.label-ffct { display: grid; gap: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; align-items: center; }
.label-photo { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 30% 40%; }
.label-ffct p { padding: clamp(20px, 2.6vw, 34px); max-width: 64ch; }
.label-ffct strong { display: block; font-family: var(--titres); font-style: italic; font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.2; margin: 10px 0 6px; }
.label-badge { display: inline-block; padding: 3px 12px; border: 2px solid var(--or); border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--encre); }

@media (min-width: 900px) {
  .services-grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .label-ffct { grid-column: 1 / -1; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .label-photo { aspect-ratio: auto; max-height: 220px; }
}

/* ==========================================================================
   Marques
   ========================================================================== */
.marques { padding-block: clamp(40px, 5.6vw, 72px); }
.marques h2 { font-family: var(--texte); font-weight: 600; font-size: 1.0625rem; color: var(--gris); margin-bottom: 16px; }
.marques ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--trait); border-left: 1px solid var(--trait); }
.marques li { min-width: 0; padding: 20px 14px; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); text-align: center; font-family: var(--titres); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.15; }
.marques small { display: block; font-family: var(--texte); font-style: normal; font-weight: 500; font-size: .9375rem; color: var(--gris); }
@media (min-width: 760px) { .marques ul { grid-template-columns: repeat(5, minmax(0, 1fr)); } .marques li { display: grid; place-content: center; } }

/* ==========================================================================
   Le magasin
   ========================================================================== */
.magasin { background: var(--clair); border-top: 1px solid var(--trait); }
.magasin-grille { display: grid; gap: 32px; align-items: end; }
.magasin-grille > * { min-width: 0; }
.magasin address { margin: 22px 0 24px; font-size: clamp(1.2rem, 1.05rem + .8vw, 1.5rem); line-height: 1.35; }
.magasin address strong { display: block; font-weight: 600; }
.coordonnees { border-top: 3px solid var(--encre); background: var(--blanc); padding-inline: clamp(16px, 2vw, 24px); border-radius: 0 0 var(--rayon) var(--rayon); }
.coordonnees > div { padding: 16px 0; }
.coordonnees > div:last-child { border-bottom: 0; }
@media (min-width: 860px) { .magasin-grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } }

/* ==========================================================================
   Pied de page (noir, comme l'ovale du logo)
   ========================================================================== */
.site-footer { background: var(--noir); color: #D9D3CA; border-top: 4px solid var(--or); padding-top: clamp(40px, 6vw, 68px); font-size: 1rem; }
.site-footer :focus-visible { outline-color: #fff; }
.pied { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.pied-marque { grid-column: 1 / -1; }
.pied-marque img { width: 170px; }
.pied-marque p { margin-top: 14px; color: #A79F94; }
.pied h2 { font-family: var(--texte); font-weight: 600; font-size: 1.0625rem; color: #fff; margin-bottom: 8px; }
.pied a { display: inline-block; padding: 6px 0; text-decoration: none; color: #D9D3CA; }
.pied a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .16); color: #A79F94; font-size: .9375rem; }
.pied-bas a { color: #D9D3CA; text-underline-offset: 4px; }
.pied-bas a:hover { color: #fff; }
.credits-photos { flex-basis: 100%; order: 3; }
@media (min-width: 860px) {
  .pied { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .pied-marque { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Location : cartes vélos (accueil + page location)
   ========================================================================== */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.service .boutons { margin-top: auto; }
.velos-location { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: clamp(12px, 1.6vw, 20px); width: 100%; }
.velo-loc { min-width: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 12px 14px 16px; border-top: 3px solid var(--orange); }
.velo-loc img { width: 100%; aspect-ratio: 8 / 5; object-fit: contain; }
.velo-loc strong { display: block; margin-top: 8px; font-family: var(--titres); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.1; }
.velo-loc span { display: block; margin-top: 6px; color: var(--gris); line-height: 1.4; }
.velos-location-court { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .velos-location-court { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.velos-location-court .velo-loc { padding: 8px 10px 12px; }
.velos-location-court .velo-loc strong { font-size: .95rem; hyphens: auto; }
.note { margin-top: 20px; color: var(--gris); }

/* Page location */
.fil { padding-block: 16px 0; font-size: .9375rem; color: var(--gris); }
.fil a { color: var(--encre); }
.loc-hero { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.loc-hero-grille { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.loc-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.02; }
.chapo { margin-block: 18px 26px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 56ch; }
.loc-hero-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rayon); }
.btn-grand { padding-inline: 32px; font-size: 1.1rem; }
.loc-etapes-bloc { background: var(--clair); border-block: 1px solid var(--trait); }
.loc-etapes { list-style: none; counter-reset: etape; display: grid; gap: 16px; margin-bottom: 28px; }
.loc-etapes li { counter-increment: etape; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 20px; }
.loc-etapes li::before { content: counter(etape); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--encre); font-weight: 700; margin-bottom: 10px; }
.loc-etapes strong { display: block; font-size: 1.15rem; }
.loc-etapes span { display: block; margin-top: 4px; color: var(--gris); }
.loc-rouler { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.loc-rouler p { max-width: 62ch; margin-top: 14px; }
.loc-rouler img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.loc-final { background: var(--noir); color: #fff; text-align: center; padding-block: clamp(48px, 6vw, 80px); }
.loc-final h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.loc-final p { margin: 12px auto 24px; max-width: 52ch; color: #D9D3CA; }
@media (min-width: 900px) {
  .loc-hero-grille, .loc-rouler { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .loc-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
