/* ==========================================================================
   Répar Shop — couche de design commune (chargée APRÈS le <style> de chaque page)
   Nouvelle identité : orange du logo (#F05709), noir, typo Montserrat + Figtree.
   ========================================================================== */

:root {
  --brand: #F05709;          /* orange du logo */
  --brand-hover: #DC4E06;
  --brand-ink: #C2410C;      /* orange foncé pour le texte sur fond clair (contraste AA) */
  --brand-soft: #FFF2EA;
  --ink: #111214;
  --ink-2: #3f3f46;
  --muted: #5b5b63;
  --line: #e7e5e4;
  --mist: #f6f6f4;
  --night: #111214;
  --night-2: #1b1c1f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17,18,20,.06), 0 2px 8px rgba(17,18,20,.05);
  --shadow-md: 0 10px 30px -12px rgba(17,18,20,.22);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* l'ancien orange néon devient l'orange du logo, sans halo */
  --neon: var(--brand);
  --neon-glow: var(--shadow-md);
  --neon-glow-strong: var(--shadow-md);
  --transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s ease, background-color .25s ease, color .25s ease;
}

/* Sur fond clair, tout ce qui utilise var(--neon) (liens, sur-titres, icônes) passe en orange foncé lisible */
.section:not(.section-black), .brands-strip, .trust-strip { --neon: var(--brand-ink); }

/* ── Base ── */
body {
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
.display,
.texte-seo h2, .texte-seo h3,
.bonus-list-card h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}
::selection { background: var(--brand); color: var(--ink); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.section { padding: 5.5rem 1.5rem; }
.section-gray { background: var(--mist); }
.section-black { background: var(--night); }
.container { max-width: 1180px; }

.section-eyebrow {
  font-size: .78rem;
  letter-spacing: .14em;
  margin-bottom: .9rem;
}
.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  margin-bottom: 2.25rem;
  text-wrap: balance;
}

