/* ═══════════════════════════════════════════════
   DESIGN — WABI · Ascenseurs Privatifs
   Japonisme · Negative space · Persimmon line
   ═══════════════════════════════════════════════ */
:root {
  --paper: #faf8f3;
  --paper-2: #f1ede3;
  --paper-3: #fefdf9;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --hair: #c8c4ba;
  --persimmon: #c8392c;
  --persimmon-deep: #9a2a20;
  --rule: rgba(26,26,26,.10);
  --rule-2: rgba(26,26,26,.20);
  /* WCAG fix 2026-05-07 : valeurs assombries pour passer 4.5:1 */
  --ink-mute: #5a5650;  /* était #8a8a85 (3.27:1) — passe à 7.1:1 */
  --stone: #6b6358;     /* était #a89d88 (2.55:1) — passe à 5.0:1 */
  /* legacy compat */
  --primary: var(--persimmon);
  --primary-dark: var(--persimmon-deep);
  --primary-light: var(--paper-2);
  --primary-rgb: 200,57,44;
  --accent: var(--persimmon);
  --bg: var(--paper);
  --dark: var(--ink);
  --light: var(--paper-2);
}

* { margin:0; padding:0; box-sizing:border-box; }
*::selection { background: var(--persimmon); color: var(--paper); }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17.5px;             /* WCAG senior fix : 16.5 → 17.5 */
  line-height: 1.75;             /* WCAG senior fix : 1.7 → 1.75 */
  letter-spacing: 0;
  font-weight: 380;
  overflow-x: hidden;
}

/* WCAG : focus visible global */
*:focus-visible {
  outline: 2px solid var(--persimmon);
  outline-offset: 3px;
  border-radius: 1px;
}
.btn-cta:focus-visible, .btn-outline:focus-visible,
.btn-primary:focus-visible, .header-cta:focus-visible {
  outline-offset: 4px;
}
.region-card:focus-visible, .feature-card:focus-visible { background: var(--paper-3); }
.faq-q:focus-visible { color: var(--persimmon); }

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

/* WCAG : touch targets boutons (min 44×44 sur mobile) */
@media (max-width: 900px) {
  .btn-cta, .btn-primary, .btn-outline { min-height: 44px; padding: 14px 22px; }
  .hamburger { width: 44px; height: 44px; padding: 12px 8px; }
  .header-cta { min-height: 40px; padding: 10px 16px; }
}

a { color: var(--ink); text-decoration: none; transition: color .3s; }
a:hover { color: var(--persimmon); }

h1, h2, h3, h4 {
  font-family: 'Shippori Mincho B1', 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.2;
}
h1 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 1.5rem; line-height: 1.1; font-weight: 500; }
h2 { font-size: clamp(28px, 3.8vw, 48px); margin-bottom: 1.5rem; line-height: 1.15; font-weight: 500; }
h3 { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: .75rem; font-weight: 600; font-family: 'Hanken Grotesk', sans-serif; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; font-family: 'Hanken Grotesk', sans-serif; }

/* ─── Persimmon thin line motif ─────────────── */
.line { width: 56px; height: 1px; background: var(--persimmon); display: block; }

/* ─── Skip link ─────────────────────── */
.skip-to-content { position: absolute; left: -9999px; top: -9999px; padding: .5rem 1rem; background: var(--ink); color: var(--paper); }
.skip-to-content:focus { left: 1rem; top: 1rem; z-index: 999; }

