/*
Theme Name: Rideau Metallique Paris – BRMS
Theme URI: https://voletsroulantsparis.com
Author: BRMS Serrurerie
Description: Thème WordPress officiel pour rideau-metallique-paris.fr – BRMS Serrurerie & Rideaux
Version: 1.0.0
Text Domain: rm-brms
*/

    :root {
      --primary: #0f7bff;
      --primary-dark: #0b5ec0;
      --accent: #ffb300;
      --bg: #f5f7fb;
      --text: #1f2933;
      --muted: #6b7280;
      --border: #e5e7eb;
      --radius-lg: 14px;
      --radius-xl: 22px;
      --shadow-soft: 0 14px 35px rgba(15, 123, 255, 0.14);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
    }

    a { text-decoration: none; color: inherit; }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* HEADER (identique structure accueil/moteur) */

    header {
      background: #ffffffcc;
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(226, 232, 240, 0.8);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .top-bar {
      max-width: 1100px;
      margin: 0 auto;
      padding: 10px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      position: relative;
      flex-wrap: wrap;
    }

    .brand-wrapper {
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 0;
      flex: 1 1 auto;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand img {
      height: 56px;
      width: auto;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
    }

    .brand-title {
      font-weight: 700;
      font-size: 16px;
    }

    .brand-sub {
      font-size: 11px;
      color: var(--muted);
    }

    .google-reviews {
      display: flex;
      align-items: center;
      padding-left: 14px;
      border-left: 1px solid #e5e7eb;
    }

    .google-reviews img {
      height: 26px;
      width: auto;
      display: block;
      transition: transform 0.15s ease;
    }

    .google-reviews a:hover img {
      transform: scale(1.04);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 13px;
    }

    .nav a {
      color: var(--muted);
      font-weight: 500;
      padding: 4px 0;
      position: relative;
    }

    .nav a:hover {
      color: var(--primary-dark);
    }

    .nav a.active {
      color: var(--primary-dark);
    }

    .nav a.active::after,
    .nav a:hover::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -3px;
      width: 100%;
      height: 2px;
      border-radius: 999px;
      background: var(--primary);
    }

    .nav .nav-cta {
      padding: 6px 13px;
      border-radius: 999px;
      border: 1px solid #d1d5db;
      font-size: 12px;
      font-weight: 600;
      color: var(--primary-dark);
      background: #ffffff;
    }

    .nav .nav-cta:hover {
      border-color: var(--primary);
      background: #f9fafb;
    }

    /* Dropdown prestations */
    .nav-item {
      position: relative;
    }

    .nav-label {
      font-size: 13px;
      font-weight: 500;
      color: var(--muted);
      cursor: default;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 0;
    }

    .nav-label::after {
      content: "▾";
      font-size: 11px;
      color: var(--muted);
    }

    .nav-item:hover .nav-label {
      color: var(--primary-dark);
    }

    .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 250px;
      background: #ffffff;
      border-radius: 14px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
      border: 1px solid rgba(226, 232, 240, 0.9);
      padding: 8px 10px;
      padding-top: 14px;
      display: none;
      flex-direction: column;
      gap: 4px;
      z-index: 60;
      margin-top: 0;
    }

    /* Pont invisible pour éviter que la souris "quitte" le hover */
    .nav-item::before {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 10px;
      z-index: 59;
    }

    .nav-item:hover .nav-dropdown {
      display: flex;
    }

    .nav-dropdown a {
      padding: 6px 8px;
      border-radius: 10px;
      font-size: 13px;
      color: var(--muted);
    }

    .nav-dropdown a span {
      display: block;
      font-size: 11px;
      color: #9ca3af;
      font-weight: 400;
    }

    .nav-dropdown a:hover {
      background: #f3f4ff;
      color: var(--primary-dark);
    }

    .nav-toggle {
      display: none;
      font-size: 22px;
      border: none;
      background: transparent;
      cursor: pointer;
    }

    .header-contact {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
    }

    .header-contact small {
      color: var(--muted);
    }

    .btn-call-header {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: 999px;
      background: var(--primary);
      color: white;
      font-weight: 600;
      font-size: 13px;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.32);
      border: none;
      cursor: pointer;
      transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
    }

    .btn-call-header:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.4);
    }

    /* Mobile actions */
    .mobile-actions {
      display: none;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .mobile-presta {
      background: #eef2ff;
      color: var(--primary-dark);
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
    }

    .nav-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.35);
      z-index: 35;
    }

    .nav-backdrop.show {
      display: block;
    }

    @media (max-width: 980px) {
      .header-contact {
        display: none;
      }
      .top-bar {
        align-items: flex-start;
      }
      .brand-wrapper {
        justify-content: space-between;
      }
    }

    @media (max-width: 820px) {
      .nav {
        display: none;
        position: absolute;
        top: 52px;
        right: 16px;
        left: 16px;
        background: #ffffff;
        border-radius: 16px;
        padding: 10px 14px 12px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
        flex-direction: column;
        align-items: flex-start;
        z-index: 40;
      }

      .nav.show {
        display: flex;
      }

      .nav-toggle {
        display: block;
      }

      .mobile-actions {
        display: flex;
      }

      .nav-item {
        width: 100%;
      }

      .nav-label {
        margin-bottom: 4px;
      }

      .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 4px;
        display: flex;
        gap: 2px;
      }
    }

    main { flex: 1; }

    /* HERO & CONTENU (repris de la page réparation) */

    .hero {
      background: radial-gradient(circle at top left, #e8f1ff 0, #f5f7fb 45%, #ffffff 100%);
      padding: 28px 16px 40px;
    }

    .hero-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
      gap: 28px;
      align-items: center;
    }

    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(15, 123, 255, 0.06);
      color: var(--primary-dark);
      font-size: 11px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .hero-badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #10b981;
    }

    .hero-title {
      font-size: clamp(24px, 3vw, 32px);
      line-height: 1.1;
      margin-bottom: 10px;
    }

    .hero-title span.highlight {
      color: var(--primary-dark);
    }

    .hero-subtitle {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 18px;
      max-width: 520px;
    }

    .hero-list {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 8px 16px;
      margin-bottom: 18px;
    }

    .hero-list li {
      font-size: 13px;
      display: flex;
      align-items: flex-start;
      gap: 6px;
    }

    .hero-list li::before {
      content: "✓";
      font-weight: 700;
      color: #059669;
      margin-top: 1px;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 11px 20px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      border: none;
      background: var(--primary);
      color: #ffffff;
      box-shadow: var(--shadow-soft);
      cursor: pointer;
      transition: background 0.18s ease, transform 0.12s ease;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 500;
      border: 1px solid #d1d5db;
      background: rgba(255, 255, 255, 0.9);
      color: var(--text);
      cursor: pointer;
      transition: border 0.18s ease, background 0.18s ease;
    }

    .btn-ghost:hover {
      border-color: var(--primary);
      background: #ffffff;
    }

    .hero-reassurance {
      font-size: 11px;
      color: var(--muted);
    }

    .hero-card {
      background: #ffffff;
      border-radius: var(--radius-xl);
      padding: 18px 18px 20px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
      border: 1px solid #e5e7eb;
    }

    .hero-card-title {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .hero-card-sub {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .info-row {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 10px;
      font-size: 11px;
      color: var(--muted);
    }

    .info-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: #f3f4ff;
      font-size: 11px;
      color: var(--primary-dark);
      margin-bottom: 10px;
    }

    .info-pill span {
      font-weight: 600;
    }

    .form {
      display: grid;
      gap: 10px;
      margin-bottom: 8px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 12px;
    }

    .field label {
      font-weight: 500;
    }

    .field input,
    .field select,
    .field textarea {
      padding: 8px 10px;
      border-radius: 9px;
      border: 1px solid #d1d5db;
      font-size: 13px;
      outline: none;
      transition: border-color 0.16s ease, box-shadow 0.16s ease;
      font-family: inherit;
      background: #f9fafb;
    }

    .field textarea {
      resize: vertical;
      min-height: 58px;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 1px rgba(15, 123, 255, 0.18);
      background: #ffffff;
    }

    .form-note {
      font-size: 10px;
      color: var(--muted);
    }

    .section {
      max-width: 1100px;
      margin: 0 auto;
      padding: 32px 16px;
    }

    .section-header {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 16px;
    }

    .section-kicker {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary-dark);
      font-weight: 600;
    }

    .section-title {
      font-size: 20px;
    }

    .section-sub {
      font-size: 13px;
      color: var(--muted);
      max-width: 620px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    @media (max-width: 800px) {
      .grid-3,
      .grid-2 {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      padding: 16px;
      border: 1px solid #e5e7eb;
    }

    .card-strong {
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
      border-color: #e0edff;
    }

    .card-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .card-text {
      font-size: 12px;
      color: var(--muted);
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 6px;
    }

    .pill {
      font-size: 11px;
      padding: 4px 9px;
      border-radius: 999px;
      background: #f3f4ff;
      color: var(--primary-dark);
    }

    .process {
      counter-reset: step;
    }

    .process-step {
      display: flex;
      gap: 12px;
      font-size: 13px;
      padding: 10px 0;
    }

    .process-step::before {
      counter-increment: step;
      content: counter(step);
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 600;
      margin-top: 2px;
    }

    .process-step-title {
      font-weight: 600;
      margin-bottom: 2px;
    }

    .tagline {
      font-size: 12px;
      color: var(--muted);
      margin-top: 6px;
    }

    .split {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 18px;
      align-items: flex-start;
    }

    @media (max-width: 900px) {
      .split {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 9px;
      font-size: 11px;
      border-radius: 999px;
      border: 1px solid #e5e7eb;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #10b981;
    }

    .review {
      font-size: 12px;
      color: var(--muted);
      margin-top: 4px;
    }

    .review strong {
      color: #111827;
    }

    .stars {
      font-size: 13px;
      color: #fbbf24;
      margin-bottom: 4px;
    }

    .faq-item {
      padding: 10px 0;
      border-bottom: 1px solid #e5e7eb;
    }

    .faq-q {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .faq-a {
      font-size: 12px;
      color: var(--muted);
    }

    .zone-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 6px;
    }

    .zone-tag {
      font-size: 11px;
      padding: 4px 8px;
      border-radius: 999px;
      background: #eef2ff;
      color: var(--primary-dark);
    }

    footer {
      background: #0b1120;
      color: #e5e7eb;
      padding: 16px;
      font-size: 11px;
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: space-between;
      align-items: center;
    }

    .footer-inner a {
      color: #9ca3af;
    }

    .sticky-call {
      position: fixed;
      bottom: 14px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 40;
    }

    .sticky-call-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 18px;
      border-radius: 999px;
      border: none;
      background: var(--primary);
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
      cursor: pointer;
    }

    @media (min-width: 801px) {
      .sticky-call {
        display: none;
      }
    }

/* ===== BARRE MOBILE FIXE ===== */
.mobile-bar { display: none; }

@media (max-width: 820px) {
  body { padding-bottom: 70px; }

  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #0f7bff;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
  }

  .mbb {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px 14px;
    text-decoration: none;
    color: white;
    gap: 3px;
  }

  .mbb-wa { background: #25d366; }

  .mbb-icon {
    font-size: 22px;
    line-height: 1;
  }

  .mbb-text {
    font-size: 11px;
    font-weight: 600;
    color: white;
  }
}

/* ===== BANNIÈRE MARQUES ===== */
.brands-banner {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  overflow: hidden;
}

.brands-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.brands-banner-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 16px;
}

.brands-track {
  overflow: hidden;
  width: 100%;
}

.brands-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scroll-brands 30s linear infinite;
}

