/* ==========================================================================
   ACT SERVICE — Feuille de style principale
   Électricité générale · Serrurerie & Métallerie · Plomberie & Sanitaire
   Chartres (28) — Eure-et-Loir
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque (issues du logo ACT SERVICE) */
  --blue: #1c64a7;
  --blue-deep: #0f3f6b;
  --blue-pale: #e8f1f9;
  --orange: #ff751f;
  --orange-deep: #cd7b00;
  --orange-pale: #fff1e6;
  --slate: #737373;
  --slate-700: #4a4f4d;
  --slate-200: #e1e4e1;
  --slate-100: #eef0ed;

  /* Encre / fonds */
  --ink: #101820;
  --ink-soft: #3c4650;
  --paper: #f6f7f5;
  --paper-raised: #ffffff;
  --white: #ffffff;

  /* États */
  --success: #1e7a4c;
  --success-pale: #e7f5ed;
  --danger: #c23b22;
  --danger-pale: #fbeae6;

  /* Typographie */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Échelle typographique */
  --fs-display-xl: clamp(2.25rem, 4.6vw + 0.8rem, 3.75rem);
  --fs-display-lg: clamp(1.75rem, 2.4vw + 1rem, 2.5rem);
  --fs-display-md: clamp(1.3rem, 1vw + 1rem, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-mono: 0.8rem;

  /* Rayons / ombres */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(16, 24, 32, 0.07);
  --shadow-md: 0 14px 34px rgba(16, 24, 32, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 63, 107, 0.20);

  /* Mise en page */
  --container-w: 1220px;
  --section-pad-y: clamp(3.5rem, 7vw, 6.5rem);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset léger
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Garde-fou : empêche tout élément (image, overlay, etc.) de créer
     un débordement horizontal fantôme, notamment sur mobile. */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

svg {
  display: block;
}

/* Accessibilité clavier : focus visible cohérent partout */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lien d'évitement */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: var(--fs-display-xl);
}

h2 {
  font-size: var(--fs-display-lg);
}

h3 {
  font-size: var(--fs-display-md);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-deep);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.eyebrow.on-dark {
  color: #cfe3f4;
}

.text-muted {
  color: var(--slate);
}

.mono {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   4. Mise en page générale
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--section-pad-y);
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section--raised {
  background: var(--paper-raised);
}

.section--deep {
  background: var(--blue-deep);
  color: #fff;
}

.section--deep h2,
.section--deep h3 {
  color: #fff;
}

.section--deep .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Texture "plan technique" en fond */
.blueprint-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 100, 167, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 100, 167, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  z-index: 0;
}

.section--deep .blueprint-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.divider-trace {
  width: 100%;
  height: 34px;
  display: block;
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 117, 31, 0.32);
}

.btn-primary:hover {
  background: var(--orange-deep);
  box-shadow: 0 14px 30px rgba(205, 123, 0, 0.36);
}

.btn-secondary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 100, 167, 0.28);
}

.btn-secondary:hover {
  background: var(--blue-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-outline-inverse {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline-inverse:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
}

/* --------------------------------------------------------------------------
   6. Badges / puces
   -------------------------------------------------------------------------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--paper-raised);
  color: var(--ink-soft);
}

.badge.on-dark {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #eef3f8;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 500;
}

a.chip:hover,
a.chip:focus-visible {
  background: var(--blue-deep);
  color: #fff;
}

a.chip.is-active {
  background: var(--blue-deep);
  color: #fff;
}

/* --------------------------------------------------------------------------
   7. En-tête / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 245, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: 42px;
}

.brand .brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: uppercase;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 0.3rem 0;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-deep);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--orange);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  color: var(--ink);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    height: calc(100vh - var(--header-h)); /* fallback */
    background: var(--paper-raised);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem 2.5rem;
    gap: 0;
    font-size: 1.15rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
    z-index: 99;
    box-shadow: -4px 0 24px rgba(16,24,32,0.08);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    gap: 0.4rem;
  }

  .nav-cta .btn-outline {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-cta .btn-primary {
    padding: 0.7rem;
  }

  .nav-cta .btn-primary .btn-text {
    display: none;
  }

  .search-toggle {
    width: 34px;
    height: 34px;
  }
}

.icon-open {
  display: block;
}

.icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-block: 1.1rem 1.3rem;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-block: 1.6rem 1.8rem;
}

