:root {
    --charcoal: #FFFFFF;
    --steel: #F4F6FA;
    --steel-light: #E8ECF3;
    --ember: #C8102E;
    --ember-deep: #96001F;
    --coldblue: #0B3D91;
    --paper: #10182B;
    --muted: #5B6472;
    --line: #DCE1E9;
    --radius: 6px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--charcoal);
    color: var(--paper);
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    font-size: 16px;
  }

  h1, h2, h3, .display {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--paper);
    line-height: 1.15;
  }

  .mono { font-family: 'IBM Plex Mono', monospace; }

  a { color: var(--ember); text-decoration: none; }
  a:hover { text-decoration: underline; }

  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

  /* --- Header --- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; max-width: 1100px; margin: 0 auto;
  }
  .logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem; font-weight: 600; letter-spacing: 0.03em;
    display: flex; align-items: center; gap: 10px;
  }
  .logo-mark {
    width: 30px; height: 30px; border-radius: 50%;
    background: conic-gradient(from 200deg, var(--coldblue), var(--ember) 70%, var(--ember-deep));
    display: inline-block;
  }
  .header-cta {
    display: flex; align-items: center; gap: 18px;
  }
  .badge-7j7 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem; color: var(--muted);
    border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
    display: none;
  }
  @media (min-width: 640px) { .badge-7j7 { display: inline-block; } }

  .btn {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase; letter-spacing: 0.03em;
    font-size: 0.85rem; font-weight: 600;
    padding: 11px 20px; border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
  }
  .btn-primary { background: var(--ember); color: #FFFFFF; }
  .btn-primary:hover { background: var(--ember-deep); color: #FFFFFF; text-decoration: none; }
  .btn-ghost { border-color: var(--line); color: var(--paper); }
  .btn-ghost:hover { border-color: var(--ember); color: var(--ember); text-decoration: none; }

  /* --- Gauge divider (signature element) --- */
  .gauge {
    height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--coldblue), var(--ember) 55%, var(--ember-deep));
    position: relative; margin: 0 0;
  }
  .gauge::after {
    content: '';
    position: absolute; top: -3px; left: 55%;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--paper); box-shadow: 0 0 0 3px var(--charcoal);
  }

  /* --- Hero --- */
  .hero {
    padding: 90px 0 60px;
    background:
      radial-gradient(ellipse 800px 400px at 15% 0%, rgba(11,61,145,0.10), transparent 60%),
      radial-gradient(ellipse 800px 500px at 90% 30%, rgba(200,16,46,0.08), transparent 60%);
  }
  .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem; color: var(--ember);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    max-width: 780px;
    margin-bottom: 20px;
  }
  .hero h1 span { color: var(--ember); }
  .hero-sub {
    font-size: 1.1rem; color: var(--muted);
    max-width: 620px; margin-bottom: 34px;
  }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

  .trust-strip {
    display: flex; flex-wrap: wrap; gap: 10px 28px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem; color: var(--muted);
  }
  .trust-strip span::before { content: '✓ '; color: var(--ember); }

  /* --- Sections --- */
  section { padding: 64px 0; }
  .section-head { max-width: 680px; margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
  .section-head p { color: var(--muted); }

  /* Engagements */
  .engagements-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }
  .engagement-card {
    background: var(--steel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px;
  }
  .engagement-card .num {
    font-family: 'IBM Plex Mono', monospace; color: var(--ember);
    font-size: 0.8rem; margin-bottom: 8px; display: block;
  }

  /* Prestations */
  .presta-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  .presta-card {
    background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; position: relative; overflow: hidden;
  }
  .presta-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--coldblue), var(--ember));
  }
  .presta-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .presta-card p { color: var(--muted); font-size: 0.95rem; }

  /* Marques chips */
  .marques-list { display: flex; flex-wrap: wrap; gap: 10px; }
  .marque-chip {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem;
    background: var(--steel-light); border: 1px solid var(--line);
    padding: 8px 14px; border-radius: 999px; color: var(--paper);
  }

  /* Tarifs */
  table { width: 100%; border-collapse: collapse; }
  .tarifs-table th, .tarifs-table td {
    text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line);
  }
  .tarifs-table th {
    font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.85rem;
    color: var(--muted); letter-spacing: 0.03em;
  }
  .tarifs-table td.price { font-family: 'IBM Plex Mono', monospace; color: var(--ember); font-weight: 600; }
  .tarifs-note { font-size: 0.9rem; color: var(--muted); margin-top: 14px; }

  /* Comparatif */
  .compare-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  }
  @media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }
  .compare-card {
    border-radius: var(--radius); padding: 22px; border: 1px solid var(--line);
  }
  .compare-card.repair { background: linear-gradient(180deg, rgba(11,61,145,0.08), transparent); }
  .compare-card.replace { background: linear-gradient(180deg, rgba(200,16,46,0.07), transparent); }
  .compare-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
  .compare-card ul { list-style: none; }
  .compare-card li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; color: var(--paper); }
  .compare-card li:last-child { border-bottom: none; }

  /* Zones */
  .zone-group { margin-bottom: 22px; }
  .zone-group h3 {
    font-size: 0.95rem; color: var(--muted); text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 12px; font-weight: 500;
  }
  .chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .zone-chip {
    font-size: 0.88rem; padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--paper);
  }

  /* Pourquoi local list */
  .why-list { list-style: none; }
  .why-list li {
    padding: 14px 0; border-bottom: 1px solid var(--line);
    display: flex; gap: 14px; align-items: flex-start;
  }
  .why-list li:last-child { border-bottom: none; }
  .why-list .mark {
    color: var(--ember); font-family: 'IBM Plex Mono', monospace; font-weight: 600;
  }

  /* FAQ accordion */
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    width: 100%; text-align: left; background: none; border: none;
    color: var(--paper); font-family: 'Oswald', sans-serif; text-transform: none;
    font-size: 1.05rem; padding: 18px 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
  }
  .faq-q:hover { color: var(--ember); }
  .faq-icon { font-family: 'IBM Plex Mono', monospace; color: var(--ember); font-size: 1.2rem; }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--muted); }
  .faq-a p { padding-bottom: 18px; }
  .faq-item.open .faq-a { max-height: 220px; }
  .faq-item.open .faq-icon { transform: rotate(45deg); }

  /* Other services */
  .services-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
  .service-link {
    display: block; padding: 14px 16px; background: var(--steel);
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 0.95rem;
  }
  .service-link:hover { border-color: var(--ember); text-decoration: none; }

  /* Contact / footer */
  footer {
    padding: 70px 0 40px;
    background: linear-gradient(180deg, transparent, rgba(200,16,46,0.05));
    border-top: 1px solid var(--line);
  }
  .contact-box {
    text-align: center; max-width: 620px; margin: 0 auto 50px;
  }
  .contact-box h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 14px; }
  .contact-box p { color: var(--muted); margin-bottom: 26px; }
  .footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 0.85rem; color: var(--muted); font-family: 'IBM Plex Mono', monospace;
    border-top: 1px solid var(--line); padding-top: 20px;
  }

  .note {
    font-size: 0.85rem; color: var(--muted); font-style: italic;
    border-left: 2px solid var(--ember); padding-left: 12px; margin-top: 18px;
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .faq-a { transition: none; }
  }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--ember); outline-offset: 2px;
  }