/* ==========================================================================
   ONAT PNEUS — Feuille de style principale
   Saint-Chamond (42400) — Pneumatiques, mécanique, diagnostic, entretien
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #0b0e13;
  --ink-2: #121821;
  --ink-3: #1b2430;
  --line: #e5e8ed;
  --line-dark: #27303d;

  --bg: #ffffff;
  --bg-2: #f5f7f9;
  --bg-3: #eef1f5;

  --text: #10151c;
  --text-2: #566072;
  --text-inv: #ffffff;
  --text-inv-2: #a3adbc;

  /* Rouge de la marque Onat Pneus (repris du logo existant) */
  --accent: #e60012;
  --accent-2: #b1000e;
  --accent-3: #ffe8e9;

  --ok: #0f9d58;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 14, 19, .05), 0 2px 6px rgba(11, 14, 19, .05);
  --shadow: 0 12px 32px rgba(11, 14, 19, .10);
  --shadow-lg: 0 24px 60px rgba(11, 14, 19, .16);

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 72px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); letter-spacing: -.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong { font-weight: 700; }

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: .8rem 1.2rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.25rem, 2rem + 5vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4rem); }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section--dark p { color: var(--text-inv-2); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--text-inv-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: var(--text-2); }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(230, 0, 18, .32); background: var(--accent-2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--wa { --btn-bg: #1faa53; }
.btn--wa:hover { background: #178f44; box-shadow: 0 10px 22px rgba(31, 170, 83, .32); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--bg-2); box-shadow: var(--shadow-sm); }

.btn--ghost-inv {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn--ghost-inv:hover { background: rgba(255, 255, 255, .14); box-shadow: none; }

.btn--sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sur petit écran, un libellé long doit pouvoir passer à la ligne plutôt que
   de déborder horizontalement. */
@media (max-width: 560px) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
  .btn-row > .btn { flex: 1 1 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. En-tête
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--text-inv);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .2s var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 26px rgba(0, 0, 0, .28); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
  flex: none;
}
/* Verrouillage horizontal : la silhouette du logo + le nom composé en HTML.
   Le logo d'origine est vertical ; à 72 px de hauteur d'en-tête, sa baseline
   « MÉCANIQUE - PNEU - RÉPARATION » serait illisible. */
.logo__mark {
  width: auto;
  height: 30px;
  flex: none;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -.01em;
}
.logo__name em { font-style: normal; color: var(--accent); }
.logo__tag {
  font-size: .535rem;
  letter-spacing: .105em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-top: 4px;
  font-weight: 700;
  white-space: nowrap;
}

/* Version complète (verticale) : utilisée dans le pied de page, où la place
   permet d'afficher le logo tel qu'il a été dessiné. */
.logo--stacked { display: block; }
.logo--stacked img { width: auto; height: 104px; }

/* Sur mobile, la baseline du logo est plus large que le nom lui-même :
   elle pousserait le bouton menu hors de l'écran. On la réserve aux largeurs
   intermédiaires (tablette), où la place ne manque pas. */
@media (max-width: 480px) {
  .logo__tag { display: none; }
  .logo__mark { height: 26px; }
  .logo__name { font-size: 1.02rem; }
}
@media (max-width: 360px) {
  .logo__mark { height: 23px; }
  .logo__name { font-size: .95rem; }
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: .55rem .78rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  color: #dfe4eb;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 3px;
}

.header__cta { display: flex; align-items: center; gap: .55rem; flex: none; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.header__phone:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .38); }
.header__phone svg { width: 17px; height: 17px; color: var(--accent); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .15s;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(0); }

/* Dès que le menu complet est affiché, la place est comptée : le conteneur est
   plafonné à 1180 px et doit loger le logo, six entrées de menu et deux appels
   à l'action. On masque donc la baseline du logo (elle reste dans le pied de
   page, sur le logo complet) et le bouton WhatsApp passe en icône seule. */
@media (min-width: 1200px) {
  .logo__tag { display: none; }
  .logo__mark { height: 32px; }
  .nav__link { padding-inline: .58rem; font-size: .93rem; }
  .header__phone { font-size: .97rem; padding: .48rem .85rem; }
  .header__cta .btn--icon { padding: .62rem .72rem; }
  .header__cta .btn--icon .btn__label {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .header__cta .btn--icon svg { width: 21px; height: 21px; }
}

@media (max-width: 1199px) {
  .burger { display: grid; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem var(--gutter) 1.35rem;
  }
  .nav__link {
    padding: .95rem .2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .nav__link[aria-current="page"] { color: var(--accent); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__mobile-cta { display: grid; gap: .6rem; padding-top: 1.1rem; }
}
@media (min-width: 1200px) {
  .nav__mobile-cta { display: none; }
}

/* --------------------------------------------------------------------------
   6. Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}

/* Couche des photos d'atelier, assombries pour garder le texte lisible */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--ink);
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s linear;
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Assombrissement + teinte marque par-dessus les photos */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 14, 19, .95) 0%, rgba(11, 14, 19, .86) 42%, rgba(11, 14, 19, .62) 100%),
    radial-gradient(900px 520px at 82% 10%, rgba(230, 0, 18, .30), transparent 62%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.5'%3E%3Cpath d='M0 15h60M0 45h60'/%3E%3Cpath d='M10 0v60M40 0v60'/%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}
@media (max-width: 900px) {
  /* Sur mobile le texte passe devant l'image : on assombrit davantage,
     tout en laissant la photo d'atelier perceptible. */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 14, 19, .86) 0%, rgba(11, 14, 19, .80) 50%, rgba(11, 14, 19, .94) 100%),
      radial-gradient(600px 400px at 80% 0%, rgba(230, 0, 18, .26), transparent 65%);
  }
}