/* ─── Header ─────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center;
  padding: 28px 80px;
  background: rgba(250,248,243,.92);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .05em;
}
header .logo {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink); font-family: 'Hanken Grotesk', sans-serif;
}
header .logo i { color: var(--persimmon); width: 16px; height: 16px; }
header .logo span {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 500; font-size: 19px;
  color: var(--ink); letter-spacing: 0;
}
header nav { justify-self: end; padding-right: 36px; }
header nav ul { display: flex; gap: 36px; list-style: none; }
header nav a { color: var(--ink); transition: color .3s; font-weight: 400; }
header nav a:hover { color: var(--persimmon); }
.header-cta {
  background: var(--ink); color: var(--paper) !important;
  padding: 12px 18px; border: none; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .1em;
  transition: background .3s;
}
.header-cta:hover { background: var(--persimmon); }
.hide-mobile { display: inline-flex; }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.hamburger span { display: block; width: 100%; height: 1px; background: var(--ink); }
.mobile-menu { display: none; }

/* ─── Breadcrumb ───────────────────── */
.breadcrumb { padding: 32px 80px 0; background: var(--paper); }
.breadcrumb-inner {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-mute); letter-spacing: .04em;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--persimmon); }
.breadcrumb-sep { color: var(--persimmon); margin: 0 .6em; }
.breadcrumb-current { color: var(--ink); }

/* ─── Hero ─────────────── */
.hero {
  padding: 120px 80px 100px;
  background: var(--paper);
  position: relative;
}
.hero::before {
  content:''; position: absolute; left: 80px; top: 90px;
  width: 56px; height: 1px; background: var(--persimmon);
}
.hero h1 {
  font-family: 'Shippori Mincho B1', serif !important;
  font-size: clamp(48px, 7vw, 96px) !important;
  line-height: 1.08;
  margin: 1.5rem 0;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.hero p {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2rem;
  font-weight: 380;
}
.hero-photo { background: var(--paper); }
.hero-inner { max-width: 1200px; margin: 0 auto; }
.hero-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--persimmon); display: inline-block; margin-bottom: 1rem;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 60px;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule);
}
.stat-card { text-align: left; }
.stat-number {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400; font-size: 44px; line-height: 1; color: var(--ink); letter-spacing: -0.01em;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .1em; color: var(--ink-mute); margin-top: 8px;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2rem;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-mute); letter-spacing: .04em;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row i { color: var(--persimmon); width: 13px; height: 13px; }

/* ─── Cluster hero (topic) ────────── */
.cluster-hero {
  padding: 140px 80px 100px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.cluster-hero::before {
  content:''; position: absolute; left: 80px; top: 110px;
  width: 56px; height: 1px; background: var(--persimmon);
}
.cluster-hero .badge {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase; color: var(--persimmon);
  display: inline-block; background: none; padding: 0; border: 0;
}
.cluster-hero h1 {
  font-family: 'Shippori Mincho B1', serif !important;
  font-size: clamp(48px, 7vw, 88px); line-height: 1.08; margin: 1.5rem 0;
  font-weight: 400; max-width: 20ch;
}
.cluster-hero p {
  font-family: 'Hanken Grotesk', sans-serif; font-size: 17.5px;
  color: var(--ink-soft); max-width: 56ch; line-height: 1.65;
}

/* ─── Buttons ─────────────── */
.btn-cta, .btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; background: var(--ink); color: var(--paper);
  border: none; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .1em; text-decoration: none;
  transition: background .35s;
}
.btn-cta:hover, .btn-primary:hover { background: var(--persimmon); color: var(--paper); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border: 1px solid var(--ink); color: var(--ink);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .1em; text-decoration: none; background: transparent;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ─── Sections ─────────────── */
.section { padding: 140px 80px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-narrow { max-width: 760px; margin: 0 auto; padding: 0 80px; }
.section-white { background: var(--paper); }
.section-alt { background: var(--paper-2); }
.section-head { text-align: left; margin-bottom: 4rem; max-width: 720px; position: relative; padding-top: 28px; }
.section-head::before {
  content:''; position: absolute; top: 0; left: 0;
  width: 56px; height: 1px; background: var(--persimmon);
}
.section-head h2 {
  font-family: 'Shippori Mincho B1', serif !important;
  font-size: clamp(32px, 5vw, 64px); line-height: 1.1;
  margin-bottom: 1rem; font-weight: 400;
}
.section-head p { font-size: 17px; color: var(--ink-soft); max-width: 52ch; line-height: 1.65; }

/* ─── Badges ─────────────── */
.badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--persimmon); background: none; padding: 0; margin-bottom: 1rem;
}

