/* Pages métier : les points à gauche, un téléphone à droite dont l'écran change avec le point choisi. */
.points { display: grid; grid-template-columns: 1fr minmax(250px, 320px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.points__liste { display: grid; gap: 12px; }
.point { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 0; border-radius: 20px; padding: 22px 26px; box-shadow: 0 0 0 1px var(--trait); cursor: pointer; transition: box-shadow .18s var(--sortie), background .18s var(--sortie); }
.point__titre { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.point__texte { font-size: 15px; color: var(--doux); }
.point:hover { box-shadow: 0 0 0 1px rgb(0 0 0 / .22); }
.point[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
.point:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.points__tel { position: sticky; top: calc(var(--entete) + 24px); justify-self: center; width: 100%; max-width: 300px; }
.tel { --tel-fond: #15211c; --tel-texte: #f4eee3; --tel-doux: #c9c1b3; --tel-accent: #d8a25a; --tel-sur-accent: #15211c; --tel-champ: #22312a; --tel-ok: #1f5a3d; --tel-ok-texte: #d6f2e0; --tel-trait: rgb(244 238 227 / .14);
  aspect-ratio: 360 / 740; border-radius: 40px; padding: 8px; background: var(--noir); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45), 0 0 0 1px rgb(255 255 255 / .06) inset; }
.tel__ecran { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--tel-fond); color: var(--tel-texte); }
.tel__ecran::before { content: ''; position: absolute; z-index: 5; top: 9px; left: 50%; width: 30%; height: 18px; margin-left: -15%; border-radius: 999px; background: var(--noir); }
.tel__vue { position: absolute; inset: 0; padding: 48px 20px 20px; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .3s var(--sortie), visibility .3s; }
.tel__vue.actif { opacity: 1; visibility: visible; }
.tel__marque { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.tel__sur { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tel-accent); }
.tel__ligne { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--tel-trait); font-size: 14px; }
.tel__ligne small { display: block; margin-top: 2px; font-size: 11px; color: var(--tel-doux); }
.tel__ligne b { font-weight: 600; white-space: nowrap; }
.tel__champ { background: var(--tel-champ); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--tel-doux); }
.tel__champ b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--tel-texte); }
.tel__puces { display: flex; gap: 6px; margin-top: 6px; }
.tel__puces i { font-style: normal; font-size: 12px; white-space: nowrap; padding: 6px 9px; border-radius: 999px; background: var(--tel-fond); color: var(--tel-texte); }
.tel__puces i.choisi { background: var(--tel-accent); color: var(--tel-sur-accent); font-weight: 600; }
.tel__bouton { margin-top: auto; text-align: center; font-size: 14px; font-weight: 600; padding: 13px; border-radius: 12px; background: var(--tel-accent); color: var(--tel-sur-accent); }
.tel__bouton--clair { background: var(--tel-champ); color: var(--tel-texte); }
.tel__bouton + .tel__bouton { margin-top: 0; }
.tel__etat { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--tel-ok); color: var(--tel-ok-texte); }
.tel__texte { font-size: 14px; line-height: 1.5; color: var(--tel-doux); }
.tel__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; min-height: 0; }
.tel__photos span { border-radius: 12px; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.tel__photos span:nth-child(1) { background-image: image-set(url('../img/metiers/resto-salle.webp') type('image/webp'), url('../img/metiers/resto-salle.jpg') type('image/jpeg')); }
.tel__photos span:nth-child(2) { background-image: image-set(url('../img/metiers/resto-plat.webp') type('image/webp'), url('../img/metiers/resto-plat.jpg') type('image/jpeg')); }
.tel__photos span:nth-child(3) { background-image: image-set(url('../img/metiers/resto-dessert.webp') type('image/webp'), url('../img/metiers/resto-dessert.jpg') type('image/jpeg')); }
.tel__photos span:nth-child(4) { background-image: image-set(url('../img/metiers/resto-comptoir.webp') type('image/webp'), url('../img/metiers/resto-comptoir.jpg') type('image/jpeg')); }
.points--garage .tel { --tel-fond: #ffffff; --tel-texte: #111827; --tel-doux: #5b6474; --tel-accent: #d4421a; --tel-sur-accent: #ffffff; --tel-champ: #f3f4f6; --tel-ok: #e3f4ea; --tel-ok-texte: #14532d; --tel-trait: rgb(17 24 39 / .12); }
.tel__banniere { flex: none; height: 116px; border-radius: 12px; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.tel__banniere--atelier { background-position: 50% 32%; background-image: image-set(url('../img/metiers/garage-atelier.webp') type('image/webp'), url('../img/metiers/garage-atelier.jpg') type('image/jpeg')); }
.tel__banniere--roue { background-position: 50% 50%; background-image: image-set(url('../img/metiers/garage-roue.webp') type('image/webp'), url('../img/metiers/garage-roue.jpg') type('image/jpeg')); }
.tel__banniere--pneus { background-position: 50% 36%; background-image: image-set(url('../img/metiers/garage-pneus.webp') type('image/webp'), url('../img/metiers/garage-pneus.jpg') type('image/jpeg')); }
.tel__banniere--accueil { background-position: 72% 32%; background-image: image-set(url('../img/metiers/garage-accueil.webp') type('image/webp'), url('../img/metiers/garage-accueil.jpg') type('image/jpeg')); }
.points__tel .mention { margin-top: 14px; text-align: center; }
@media (max-width: 960px) {
  .points { grid-template-columns: 1fr; }
  .points__tel { position: static; order: -1; max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .tel__vue, .point { transition: none; }
}