/* Texte du carrousel : les blocs se superposent dans une même cellule de grille,
   ce qui fige la hauteur sur le texte le plus long et évite tout saut de mise en page. */
.hero__texts { display: grid; }
.hero__text {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.hero__text.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* Puces de navigation du carrousel */
.hero__dots {
  display: flex;
  gap: .55rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.hero__dots li { margin: 0; }
.hero__dots button {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .26);
  cursor: pointer;
  transition: background .2s, width .25s var(--ease);
}
.hero__dots button:hover { background: rgba(255, 255, 255, .5); }
.hero__dots button[aria-selected="true"] { background: var(--accent); width: 52px; }

.hero__inner {
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* Un seul <h1> par page : les titres des autres diapositives sont des
   paragraphes stylés à l'identique. */
.hero h1,
.hero__title {
  margin: 0 0 .55rem;
  font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.hero h1 .accent,
.hero__title .accent { color: var(--accent); }
.hero__sub {
  font-size: clamp(1.02rem, .95rem + .45vw, 1.22rem);
  color: #cfd6e0;
  max-width: 52ch;
  margin-bottom: 1.9rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .95rem .42rem .5rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: #e8edf4;
  margin-bottom: 1.5rem;
}
.hero__badge b {
  display: inline-grid;
  place-items: center;
  padding: .18rem .6rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 560px) {
  /* Évite que la pastille ne se déforme sur les petits écrans :
     on ne garde que l'accroche principale, le reste passerait à la ligne. */
  .hero__badge {
    font-size: .78rem;
    padding: .34rem .55rem .34rem .4rem;
    gap: .45rem;
    max-width: 100%;
  }
  .hero__badge b { font-size: .68rem; padding: .16rem .55rem; }
  .hero__badge-more { display: none; }
}

.hero__note {
  margin-top: 1.4rem;
  font-size: .93rem;
  color: var(--text-inv-2);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.hero__note svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: .28em; }

/* Carte « infos pratiques » du héros */
.hero__card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero__card h2 {
  font-size: 1.1rem;
  letter-spacing: .01em;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.hero__card h2 svg { width: 20px; height: 20px; color: var(--accent); }

.hours { list-style: none; margin: 0 0 1.35rem; padding: 0; font-size: .95rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .13);
  margin: 0;
  color: #dbe1ea;
}
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { font-weight: 600; color: #fff; }
.hours .closed { color: #ff8f85; font-weight: 600; }

.hours__note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  color: #cfd6e0;
  margin: -.6rem 0 1.35rem;
}
.hours__note svg { width: 15px; height: 15px; color: var(--ok); flex: none; margin-top: .3em; }
.hours--light + .hours__note { color: var(--text-2); }

.hero__addr {
  display: flex;
  gap: .65rem;
  font-size: .95rem;
  color: #dbe1ea;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  margin-bottom: 1.1rem;
}
.hero__addr svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.hero__addr address { font-style: normal; }

/* --------------------------------------------------------------------------
   7. Bandeau de confiance
   -------------------------------------------------------------------------- */
.trust {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
  color: var(--text-inv);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-inline: 1px solid var(--line-dark);
}
.trust__item {
  background: var(--ink-2);
  padding: 1.35rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.35;
}
.trust__item svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
@media (max-width: 820px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .trust__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8. Cartes de services
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr));
  gap: clamp(1rem, .6rem + 1.2vw, 1.6rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.1rem + .9vw, 1.9rem);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
a.card:hover::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--accent-3);
  color: var(--accent-2);
  margin-bottom: 1.15rem;
  flex: none;
}
.card__icon svg { width: 27px; height: 27px; }

.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-2); font-size: .97rem; margin-bottom: 1.1rem; }
.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: .93rem;
  color: var(--text-2);
}
.card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .35rem;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.card .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------------------
   9. Split (texte + visuel)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.15rem; }