/* ─── Logo cloud ───────────── */
.logo-cloud {
  padding: 24px 80px;
  background: var(--paper);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-mute);
}
.logo-cloud .label { color: var(--persimmon); text-transform: uppercase; letter-spacing: .15em; }
.logo-cloud .logo-item { color: var(--ink); }

/* ─── Pricing table — minimal list ────────── */
.pricing-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.pricing-table tr { border-bottom: 1px solid var(--rule); }
.pricing-table tr:first-child { border-top: 1px solid var(--ink); }
.pricing-table th {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
  font-weight: 400; text-align: left; padding: 18px 16px 14px;
  border-bottom: 1px solid var(--rule);
}
.pricing-table td { padding: 24px 16px; font-size: 15px; color: var(--ink-soft); }
.pricing-table td:first-child {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400; font-size: 18px;
  color: var(--ink); letter-spacing: -0.005em;
}
.pricing-table .price {
  font-family: 'JetBrains Mono', monospace; font-weight: 400;
  font-size: 14px; color: var(--persimmon); white-space: nowrap; letter-spacing: 0;
}
.pricing-table tr:hover td { background: var(--paper-3); }

/* ─── FAQ ─────────────── */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left; padding: 28px 0;
  background: none; border: none; cursor: pointer;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: 17px; color: var(--ink);
  line-height: 1.45; letter-spacing: -0.005em;
  position: relative; padding-right: 40px; transition: color .3s;
}
.faq-q:hover { color: var(--persimmon); }
.faq-q::after {
  content:'+'; position: absolute; right: 0; top: 24px;
  font-family: 'Shippori Mincho B1', serif; font-size: 24px;
  color: var(--persimmon); font-weight: 300; transition: transform .35s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s, padding .4s; }
.faq-a p { padding: 0 0 28px 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 600px; }

/* ─── Features grid ─────── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--rule);
}
.feature-card {
  background: var(--paper); padding: 44px 36px;
  transition: background .35s;
}
.feature-card:hover { background: var(--paper-3); }
.feature-icon {
  width: 24px; height: 24px; margin-bottom: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--persimmon);
}
.feature-card h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: 17px; margin-bottom: .75rem;
  letter-spacing: -0.005em;
}
.feature-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }

/* ─── Process steps ─────── */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
  margin-top: 60px;
}
.step { padding: 0 0 0 0; position: relative; }
.step::before {
  content:''; position: absolute; top: 0; left: 0;
  width: 32px; height: 1px; background: var(--persimmon);
}
.step { padding-top: 28px; }
.step-icon {
  width: 24px; height: 24px; margin-bottom: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--persimmon);
}
.step h3, .step h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: 18px; margin-bottom: .75rem;
  letter-spacing: -0.005em;
}
.step p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }

/* ─── Testimonials ─────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.testimonial {
  padding: 32px 28px; background: var(--paper-3);
  border-top: 1px solid var(--persimmon);
}
.testimonial .stars { color: var(--persimmon); font-size: 13px; letter-spacing: .15em; margin-bottom: 16px; }
.testimonial p {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px; line-height: 1.65; color: var(--ink); margin-bottom: 24px;
}
.author { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--rule); }
.avatar {
  width: 32px; height: 32px;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0;
}
.author .name { font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: 14px; color: var(--ink); }
.author .role { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-mute); }

/* ─── Regions grid ─────── */
.regions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px; background: var(--rule);
  border-top: 1px solid var(--ink);
}
.region-card {
  padding: 28px 24px; background: var(--paper);
  text-decoration: none; color: var(--ink);
  transition: background .35s;
  display: block;
}
.region-card:hover { background: var(--paper-3); }
.region-card h3 {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 400; font-size: 19px; line-height: 1.25;
  margin-bottom: 8px; color: var(--ink); letter-spacing: -0.005em;
}
.region-card p {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--ink-mute);
}

/* ─── Article ─────── */
.article-content {
  max-width: 720px; margin: 0 auto; padding: 0 80px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: 16.5px; line-height: 1.75;
  color: var(--ink);
}
.article-content h2 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(32px, 4vw, 48px);
  margin: 4rem 0 1.5rem; line-height: 1.1; font-weight: 400;
}
.article-content h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600; font-size: 21px; line-height: 1.35;
  margin: 3rem 0 1rem; color: var(--ink); letter-spacing: -0.01em;
}
.article-content p { margin-bottom: 1.3rem; }
.article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-content li { margin-bottom: .5rem; }
.article-content strong { color: var(--persimmon); font-weight: 600; }

