/* =========================================================
   974 SUSPENSIONS — CSS COMMUN
   Accueil + À propos + Services & tarifs + Contact
   ========================================================= */

:root {
  --img-suspensions: none;
  --img-mecanique: none;
  --img-cta: none;
  --bg: #050506;
  --bg-soft: #0c0c0e;
  --text: #f5f5f6;
  --muted: #c4c4ca;
  --red: #f02a30;
  --blue: #1f86ff;
  --line: rgba(255, 255, 255, .09);
  --font-display: "Exo 2", "Arial Black", system-ui, sans-serif;
  --font-nav: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: clamp(68px, 9vw, 114px);
  --pad: clamp(20px, 5vw, 56px);
  --split-top: 79%;
  --split-bottom: 20%;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h)
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

img,
svg {
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none;
  margin: 0;
  padding: 0
}

h1,
h2,
h3,
p {
  margin: 0
}

.icon {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 4px
}

.skip-link:focus {
  top: 12px
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px
}

/* ========================= LOGO ========================= */
/* ========================= LOGO ========================= */

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.logo--center {
  align-self: center;
  margin-inline: auto
}

/* ========================= HEADER / NAV ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: var(--pad);
  background: rgba(5, 5, 6, .94);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .6)
}

.brand {
  display: inline-flex;
  align-items: center
}

.brand img {
  display: block;
  max-height: 62px;
  width: auto
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3.5vw, 3rem)
}

.nav__list {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.5rem)
}

.nav__list {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.5rem)
}

.nav__list a {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-block;
  padding: 1.9rem 0 .7rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s
}

.nav__list a:hover {
  color: #fff;
  border-color: rgba(240, 42, 48, .6)
}

.nav__list a[aria-current="page"] {
  color: var(--red);
  border-color: var(--red)
}

.nav__phone {
  margin-top: 3%;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .04em;
  white-space: nowrap
}

.nav__phone .icon {
  width: 1.15em;
  height: 1.15em;
  color: var(--red)
}

.nav__phone:hover {
  color: var(--red)
}

.nav-toggle {
  display: none
}

/* ========================= ACCUEIL ========================= */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: clamp(580px, 48vw, 720px);
  background: var(--bg);
}

/* Côté Mécanique (Gauche) */
#mecanique .side__bg {
  background-image: linear-gradient(90deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.6) 100%), url("/images/hero-mecanique.jpg");
  filter: brightness(1.1);
}

/* Côté Suspensions (Droite) */
#suspensions .side__bg {
  background-image: linear-gradient(90deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.05) 100%), url("/images/hero-suspensions.jpg");
  filter: brightness(1.1);
}

.split-glow {
  background-color: transparent;
  box-shadow: 0 0 20px rgba(240, 42, 48, 0.3);
  /* Gardez vos filtres drop-shadow existants si nécessaire */
}

/* Panneaux gauche et droite */
.side {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Fond image commun */
.side__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s ease;
  pointer-events: none;
}

/* Gauche : préparation des suspensions */
.side--left .side__bg {
  background-image:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.58) 45%,
      rgba(0, 0, 0, 0.20) 100%),
    url("/images/hero-suspensions.jpg");
  background-position: center;
}

/* Droite : mécanique moto */
.side--right .side__bg {
  background-image:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.62) 50%,
      rgba(0, 0, 0, 0.85) 100%),
    url("/images/hero-mecanique.jpg");
  background-position: center;
}

/* Zoom au survol */
.side:hover .side__bg {
  transform: scale(1.04);
}

/* Panneau gauche : découpe diagonale */
.side--left {
  clip-path: polygon(0 0,
      var(--split-top) 0,
      var(--split-bottom) 100%,
      0 100%);
  z-index: 2;
}

/* Dégradé inférieur gauche */
.side--left .side__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 5, 6, 0.1) 0%,
      rgba(5, 5, 6, 0.55) 45%,
      #050506 88%);
}

/* Dégradé inférieur droit */
.side--right .side__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 5, 6, 0) 0%,
      rgba(5, 5, 6, 0.35) 40%,
      #050506 92%);
}

/* Contenu texte : toujours au-dessus des images */
.side__content {
  position: absolute;
  z-index: 3;
  color: #fff;
}

/* Texte gauche */
.side--left .side__content {
  left: var(--pad);
  top: 0;
  bottom: 0;
  width: min(40vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2rem;
}

/* Texte droite */
.side--right .side__content {
  left: 54%;
  right: var(--pad);
  bottom: 6%;
  max-width: 520px;
}

.side__icon {
  width: 3.6rem;
  height: 3.6rem;
  stroke-width: 1.5;
  margin-bottom: 1rem;
}

.side__content {
  position: absolute;
  z-index: 1
}

.side--left .side__content {
  left: var(--pad);
  top: -123px;
  bottom: 0;
  width: min(40vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2rem
}

.side--right .side__content {
  left: 65%;
  right: var(--pad);
  bottom: 6%;
  max-width: 520px
}

.side__icon {
  width: 3.6rem;
  height: 3.6rem;
  stroke-width: 1.5;
  margin-bottom: 1rem;
}

.rot-home {
  transform: rotate(30deg);
  transform-origin: center;
}

.side--left .side__icon {
  color: var(--red);
  filter: drop-shadow(0 0 8px rgba(240, 42, 48, .5))
}

.side--right .side__icon {
  color: var(--blue);
  filter: drop-shadow(0 0 8px rgba(31, 134, 255, .5))
}

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  letter-spacing: .08em;
  text-transform: uppercase
}

.title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(2rem, 4.9vw, 3.5rem);
  letter-spacing: -.005em
}

.side--right .title {
  font-size: clamp(2.2rem, 5.3vw, 3.9rem)
}

.subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: .35rem
}

.rule {
  display: block;
  height: 3px;
  width: 64px;
  margin: 1.3rem 0 1.5rem;
  border-radius: 2px
}

.rule--red {
  background: linear-gradient(90deg, var(--red), rgba(240, 42, 48, 0))
}

.rule--blue {
  background: linear-gradient(90deg, var(--blue), rgba(31, 134, 255, 0))
}

.lead {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--text);
  max-width: 34ch
}

.side--right .lead {
  max-width: 40ch
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.8rem;
  padding: .95rem 1.8rem;
  border: 1.5px solid;
  border-radius: 999px;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s
}

.btn .icon {
  width: 1.3em;
  height: 1.3em;
  transition: transform .2s
}

.btn:hover .icon {
  transform: translateX(4px)
}

.btn--red {
  color: #fff;
  border-color: var(--red)
}

.btn--red .icon {
  color: var(--red)
}

.btn--red:hover {
  background: var(--red);
  box-shadow: 0 0 22px rgba(240, 42, 48, .55)
}

.btn--red:hover .icon {
  color: #fff
}

.btn--blue {
  color: #fff;
  border-color: var(--blue)
}

