/* =========================================================
   GDC Motorsport – Feuille de style principale
   ========================================================= */

:root {
  --orange: #F65F05;
  --orange-dark: #d85204;
  --orange-soft: rgba(246, 95, 5, .12);
  --black: #000;
  --bg: #060607;      /* sections noires */
  --bg-2: #1b1b20;    /* sections anthracite */
  --surface: #141417; /* encarts sur fond noir */
  --surface-2: #1f1f23;
  --border: rgba(255, 255, 255, .08);
  --white: #fff;
  --text: #e9e9eb;
  --muted: #a6a6ae;

  --font-title: "Saira", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 6px;
  --container: 1280px;
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--white); line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
/* Groupe de mots à garder sur la même ligne tant que la place le permet */
.phrase { display: inline-block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.text-orange { color: var(--orange); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-title); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 26px; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}
.btn svg { font-size: 1.15em; transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #1a1a1a; }
.btn--ghost-dark { border-color: rgba(0,0,0,.6); color: var(--black); }
.btn--ghost-dark:hover { background: rgba(0,0,0,.08); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-title); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 14px; color: var(--orange);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Typo sections ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 4px;
  background: repeating-linear-gradient(115deg, var(--orange) 0 6px, transparent 6px 9px);
}
.section { padding: 110px 0; position: relative; }
/* Sections anthracite : en alternance avec les sections noires.
   Les encarts y sont plus clairs pour rester visibles. */
.services, .about, .news, .contact {
  --surface: #27272d;
  --surface-2: #303037;
  --border: rgba(255, 255, 255, .12);
  background: var(--bg-2);
}
.section__head { max-width: 960px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.section__intro { max-width: 800px; margin-top: 18px; text-wrap: balance; color: var(--muted); font-size: 18px; }
.section__cta { margin-top: 56px; text-align: center; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s, height .35s, box-shadow .35s;
}
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: opacity .35s;
}
/* Fond du header sur un pseudo-élément : un backdrop-filter sur .header
   casserait le positionnement fixed du menu mobile */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(8, 8, 9, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .35s;
}
.header.is-scrolled { --header-h: 76px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled::after { background: var(--orange); height: 2px; opacity: .9; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1560px; }
.header__logo img { height: 52px; width: auto; transition: height .35s; }
.header.is-scrolled .header__logo img { height: 44px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; display: block; padding: 10px 11px; white-space: nowrap;
  font-family: var(--font-title); font-weight: 600; font-size: 14.5px;
  text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__cta { padding: 13px 22px; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; right: 16px; background: var(--orange); }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 60px) 0 170px;
  overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background-size: cover; background-position: center 40%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,5,6,.96) 0%, rgba(5,5,6,.82) 38%, rgba(5,5,6,.35) 75%, rgba(5,5,6,.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5,5,6,0) 35%),
    linear-gradient(180deg, rgba(5,5,6,.7) 0%, rgba(5,5,6,0) 25%);
}
.hero__stripes { position: absolute; z-index: -1; right: -6%; top: 0; bottom: 0; width: 46%; pointer-events: none; }
.hero__stripes span {
  position: absolute; top: -10%; bottom: -10%; width: 3px; background: var(--orange);
  transform: skewX(-24deg); opacity: .85;
  box-shadow: 0 0 24px rgba(246,95,5,.6);
}
.hero__stripes span:nth-child(1) { right: 38%; }
.hero__stripes span:nth-child(2) { right: 34%; width: 10px; opacity: .55; }
.hero__stripes span:nth-child(3) { right: 12%; width: 1px; opacity: .5; }