.hero-registry {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate-700);
  border-top: 1px dashed var(--slate-200);
  padding-top: 1.1rem;
}

.hero-visual {
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

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

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* Schéma du héros : "3 métiers, une équipe" (élément signature)
   Le point lumineux circule du cœur ACT vers chaque métier le long
   d'un tracé de type schéma technique. Respecte prefers-reduced-motion
   via la règle globale définie plus haut. */
.trace-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  opacity: 0.45;
}

.node-circle {
  fill: #fff;
  stroke-width: 1.6;
}

.node-circle.elec,
.node-circle.plomb {
  stroke: var(--blue);
}

.node-circle.serr {
  stroke: var(--orange);
}

.node-icon {
  color: var(--blue-deep);
}

.node-icon.accent {
  color: var(--orange-deep);
}

.hub-circle {
  fill: var(--blue-deep);
  filter: drop-shadow(0 14px 26px rgba(15, 63, 107, 0.35));
}

.junction-dot {
  fill: var(--orange);
}

.node-label {
  font-family: var(--font-mono);
  font-size: 14px;
  fill: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  fill: #fff;
}

.hub-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  fill: var(--orange);
  letter-spacing: 0.14em;
}

.flow-dot {
  fill: var(--orange);
  filter: drop-shadow(0 0 4px rgba(255, 117, 31, 0.7));
}

.flow-elec {
  offset-path: path("M270,242 L270,150 L94,150 L94,144");
  animation: flow 2.8s linear infinite;
}

.flow-serr {
  offset-path: path("M270,242 L270,150 L446,150 L446,144");
  animation: flow 2.8s linear infinite 0.9s;
}

.flow-plomb {
  offset-path: path("M270,358 L270,418");
  animation: flow 1.8s linear infinite 1.7s;
}

@keyframes flow {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   9. Bandeau urgence
   -------------------------------------------------------------------------- */
.strip-urgence {
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  color: #fff;
}

.strip-urgence .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.strip-urgence .strip-text {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.02rem;
}

.strip-urgence .strip-text svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.strip-urgence .btn-outline-inverse {
  border-color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   10. Cartes de service
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

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

.service-card {
  background: var(--paper-raised);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--blue-deep);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card.accent .service-icon {
  background: var(--orange-pale);
  color: var(--orange-deep);
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.service-card ul li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.service-card ul li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--orange);
}

.service-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.service-card .card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.service-card .card-link:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   11. Étapes du processus
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--orange-deep);
  border: 1px solid var(--orange);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.95rem;
  /* Pas de couleur explicite : hérite de .section--deep { color:#fff } */
}

.step h3 {
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. Pourquoi nous / valeurs
   -------------------------------------------------------------------------- */
.value-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-item .value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item .value-icon svg {
  width: 22px;
  height: 22px;
}

.value-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.value-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   13. Zone d'intervention
   -------------------------------------------------------------------------- */
.zone-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .zone-wrap {
    grid-template-columns: 1fr;
  }
}

.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   14. Formulaire de contact
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-field .req {
  color: var(--orange-deep);
}

.form-input,
.form-textarea,
.form-select {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--paper-raised);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(28, 100, 167, 0.14);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.urgency-toggle {
  display: flex;
  gap: 0.8rem;
}

.urgency-option {
  flex: 1;
  position: relative;
}

.urgency-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}

.urgency-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

.urgency-option input:checked + span {
  border-color: var(--orange);
  background: var(--orange-pale);
  color: var(--orange-deep);
}

.urgency-option input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--slate-700);
}

.form-consent input {
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
}

.form-status {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: var(--success-pale);
  color: var(--success);
}

.form-status.error {
  background: var(--danger-pale);
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   15. Bloc de contact rapide (cards infos)
   -------------------------------------------------------------------------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--paper-raised);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-card .service-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.contact-info-card .service-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-card a,
.contact-info-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   16. Table légale (mentions légales)
   -------------------------------------------------------------------------- */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem 2rem;
}

.legal-table tr {
  border-bottom: 1px solid var(--slate-200);
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.94rem;
  vertical-align: top;
}

.legal-table th {
  width: 40%;
  font-weight: 600;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.legal-note {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  padding: 1rem 1.3rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--blue-deep);
  margin-block: 1.5rem;
}

.prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

/* --------------------------------------------------------------------------
   17. Page-header (pages internes)
   -------------------------------------------------------------------------- */
.page-header {
  background: var(--blue-deep);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.page-header .eyebrow {
  color: #cfe3f4;
}

.page-header h1 {
  color: #fff;
  margin-top: 0.8rem;
  max-width: 760px;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-top: 0.9rem;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-header--urgence {
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
}

.page-header--urgence .eyebrow {
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--orange-deep);
}

.btn-white:hover {
  background: var(--ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   18. Bandeau CTA final
   -------------------------------------------------------------------------- */
.cta-final {
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-final h2 {
  color: #fff;
  max-width: 520px;
}

.cta-final .lead {
  color: rgba(255, 255, 255, 0.82);
}

.cta-final .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* --------------------------------------------------------------------------
   19. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 3.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  height: 36px;
  width: 36px;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-registry {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   20. Page 404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-page .code {
  font-family: var(--font-mono);
  font-size: 5rem;
  color: var(--orange);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   21. Utilitaires
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-08 { margin-top: 0.8rem; }
.mt-1 { margin-top: 1rem; }
.align-center { align-items: center; }
.relative { position: relative; z-index: 1; }
.link-strong { color: var(--blue-deep); font-weight: 600; }
.footer-tagline { font-size: 0.92rem; max-width: 32ch; }
.form-submit-btn { margin-top: 1.4rem; }
.prose-narrow { max-width: 760px; }
.text-center { text-align: center; }
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Galerie dynamique accueil ===== */
.gallery-dyn-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 1.6rem;
}

@media (max-width: 900px) {
  .gallery-dyn-grid {
    grid-template-columns: 1fr;
  }
}

.illus-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.mt-2 { margin-top: 2rem; }

.service-illus {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   CARROUSEL — page d'accueil
   ========================================================================== */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-100);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .carousel-slide img { height: 260px; }
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(transparent, rgba(15,24,40,.75));
  color: #fff;
}

.carousel-caption .photo-cats { margin-bottom: .4rem; }
.carousel-caption .gallery-lieu {
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .2rem;
}
.carousel-caption .gallery-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-deep);
  box-shadow: var(--shadow-md);
  transition: background .15s, transform .15s;
  z-index: 2;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: .8rem; }
.carousel-btn.next { right: .8rem; }
.carousel-btn svg  { width: 22px; height: 22px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 0 .3rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-200);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.35);
}

/* Placeholder quand aucune photo */
.carousel-placeholder {
  width: 100%;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  color: var(--blue-deep);
}
@media (max-width: 700px) {
  .carousel-placeholder { height: 220px; }
}
.carousel-placeholder .illus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   GALERIE GRILLE — pages services + accueil
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-card {
  background: var(--paper-raised);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.gallery-thumb-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--slate-100);
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-card:hover .gallery-thumb { transform: scale(1.04); }

.gallery-card-body { padding: 1rem 1.1rem; }

.gallery-lieu {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: .4rem 0 .3rem;
}
.gallery-lieu svg { flex-shrink: 0; color: var(--orange); }