/* ─── Chips ─────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--rule);
  background: transparent; color: var(--ink); text-decoration: none;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ─── Forms ─────── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .08em; color: var(--ink-mute);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--hair); background: var(--paper-3);
  font-family: 'Hanken Grotesk', sans-serif; font-size: 16px;
  color: var(--ink); transition: border-color .3s, background .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--persimmon); background: var(--paper);
}

/* ─── Reassurance ─────── */
.reassurance-bar {
  padding: 18px 80px;
  background: var(--paper);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 36px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-mute);
}
.reassurance-bar strong { color: var(--persimmon); font-weight: 400; }

/* ─── Footer ─────── */
footer { background: var(--paper-2); padding: 100px 80px 40px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; max-width: 1400px; margin: 0 auto; }
.footer-section h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 18px; font-weight: 400;
}
.footer-section p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; max-width: 28ch; font-family: 'Hanken Grotesk', sans-serif; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 8px; }
.footer-section a { color: var(--ink); font-size: 14.5px; }
.footer-section a:hover { color: var(--persimmon); }
.footer-bottom {
  margin-top: 80px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--ink-mute); letter-spacing: .04em;
}

/* ─── Sticky CTA ─────── */
.mobile-sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); z-index: 40;
  padding: 14px 16px; text-align: center;
}
.mobile-sticky-bar a { color: var(--paper) !important; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.desktop-sticky-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 40;
  background: var(--paper); border: 1px solid var(--ink);
  padding: 14px 20px; max-width: 360px;
}
.dsc-inner { display: flex; align-items: center; gap: 14px; }
.dsc-inner span { font-family: 'Hanken Grotesk', sans-serif; font-size: 13.5px; color: var(--ink); }
.dsc-inner strong { color: var(--persimmon); font-weight: 600; }

.rgpd-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); color: var(--paper); padding: 18px 24px; }
.rgpd-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.rgpd-banner p { font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; }
.rgpd-banner a { color: #f4a89d; }
.rgpd-btns { display: flex; gap: 8px; }

.reveal-on-scroll, .reveal { transition: opacity 1s ease, transform 1s ease; }
.reveal-on-scroll.revealed, .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  header { padding: 16px 20px; grid-template-columns: 1fr auto; }
  header nav, .header-cta { display: none; }
  .hide-mobile { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--paper); padding: 32px 24px; z-index: 49; overflow-y: auto; }
  .mobile-menu a { display: block; padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: 'Shippori Mincho B1', serif; font-weight: 400; font-size: 22px; color: var(--ink); }
  .breadcrumb { padding: 16px 20px 0; }
  .hero, .cluster-hero, .section { padding: 80px 20px; }
  .section-narrow { padding: 0 20px; }
  .article-content { padding: 0 20px; }
  .hero h1, .cluster-hero h1 { font-size: clamp(40px, 11vw, 64px) !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid, .process-steps, .testimonial-grid, .regions-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .pricing-table { font-size: 14px; }
  .pricing-table th, .pricing-table td { padding: 14px 8px; }
  .desktop-sticky-cta { display: none !important; }
  .mobile-sticky-bar { display: block; }
  body { padding-bottom: 60px; }
}


/* === RESPONSIVE-MOBILE-PATCH v1 — 2026-05-12 (v3 spec-boost) ===
   Master mobile-first patch for the 100+ aprod-* portfolio.
   v3 : selectors prefixed with body/html body to win cascade against
   inline <style> blocks (vitrier-urgence, serrurier-flash, etc.).
   Rollback : strip the block between markers.
   Targets : tap targets 44px, hero compact, form above-fold, no iOS zoom,
             no horizontal scroll, fluid imgs, single-column cards,
             readable RGPD banner. !important used to override theme CSS.
   ============================================================ */