.hero__content { position: relative; }
.hero__title {
  font-size: clamp(42px, 7vw, 92px); font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: .98; letter-spacing: -.015em;
  max-width: 900px;
}
.hero__text { max-width: 560px; margin-top: 26px; font-size: 19px; color: rgba(255,255,255,.8); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.hero__feature {
  display: flex; align-items: center; gap: 16px; padding: 28px 24px 34px 0;
}
.hero__feature + .hero__feature { padding-left: 32px; border-left: 1px solid var(--border); }
.hero__feature--link strong { transition: color .2s; }
.hero__feature--link:hover strong { color: var(--orange); }
.hero__feature > svg { font-size: 34px; color: var(--orange); stroke-width: 1.6; }
.hero__feature strong { display: block; font-family: var(--font-title); font-size: 18px; color: var(--white); text-transform: uppercase; font-style: italic; }
.hero__feature span { font-size: 15px; color: var(--muted); }

/* =========================================================
   DEUX PÔLES
   ========================================================= */
.poles { padding-top: 60px; }
.poles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pole {
  position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate;
  border: 1px solid var(--border);
}
.pole__img {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  transition: transform .8s var(--ease); filter: grayscale(.25);
}
.pole::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.95) 15%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.2));
}
.pole::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: var(--orange); transition: width .6s var(--ease);
}
.pole:hover .pole__img { transform: scale(1.06); }
.pole:hover::after { width: 100%; }
.pole__body { padding: 40px; }
.pole__title { white-space: nowrap; font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; font-style: italic; text-transform: uppercase; margin: 6px 0 12px; }
.pole p { max-width: 460px; color: rgba(255,255,255,.78); margin-bottom: 20px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 0%, rgba(246,95,5,.10), transparent 70%);
}
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; }
.service {
  position: relative; background: var(--bg-2); padding: 42px 36px;
  transition: background .35s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--orange);
  transition: height .45s var(--ease);
}
.service:hover { background: var(--surface); }
.service:hover::before { height: 100%; }
.service__icon {
  display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 24px;
  background: var(--orange-soft); color: var(--orange); border-radius: var(--radius);
  font-size: 28px; transform: skewX(-8deg);
  transition: background .3s, color .3s;
}
.service__icon svg { transform: skewX(8deg); stroke-width: 1.7; }
.service:hover .service__icon { background: var(--orange); color: var(--white); }
.service h3 { font-size: 21px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 16px; }

/* =========================================================
   VÉHICULES
   ========================================================= */