.btn--blue .icon {
  color: var(--blue)
}

.btn--blue:hover {
  background: var(--blue);
  box-shadow: 0 0 22px rgba(31, 134, 255, .55)
}

.btn--blue:hover .icon {
  color: #fff
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 1.7rem
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase
}

.checks .icon {
  width: 1.5em;
  height: 1.5em;
  color: var(--red)
}

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.2rem
}

.badges li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  padding-inline: .5rem;
  text-align: center;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase
}

.badges li+li {
  border-left: 1px solid rgba(31, 134, 255, .3)
}

.badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: #fff;
  background: rgba(31, 134, 255, .1)
}

.badge .icon {
  width: 1.45rem;
  height: 1.45rem
}

.split-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 70, 70, .8)) drop-shadow(0 0 20px rgba(40, 120, 255, .55))
}

.split-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #a9d0ff 0%, #4f9bff 30%, #b04dff 62%, var(--red) 88%, #ff4a3f 100%);
  clip-path: polygon(calc(var(--split-top) - .13%) 0, calc(var(--split-top) + .13%) 0, calc(var(--split-bottom) + .13%) 100%, calc(var(--split-bottom) - .13%) 100%)
}

.trust {
  position: relative;
  background-image: linear-gradient(rgba(17, 18, 20, 0.8), rgba(17, 18, 20, 0.8)),
    url("/images/meca/mecanique-motocross-moteur.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust .logo {
  display: inline-block;
  margin-bottom: 4rem;
}

.trust__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Adaptatif */
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  gap: 1.5rem;
}

.trust__list li {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust__list h3 {
  color: #f02a30;
  margin-bottom: 0.75rem;
}

.trust__list p {
  font-size: .85rem;
  line-height: 1.5;
  max-width: 25ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.8);
}

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(190px, 26vw, 260px);
  display: grid;
  place-items: start center;
  padding: clamp(1.6rem, 3.6vw, 2.6rem) var(--pad) 2rem;
  text-align: center;
  border-top: 1px solid var(--line)
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--img-cta), radial-gradient(ellipse 30% 50% at 85% 75%, rgba(240, 42, 48, .28), transparent 70%), linear-gradient(to bottom, #0b0c0f 0%, #16181d 60%, #08090b 100%);
  background-size: cover;
  background-position: center
}

.cta__bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: #08090b;
  clip-path: polygon(0 60%, 14% 38%, 26% 52%, 40% 30%, 55% 55%, 70% 42%, 84% 58%, 100% 44%, 100% 100%, 0 100%);
  opacity: .85
}

.cta__title {
  display: flex;
  flex-direction: column;
  gap: .15rem
}

.cta__title span {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  letter-spacing: .1em;
  text-transform: uppercase
}

.cta__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.8rem);
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.05;
  transform: skewX(-4deg)
}

.brush {
  display: block;
  width: 108px;
  height: 6px;
  margin: .7rem auto 0;
  background: var(--red);
  clip-path: polygon(0 55%, 8% 15%, 40% 30%, 100% 0, 92% 60%, 60% 85%, 18% 100%)
}

.cta__phone {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-nav);
  font-weight: 600;
  letter-spacing: .08em;
  font-size: 1.05rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s
}

.cta__phone:hover {
  color: #fff;
  border-color: var(--red)
}

/* ========================= PAGES INTERNES ========================= */
.page-hero {
  min-height: 470px;
  padding: 175px 7vw 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #000 0%, #090909 60%, #241010 100%)
}

.page-hero.blue {
  background: linear-gradient(115deg, #000 0%, #080b0d 60%, #071c28 100%)
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -35%;
  width: 50%;
  height: 160%;
  transform: skewX(-12deg);
  border-left: 5px solid var(--red);
  opacity: .7
}

.page-hero.blue::after {
  border-color: var(--blue)
}

.page-title,
.section-title {
  margin: 12px 0;
  font: 900 clamp(3.8rem, 8vw, 8rem)/.82 "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.04em
}

.page-title span,
.section-title .red {
  color: var(--red)
}

.page-title .blue,
.section-title .blue {
  color: var(--blue)
}

.page-intro {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #bbb;
  line-height: 1.8;
  font-size: 17px
}

.section {
  padding: 105px 7vw
}

.section.dark {
  background: #0a0a0c
}


.section.alt {
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.9) 100%),
    url("/images/meca/demontage-amortisseur-974.jpeg") !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center
}

.story p {
  color: #aaa;
  line-height: 1.9;
  margin-bottom: 1rem
}

.story strong {
  color: #fff
}

.photo-placeholder {
  min-height: 480px;
  background: linear-gradient(145deg, #181818, #090909);
  border: 1px solid #fff1;
  display: grid;
  place-items: center;
  position: relative
}

.photo-placeholder::before {
  font: 900 7vw "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  color: #fff1
}

.photo-placeholder::after {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #666;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em
}

.timeline {
  border-left: 2px solid var(--red);
  padding-left: 25px;
  margin-top: 35px
}

.timeline .year {
  color: var(--red);
  font-weight: 800
}

.timeline h3 {
  font: 800 28px "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase
}

.values,
.services-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.value-card,
.service-mini,
.tariff-card,
.contact-card {
  padding: 30px;
  background: #111116;
  border: 1px solid #fff1
}

.value-card:hover,
.service-mini:hover {
  transform: translateY(-7px)
}

.value-card {
  transition: .3s
}

.value-card b {
  color: var(--red);
  font-size: 26px
}

.value-card h3,
.service-mini h4 {
  font: 800 25px "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase
}

.value-card p,
.service-mini p {
  color: #999;
  line-height: 1.65
}

.tariff-intro {
  max-width: 800px;
  color: #aaa;
  line-height: 1.8
}

.rate-box {
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  padding: 14px 20px;
  border: 1px solid var(--blue);
  margin: 20px 0 30px
}

.rate-box strong {
  font: 900 40px "Arial Narrow", Arial, sans-serif;
  color: var(--blue)
}

.rate-box span {
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase
}

.tariff-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}

.tariff-card {
  border-top: 3px solid var(--red)
}

.tariff-card.blue,
.contact-card.blue {
  border-top-color: var(--blue)
}

/* Correction globale pour les éléments qui ne s'affichent pas */
.reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.tariff-card h3,
.contact-card h3 {
  font: 900 32px "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  margin-top: 0
}

.tariff-card h3 {
  color: var(--red)
}

.tariff-card.blue h3 {
  color: var(--blue)
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #fff1
}

.price.red {
  color: var(--red)
}

.price.blue {
  color: var(--blue)
}

.note {
  margin-top: 25px;
  padding: 18px;
  border-left: 3px solid #666;
  background: #121216;
  color: #999;
  line-height: 1.6;
  font-size: 14px
}

.contact-card.red {
  border-top: 3px solid var(--red)
}