/* --- Universal safety (all viewports) --- */
img, video, iframe { max-width: 100%; height: auto; }
*, *::before, *::after { box-sizing: border-box; }

/* --- A11y color-contrast overrides for known portfolio inline colors ---
   Each inline `style="color:#xxx"` from helpers (temoignages, cro_pack) failed
   WCAG 4.5:1 ratio on white/light bg. CSS overrides via attribute selectors win
   because inline colors are NOT !important — our !important beats them.
   ============================================================ */
[style*="color:#f59e0b"] { color: #b45309 !important; } /* amber → darker amber 5.21:1 */
[style*="color: #f59e0b"] { color: #b45309 !important; }
[style*="color:#f6b952"] { color: #b45309 !important; } /* yellow → darker amber */
[style*="color: #f6b952"] { color: #b45309 !important; }
[style*="color:#cba3a3"] { color: #7f1d1d !important; } /* pink → dark red 8.5:1 */
[style*="color: #cba3a3"] { color: #7f1d1d !important; }
[style*="color:#9ca3af"] { color: #4b5563 !important; } /* light gray → medium gray 7.56:1 */
[style*="color: #9ca3af"] { color: #4b5563 !important; }
[style*="color:#6b7280"] { color: #374151 !important; } /* medium gray → darker 11.6:1 */
[style*="color: #6b7280"] { color: #374151 !important; }
[style*="color:#d1d5db"] { color: #4b5563 !important; } /* lighter gray → medium */
[style*="color:#e5e7eb"] { color: #4b5563 !important; } /* very light gray */
/* btn-urgent : pink on yellow disaster fix */
.btn-urgent, a.btn-urgent { color: #fff !important; background: #dc2626 !important; }
/* small star/rating amber on near-white bg */
.temoignages-block [style*="color:#f59e0b"],
.temoignages-block [style*="color: #f59e0b"] { color: #b45309 !important; }

/* --- Mobile (<= 767px) --- */
@media (max-width: 767px) {
  html, body { overflow-x: hidden !important; max-width: 100vw; }

  /* Typography & spacing */
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  section { padding: 28px 0 !important; }
  section h2, h2 { font-size: 1.45rem !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
  h3 { font-size: 1.1rem !important; }
  p, li { font-size: .95rem; line-height: 1.55; }

  /* Hero compact (push form above the fold on most pages) */
  .hero, .hero-section, [class*="hero-"] { padding: 22px 0 18px !important; }
  /* h1 + Bootstrap display-* classes (override BS .display-1..6 responsive sizing) */
  .hero h1, h1,
  h1.display-1, h1.display-2, h1.display-3, h1.display-4, h1.display-5, h1.display-6,
  .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-size: 1.55rem !important;
    line-height: 1.22 !important;
    margin: 0 0 10px !important;
    font-weight: 800 !important;
  }
  .hero p, .hero .subtitle, .hero-subtitle, p.lead, .lead { font-size: .95rem !important; line-height: 1.5 !important; margin: 0 auto 14px !important; max-width: 100% !important; }
  .badge-pill, .hero .badge, .badge { font-size: .75rem !important; padding: 4px 12px !important; margin-bottom: 12px !important; }

  /* Bootstrap container & spacing tightening on mobile */
  .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 14px !important; padding-right: 14px !important;
  }
  .py-5, [class*="py-"] { padding-top: 28px !important; padding-bottom: 28px !important; }
  .my-5, [class*="my-"] { margin-top: 20px !important; margin-bottom: 20px !important; }
  .mt-5, .mt-4 { margin-top: 16px !important; }
  .mb-5, .mb-4 { margin-bottom: 16px !important; }

  /* Bootstrap row/col stacking (defensive) */
  .row > [class^="col-"], .row > [class*=" col-"] { margin-bottom: 10px; }

  /* Header / nav */
  header { padding: 10px 0 !important; }
  header nav { flex-wrap: wrap; gap: 8px !important; }
  header nav a, header nav .logo {
    padding: 10px 8px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }
  header .logo { font-size: 1.1rem !important; padding-left: 0 !important; }

  /* Buttons & CTAs : enforce 44px tap target */
  .btn-cta, .btn, button, input[type="submit"], input[type="button"], [role="button"], a.btn {
    min-height: 44px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-cta { padding: 14px 22px !important; font-weight: 700 !important; }
  a.read-more, a.lire-suite, a[class*="text-decoration"] { min-height: 40px; padding: 8px 4px; display: inline-block; }

  /* Forms : 16px font (no iOS zoom) + 44px controls */
  input, textarea, select, button { font-size: 16px !important; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  textarea, select {
    min-height: 44px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box !important;
  }
  label { font-size: .9rem; }
  form { max-width: 100% !important; }

  /* Card grids : stack 1 col */
  .cards-grid, .grid, .row-cards, [class*="cards-"] { grid-template-columns: 1fr !important; gap: 12px !important; }
  .card { padding: 18px !important; }
  .card h3 { font-size: 1.1rem !important; margin: 0 0 8px !important; }

  /* Footer */
  footer { padding: 32px 0 16px !important; margin-top: 24px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 18px !important; }

  /* RGPD banner safety (don't cover form/CTA) */
  .rgpd-banner, .cookie-banner, [class*="cookie"] {
    bottom: 12px !important; left: 12px !important; right: 12px !important;
    max-width: calc(100vw - 24px) !important; font-size: .85rem;
  }

  /* MediaBuyer / VUD banner : keep responsive */
  .vud-banner-autopromo img, .mb-banner img, .autopromo img { max-width: 100% !important; height: auto !important; }
  .mb-urgent-banner {
    margin: 14px 12px !important;
    padding: 12px 14px !important;
    max-width: calc(100vw - 24px) !important;
    border-radius: 10px !important;
  }
  .mb-urgent-banner > div:nth-child(2) { font-size: .95rem !important; }
  .mb-urgent-banner > div:nth-child(3) { font-size: .8rem !important; }
  .mb-urgent-banner a {
    display: inline-block !important;
    min-height: 36px !important;
    padding: 6px 4px !important;
    line-height: 1.4 !important;
  }

  /* Real artisans cards SIRENE (.real-artisans-block / .ra-grid / .ra-card) */
  .real-artisans-block { margin: 24px 8px !important; padding: 18px 12px !important; border-radius: 10px !important; }
  .real-artisans-block h2 { font-size: 1.15rem !important; margin: 0 0 4px !important; line-height: 1.3 !important; }
  .real-artisans-block .ra-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .real-artisans-block .ra-card { padding: 14px !important; }
  .real-artisans-block .ra-card h3 { font-size: .95rem !important; line-height: 1.3 !important; }
  .real-artisans-block .ra-card a { min-height: 40px !important; padding: 8px 10px !important; }
  /* Legacy selectors keep working */
  .real-artisans, .ra-cards, [class*="artisan-card"]:not(.ra-card) { display: flex !important; flex-direction: column !important; gap: 10px !important; }

  /* Sticky bottom CTA bar (helper sticky-cta.php) */
  .sticky-cta-bar { z-index: 9999; }
  .sticky-cta-btn { min-height: 56px !important; padding: 14px 8px !important; font-size: .92rem !important; }
  /* Ensure form/page bottom isn't covered by sticky CTA */
  body:has(.sticky-cta-bar) { padding-bottom: 76px !important; }

  /* Tables : scrollable */
  table { display: block; overflow-x: auto; max-width: 100%; }

  /* Touch-friendly spacing for footer / inline links */
  footer a, .footer-links a { padding: 6px 4px; display: inline-block; min-height: 32px; }
}

/* --- Small mobile (<= 380px iPhone SE / Pixel 3a) --- */
@media (max-width: 380px) {
  .hero h1, h1 { font-size: 1.4rem !important; }
  .btn-cta { padding: 12px 16px !important; font-size: .95rem !important; }
  .container { padding-left: 10px !important; padding-right: 10px !important; }
}

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Print safety (don't break print layout) --- */
@media print {
  header, footer, .rgpd-banner, .cookie-banner, .vud-banner-autopromo { display: none !important; }
}
/* === RESPONSIVE-MOBILE-PATCH-END === */