.brands-logos img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.2s;
}

.brands-logos img:hover {
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

@keyframes scroll-brands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SEO CARDS ===== */
.seo-intro {
  max-width: 680px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .seo-grid { grid-template-columns: minmax(0, 1fr); }
}

.seo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.seo-card-icon { font-size: 18px; margin-bottom: 2px; }

.seo-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.seo-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

.seo-card-accent {
  background: #eef5ff;
  border-color: #c7dcff;
}

.seo-card-accent h3 { color: var(--primary-dark); }

.seo-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  flex-wrap: wrap;
}

.seo-cta-strip p {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  flex: 1;
}

.seo-cta-strip small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

.seo-cta-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.seo-cta-strip a:hover { transform: translateY(-1px); }

/* ===== FORM — CHAMPS OBLIGATOIRES & SÉPARATEUR ===== */
.required {
  color: #e24b4a;
  font-size: 12px;
}

.form-optional-sep {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 0 2px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ===== BARRE DE RÉASSURANCE ===== */
.reassurance-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 8px 18px;
}

.reassurance-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 16px;
  white-space: nowrap;
}

.reassurance-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  flex-shrink: 0;
}

.reassurance-check {
  font-size: 12px;
  color: #10b981;
  font-weight: 700;
}

.reassurance-stars {
  font-size: 11px;
  color: #f59e0b;
  letter-spacing: 1px;
}

.reassurance-sep {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .reassurance-bar {
    display: none;
  }
}