.info {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px
}

.info dt {
  color: #777;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700
}

.info dd {
  margin: 0
}

.info a:hover {
  color: var(--red)
}

.hours {
  width: 100%;
  border-collapse: collapse
}

.hours td {
  padding: 12px 0;
  border-bottom: 1px solid #fff1;
  color: #aaa
}

.hours td:last-child {
  text-align: right;
  color: #fff
}

.map {
  min-height: 400px;
  background: linear-gradient(145deg, #17191b, #080809);
  display: grid;
  place-items: center;
  text-align: center
}

.map strong {
  font: 900 55px "Arial Narrow", Arial, sans-serif;
  font-style: italic;
  color: var(--red)
}

.map p {
  color: #999
}

.map a,
.contact-cta .btn {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid var(--red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 999px
}

.map a:hover,
.contact-cta .btn:hover {
  background: var(--red)
}

.contact-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 25px
}

.site-footer {
  padding: 32px 7vw;
  background: #050505;
  border-top: 1px solid #fff1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
  font-size: 13px
}

.site-footer img {
  width: 145px;
  mix-blend-mode: screen
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: .7s
}

.reveal.visible {
  opacity: 1;
  transform: none
}

/* ========================= RESPONSIVE ========================= */
@media(max-width:860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    transition: transform .25s, opacity .2s
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem var(--pad) 1.5rem;
    background: rgba(5, 5, 6, .98);
    border-bottom: 1px solid var(--line);
    display: none
  }

  .nav.is-open {
    display: flex
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%
  }

  .nav__list a {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line)
  }

  .nav__phone {
    padding-top: .5rem
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0
  }

  .side,
  .side--left {
    position: relative;
    inset: auto;
    clip-path: none;
    min-height: 540px
  }

  .side--left {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--red), var(--blue)) 1
  }

  .side--left .side__content,
  .side--right .side__content {
    position: relative;
    inset: auto;
    width: auto;
    max-width: none;
    padding: 2.5rem var(--pad);
    justify-content: flex-start
  }

  .side--right .side__content {
    padding-top: 3rem
  }

  .split-glow {
    display: none
  }

  .trust__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem
  }

  .trust__list li:nth-child(3) {
    border-left: 0
  }

  .grid-2,
  .tariff-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .values,
  .services-extra {
    grid-template-columns: 1fr 1fr
  }

  .page-hero {
    padding-top: 145px
  }
}

@media(max-width:480px) {
  .checks {
    flex-direction: column
  }

  .badges li {
    font-size: .78rem;
    letter-spacing: .06em
  }

  .trust__list {
    grid-template-columns: 1fr
  }

  .trust__list li+li {
    border-left: 0;
    border-top: 1px solid rgba(240, 42, 48, .4);
    padding-top: 1.6rem
  }

  .values,
  .services-extra {
    grid-template-columns: 1fr
  }

  .section {
    padding: 75px 6vw
  }

  .info {
    grid-template-columns: 1fr
  }

  .site-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center
  }

  .price-list li {
    font-size: 14px
  }
}

/* ============ DEMANDE & ESTIMATION EN LIGNE ============ */

.quote-section {
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("/images/meca/atelier-motocross.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(1.2);
  display: flex;
  justify-content: center;
  align-items: center;
}


.quote-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.quote-section .quote-container {
  /* Fond sombre semi-transparent */
  background-color: rgba(0, 0, 0, 0.65);

  /* L'effet de flou qui sépare le texte de l'image */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;

  /* Assure que le texte reste bien au centre */
  margin: 2rem auto;
  max-width: 1200px;
}

/* Optionnel : Si le texte à l'intérieur est encore un peu serré */
.quote-section h2,
.quote-section p {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.quote-intro {
  max-width: 760px;
  margin-bottom: 54px;
}

.quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #ff5757;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.quote-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e52525;
  box-shadow: 0 0 14px #e5252580;
}

.quote-intro h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.quote-intro h2 span {
  display: block;
  color: #ed3434;
}

.quote-intro>p {
  max-width: 640px;
  color: #aaa;
  font-size: 16px;
  line-height: 1.8;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr);
  gap: 45px;
  align-items: start;
}

/* Étapes */

.quote-process {
  padding: 30px 0;
}

.quote-process-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
}

.quote-process-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border: 1px solid #ed343455;
  border-radius: 12px;
  color: #ff5757;
  font-size: 12px;
  font-weight: 800;
}

.quote-process-heading h3 {
  margin: 0;
  font-size: 20px;
}

.quote-steps {
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-steps li {
  display: flex;
  gap: 18px;
}

.quote-step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.quote-steps h4 {
  margin: 3px 0 8px;
  font-size: 15px;
}

.quote-steps p {
  margin: 0;
  color: #929292;
  font-size: 13px;
  line-height: 1.7;
}

.quote-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
  padding: 16px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  background: #ffffff05;
  color: #c8c8c8;
  font-size: 13px;
}

.quote-note span {
  color: #69b7ff;
  font-size: 18px;
}

/* Carte du formulaire */

.quote-form-card {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid #ffffff16;
  border-radius: 18px;
  background: linear-gradient(145deg, #181818, #101010);
  box-shadow: 0 25px 70px #00000045;
}

.quote-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ffffff14;
}

.quote-form-kicker {
  color: #ff5757;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.quote-form-header h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.quote-form-badge {
  padding: 8px 10px;
  border: 1px solid #4d9bd844;
  border-radius: 6px;
  background: #4d9bd810;
  color: #79baff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-field label {
  color: #dedede;
  font-size: 12px;
  font-weight: 650;
}

.quote-field input,
.quote-field textarea,
.quote-field select {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #ffffff1c;
  border-radius: 8px;
  outline: none;
  background: #090909;
  color: #f5f5f5;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.quote-field textarea {
  min-height: 125px;
  resize: vertical;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #666;
}

.quote-field input:focus,
.quote-field textarea:focus,
.quote-field select:focus {
  border-color: #e52525;
  box-shadow: 0 0 0 3px #e5252517;
}

.quote-field-help {
  margin: 0;
  color: #858585;
  font-size: 11px;
  line-height: 1.6;
}

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
}

.quote-consent input {
  margin-top: 3px;
  accent-color: #e52525;
}

.quote-consent label {
  color: #a6a6a6;
  font-size: 11px;
  line-height: 1.7;
}

.quote-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 56px;
  margin-top: 25px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #c91620;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.quote-submit:hover {
  transform: translateY(-2px);
  background: #ed292f;
}

.quote-submit span:last-child {
  font-size: 20px;
}

.quote-legal {
  margin: 15px 0 0;
  color: #777;
  font-size: 10px;
  line-height: 1.7;
}

.quote-result {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  background: #090909;
}

.quote-result[hidden] {
  display: none;
}

.quote-result--success {
  border-color: #287a50;
  background: #102219;
  color: #d8f5e4;
}

