/* ═══════════════════════════════════════════════════════════════════════════
   Jetour — Single Véhicule CSS
   Page immersive style Tesla
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero single ─────────────────────────────────────────────────────────── */
.jt-single-page { overflow-x: hidden; }

.jt-single-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--jt-dark);
}
.jt-single-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.jt-single-hero__iframe {
  width: 100%; height: 100%;
  border: none;
  pointer-events: none;
  transform: scale(1.08);
}
.jt-single-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.jt-single-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 10s ease;
}
.jt-single-hero__img:hover { transform: scale(1.04); }

.jt-single-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.35) 45%,
    rgba(0,0,0,.10) 100%
  );
}
.jt-single-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--jt-max-width);
  margin: 0 auto;
  padding: 24px 24px 72px;
}
.jt-single-hero__cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.jt-single-hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--jt-white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.jt-single-hero__slogan {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 24px;
  max-width: 520px;
}
.jt-single-hero__price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.jt-hero-price {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--jt-white);
}
.jt-hero-price-old {
  font-size: 1.1rem;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
}
.jt-hero-price-promo {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #ff6b6b;
}
.jt-hero-dispo {
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.jt-single-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.jt-btn--essai {
  max-width: 320px;
  width: 100%;
  justify-content: center;
}

/* ── Galerie carrousel compact ────────────────────────────────────────────── */
.jt-single-gallery { background: var(--jt-grey-100); }
.jt-gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.jt-gallery-count {
  font-size: .8rem;
  font-weight: 600;
  color: var(--jt-grey-400);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Carrousel */
.jt-gallery-carousel {
  position: relative;
  overflow: hidden;
}
.jt-gallery-strip {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.jt-gallery-card {
  flex: 0 0 calc(25% - 12px);
  border-radius: var(--jt-radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--jt-black);
  aspect-ratio: 4/3;
}
@media (max-width: 900px) {
  .jt-gallery-card { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 540px) {
  .jt-gallery-card { flex: 0 0 calc(100% - 0px); }
}
.jt-gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}
.jt-gallery-card:hover img { transform: scale(1.05); opacity: .85; }
.jt-gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  background: rgba(0,0,0,.3);
  transition: opacity .3s ease;
}
.jt-gallery-card:hover .jt-gallery-card__overlay { opacity: 1; }

/* Arrows */
.jt-gallery-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.12);
  background: #fff;
  color: var(--jt-dark);
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: all var(--jt-transition);
}
.jt-gallery-arrow:hover { background: var(--jt-accent); color: #fff; border-color: var(--jt-accent); }
.jt-gallery-arrow--prev { left: -22px; }
.jt-gallery-arrow--next { right: -22px; }

/* Dots */
.jt-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 4px;
}
.jt-gallery-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--jt-grey-200);
  border: none; cursor: pointer;
  transition: background var(--jt-transition), transform var(--jt-transition);
}
.jt-gallery-dot.active { background: var(--jt-accent); transform: scale(1.4); }

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.jt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}
.jt-lightbox.open { display: flex; animation: jt-fadein .2s ease; }
.jt-lightbox__inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.jt-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--jt-radius-lg);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.jt-lightbox__counter {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.jt-lightbox__close {
  position: fixed;
  top: 20px; right: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--jt-transition);
  z-index: 10000;
}
.jt-lightbox__close:hover { background: var(--jt-accent); border-color: var(--jt-accent); }
.jt-lightbox__nav {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--jt-transition);
}
.jt-lightbox__nav:hover { background: var(--jt-accent); border-color: var(--jt-accent); }
@media (max-width: 600px) {
  .jt-lightbox__nav { display: none; }
}

/* ── Specs ───────────────────────────────────────────────────────────────── */
.jt-single-specs { padding-top: 72px; padding-bottom: 72px; }

/* Tabs */
.jt-specs-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.jt-specs-tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.05rem; /* Augmenté pour plus de visibilité */
  font-weight: 700; /* Plus gras */
  padding: 16px 32px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--jt-transition);
  font-family: inherit;
  border-radius: 8px 8px 0 0;
}
.jt-specs-tab:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.02); }
.jt-specs-tab.active {
  color: var(--jt-white);
  border-bottom-color: var(--jt-accent);
  background: rgba(255,255,255,.05); /* Fond subtil */
}