.gallery-desc {
  font-size: .82rem;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
  /* Limiter à 3 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badges catégories */
.photo-cat {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-weight: 500;
}
.photo-cat.elec  { background: #fef3c7; color: #92400e; }
.photo-cat.serr  { background: var(--orange-pale); color: var(--orange-deep); }
.photo-cat.plomb { background: var(--blue-pale); color: var(--blue-deep); }
.photo-cat.urg   { background: var(--danger-pale); color: var(--danger); }


/* ==========================================================================
   LIGHTBOX — agrandissement des photos au clic
   ========================================================================== */
.lightbox-trigger {
  cursor: zoom-in;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.lightbox-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 24, 32, 0);
  transition: background .2s ease;
  pointer-events: none;
}

.lightbox-trigger:hover::after {
  background: rgba(15, 24, 32, 0.08);
}

.lightbox-zoom-icon {
  position: absolute;
  bottom: .6rem;
  right: .6rem;
  width: 34px;
  height: 34px;
  background: rgba(15, 24, 32, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.lightbox-trigger:hover .lightbox-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: lightbox-fade .2s ease;
}

.lightbox-overlay.is-open {
  display: flex;
}

@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .lightbox-content {
    max-width: 1100px;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  object-fit: contain;
  background: #111;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  max-width: 700px;
}

.lightbox-caption .gallery-lieu {
  color: #fff;
  justify-content: center;
  font-size: .95rem;
}

.lightbox-caption .gallery-desc {
  color: rgba(255,255,255,.75);
  -webkit-line-clamp: unset;
  font-size: .88rem;
}

.lightbox-close {
  position: absolute;
  top: -.5rem;
  right: -.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .15s ease;
  z-index: 2;
}

.lightbox-close:hover { transform: scale(1.08); }

@media (max-width: 700px) {
  .lightbox-close {
    top: .5rem;
    right: .5rem;
  }
  .lightbox-overlay {
    padding: 1rem;
  }
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .15s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-nav.prev { left: -1rem; }
.lightbox-nav.next { right: -1rem; }
@media (max-width: 900px) {
  .lightbox-nav.prev { left: .2rem; }
  .lightbox-nav.next { right: .2rem; }
}

/* --------------------------------------------------------------------------
   Bouton retour en haut
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .15s ease;
  z-index: 500;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--blue);
}
.back-to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 640px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .01s linear, visibility .01s linear; }
}

/* --------------------------------------------------------------------------
   Note d'information dans un hero (ex : horaires urgence)
   -------------------------------------------------------------------------- */
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}
.hero-note svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Bandeau de statut ouvert / fermé
   -------------------------------------------------------------------------- */
.status-strip {
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.82rem;
}
.status-strip-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.5rem;
  flex-wrap: wrap;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-strip.is-open {
  background: var(--success-pale);
}
.status-strip.is-open .status-dot {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(30, 122, 76, 0.15);
}
.status-strip.is-open .status-label {
  color: var(--success);
  font-weight: 600;
}
.status-strip.is-closed {
  background: var(--paper);
}
.status-strip.is-closed .status-dot {
  background: var(--slate);
}
.status-strip.is-closed .status-label {
  color: var(--slate-700);
  font-weight: 600;
}
.status-detail {
  color: var(--ink-soft);
}
.status-detail::before {
  content: "·";
  margin-right: 0.6rem;
  color: var(--slate-200);
}
@media (max-width: 640px) {
  .status-strip-inner { font-size: 0.78rem; }
}

/* --------------------------------------------------------------------------
   Liens sociaux dans le footer (Google Business, Instagram)
   -------------------------------------------------------------------------- */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.footer-social a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   État vide (ex : catalogue sans article encore publié)
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--slate);
}
.empty-icon { font-size: 2.5rem; margin-bottom: .6rem; opacity: .5; }
.empty-state h3 { color: var(--ink-soft); margin-bottom: .4rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Recherche produits/prestations (header)
   -------------------------------------------------------------------------- */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
}
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease;
}
.search-toggle:hover,
.search-toggle:focus-visible {
  background: var(--blue-pale);
}
.site-search-form {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  display: flex;
  align-items: center;
  gap: .3rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: .3rem .3rem .3rem 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
  width: min(320px, 80vw);
}
.site-search.is-open .site-search-form {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: .9rem;
  font-family: inherit;
  background: transparent;
  min-width: 0;
}
.site-search-form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .site-search-form {
    right: -3.2rem;
    width: min(280px, 90vw);
  }
}

/* Recherche en pleine largeur sur la page catalogue */
.catalogue-search {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: .35rem .35rem .35rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.catalogue-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: .95rem;
  font-family: inherit;
  background: transparent;
}
.catalogue-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Bandeau tarif horaire professionnels (catalogue)
   -------------------------------------------------------------------------- */
.pro-rate-notice {
  background: var(--blue-pale);
  border-radius: 0.8rem;
  padding: 1rem 1.4rem;
  margin-bottom: 1.6rem;
}

/* --------------------------------------------------------------------------
   Bandeau de bascule particuliers / professionnels (catalogue)
   -------------------------------------------------------------------------- */
.audience-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  background: var(--orange-pale);
  border: 1px solid #ffd8b0;
  border-radius: 0.9rem;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.8rem;
}
.audience-switch strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.audience-switch p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
  max-width: 46ch;
}
.audience-switch .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .audience-switch {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .audience-switch .btn {
    width: 100%;
    justify-content: center;
  }
}