.quote-result--error {
  border-color: #a52b35;
  background: #281113;
  color: #ffdadd;
}

.quote-result h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.quote-result p {
  line-height: 1.7;
}

.quote-result ul {
  padding-left: 20px;
  line-height: 1.8;
}

.quote-consent a {
  color: #ff7070;
  text-decoration: underline;
}

/* Autocomplétion des prestations */
.services-autocomplete {
  position: relative;
}

#services-search {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #ffffff1c;
  border-radius: 8px;
  background: #090909;
  color: #f5f5f5;
  font: inherit;
  font-size: 13px;
}

#services-search:focus {
  outline: none;
  border-color: #e52525;
  box-shadow: 0 0 0 3px #e5252517;
}

.hide {
  display: none;
}

.quote-field[hidden] {
  display: none !important;
}


/* =========================================
   ESTIMATION TARIFAIRE - 974 SUSPENSIONS
========================================= */

.quote-result {
  --estimate-red: #e53935;
  --estimate-bg: #111214;
  --estimate-card: #191a1e;
  --estimate-border: rgba(255, 255, 255, 0.09);
  --estimate-muted: #a5a6ad;

  margin-top: 28px;
  padding: clamp(20px, 4vw, 34px);
  color: #f5f5f5;
  background:
    radial-gradient(circle at 100% 0%,
      rgba(229, 57, 53, 0.09),
      transparent 35%),
    var(--estimate-bg);
  border: 1px solid var(--estimate-border);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  animation: estimate-appear 0.35s ease-out;
}

.quote-result[hidden] {
  display: none !important;
}

@keyframes estimate-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* En-tête */

.quote-estimate-header {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--estimate-border);
}

.quote-estimate-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--estimate-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.quote-result .quote-estimate-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
}

.quote-result .quote-estimate-intro {
  max-width: 650px;
  margin: 0;
  color: var(--estimate-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Titres de sections */

.quote-estimate-section-title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 750;
}

.quote-estimate-services {
  margin-bottom: 28px;
}

.quote-estimate-service-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

/* Cartes de prestations */

.quote-estimate-service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: var(--estimate-card);
  border: 1px solid var(--estimate-border);
  border-radius: 12px;
  border-left: 3px solid var(--estimate-red);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.quote-estimate-service-card:hover {
  border-color: rgba(229, 57, 53, 0.45);
  transform: translateY(-2px);
}

.quote-estimate-service-details {
  min-width: 0;
}

.quote-result .quote-estimate-service-name {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.quote-estimate-service-description {
  margin: 6px 0 0;
  color: var(--estimate-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.quote-estimate-service-note {
  display: block;
  margin-top: 8px;
  color: #d5b7b7;
  font-size: 0.8rem;
  line-height: 1.5;
}

.quote-estimate-service-price {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
}

.quote-estimate-price-label {
  color: var(--estimate-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.quote-estimate-price-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

/* Récapitulatif */

.quote-estimate-summary {
  overflow: hidden;
  background: var(--estimate-card);
  border: 1px solid var(--estimate-border);
  border-radius: 14px;
}

.quote-estimate-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--estimate-border);
}

.quote-estimate-summary-caption {
  color: var(--estimate-muted);
  font-size: 0.75rem;
}

.quote-estimate-amounts {
  padding: 8px 20px;
}

.quote-estimate-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--estimate-border);
}

.quote-estimate-amount-row:last-child {
  border-bottom: none;
}

.quote-estimate-amount-label {
  color: #c5c5cb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quote-estimate-amount-value {
  flex-shrink: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* Totaux */

.quote-estimate-totals {
  padding: 0 20px 20px;
}

.quote-estimate-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--estimate-border);
}

.quote-estimate-total-label {
  color: #d0d0d5;
  font-size: 0.88rem;
}

.quote-estimate-total-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.quote-estimate-grand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 22px;
  background: linear-gradient(115deg,
      rgba(229, 57, 53, 0.17),
      rgba(229, 57, 53, 0.045));
  border: 1px solid rgba(229, 57, 53, 0.45);
  border-radius: 12px;
  border-left: 4px solid var(--estimate-red);
}

.quote-estimate-grand-total-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quote-estimate-grand-total-label {
  color: #ff8a86;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.quote-estimate-grand-total-caption {
  color: #c0b6b6;
  font-size: 0.78rem;
}

.quote-estimate-grand-total-value {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 850;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Notes */

.quote-result .quote-estimate-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  color: #e0c9a5;
  background: rgba(202, 151, 65, 0.08);
  border: 1px solid rgba(202, 151, 65, 0.2);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.quote-result .quote-estimate-note--footer {
  margin-top: 18px;
}

/* Responsive */

@media (max-width: 560px) {
  .quote-result {
    padding: 18px;
    border-radius: 14px;
  }

  .quote-estimate-service-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .quote-estimate-service-price {
    align-items: flex-start;
    text-align: left;
  }

  .quote-estimate-summary-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
  }

  .quote-estimate-amounts {
    padding: 6px 16px;
  }

  .quote-estimate-totals {
    padding: 0 16px 16px;
  }

  .quote-estimate-grand-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .quote-estimate-grand-total-value {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-result {
    animation: none;
  }

  .quote-estimate-service-card {
    transition: none;
  }
}


/* =========================================
   FORMULAIRE FINAL - 974 SUSPENSIONS
   ========================================= */

.info-to-send {
  --contact-green: #36d17c;
  --contact-green-light: #8aefb3;
  --contact-green-dark: #123c29;
  --contact-panel: #101713;
  --contact-border: rgba(91, 219, 145, 0.19);

  margin-top: 30px;
  padding: clamp(20px, 4vw, 34px);
  color: #f5f7f5;
  background:
    radial-gradient(circle at 0% 0%,
      rgba(54, 209, 124, 0.10),
      transparent 38%),
    #101211;
  border: 1px solid var(--contact-border);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
}

.info-to-send.hide {
  display: none !important;
}

/* Introduction rassurante */

.quote-contact-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(120deg,
      rgba(54, 209, 124, 0.12),
      rgba(54, 209, 124, 0.025));
  border: 1px solid rgba(54, 209, 124, 0.24);
  border-radius: 13px;
}

.quote-contact-check {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #071b10;
  background: var(--contact-green);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(54, 209, 124, 0.18);
}

.quote-contact-intro>div:last-child {
  min-width: 0;
}

.info-to-send .quote-form-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--contact-green-light);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.info-to-send .quote-contact-intro h3,
.info-to-send .quote-form-header h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
}

.info-to-send .quote-contact-intro p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #b9c3bc;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* En-tête du formulaire */

.info-to-send .quote-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.info-to-send .quote-form-badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #a5efc0;
  background: rgba(54, 209, 124, 0.09);
  border: 1px solid rgba(54, 209, 124, 0.22);
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.quote-status-dot {
  width: 7px;
  height: 7px;
  background: var(--contact-green);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(54, 209, 124, 0.55);
}