/* ── Bandeau du haut (n'est plus collant : libère de la place à l'écran) ── */
.sticky-banner {
  position: relative;
  top: auto;
  z-index: 1;
  background: var(--night);
  color: #e4e4e7;
  animation: none;
  box-shadow: none;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .01em;
  padding: .55rem 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.sticky-banner span { display: inline-flex; align-items: center; gap: .5rem; }
.sticky-banner i { color: var(--brand); }

/* ── En-tête ── */
header {
  top: 0;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(17,18,20,.35); }
.header-inner {
  max-width: 1180px;
  padding: .7rem 1.5rem;
  flex-wrap: nowrap;
  gap: 1.5rem;
  min-height: 72px;
}
.logo-link { flex: 0 0 auto; width: 210px; max-width: 210px; }
.logo-img { max-height: none; transition: transform .35s var(--ease); }
.logo-img:hover { transform: rotate(-1.5deg) scale(1.03); }

nav { gap: .25rem; flex-wrap: nowrap; }
.nav-link {
  font-family: 'Figtree', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: .5rem .7rem;
  border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.nav-link::after { display: none; }
.nav-link:hover { color: var(--ink); background: var(--mist); }
.nav-link.active { color: var(--brand-ink); background: var(--brand-soft); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  flex: 0 0 auto;
}

/* ── Boutons ── */
.btn-neon {
  background: var(--brand);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius-sm);
  padding: .8rem 1.25rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 16px -8px rgba(240,87,9,.7);
}
.btn-neon:hover {
  background: var(--brand-hover);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 22px -10px rgba(240,87,9,.75);
}
.btn-neon:active { transform: translateY(0) scale(.98); }
.btn-giant { padding: 1rem 1.8rem; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.6rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  background: #fff;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(.98); }

/* ── Fond "circuit" plus discret ── */
.circuit-bg {
  background-image:
    linear-gradient(rgba(17,18,20,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,18,20,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.current-vertical { display: none; }

/* ── Hero accueil (mise en page 2 colonnes) ── */
.hero.hero-split {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}
.hero-split .hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .85rem;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid #ffd9c2;
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero-split .hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  margin-bottom: 1.3rem;
  text-wrap: balance;
}
.hero-split .hero-title em {
  font-style: italic;
  font-weight: 900;
  color: var(--brand);
  padding-right: .08em;
}
.hero-split .hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 0 2rem;
}
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-ctas .btn-giant { margin: 0; }

.hero-media {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  transform: rotate(1deg);
  transition: transform .5s var(--ease);
}
.hero-media:hover { transform: rotate(0deg); }
.hero-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px;
}
.hero-media figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .85rem .5rem .35rem;
  font-size: .9rem; color: var(--muted);
}
.hero-media figcaption a { color: var(--ink); font-weight: 700; text-decoration: none; }
.hero-media figcaption a:hover { color: var(--brand-ink); }
.open-status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); }
.open-status::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: #a1a1aa; flex: 0 0 auto;
}
.open-status.is-open::before { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.open-status.is-closed::before { background: #dc2626; }

/* ── Bande des engagements (sous le hero) ── */
.trust-strip {
  border-top: 1px solid var(--line);
  background: #fff;
}
.trust-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.3rem 1.5rem;
  font-weight: 600; font-size: .98rem; line-height: 1.3;
  color: var(--ink);
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item i {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto;
  background: var(--brand-soft); color: var(--brand-ink); font-size: 1.05rem;
}

/* ── Défilé des marques : logos seuls, en gris, couleur au survol ── */
.brands-strip { background: var(--mist); border-color: var(--line); padding: 1rem 0; }
.brand-card {
  min-width: 120px; height: 64px;
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid var(--line);
}
.brand-card:hover { transform: none; box-shadow: none; }
.brand-logo { height: 30px; max-width: 100px; filter: grayscale(1); opacity: .7; transition: filter .3s ease, opacity .3s ease; }
.brand-card:hover .brand-logo { filter: none; opacity: 1; }
.brand-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Cartes ── */
.grid-2, .grid-3 { gap: 1.25rem; }
.service-card, .about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: left;
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  position: relative;
}
.service-card:hover, .about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,87,9,.45);
  box-shadow: var(--shadow-md);
}
.service-icon {
  justify-content: center; align-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.service-card:hover .service-icon { transform: none; color: var(--brand-ink); }
.service-card h2.display, .service-card h3.display, .about-card h3.display { line-height: 1.2; }
.service-card p, .about-card p { line-height: 1.6; }
a.service-card { cursor: pointer; }
.card-more {
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 700; font-size: .92rem;
  color: var(--brand-ink);
  display: inline-flex; align-items: center; gap: .45rem;
}
.card-more i { transition: transform .3s var(--ease); }
a.service-card:hover .card-more i { transform: translateX(4px); }
.service-card.card-dark { background: var(--night); border-color: var(--night); color: #fff; }
.service-card.card-dark p { color: #c4c4cc !important; }
.service-card.card-dark .service-icon { background: rgba(240,87,9,.16); color: var(--brand); }

/* ── Photos ── */
.photo-frame { padding: 0; background: none; box-shadow: none; border-radius: var(--radius); overflow: hidden; }
.photo-frame:hover { transform: none; box-shadow: none; }
.photo-frame img { border-radius: var(--radius); }

/* ── Bonus QualiRépar ── */
.bonus-wrapper { gap: 2.5rem; }
.bonus-image-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.bonus-image-card img { border-radius: 10px; }
.bonus-list-card {
  background: var(--mist);
  border-left: 0;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.bonus-list-card h3 { text-transform: none; font-size: 1.45rem; }
.bonus-tagline { color: var(--brand-ink); font-weight: 700; }
.bonus-mini-item { border-bottom-color: var(--line); align-items: center; }
.bonus-mini-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .15rem .6rem;
  font-size: 1.1rem;
}

/* ── Textes SEO ── */
.texte-seo { max-width: 760px; }
.texte-seo h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.2; }
.texte-seo h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.texte-seo p, .texte-seo li { color: var(--ink-2); line-height: 1.8; font-size: 1.0625rem; }
.texte-seo strong { color: var(--ink); }
.texte-seo a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: rgba(194,65,12,.35); text-underline-offset: 3px; }
.texte-seo a:hover { text-decoration-color: currentColor; }
.texte-seo li::marker { color: var(--brand); }
.encadre { background: var(--brand-soft); border-left: 0; border-radius: var(--radius); border: 1px solid #ffd9c2; }

/* ── FAQ ── */
.faq-item { border-bottom-color: var(--line); padding: 1.4rem 0; }
.faq-question { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: -0.01em; font-size: 1.08rem; }
.faq-question::before {
  content: "?";
  width: 1.6rem; height: 1.6rem; padding: 0;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--brand); color: var(--ink);
  font-size: .85rem; margin-top: 0;
}
.faq-answer { color: var(--ink-2); padding-left: 2.35rem; }

/* ── Fil d'Ariane ── */
.breadcrumb { font-size: .85rem; color: var(--muted); }

/* ── Contact / formulaires ── */
.section-black .section-eyebrow { color: var(--brand); }
.info-card-black { background: var(--night-2); border: 1px solid #2a2b2f; border-radius: var(--radius); padding: 2rem; }
form.info-card-black { background: none; }
.form-label { color: #e4e4e7; font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.form-input, .form-textarea {
  background: var(--night-2);
  border: 1px solid #3a3b40;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
}
.form-input::placeholder, .form-textarea::placeholder { color: #8b8b94; }
.form-input:focus, .form-textarea:focus { border-color: var(--brand); background: #202125; box-shadow: 0 0 0 3px rgba(240,87,9,.25); }
.hour-row { padding: .55rem 0; border-bottom: 1px solid #2a2b2f; font-size: .92rem; flex-wrap: wrap; color: #d4d4d8; }
.hour-row:last-child { border-bottom: 0; }
.hour-row.active { color: var(--brand); }
.hour-row > div { flex-basis: 100%; font-weight: 700; letter-spacing: .04em; }
.section-black iframe { border-radius: 10px; display: block; }

/* ── Bouton d'appel flottant (mobile) ── */
.floating-badge {
  width: auto; height: auto;
  flex-direction: row; gap: .55rem;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  border: 0;
  background: var(--brand);
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
  font-size: .95rem; font-weight: 800; text-transform: none;
  box-shadow: 0 12px 28px -10px rgba(17,18,20,.5);
  animation: none;
  display: none;
}
.floating-badge i { font-size: 1rem !important; margin: 0 !important; }

/* ── Pied de page ── */
.site-footer { background: var(--night); color: #d4d4d8; padding: 4.5rem 1.5rem 2rem; border-top: 1px solid #2a2b2f; }
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem;
}
.footer-logo { width: 200px; height: auto; display: block; margin-bottom: 1.25rem; }
.footer-brand p { color: #a1a1aa; font-size: .95rem; line-height: 1.7; max-width: 22rem; }
.footer-title { font-family: 'Montserrat', sans-serif; font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-links a, .footer-contact a { color: #a1a1aa; text-decoration: none; font-size: .95rem; transition: color .2s ease; }
.footer-links a:hover, .footer-contact a:hover, .footer-links a.active { color: var(--brand); }
.footer-contact { list-style: none; display: grid; gap: .7rem; font-size: .95rem; color: #a1a1aa; }
.footer-contact i { color: var(--brand); width: 1.2rem; }
.footer-bottom {
  max-width: 1180px; margin: 3rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid #2a2b2f;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: #8b8b94;
}
.footer-bottom a { color: #8b8b94; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }


/* ── À propos (accueil) ── */
.about-visual { align-self: center; }
.about-visual .photo-frame { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.eco-note {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 2rem; padding: 1.4rem 1.5rem;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
}
.eco-note > i {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: #e8f5ec; color: #15803d;
}
.eco-note h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.eco-note p { font-size: .95rem; color: var(--ink-2); line-height: 1.6; }


/* ── Haut des pages intérieures : léger dégradé de la couleur de marque ── */
header + .section { background: linear-gradient(180deg, var(--brand-soft) 0, #fff 460px); }


/* ── Page 404 ── */
.liens a { border: 1px solid var(--line); border-radius: var(--radius-sm); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; color: var(--ink); background: #fff; }
.liens a:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-2px); }
.code404 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-style: italic; }


/* ── Page Bonus : cartes des montants ── */
.bonus-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.bonus-card:hover { transform: translateY(-4px); border-color: rgba(240,87,9,.45); box-shadow: var(--shadow-md); }
.bonus-amount { font-family: 'Montserrat', sans-serif; font-weight: 900; font-style: italic; color: var(--brand); letter-spacing: -0.03em; }

/* ── Mentions légales ── */
.legal-block h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; border-bottom: 1px solid var(--line); }
.legal-block p, .legal-block li { color: var(--ink-2); }

/* ── Apparition au défilement, plus douce ── */
.reveal { transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .header-inner { position: relative; flex-wrap: nowrap; justify-content: space-between; padding: .6rem 1.25rem; min-height: 64px; }
  .logo-link { width: 170px; max-width: 170px; margin: 0; }
  .nav-toggle { display: grid; place-items: center; }
  header .header-inner > .btn-neon { display: none; }
  nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .15rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(17,18,20,.35);
    padding: .6rem 1rem 1rem;
    width: auto;
    display: none;
  }
  nav.is-open { display: flex; }
  .nav-link { font-size: 1.05rem; padding: .85rem .9rem; }
  .floating-badge { display: inline-flex; }
  .hero.hero-split { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
  .hero-media { transform: none; max-width: 640px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .section { padding: 4rem 1rem; }
  .sticky-banner { gap: .4rem 1.2rem; font-size: .75rem; }
  .sticky-banner .tb-hide-sm { display: none; }
  .header-inner { padding: .55rem 1rem; }
  .logo-link { width: 150px; max-width: 150px; }
  .btn-neon { width: auto; margin-top: 0; }
  .hero-ctas .btn-giant, .hero-ctas .btn-ghost { flex: 1 1 100%; }
  .hero.hero-split { padding: 2.25rem 1rem 2.5rem; text-align: left; }
  .hero-split .hero-title { font-size: 2.15rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 1rem; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .faq-answer { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .floating-badge { bottom: 1rem; right: 1rem; }
}

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