.feature-list li { display: flex; gap: .95rem; margin: 0; }
.feature-list .fi {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-3);
  color: var(--accent-2);
}
.section--dark .feature-list .fi { background: rgba(230, 0, 18, .18); color: var(--accent); }
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list h3 { font-size: 1.03rem; margin-bottom: .18rem; }
.feature-list p { font-size: .95rem; color: var(--text-2); margin: 0; }
.section--dark .feature-list p { color: var(--text-inv-2); }

/* Roue complète (assets/roue.svg) : pneu monté sur jante alliage.
   Illustration vectorielle, donc nette à toutes les tailles et légère. */
.wheel {
  position: relative;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
}
.wheel img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(11, 14, 19, .30));
}
.wheel__badge {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: 7%;
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: .85rem 1.15rem;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.15;
}
.wheel__badge b { display: block; font-size: 1.5rem; font-weight: 900; }
.wheel__badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; opacity: .92; }

@media (max-width: 480px) {
  .wheel__badge { right: 0; padding: .7rem .95rem; }
  .wheel__badge b { font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   10. Marques
   -------------------------------------------------------------------------- */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.brands li { margin: 0; list-style: none; }
.brands span {
  display: inline-block;
  padding: .62rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .01em;
  color: var(--text-2);
  transition: color .15s, border-color .15s, transform .15s var(--ease);
}
.brands span:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

.brands--compact span { padding: .45rem .85rem; font-size: .87rem; font-weight: 600; }

/* Puces de marque cliquables (vers les pages dédiées) */
.brands a { text-decoration: none; display: block; }
.brands a span { cursor: pointer; }
.brands a:hover span,
.brands a:focus-visible span {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.section--alt .brands span { background: var(--bg); }

/* --------------------------------------------------------------------------
   11. Étapes
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(1.2rem, .8rem + 1.5vw, 2rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.4rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  opacity: .28;
  margin-bottom: .5rem;
}
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .96rem; color: var(--text-2); margin: 0; }
.section--dark .step p { color: var(--text-inv-2); }

/* --------------------------------------------------------------------------
   12. Avis clients
   -------------------------------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, .6rem + 1.2vw, 1.6rem);
}
.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 2px; color: #ffb400; margin-bottom: .9rem; }
.stars svg { width: 18px; height: 18px; }
.stars--lg { gap: 4px; margin: .6rem 0 1rem; }
.stars--lg svg { width: 27px; height: 27px; }

/* Carte « laisser un avis » : mise en avant discrète */
.contact-card--avis {
  border-color: #ffd98a;
  background: linear-gradient(180deg, #fffaf0 0%, var(--bg) 60%);
}
.contact-card--avis h3 svg { color: #ffb400; }
.review blockquote { margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.6; }
.review figcaption { margin-top: auto; font-size: .9rem; color: var(--text-2); }
.review figcaption b { display: block; color: var(--text); font-size: .97rem; }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 1.35rem 1.35rem; color: var(--text-2); font-size: .98rem; }

/* --------------------------------------------------------------------------
   14. Bandeau CTA
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #ff4d3d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23fff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E");
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
}
.cta-band h2 { margin-bottom: .35rem; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .93); font-size: 1.05rem; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--accent-2); }
.cta-band .btn:hover { background: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }

/* Variante secondaire sur le bandeau : fond transparent, texte blanc.
   Il faut aussi remettre --btn-bg, sinon on hérite du fond blanc ci-dessus
   et le libellé blanc devient invisible. */
.cta-band .btn--ghost-inv {
  --btn-bg: rgba(255, 255, 255, .14);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .65);
}
.cta-band .btn--ghost-inv:hover {
  background: rgba(255, 255, 255, .26);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   15. Zone d'intervention
   -------------------------------------------------------------------------- */
.zones { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; margin: 0; }
.zones li { margin: 0; }
.zones li span {
  display: inline-block;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
  color: #dbe1ea;
}

/* --------------------------------------------------------------------------
   16. Pied de page
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--text-inv-2);
  font-size: .95rem;
  padding-top: clamp(2.75rem, 2rem + 3vw, 4rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  padding-bottom: 2.5rem;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer a { color: var(--text-inv-2); text-decoration: none; transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer .logo { margin-bottom: 1rem; }
.footer__about p { max-width: 34ch; }

.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }
.footer__contact address { font-style: normal; }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* --------------------------------------------------------------------------
   17. Barre d'action mobile
   -------------------------------------------------------------------------- */
.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  background: rgba(11, 14, 19, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .5rem;
}
.action-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .55rem .3rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.action-bar a svg { width: 21px; height: 21px; }
.action-bar .ab-call { background: var(--accent); }
.action-bar .ab-wa { background: #1faa53; }
.action-bar .ab-map { background: rgba(255, 255, 255, .11); }

@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   18. Pages intérieures
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--ink);
  color: var(--text-inv);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 85% 0%, rgba(230, 0, 18, .30), transparent 60%);
  z-index: -1;
}

/* Variante avec photo d'atelier en fond, fortement assombrie */
.page-hero--photo { background-color: var(--ink); }
.page-hero--photo .page-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page-hero--photo::before {
  background:
    linear-gradient(100deg, rgba(11, 14, 19, .96) 0%, rgba(11, 14, 19, .88) 48%, rgba(11, 14, 19, .66) 100%),
    radial-gradient(800px 400px at 88% 0%, rgba(230, 0, 18, .26), transparent 62%);
}
@media (max-width: 900px) {
  .page-hero--photo::before {
    background:
      linear-gradient(180deg, rgba(11, 14, 19, .93), rgba(11, 14, 19, .96)),
      radial-gradient(600px 300px at 80% 0%, rgba(230, 0, 18, .24), transparent 65%);
  }
}
.page-hero__inner { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); max-width: 780px; }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p { color: #cfd6e0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); margin-bottom: 1.6rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: .86rem;
  color: var(--text-inv-2);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; opacity: .5; }
.breadcrumb a { color: var(--text-inv-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul li { margin-bottom: .5rem; }
.prose .callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-3);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.8rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  padding: .1em .4em;
  background: var(--bg-3);
  border-radius: 5px;
}

/* Tableau de prestations */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 460px; }
caption { text-align: left; padding: .9rem 1.1rem; font-weight: 700; background: var(--bg-2); border-bottom: 1px solid var(--line); }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-2); font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); }
tbody tr:last-child td { border-bottom: 0; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.2rem, .8rem + 1.5vw, 2rem);
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { display: flex; align-items: center; gap: .6rem; }
.contact-card h3 svg { width: 21px; height: 21px; color: var(--accent); flex: none; }
/* Le logo WhatsApp reste vert : c'est le repère visuel du canal */
.contact-card h3 svg.ico-wa { width: 23px; height: 23px; color: #1faa53; }
.contact-card .big {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
  margin: .35rem 0 .8rem;
}
.contact-card .big:hover { color: var(--accent); }

.hours--light li { color: var(--text-2); border-bottom-color: var(--line); }
.hours--light span:first-child { color: var(--text); }
.hours--light .closed { color: #c0392b; }

.map-embed {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  display: block;
  filter: grayscale(.15);
}

/* --------------------------------------------------------------------------
   19. Page 404
   -------------------------------------------------------------------------- */
.err {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}
.err .code {
  font-size: clamp(4.5rem, 3rem + 9vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.04em;
}

/* --------------------------------------------------------------------------
   20. Animations d'apparition
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   21. Impression
   -------------------------------------------------------------------------- */
@media print {
  .header, .action-bar, .cta-band, .btn, .footer__grid { display: none !important; }
  body { color: #000; background: #fff; padding: 0; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
}

/* --------------------------------------------------------------------------
   22. Identification du véhicule par la plaque
   -------------------------------------------------------------------------- */
.plaque-bloc { max-width: 760px; margin-inline: auto; }

.plaque-form__label {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: .7rem;
}
.plaque-form__saisie { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; }

/* Reproduction de la plaque française : bande bleue « F » puis fond blanc */
.plaque {
  display: flex;
  align-items: stretch;
  flex: 1 1 320px;
  min-width: 0;
  background: #fff;
  border: 3px solid #11161d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.plaque__eu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: none;
  width: 46px;
  background: #003399;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
}
.plaque__etoiles { font-size: .6rem; color: #ffcc00; letter-spacing: -1px; }

.plaque input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: .95rem 1rem;
  font: inherit;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  color: #11161d;
  background: transparent;
}
.plaque input::placeholder { color: #b4bcc7; letter-spacing: .08em; }
.plaque input:focus { outline: 0; }
.plaque:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-3); }

.plaque--mini {
  flex: none;
  border-width: 2px;
  border-radius: 7px;
  align-self: flex-start;
}
.plaque--mini .plaque__eu { width: 24px; font-size: .58rem; }
.plaque--mini .plaque__etoiles { font-size: .46rem; }
.plaque__num {
  display: flex;
  align-items: center;
  padding: .38rem .7rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .06em;
  color: #11161d;
  white-space: nowrap;
}

.plaque-form__saisie .btn { flex: 0 0 auto; }
.plaque-form__aide { margin-top: .8rem; font-size: .9rem; color: var(--text-2); }

.plaque-demo {
  margin-top: 1.6rem;
  padding: 1.2rem 1.35rem;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.plaque-demo p { font-size: .93rem; color: var(--text-2); margin-bottom: .9rem; }
.plaque-demo__liste { display: flex; flex-wrap: wrap; gap: .5rem; }
.plaque-demo__liste .btn { white-space: nowrap; }

/* Fiche véhicule */
.fiche {
  margin-top: 1.8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  box-shadow: var(--shadow);
}
.fiche__tete { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.35rem; }
.fiche__tete h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
.fiche__version { margin: .25rem 0 0; color: var(--text-2); font-size: .97rem; }

/* La dimension de pneus est l'information la plus utile ici : on la met en avant */
.fiche__pneus {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1rem;
  background: var(--accent-3);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.fiche__pneus-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-2);
  width: 100%;
}
.fiche__pneus strong { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); letter-spacing: -.01em; }

.fiche__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 0 1.6rem;
  margin: 0 0 1.6rem;
}
.fiche__ligne {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.fiche__ligne dt { color: var(--text-2); }
.fiche__ligne dd { margin: 0; font-weight: 700; text-align: right; }

.fiche--vide { text-align: center; }
.fiche--vide h3 { margin-bottom: .5rem; }
.fiche--vide p { color: var(--text-2); max-width: 52ch; margin-inline: auto; }
.fiche__actions { justify-content: center; margin-top: 1.4rem; }
.fiche:not(.fiche--vide) .fiche__actions { justify-content: flex-start; }

@media (max-width: 560px) {
  .plaque-form__saisie .btn { flex: 1 1 100%; }
  .fiche__ligne { font-size: .92rem; }
}
.fiche__pneus-note {
  width: 100%;
  margin-top: .5rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.45;
}