/* Grille des champs */

.info-to-send .quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-to-send .quote-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.info-to-send .quote-field label {
  color: #e9eee9;
  font-size: 0.86rem;
  font-weight: 700;
}

.info-to-send .quote-field label span {
  color: var(--contact-green);
}

.info-to-send .quote-field input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 13px 15px;
  color: #fff;
  background: #191d1a;
  border: 1px solid #343b36;
  border-radius: 9px;
  outline: none;
  font: inherit;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.info-to-send .quote-field input::placeholder {
  color: #777f79;
}

.info-to-send .quote-field input:hover {
  border-color: #59645c;
}

.info-to-send .quote-field input:focus {
  background: #1a211c;
  border-color: var(--contact-green);
  box-shadow: 0 0 0 3px rgba(54, 209, 124, 0.12);
}

.info-to-send .quote-field input:focus-visible {
  outline: 2px solid var(--contact-green);
  outline-offset: 2px;
}

.info-to-send .quote-field-help {
  margin: -2px 0 0;
  color: #8e9991;
  font-size: 0.76rem;
  line-height: 1.5;
}

/* Consentement */

.info-to-send .quote-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 3px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.info-to-send .quote-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--contact-green);
  cursor: pointer;
}

.info-to-send .quote-consent label {
  color: #b7c0b9;
  font-size: 0.81rem;
  line-height: 1.7;
  cursor: pointer;
}