/* Panels */
.jt-specs-panel { display: none; }
.jt-specs-panel.active { display: block; animation: jt-fadein .25s ease; }

/* Tableau specs */
.jt-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.jt-specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--jt-transition);
}
.jt-specs-table tr:hover { background: rgba(255,255,255,.03); }
.jt-specs-label {
  padding: 14px 0;
  font-size: .95rem; /* Plus lisible */
  color: rgba(255,255,255,.75); /* Plus clair */
  width: 50%;
  font-weight: 600; /* Mis en gras */
}
.jt-specs-value {
  padding: 14px 0;
  font-size: .9rem;
  color: var(--jt-white);
  font-weight: 600;
}
@media (max-width: 480px) {
  .jt-specs-table { font-size: .82rem; }
  .jt-specs-table td { display: block; width: 100%; padding: 6px 0; }
  .jt-specs-label { color: rgba(255,255,255,.45); font-size: .75rem; padding-bottom: 2px; }
}

/* Liste équipements / sécurité */
.jt-specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px 24px;
}
.jt-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.jt-check {
  color: #26d98e;
  font-weight: 700;
  flex-shrink: 0;
}
.jt-check--sec { color: #7eb3ff; }

/* ── Pourquoi — épuré premium ─────────────────────────────────────────────── */
.jt-single-pourquoi { background: #fff; }

.jt-pourquoi-head {
  text-align: center;
  margin-bottom: 56px;
}
.jt-label-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jt-accent);
  background: rgba(204,0,0,.07);
  border: 1px solid rgba(204,0,0,.18);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* Layout avec média */
.jt-pourquoi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .jt-pourquoi-split { grid-template-columns: 1fr; } }

.jt-pourquoi-args { display: flex; flex-direction: column; gap: 20px; }
.jt-pourquoi-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--jt-radius-lg);
  border: 1px solid var(--jt-grey-200);
  background: var(--jt-grey-100);
  transition: transform var(--jt-transition), box-shadow var(--jt-transition), border-color var(--jt-transition);
}
.jt-pourquoi-item:hover {
  transform: translateX(6px);
  box-shadow: var(--jt-shadow);
  border-color: var(--ic, var(--jt-accent));
}
.jt-pourquoi-item__icon {
  font-size: 1.7rem;
  width: 52px; height: 52px;
  background: rgba(0,0,0,.04);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,.06);
}
.jt-pourquoi-item__body p {
  font-size: .95rem;
  color: var(--jt-grey-800);
  line-height: 1.65;
  font-weight: 500;
}

.jt-pourquoi-media {
  border-radius: var(--jt-radius-lg);
  overflow: hidden;
  box-shadow: var(--jt-shadow-lg);
  aspect-ratio: 4/3;
  background: var(--jt-grey-200);
}

/* Média seul (sans arguments) : centré, max 800px */
.jt-pourquoi-media-only {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--jt-radius-lg);
  overflow: hidden;
  box-shadow: var(--jt-shadow-lg);
  aspect-ratio: 16/9;
  background: var(--jt-grey-200);
}
.jt-pourquoi-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jt-pourquoi-media .jt-video-iframe,
.jt-pourquoi-media .jt-video-file { width: 100%; height: 100%; border: none; display: block; }

/* Grille sans média */
.jt-pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.jt-pourquoi-card {
  background: #fff;
  border: 1px solid var(--jt-grey-200);
  border-radius: var(--jt-radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--jt-transition), box-shadow var(--jt-transition);
}
.jt-pourquoi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ic, var(--jt-accent));
  opacity: 0;
  transition: opacity var(--jt-transition);
}
.jt-pourquoi-card:hover { transform: translateY(-6px); box-shadow: var(--jt-shadow-lg); }
.jt-pourquoi-card:hover::before { opacity: 1; }
.jt-pourquoi-card__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--jt-grey-200);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.04em;
}
.jt-pourquoi-card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.jt-pourquoi-card__text {
  font-size: .9rem;
  color: var(--jt-grey-800);
  line-height: 1.65;
  font-weight: 500;
}