.tabs { display: inline-flex; padding: 5px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.tabs__btn {
  padding: 10px 26px; border-radius: 4px;
  font-family: var(--font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); transition: background .25s, color .25s;
}
.tabs__btn:hover { color: var(--white); }
.tabs__btn.is-active { background: var(--orange); color: var(--white); }

.vehicles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vehicles__grid[hidden] { display: none; }
.vehicles__grid.is-entering .car { animation: cardIn .6s var(--ease) both; }
.vehicles__grid.is-entering .car:nth-child(2) { animation-delay: .07s; }
.vehicles__grid.is-entering .car:nth-child(3) { animation-delay: .14s; }
.vehicles__grid.is-entering .car:nth-child(4) { animation-delay: .21s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }

.car {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.car:hover { transform: translateY(-6px); border-color: rgba(246,95,5,.5); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.car__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.car:hover .car__media img { transform: scale(1.07); }
.car__badge {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px 4px 10px;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px); color: var(--white);
  font-family: var(--font-title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  border-left: 3px solid var(--orange); border-radius: 2px;
}
.car__badge--new { background: var(--orange); border-left-color: var(--white); }
.car__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.car__year { font-size: 14px; color: var(--orange); font-weight: 600; }
.car__name { font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 2px 0 16px; }
.car__specs { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.car__specs li { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.car__specs svg { color: var(--orange); font-size: 15px; }
.car__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.car__price { font-family: var(--font-title); font-weight: 800; font-size: 24px; font-style: italic; color: var(--white); }
.car__more {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--white); transition: background .25s, border-color .25s;
}
.car:hover .car__more { background: var(--orange); border-color: var(--orange); }

/* =========================================================
   À PROPOS
   ========================================================= */
.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; top: -24px; left: -24px; width: 55%; height: 60%;
  border: 3px solid var(--orange); border-radius: var(--radius); z-index: 0;
}
.about__media img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.about__badge {
  position: absolute; z-index: 2; right: -20px; bottom: -28px;
  background: var(--orange); color: var(--white); padding: 22px 28px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px rgba(246,95,5,.3);
}
.about__badge strong { font-family: var(--font-title); font-size: 44px; font-weight: 900; font-style: italic; line-height: 1; }
.about__badge span { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.2; letter-spacing: .05em; }
.about__content p { color: rgba(255,255,255,.75); margin-top: 18px; }
.about__content .section__title { margin-bottom: 8px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 30px 0 38px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--white); }
.checklist svg { display: grid; width: 24px; height: 24px; padding: 5px; background: var(--orange); color: var(--white); border-radius: 50%; stroke-width: 3; }

/* =========================================================
   POURQUOI NOUS
   ========================================================= */
.why .section__head { text-align: center; margin-inline: auto; }
.why .eyebrow { justify-content: center; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__item {
  position: relative; padding: 40px 30px; background: linear-gradient(160deg, var(--surface), var(--bg));
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.why__item:hover { border-color: rgba(246,95,5,.5); transform: translateY(-4px); }
.why__item > svg { font-size: 40px; color: var(--orange); stroke-width: 1.5; margin-bottom: 22px; }
.why__item h3 { font-size: 22px; text-transform: uppercase; font-style: italic; margin-bottom: 8px; }
.why__item p { color: var(--muted); font-size: 16px; }

/* =========================================================
   BANDEAU CTA
   ========================================================= */
.cta-band {
  position: relative; background: var(--orange); color: var(--black); overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 4%; width: 380px;
  background: repeating-linear-gradient(115deg, rgba(0,0,0,.12) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 64px; flex-wrap: wrap; }
.cta-band h2 { color: var(--black); font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; font-style: italic; text-transform: uppercase; }
.cta-band p { font-size: 18px; font-weight: 500; margin-top: 6px; color: rgba(0,0,0,.75); }
.cta-band__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   ACTUALITÉS
   ========================================================= */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.post:hover { border-color: rgba(246,95,5,.5); }
.post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 26px 28px 30px; }
.post__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.post__cat { padding: 2px 10px; background: var(--orange-soft); color: var(--orange); font-weight: 600; border-radius: 3px; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.post h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.post h3 a { transition: color .2s; }
.post h3 a:hover { color: var(--orange); }
.post p { color: var(--muted); font-size: 16px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq__head .section__intro { margin-bottom: 30px; }
@media (min-width: 961px) {
  .faq__head .section__title { font-size: clamp(30px, 3.3vw, 50px); }
}
.faq__list { display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .3s; }
.faq__item[open] { border-color: rgba(246,95,5,.5); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 64px 22px 26px;
  font-family: var(--font-title); font-weight: 700; font-size: 18px; color: var(--white);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange); font-size: 22px; line-height: 1;
  transition: transform .3s, background .3s, color .3s;
}
.faq__item[open] summary::after { content: "–"; background: var(--orange); color: var(--white); }
.faq__item summary:hover { color: var(--orange); }
.faq__item p { padding: 0 26px 24px; color: var(--muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__head { flex: 1 1 560px; }
.contact__intro { text-wrap: balance; color: var(--muted); margin-top: 16px; font-size: 18px; }
.contact__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact__card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 36px 30px 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.contact__card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--orange); transition: width .5s var(--ease);
}
.contact__card:hover { border-color: rgba(246,95,5,.5); transform: translateY(-4px); }
.contact__card:hover::before { width: 100%; }
.contact__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: var(--radius); background: var(--orange-soft); color: var(--orange); font-size: 24px; transition: background .3s, color .3s; }
.contact__card:hover .contact__icon { background: var(--orange); color: var(--white); }
.contact__card strong { font-family: var(--font-title); font-size: 20px; text-transform: uppercase; font-style: italic; color: var(--white); letter-spacing: .02em; margin-bottom: 4px; }
.contact__card > a:not(.contact__action) { color: var(--text); font-size: 17px; transition: color .2s; overflow-wrap: anywhere; }
.contact__card > a:not(.contact__action):hover { color: var(--orange); }
.contact__action { margin-top: auto; padding-top: 20px; }
.hours { display: grid; grid-template-columns: 90px auto; gap: 16px; color: var(--text); }
.hours + .hours { padding-top: 4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); padding-top: 0; position: relative; }
.footer__stripe { height: 6px; background: linear-gradient(90deg, var(--white) 0 30%, transparent 30% 31%, var(--orange) 31%); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 80px 56px; }
.footer__brand img { height: 60px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); font-size: 17px; transition: background .25s, border-color .25s; }
.footer__social a:hover { background: var(--orange); border-color: var(--orange); }
.footer h4 { font-size: 17px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; padding-bottom: 12px; position: relative; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--orange); }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color .2s, padding .2s; }
.footer ul a:hover { color: var(--orange); padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.footer__contact svg { color: var(--orange); margin-top: 5px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 24px; border-top: 1px solid var(--border); font-size: 14px; color: #6b6b72; }
.footer__bottom a:hover { color: var(--orange); }

/* ---------- Retour en haut ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--orange); color: var(--white); font-size: 20px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.to-top svg { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange-dark); }

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

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  :root { --header-h: 80px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100%);
    background: var(--bg); border-left: 1px solid var(--border);
    padding: calc(var(--header-h) + 20px) 32px 40px;
    display: flex; flex-direction: column; gap: 32px;
    transform: translateX(100%); transition: transform .45s var(--ease);
    overflow-y: auto; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--border); }
  .nav__link::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .nav__cta-mobile { display: inline-flex; }
  .header__actions { margin-left: auto; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header::before { opacity: 1; background: var(--bg); }

  .vehicles__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .contact__cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .poles__grid, .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid { gap: 40px; }
  .about__grid { gap: 70px; }
  .about__media { margin-left: 20px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__grid .post:last-child { display: none; }
  .hero { padding-bottom: 60px; }
  .hero__bottom { position: relative; margin-top: 60px; }
  .hero__features { grid-template-columns: 1fr; }
  .hero__feature, .hero__feature + .hero__feature { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .hero__stripes { width: 70%; opacity: .5; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .header__actions { gap: 8px; }
  .header__cta { padding: 10px 14px; font-size: 13px; }
  .header__logo img { height: 34px; }
  .header.is-scrolled .header__logo img { height: 32px; }

  .hero__text { font-size: 17px; }
  .hero__buttons .btn { width: 100%; }
  .pole { min-height: 400px; }
  .pole__body { padding: 28px 24px; }
  .pole__title { font-size: clamp(17px, 5.6vw, 34px); }
  .section__title { font-size: clamp(21px, 6.6vw, 40px); }
  .cta-band h2 { font-size: clamp(20px, 6.6vw, 34px); }
  .services__grid, .vehicles__grid, .why__grid, .news__grid { grid-template-columns: 1fr; }
  .news__grid .post:last-child { display: block; }
  .service { padding: 32px 26px; }
  .checklist { grid-template-columns: 1fr; }
  .about__badge { right: -8px; padding: 16px 20px; }
  .about__badge strong { font-size: 34px; }
  .about__media::before { top: -14px; left: -14px; }
  .about__media { margin-left: 14px; }
  .cta-band__buttons, .cta-band__buttons .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact__card { padding: 28px 24px; }
  .section__head--split .tabs { width: 100%; }
  .tabs__btn { flex: 1; }
  .faq__item summary { font-size: 16px; padding: 18px 56px 18px 20px; }
  .faq__item p { padding: 0 20px 20px; }
}
@media (max-width: 380px) {
  .header__cta svg { display: none; }
}