.info-to-send .quote-consent a {
  color: var(--contact-green-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-to-send .quote-consent a:hover {
  color: #fff;
}

/* Message de confiance */

.quote-contact-reassurance {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  background: rgba(54, 209, 124, 0.055);
  border-left: 3px solid rgba(54, 209, 124, 0.65);
  border-radius: 5px;
}

.quote-contact-lock {
  flex-shrink: 0;
  font-size: 1rem;
}

.quote-contact-reassurance p {
  margin: 0;
  color: #aebbb2;
  font-size: 0.8rem;
  line-height: 1.6;
}

.quote-contact-reassurance strong {
  display: block;
  margin-bottom: 2px;
  color: #d9f5e3;
  font-weight: 750;
}

/* Bouton d'envoi */

.info-to-send .quote-submit {
  grid-column: 1 / -1;
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  padding: 16px 21px;
  color: #071b10;
  background: linear-gradient(110deg, #43df87, #28bd6c);
  border: 1px solid rgba(138, 239, 179, 0.75);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(38, 192, 107, 0.15);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.quote-submit-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}

.quote-submit-title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.quote-submit-subtitle {
  font-size: 0.77rem;
  font-weight: 550;
  opacity: 0.8;
}

.quote-submit-arrow {
  display: flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.09);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.info-to-send .quote-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(38, 192, 107, 0.24);
}

.info-to-send .quote-submit:hover .quote-submit-arrow {
  transform: translate(2px, -2px);
}

.info-to-send .quote-submit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.info-to-send .quote-submit:active {
  transform: translateY(0);
}

.info-to-send .quote-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.quote-submit-footnote {
  grid-column: 1 / -1;
  margin: -7px 0 0;
  color: #929b94;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

/* Mobile */

@media (max-width: 600px) {
  .info-to-send {
    padding: 18px;
    border-radius: 14px;
  }

  .quote-contact-intro {
    gap: 12px;
    padding: 16px;
  }

  .quote-contact-check {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .info-to-send .quote-form-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .info-to-send .quote-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .info-to-send .quote-consent,
  .quote-contact-reassurance,
  .info-to-send .quote-submit,
  .quote-submit-footnote {
    grid-column: 1;
  }

  .info-to-send .quote-submit {
    min-height: 65px;
    padding: 14px 16px;
  }

  .quote-submit-title {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .info-to-send *,
  .info-to-send *::before,
  .info-to-send *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================
   CONFIRMATION DE DEMANDE ENVOYÉE
   ========================================= */

.quote-result.quote-result--success {
  --success-green: #39d982;
  --success-green-light: #a0f2bf;

  display: flex;
  align-items: flex-start;
  gap: 20px;

  margin: 0 0 42px;
  padding: clamp(22px, 4vw, 32px);

  color: #f4fff7;

  background:
    radial-gradient(circle at 0% 0%,
      rgba(57, 217, 130, 0.13),
      transparent 48%),
    linear-gradient(135deg, #101b14, #111512);

  border: 1px solid rgba(57, 217, 130, 0.35);
  border-left: 4px solid var(--success-green);
  border-radius: 16px;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);

  animation: quote-success-appear 0.4s ease-out;
}

.quote-success-icon {
  display: flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;

  color: #082012;
  background: var(--success-green);
  border-radius: 50%;

  font-size: 27px;
  font-weight: 900;

  box-shadow: 0 0 25px rgba(57, 217, 130, 0.17);
}

.quote-success-content {
  flex: 1;
  min-width: 0;
}

.quote-success-kicker {
  display: block;
  margin: 2px 0 9px;

  color: var(--success-green-light);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.quote-result.quote-result--success h4 {
  margin: 0 0 12px;
  color: #fff;

  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 850;
  line-height: 1.3;
}

.quote-result.quote-result--success .quote-success-message {
  margin: 0;
  color: #d3e5d8;

  font-size: 0.96rem;
  line-height: 1.75;
}

.quote-success-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: 20px;
  padding: 15px 17px;

  background: rgba(57, 217, 130, 0.08);
  border: 1px solid rgba(57, 217, 130, 0.23);
  border-radius: 10px;
}

.quote-success-reference span {
  color: #c0d5c6;
  font-size: 0.83rem;
}

.quote-success-reference strong {
  color: var(--success-green-light);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.quote-result.quote-result--success .quote-success-footer {
  margin: 18px 0 0;
  color: #9eafa3;
  font-size: 0.82rem;
  line-height: 1.65;
}

@keyframes quote-success-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adaptation mobile */

@media (max-width: 600px) {
  .quote-result.quote-result--success {
    gap: 13px;
    margin-bottom: 32px;
    padding: 20px 16px;
    border-radius: 13px;
  }

  .quote-success-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .quote-success-reference {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-result.quote-result--success {
    animation: none;
  }
}



.services-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% - 45px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #333;
  border-radius: 8px;
  background: #151515;
  box-shadow: 0 15px 35px #0009;
}

.services-suggestions[hidden] {
  display: none;
}

.service-suggestion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid #ffffff12;
  background: transparent;
  color: #f5f5f5;
  text-align: left;
  cursor: pointer;
}

.service-suggestion:hover,
.service-suggestion:focus-visible {
  outline: none;
  background: #e5252518;
}

.service-suggestion strong {
  font-size: 13px;
}

.service-suggestion small {
  color: #999;
  font-size: 11px;
}

.service-suggestion-empty {
  margin: 0;
  padding: 15px;
  color: #aaa;
  font-size: 12px;
}

.services-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #e5252545;
  border-radius: 7px;
  background: #e5252512;
  color: #f5f5f5;
  font-size: 12px;
}

.service-chip>span {
  overflow-wrap: anywhere;
}

.service-chip-remove {
  flex-shrink: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #ff7777;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

#quote-code-postal-wrapper[hidden] {
  display: none;
}

/* =========================================
   GALERIE 974 SUSPENSIONS
========================================= */

.gallery {
  /* Fond gris acier plus lumineux */
  background-color: #1a1b1e;

  /* Ajout d'une source de lumière en haut et élargissement des halos */
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(at 0% 0%, rgba(240, 42, 48, 0.2) 0%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(at 100% 100%, rgba(60, 130, 250, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.gallery__inner {
  background-color: rgba(255, 255, 255, 0.02);
  /* Légère surélévation visuelle */
  border-radius: 24px;
  padding: 4rem 2rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery__header h2 {
  font-size: 2.8rem;
  color: #ffffff;
}

.gallery__intro {
  max-width: 680px;
}

.gallery__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #ef343d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.gallery__intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -1.8px;
  text-transform: uppercase;
}

.gallery__intro h2 span {
  color: #aaa;
}

.gallery__intro p {
  max-width: 510px;
  margin: 22px 0 0;
  color: #aaa;
  font-size: 15px;
  line-height: 1.8;
}

section#galerie .gallery__inner {
  border-radius: 0px !important;
}


.gallery__link:hover span {
  transform: translate(3px, -3px);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  grid-template-rows: 245px 245px;
  gap: 14px;
}

.gallery__item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #171717;
  isolation: isolate;
  text-decoration: none;
}

.gallery__item--large {
  grid-column: 1;
  grid-row: 1 / 3;
}

.gallery__item--tall {
  grid-column: 2;
  grid-row: 1 / 3;
}

.gallery__item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.gallery__item:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.gallery__item::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: linear-gradient(180deg,
      transparent 25%,
      rgba(0, 0, 0, .12) 45%,
      rgba(0, 0, 0, .9) 100%);
  transition: background .35s;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1),
    filter .4s;
}

.gallery__item:hover img {
  transform: scale(1.07);
  filter: contrast(1.08);
}

.gallery__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
}

.gallery__category {
  margin-bottom: 10px;
  color: #ff555d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.gallery__caption {
  max-width: 90%;
  color: #fff;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.gallery__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity .25s, transform .25s;
}

.gallery__item:hover .gallery__arrow,
.gallery__item:focus-visible .gallery__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.gallery__item:focus-visible {
  outline: 2px solid #ef343d;
  outline-offset: 4px;
}

.gallery__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.gallery__footer p {
  margin: 0;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.gallery__footer p span {
  padding: 0 5px;
  color: #ef343d;
}

.gallery__line {
  width: 60px;
  height: 1px;
  background: #333;
}

/* Positionnement plus équilibré */
.gallery__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  /* Aligné sur le contenu du site */
  margin: 0 auto;
  padding: 0 20px;
}

/* Bouton mis en valeur */
.gallery__link {
  background-color: #ef343d !important;
  color: #fff !important;
  border-color: #ef343d !important;
  padding: 14px 24px !important;
  box-shadow: 0 4px 15px rgba(239, 52, 61, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}

.gallery__link span {
  color: #fff !important;
  /* L'icône passe en blanc pour le contraste */
}

.gallery__link:hover {
  background-color: #d82d35 !important;
  transform: translateY(-2px);
}

/* Tablettes */
@media (max-width: 900px) {
  .gallery {
    padding: 80px 5vw 65px;
  }

  .gallery__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 220px 220px;
  }

  .gallery__item--large {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery__item--tall {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .gallery__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery__item:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }
}

/* Mobiles */
@media (max-width: 560px) {
  .gallery {
    padding: 65px 20px 50px;
  }

  .gallery__intro h2 {
    letter-spacing: -1px;
  }

  .gallery__intro p {
    font-size: 14px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 180px 180px;
    gap: 9px;
  }

  .gallery__item--large {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery__item--tall {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .gallery__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery__item:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .gallery__overlay {
    padding: 13px;
  }

  .gallery__category {
    margin-bottom: 6px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .gallery__caption {
    font-size: 12px;
  }

  .gallery__arrow {
    top: 9px;
    right: 9px;
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
  }

  .gallery__footer {
    gap: 10px;
  }

  .gallery__footer p {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .gallery__line {
    width: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .gallery *,
  .gallery *::before,
  .gallery *::after {
    transition: none !important;
  }
}

/* Responsive */

@media (max-width: 850px) {
  .quote-section {
    padding: 75px 6vw;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .quote-process {
    padding: 0 0 20px;
  }

  .quote-steps {
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .quote-section {
    padding: 60px 5vw;
  }

  .quote-intro {
    margin-bottom: 35px;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .quote-field--full {
    grid-column: auto;
  }

  .quote-form-card {
    padding: 22px 17px;
  }

  .quote-form-header h3 {
    font-size: 20px;
  }

  .quote-form-badge {
    font-size: 8px;
  }
}


@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    transition: none !important
  }
}

@media(max-width:900px) {
  .site-header {
    height: 76px
  }

  .brand {
    width: 145px
  }

  .header-phone {
    display: none
  }

  .menu-toggle {
    display: block;
    margin-left: auto
  }

  .site-nav {
    position: absolute;
    display: none;
    top: 76px;
    left: 0;
    right: 0;
    padding: 15px 7vw;
    background: #050505;
    flex-direction: column;
    gap: 0
  }

  .site-nav.open {
    display: flex
  }

  .site-nav a {
    padding: 15px 0
  }

  .grid-2,
  .tariff-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .values,
  .services-extra {
    grid-template-columns: 1fr 1fr
  }

  .page-hero {
    padding-top: 145px
  }

  .page-title,
  .section-title {
    margin: 12px 0;
    font: 900 clamp(2.7rem, 8vw, 8rem)/.82 "Arial Narrow", Arial, sans-serif;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -.04em
  }
}

@media(max-width:560px) {
  .section {
    padding: 75px 6vw
  }

  .values,
  .services-extra {
    grid-template-columns: 1fr
  }

  .info {
    grid-template-columns: 1fr
  }

  .site-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center
  }

  .price-list li {
    font-size: 14px
  }
}

/* =========================================================
   GALERIE — 974 SUSPENSIONS
   ========================================================= */
:root {
  --red: #ef2228;
  --blue: #08a9ff;
  --condensed: "Arial Narrow", Arial, sans-serif;
}

.gallery-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 155px 7vw 78px;
  background: radial-gradient(ellipse at 15% 30%, rgba(239, 34, 40, .16), transparent 45%), radial-gradient(ellipse at 85% 60%, rgba(8, 169, 255, .14), transparent 45%), #070708;
  border-bottom: 1px solid #ffffff12
}

.gallery-page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent)
}

.gallery-page-kicker {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 700
}

.gallery-page-title {
  margin: 18px 0 12px;
  font: 800 clamp(3.2rem, 8vw, 7rem)/.86 var(--condensed);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.025em
}

.gallery-page-title .red {
  color: var(--red)
}

.gallery-page-intro {
  max-width: 650px;
  color: #aaa;
  line-height: 1.8;
  font-size: clamp(15px, 1.5vw, 18px)
}

.gallery-page-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 32px
}

.gallery-page-filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap
}

.gallery-page-filter {
  appearance: none;
  cursor: pointer;
  background: #111114;
  border: 1px solid #ffffff24;
  color: #bbb;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .2s
}

.gallery-page-filter:hover,
.gallery-page-filter.active {
  color: #fff;
  border-color: var(--red);
  background: #ef22281b;
  box-shadow: 0 0 18px #ef22281a
}

.gallery-page-filter[data-filter="mecanique"].active {
  border-color: var(--blue);
  background: #08a9ff18
}

.gallery-page-count {
  color: #777;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.gallery-page-card {
  position: relative;
  min-height: 250px;
  aspect-ratio: 1.18;
  overflow: hidden;
  background: #111;
  border: 1px solid #ffffff12;
  cursor: pointer;
  isolation: isolate
}

.gallery-page-card:nth-child(5n+1) {
  aspect-ratio: .92
}

.gallery-page-card:nth-child(5n+3) {
  aspect-ratio: 1.38
}

.gallery-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .4s;
  filter: saturate(.82)
}

.gallery-page-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .88), transparent 58%);
  z-index: 0;
  pointer-events: none
}

.gallery-page-card:hover img,
.gallery-page-card:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.08)
}