/* ── Bandeau social proof ─────────────────────────────────────────────────── */
.jt-social-proof { padding: 56px 0; }
.jt-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.jt-proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 48px;
  text-align: center;
}
.jt-proof-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--jt-white);
  letter-spacing: -.04em;
  line-height: 1;
}
.jt-proof-label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.jt-proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .jt-proof-stat { padding: 16px 24px; }
  .jt-proof-divider { display: none; }
  .jt-proof-inner { gap: 8px; }
}

/* ── Témoignage ───────────────────────────────────────────────────────────── */
.jt-temoignage { background: #f8f8f8; }
.jt-temoignage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .jt-temoignage-inner { grid-template-columns: 1fr; } }

.jt-temoignage-quote {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.jt-temoignage-quote blockquote {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--jt-grey-800);
  line-height: 1.7;
  font-weight: 500;
}
.jt-temoignage-author {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.jt-temoignage-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--jt-dark);
  color: var(--jt-white);
  font-size: .85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jt-temoignage-author strong { display: block; font-size: .95rem; color: var(--jt-dark); }
.jt-temoignage-author span { font-size: .8rem; color: var(--jt-grey-600); }
.jt-temoignage-stars { font-size: 1.1rem; color: #f59e0b; margin-left: auto; }

.jt-temoignage-cta {
  background: var(--jt-dark);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.jt-temoignage-cta p {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jt-accent);
}
.jt-temoignage-cta h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--jt-white);
  line-height: 1.25;
  letter-spacing: -.02em;
}

/* ── Vidéo ───────────────────────────────────────────────────────────────── */
.jt-video-wrap {
  position: relative;
  border-radius: var(--jt-radius-lg);
  overflow: hidden;
  margin-top: 32px;
  aspect-ratio: 16/9;
  background: #000;
}
.jt-video-iframe,
.jt-video-file {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ── Financement ─────────────────────────────────────────────────────────── */
.jt-financement-banner {
  background: linear-gradient(135deg, var(--jt-dark), #16213e);
  border-radius: var(--jt-radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--jt-white);
  flex-wrap: wrap;
}
.jt-financement-icon { font-size: 2.5rem; flex-shrink: 0; }
.jt-financement-banner strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.jt-financement-banner p { font-size: .875rem; color: rgba(255,255,255,.7); }
.jt-financement-banner .jt-btn { margin-left: auto; flex-shrink: 0; }

/* ── Contact single ──────────────────────────────────────────────────────── */
.jt-single-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .jt-single-contact__inner { grid-template-columns: 1fr; }
}
.jt-single-contact__text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--jt-white);
  margin-bottom: 14px;
}
.jt-single-contact__text p {
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 20px;
}
.jt-contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--jt-white);
  text-decoration: none;
  transition: color var(--jt-transition);
}
.jt-contact-tel:hover { color: var(--jt-accent); }
.jt-single-contact__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Sticky CTA mobile ───────────────────────────────────────────────────── */
.jt-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 -2px 20px rgba(0,0,0,.1);
  gap: 10px;
}
@media (max-width: 768px) {
  .jt-sticky-cta { display: flex; }
  .jt-single-page { padding-bottom: 80px; }
}
.jt-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--jt-transition);
}
.jt-sticky-btn--tel {
  background: var(--jt-dark);
  color: var(--jt-white);
}
.jt-sticky-btn--wa {
  background: var(--jt-wa);
  color: var(--jt-white);
}
.jt-sticky-btn:hover { filter: brightness(1.1); }

/* ── Animations d'entrée (scroll reveal) ────────────────────────────────── */
/*
 * Les éléments sont VISIBLES par défaut (pas de opacity:0 au chargement).
 * Le JS ajoute .jt-reveal-ready sur <body> quand IntersectionObserver est prêt,
 * ce qui active l'animation — ainsi si le JS échoue, le contenu reste visible.
 */
.jt-reveal {
  transition: opacity .65s ease, transform .65s ease;
}
body.jt-reveal-ready .jt-reveal:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
}
.jt-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.jt-reveal--delay-1 { transition-delay: .1s; }
.jt-reveal--delay-2 { transition-delay: .2s; }
.jt-reveal--delay-3 { transition-delay: .3s; }
