/* Direction B : confiance locale, claire, modulaire et orientée devis. */
:root {
  --ink: #142026;
  --ink-deep: #11191d;
  --paper: #f3f7f9;
  --paper-dim: #e4edf1;
  --steel: #56a9d0;
  --steel-ink: #237faa;
  --stone: #5b6b73;
  --mist: #a9b8bf;
  --line: #c9d6dc;
  --line-dark: #35464e;
  --header-h: 4.5rem;
  --radius: 16px;
  --shadow-soft: 0 18px 55px rgba(38, 79, 99, 0.12);
}
html[data-theme="dark"] {
  --ink: #edf3f6;
  --ink-deep: #11191d;
  --paper: #11191d;
  --paper-dim: #182228;
  --steel: #56a9d0;
  --steel-ink: #56a9d0;
  --stone: #a9b8bf;
  --mist: #a9b8bf;
  --line: #35464e;
  color-scheme: dark;
}
body {
  background: var(--paper);
  color: var(--ink);
}
.container {
  max-width: 85rem;
}
.display {
  letter-spacing: -0.025em;
}
.site-header {
  height: 72px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.site-header .container {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  padding: 0 clamp(20px, 4vw, 64px);
}
.brand-name {
  color: var(--ink);
}
.brand-tag,
.site-nav a {
  color: var(--stone);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a[aria-current="page"] {
  border-color: var(--steel-ink);
}
.nav-toggle {
  color: var(--ink);
  border-color: var(--line);
  border-radius: 12px;
  min-height: 44px;
}
.header-actions {
  gap: 0.5rem;
}
.site-header .site-nav ul {
  gap: 1.5rem;
}
.theme-toggle {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--stone);
  font: inherit;
  font-size: 0;
  cursor: pointer;
}
.theme-toggle::before {
  content: "☾";
  font-size: 1.35rem;
  line-height: 1;
}
html[data-theme="dark"] .theme-toggle::before {
  content: "☀";
}
.btn {
  border-radius: 12px;
  border-width: 1px;
  min-height: 48px;
  justify-content: center;
}
.btn-solid,
.on-dark .btn-solid {
  background: var(--steel-ink);
  border-color: var(--steel-ink);
  color: #f7fcff;
  box-shadow: 0 8px 24px rgba(38, 79, 99, 0.14);
}
.btn-solid:hover,
.on-dark .btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(38, 79, 99, 0.18);
}
.btn-solid:active,
.on-dark .btn-solid:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn-ghost,
.on-dark .btn-ghost {
  border-color: var(--steel-ink);
  color: var(--steel-ink);
  background: transparent;
}
.btn-ghost:hover,
.on-dark .btn-ghost:hover {
  background: var(--steel-ink);
  color: #f7fcff;
}
.page-head {
  background: var(--paper-dim);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-head .container {
  padding-block: clamp(4rem, 7vw, 7rem);
}
.page-head .display {
  font-size: clamp(3.5rem, 7vw, 7rem);
  max-width: 14ch;
  color: var(--ink);
}
.page-head .title-location {
  display: block;
  color: var(--steel-ink);
}
.page-head .lead {
  color: var(--stone);
  max-width: 55ch;
}
.breadcrumb,
.breadcrumb a {
  color: var(--steel-ink);
}
.section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}
.section-dim {
  background: var(--paper-dim);
}
.section-dark {
  background: var(--paper-dim);
  color: var(--ink);
}
.section-dark .section-head p,
.on-dark .section-head p {
  color: var(--stone);
}
.section-head {
  max-width: 52rem;
}
.section-head h2 {
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  letter-spacing: -0.025em;
}
.kicker,
.on-dark .kicker {
  color: var(--steel-ink);
}
.split {
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.prose {
  font-size: 1.0625rem;
}
.prose h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}
.prose p,
.prose li {
  color: var(--stone);
}
.prose strong {
  color: var(--ink);
}
.shot,
.ph,
.post-card,
.price-card {
  border-radius: var(--radius);
  border-color: var(--line);
  overflow: hidden;
}
.shot {
  box-shadow: var(--shadow-soft);
}
.shot figcaption {
  background: rgba(17, 25, 29, 0.86);
  color: #f5fafc;
}
.price-cards {
  gap: 1rem;
}
.price-card {
  background: color-mix(in srgb, var(--paper) 90%, #fbfdfe);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: none;
}
.price-card .price {
  color: var(--steel-ink);
}
.tiles {
  gap: 1rem;
}
.tiles > *,
.why-list li,
.avis > * {
  border-radius: var(--radius);
  border-color: var(--line);
}
.cta-band {
  background: var(--paper-dim);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.cta-band .container {
  gap: 2rem;
}
.cta-band .display {
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--ink);
}
.form-grid {
  gap: 1rem;
}
.field label {
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.field textarea {
  min-height: 9rem;
}
.field-error {
  color: #a52f2f;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer {
  background: var(--paper-dim);
  color: var(--stone);
  border-top: 1px solid var(--line);
}
.site-footer h3,
.site-footer a {
  color: var(--ink);
}
.footer-wordmark {
  color: transparent;
  -webkit-text-stroke-color: var(--line);
}
.footer-legal {
  border-color: var(--line);
}
.call-bar {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.post-card {
  background: color-mix(in srgb, var(--paper) 92%, #fbfdfe);
  box-shadow: var(--shadow-soft);
}
.post-tag,
.tag {
  color: var(--steel-ink);
}
.article-hero,
.hero-figure {
  border-radius: var(--radius);
  overflow: hidden;
}
.post-body {
  color: var(--ink);
}
.post-body p,
.post-body li {
  color: var(--stone);
}
.faq-item,
.vat-table {
  border-color: var(--line);
}
@media (max-width: 1180px) {
  .site-nav {
    position: fixed;
    inset: auto 0 auto;
    top: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav a {
    color: var(--stone);
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--ink);
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .header-actions {
    margin-left: auto;
  }
}
@media (max-width: 767px) {
  .site-header {
    height: 64px;
  }
  body {
    padding-bottom: 4.5rem;
  }
  .site-header .container {
    min-height: 0;
  }
  .site-nav { top: 4rem; }
  .brand-name {
    font-size: 1.2rem;
  }
  .brand-tag {
    display: none;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .header-actions .theme-toggle,
  .header-actions .btn {
    display: none;
  }
  .page-head .container {
    padding-block: 3.5rem;
  }
  .page-head .display {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .price-cards {
    grid-template-columns: 1fr;
  }
  .cta-band .container {
    align-items: flex-start;
  }
  .cta-band .btn-group {
    width: 100%;
  }
  .cta-band .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Pictogramme jour/nuit sans cercle extérieur */
.theme-toggle {
  overflow: visible;
  border: 0;
  border-radius: 0;
}
.theme-toggle::before {
  content: "";
  width: 25px;
  height: 25px;
  background: currentColor;
  -webkit-mask: url("../img/icon-moon.svg") center / contain no-repeat;
  mask: url("../img/icon-moon.svg") center / contain no-repeat;
  transition: transform 180ms ease, color 180ms ease;
}
html[data-theme="dark"] .theme-toggle::before {
  content: "";
  -webkit-mask-image: url("../img/icon-sun.svg");
  mask-image: url("../img/icon-sun.svg");
}
.theme-toggle:hover::before { transform: rotate(-8deg) scale(1.08); }
.theme-toggle::before { display: none; }
.theme-icon {
  display: block;
  width: 25px;
  height: 25px;
  transition: transform 180ms ease, filter 180ms ease;
}
html[data-theme="dark"] .theme-icon { filter: invert(80%) sepia(67%) saturate(865%) hue-rotate(348deg) brightness(101%); }
.theme-toggle:hover .theme-icon { transform: rotate(-8deg) scale(1.08); }