.gallery-page-card[hidden] {
  display: none !important;
}

.gallery-page-caption {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px
}

.gallery-page-caption strong {
  display: block;
  font: 700 23px/1 var(--condensed);
  font-style: italic;
  text-transform: uppercase
}

.gallery-page-caption span {
  display: block;
  color: #bbb;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-top: 7px
}

.gallery-page-tag {
  flex: none;
  border: 1px solid #ef222888;
  color: #ff5b60;
  padding: 6px 8px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase
}

.gallery-page-card[data-category="mecanique"] .gallery-page-tag {
  border-color: #08a9ff88;
  color: #5ccaff
}

.gallery-page-cta {
  margin-top: 70px;
  padding: clamp(28px, 5vw, 55px);
  background: linear-gradient(115deg, #151012, #0b1015);
  border-left: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap
}

.gallery-page-cta h2 {
  font: 800 clamp(2rem, 4vw, 3.6rem)/.95 var(--condensed);
  font-style: italic;
  text-transform: uppercase;
  margin: 0 0 12px
}

.gallery-page-cta p {
  color: #aaa;
  max-width: 580px;
  line-height: 1.7;
  margin: 0
}

.gallery-page-cta .btn {
  white-space: nowrap
}



/* Affiche la lightbox quand elle est ouverte */
.gallery-page-lightbox.is-open {
  display: flex;
}


.gallery-page-lightbox-prev {
  left: 20px;
}

.gallery-page-lightbox-next {
  right: 20px;
}

.gallery-page-lightbox-prev:hover,
.gallery-page-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Titre sous l'image */
.gallery-page-lightbox-title {
  position: absolute;
  bottom: 30px;
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
}


.gallery-page-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw
}

.gallery-page-lightbox.open {
  display: flex
}

.gallery-page-lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 80px #000
}

.gallery-page-lightbox-close,
.gallery-page-lightbox-prev,
.gallery-page-lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  background: #151515;
  border: 1px solid #ffffff30;
  color: white;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 25px
}

.gallery-page-lightbox-close {
  right: 24px;
  top: 24px
}

.gallery-page-lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%)
}

.gallery-page-lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%)
}

.gallery-page-lightbox-caption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #bbb;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase
}

@media(max-width:900px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .gallery-page-card {
    min-height: 220px
  }

  .gallery-page-hero {
    padding-top: 135px
  }
}

@media(max-width:560px) {
  .gallery-page-grid {
    grid-template-columns: 1fr;
    gap: 13px
  }

  .gallery-page-card,
  .gallery-page-card:nth-child(5n+1),
  .gallery-page-card:nth-child(5n+3) {
    aspect-ratio: 1.15;
    min-height: 0
  }

  .gallery-page-caption {
    left: 15px;
    right: 15px;
    bottom: 14px
  }

  .gallery-page-caption strong {
    font-size: 21px
  }

  .gallery-page-lightbox {
    padding: 18px
  }

  .gallery-page-lightbox-prev {
    left: 8px
  }

  .gallery-page-lightbox-next {
    right: 8px
  }

  .gallery-page-lightbox-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px
  }

  .gallery-page-cta {
    margin-top: 45px
  }
}

@media(prefers-reduced-motion:reduce) {

  .gallery-page-card img,
  .gallery-page-filter {
    transition: none
  }
}

/* 1. Fond de page fluide */
body:has(.gallery-page-hero) {
  background-color: #000;
  background-image: linear-gradient(to bottom, rgba(239, 34, 40, 0.15) 0%, #000 500px);
  /* On évite 'fixed' qui cause des saccades */
  background-attachment: scroll;
}

/* 2. Images optimisées pour le scroll */
.gallery-page-hero~.section img {
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
  mask-image: radial-gradient(circle, black 60%, transparent 100%);

  /* Force l'accélération matérielle pour la fluidité */
  will-change: mask-image, opacity;
  transform: translateZ(0);

  border: none;
}

/* 1. Ambiance rouge sur le body UNIQUEMENT sur la page galerie */
/* On cible le body quand il contient le hero de la galerie */
body:has(.gallery-page-hero) {
  background-color: #000;
  background-image: linear-gradient(to bottom,
      rgba(239, 34, 40, 0.15) 0%,
      #000 500px);
  background-attachment: fixed;
}

/* 2. Style spécifique au Hero de la galerie */
.gallery-page-hero {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      #000 100%),
    url("/images/meca/mecanique-motocross-moteur.JPG") !important;
  background-size: cover !important;
  background-position: center !important;
  border-bottom: none !important;
}

/* 3. Images de la galerie UNIQUEMENT dans cette section */
.gallery-page-hero+.section img {
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
  border: none;
}

.page-hero.blue {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      #000 100%),
    url("/images/meca/atelier-avec-banderole.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
  border-bottom: none !important;
}

/* Style du bloc contenant l'image et l'adresse */
.map.reveal {
  /* 1. Image avec double dégradé pour la lisibilité du texte */
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.85) 100%),
    url("/images/meca/stock-pieces-atelier.jpeg") !important;

  background-size: cover;
  background-position: center;
  padding: 40px !important;

  /* 2. Centrage du contenu */
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* 3. On force la visibilité si l'animation "reveal" bloque */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Style du texte de l'adresse pour un contraste maximal */
.map.reveal p {
  color: #ffffff !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Style du bouton "Google Maps" arrondi */
.map.reveal a {
  display: inline-block !important;
  margin-top: 20px !important;
  padding: 12px 28px !important;
  background-color: #ef343d !important;
  color: #ffffff !important;

  /* L'arrondi demandé */
  border-radius: 50px !important;

  font-weight: bold !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  width: fit-content;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Effet au survol du bouton */
.map.reveal a:hover {
  background-color: #d82d35 !important;
  transform: scale(1.05);
}

/* Applique le fond rouge UNIQUEMENT sur la page contact */
body:has(.contact-grid) {
  background-color: #000;
  background-image: linear-gradient(to bottom,
      rgba(239, 34, 40, 0.15) 0%,
      #000 500px);
  background-attachment: fixed;
}

/* Applique le fond rouge UNIQUEMENT sur la page Services */
body:has(.tariff-grid) {
  background-color: #000;
  background-image: linear-gradient(to bottom,
      rgba(239, 34, 40, 0.15) 0%,
      #000 500px);
  background-attachment: fixed;
}

section.section.dark {
  background-color: #000 !important;
  /* Halo bleu subtil en haut à droite */
  background-image: radial-gradient(circle at top right,
      rgba(8, 169, 255, 0.12) 0%,
      transparent 70%) !important;

  /* Optionnel : une très fine ligne de séparation bleue en haut */
  border-top: 1px solid rgba(8, 169, 255, 0.1);
}

section.page-hero {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      #000 100%),
    url("/images/meca/banderole-974-Suspensions.jpeg") !important;
  background-size: cover !important;
  background-position: center !important;
  border-bottom: none !important;
}

/* Style global du footer appliqué sur toutes les pages */
section#contact {
  position: relative;
  background-color: #080809 !important;
  /* Image de fond avec fondu sombre pour toutes les pages */
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.95) 100%),
    url("/images/meca/banderole-974-Suspensions.jpeg") !important;
  background-size: cover;
  background-position: center;
  padding-top: 25px !important;
  padding-bottom: 25px !important;
  border-top: 1px solid #1a1a1b;
}

/* On masque la couche de fond par défaut du template partout */
section#contact .cta__bg {
  display: none !important;
}

/* Grille de contenu du footer */
section#contact .cta__inner {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  text-align: left !important;
}

/* Typographie du footer */
.footer-col h3 {
  color: #ef343d;
  font-size: 1.2rem;
  margin-bottom: 10px !important;
  /* Espace réduit sous le titre */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: #ccc;
  line-height: 1.8;
}

.footer-socials a {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #ef343d;
}

/* Taille des icônes réseaux sociaux */
.footer-socials svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  display: block;
}

/* Espacement entre les icônes */
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Bloc photo du haut (Ludo) */
.photo-placeholder.reveal.top {
  background-image: url("/images/ludo-974-suspensions.jpg") !important;
  background-size: cover;
  background-position: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Bloc photo du bas (Atelier) */
.photo-placeholder.reveal.bottom {
  background-image: url("/images/meca/Atelier mécanique, logo 974 Suspensions.png") !important;
  background-size: cover;
  background-position: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Ciblage précis de la section qui suit le hero */
.page-hero+section.section,
.hero+section.section {
  background-color: #000 !important;
  background-image: radial-gradient(circle at top right,
      rgba(8, 169, 255, 0.12) 0%,
      transparent 70%) !important;
  border-top: 1px solid rgba(8, 169, 255, 0.1) !important;
  position: relative;
  z-index: 1;
}

/* Dernière section avant le footer */
main#contenu>section.section:last-of-type {
  background-color: #00000000 !important;
  /* Halo rouge en bas à gauche */
  background-image: radial-gradient(circle at bottom left,
      rgba(239, 34, 40, 0.15) 0%,
      transparent 70%) !important;

  border-bottom: 1px solid rgba(239, 34, 40, 0.1) !important;
  position: relative;
  z-index: 1;
}

/* Bloc promotionnel dans le hero */
.hero-quote-promo {
  position: absolute;
  bottom: 20%;
  right: var(--pad, 5vw);
  z-index: 10;
  max-width: 300px;
  padding: 20px;
  background: rgba(31, 134, 255, 0.15);
  /* Bleu mécanique translucide */
  border-left: 4px solid #1f86ff;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-quote-promo p {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.5;
  /* Plus d'espace entre les lignes */
  text-align: left;
  display: block;
  /* Retour à un affichage bloc standard */
}

.promo-icon {
  width: 20px;
  height: 20px;
  float: left;
  /* L'icône se place à gauche du texte */
  margin-top: 2px;
  margin-right: 12px;
  /* Plus d'espace avec le texte */
  color: #1f86ff;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  color: #1f86ff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.arrow-icon {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

.promo-link:hover {
  transform: translateX(5px);
  color: #fff;
}

/* Adaptation mobile */
@media (max-width: 768px) {
  .hero-quote-promo {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 20px var(--pad);
    max-width: none;
  }
}

/* Grille responsive pour le footer */
section#contact .cta__inner {
  display: grid !important;
  /* Les colonnes font au minimum 280px. Si pas assez de place, elles s'empilent. */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Ajustements spécifiques pour mobiles (en dessous de 768px) */
@media (max-width: 768px) {
  section#contact .cta__inner {
    grid-template-columns: 1fr !important;
    /* Une seule colonne */
    text-align: center !important;
    /* On centre le texte pour plus de clarté */
  }

  .footer-col {
    margin-bottom: 20px;
  }

  /* Centrage des icônes réseaux sociaux sur mobile */
  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  /* Centrage des liens contact sur mobile */
  .footer-col a {
    justify-content: center;
  }
}

/* --- CORRECTIF RESPONSIVE HERO ACCUEIL --- */
@media (max-width: 900px) {
  .hero {
    height: auto !important;
    /* On laisse la hauteur s'adapter au contenu */
    display: flex !important;
    flex-direction: column !important;
  }

  .side {
    position: relative !important;
    height: 500px !important;
    /* Chaque partie prend une hauteur fixe sur mobile */
    width: 100% !important;
    clip-path: none !important;
    /* On supprime la diagonale */
    inset: auto !important;
  }

  /* On recentre le contenu textuel */
  .side--left .side__content,
  .side--right .side__content {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    text-align: center !important;
    align-items: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Ajustement du bloc promo estimation sur mobile */
  .hero-quote-promo {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 20px auto !important;
    max-width: 90% !important;
  }
}