/* =========================================================
   Sud Reno - Façade | Design system
   Charte Sud Reno adaptée façade : pierre / terracotta / ocre.
   CSP-safe : CSS auto-hébergé, polices Google Fonts uniquement.
   ========================================================= */

:root {
  --bg: #f4f1ea;           /* sable chaud */
  --surface: #ffffff;
  --surface-alt: #ece4d6;
  --ink: #1c2738;          /* encre bleu nuit */
  --ink-soft: #46505c;
  --line: #e2dccf;
  --brand: #2a4767;        /* indigo profond (bleu Méditerranée premium) */
  --brand-dark: #1d3550;   /* indigo foncé */
  --accent: #c08a3e;       /* ocre / laiton (pop chaud) */
  --accent-soft: #e7c489;
  --ok: #3f7d4e;           /* validation, vert minéral */
  --stone-900: #16233a;    /* navy profond (sections sombres) */
  --stone-800: #1f3454;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(54, 33, 19, 0.12);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 4%, rgba(192, 138, 62, 0.13), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(42, 71, 103, 0.10), transparent 34%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.988);
  transition:
    opacity 0.62s var(--ease-smooth),
    transform 0.62s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.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;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--brand-dark);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fdf3e9;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.85rem calc(0.5rem + env(safe-area-inset-top));
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 248, 0.96);
  border-bottom: 1px solid rgba(74, 48, 28, 0.1);
  backdrop-filter: blur(8px);
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(42, 71, 103, 0.14);
  overflow: hidden;
  pointer-events: none;
}

.header-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  gap: 0.6rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-word {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

.brand-word b {
  color: var(--brand);
}

.brand-sub {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn):focus-visible {
  color: var(--brand);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-dark) !important;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  width: 46px;
  height: 42px;
  padding: 0;
  position: relative;
  z-index: 41;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-ghost {
  background: #fff;
  color: var(--brand-dark);
  border-color: #e3b78f;
}

.btn-call {
  background: linear-gradient(135deg, #cf9a4c, #bd8534);
  border-color: #a9762c;
  color: #241704;
}

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

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

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

/* Dimensionnement des icônes SVG inline (viewBox sans width/height) */
.btn svg,
.nav-call svg,
.subhero-cta svg,
.card-cta svg,
.devis-final svg,
.hero-cta svg {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
}

.hero-badge svg {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Typography ---------- */
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.8rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.14;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
}

.lead {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 62ch;
}

.muted {
  color: var(--ink-soft);
}

.note {
  font-size: 0.86rem;
  color: #7a6f62;
}

mark.tbc,
.tbc {
  background: rgba(217, 154, 78, 0.22);
  color: #8a5a17;
  padding: 0 0.25em;
  border-radius: 4px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2rem, 3.4vw, 3.6rem) 0 clamp(1.8rem, 3vw, 3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.4rem, 2.8vw, 2.5rem);
  align-items: stretch;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 60ch;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.hero-points li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.04rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background-color: rgba(42, 71, 103, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a4767' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.82rem;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.cta-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.cta-reassure span {
  position: relative;
  padding-left: 1.45rem;
}

.cta-reassure span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.1rem;
  height: 1.1rem;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a4767' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.hero-media {
  margin: 0;
  min-height: 100%;
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid #e0cbb1;
  box-shadow: var(--shadow);
}

.hero-media > img,
.hero-media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(22, 35, 58, 0.85);
  color: #fdf3e9;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 0 0 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.trust-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.trust-grid h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.trust-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(2.2rem, 4vw, 4.2rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(239, 231, 219, 0.85));
  border-top: 1px solid rgba(124, 92, 58, 0.16);
  border-bottom: 1px solid rgba(124, 92, 58, 0.16);
}

.section-head {
  max-width: 76ch;
  margin-bottom: 1.5rem;
}

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

.section-head h2 {
  margin-bottom: 0.7rem;
}

.section-note {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Service / solution cards ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  display: block;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.solution-card:hover,
.solution-card:focus-visible {
  transform: translateY(-4px);
  border-color: #e0b78d;
  box-shadow: 0 20px 38px rgba(74, 45, 22, 0.18);
}

.solution-card .thumb {
  width: 100%;
  height: clamp(180px, 21vw, 270px);
  object-fit: cover;
}

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

.solution-card p {
  color: var(--ink-soft);
}

.solution-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.card-cta::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.solution-card:hover .card-cta::after,
.solution-card:focus-visible .card-cta::after {
  transform: translateX(3px);
}

.solution-card:hover .thumb img,
.solution-card:focus-visible .thumb img {
  transform: scale(1.04);
}

/* services list (icon cards) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.15rem 1.3rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 26px rgba(74, 45, 22, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.svc-card:hover,
.svc-card:focus-visible {
  transform: translateY(-3px);
  border-color: #e0b78d;
  box-shadow: 0 18px 34px rgba(74, 45, 22, 0.16);
}

.svc-ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(192, 138, 62, 0.20), rgba(42, 71, 103, 0.14));
  color: var(--brand-dark);
}

.svc-ic svg {
  width: 26px;
  height: 26px;
}

.svc-card h3 {
  font-size: 1.12rem;
}

.svc-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.svc-card .card-cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---------- Process steps ---------- */
.process-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  counter-reset: steps;
}

.process-grid li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1rem 1rem;
  transition: transform 0.24s var(--ease-smooth), box-shadow 0.24s var(--ease-smooth);
}

.process-grid li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: -14px;
  left: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  font-family: "Sora", sans-serif;
}

.process-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.process-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.process-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(74, 45, 22, 0.14);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.split figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e0cbb1;
  box-shadow: var(--shadow);
}

.split figure img,
.split figure svg {
  width: 100%;
  height: clamp(240px, 32vw, 420px);
  object-fit: cover;
}

.checklist {
  list-style: none;
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.checklist li {
  margin: 0;
  padding: 0.56rem 0.75rem 0.56rem 2.1rem;
  position: relative;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ok);
  font-weight: 800;
}

.checklist.on-dark li {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f4ece2;
}

.checklist.on-dark li::before {
  color: var(--accent-soft);
}

/* ---------- Stats / counters ---------- */
.stats-band {
  background:
    radial-gradient(circle at 12% 16%, rgba(192, 138, 62, 0.16), transparent 42%),
    linear-gradient(120deg, var(--stone-900), var(--stone-800));
  color: #eaf0f6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat .num {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--accent);
  line-height: 1;
}

.stat .label {
  margin-top: 0.4rem;
  color: #c4cedb;
  font-size: 0.95rem;
}

.stats-foot {
  margin: 1.2rem 0 0;
  text-align: center;
  color: #b8aa99;
  font-size: 0.84rem;
}

/* ---------- Avis marquee ---------- */
.avis-section {
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.avis-card {
  width: min(340px, 78vw);
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 12px 26px rgba(74, 45, 22, 0.08);
}

.avis-stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

.avis-card p {
  margin: 0.5rem 0 0.8rem;
  color: var(--ink-soft);
}

.avis-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.avis-author {
  font-weight: 700;
}

.avis-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a5a17;
  background: rgba(217, 154, 78, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

/* ---------- Zones ---------- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
}

.zone-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.zone-chip:hover,
.zone-chip:focus-visible {
  border-color: #e0b78d;
  transform: translateY(-2px);
}

.zone-chip svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: 0 0 auto;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-weight: 700;
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

details[open] {
  border-color: #e0b78d;
  box-shadow: 0 10px 24px rgba(74, 45, 22, 0.08);
}

details[open] p {
  animation: faqFade 0.3s var(--ease-smooth);
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- CTA section + lead form ---------- */
.section-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(192, 138, 62, 0.24), transparent 42%),
    radial-gradient(circle at 84% 20%, rgba(42, 71, 103, 0.42), transparent 38%),
    linear-gradient(180deg, #1f3450 0%, #182a44 60%, #13233a 100%);
  color: #eef2f7;
}

.section-cta .kicker {
  color: var(--accent-soft);
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.2rem, 2.8vw, 2.6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-copy {
  max-width: 56ch;
}

.section-cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.section-cta .cta-copy > p {
  color: #d9e2ee;
  font-size: 1.05rem;
}

.lead-form {
  background: linear-gradient(180deg, #fffaf4 0%, #fbf1e5 100%);
  border: 1px solid rgba(224, 183, 141, 0.9);
  border-radius: 22px;
  padding: clamp(1.05rem, 2.1vw, 1.45rem);
  color: var(--ink);
  box-shadow:
    0 22px 46px rgba(28, 14, 6, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.lead-form h3 {
  margin-bottom: 0.2rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.72rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4a2f1c;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border: 1px solid #d8c2a8;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0.68rem 0.72rem;
  min-height: 46px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(74, 45, 22, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(42, 71, 103, 0.20);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.btn-submit {
  margin-top: 0.3rem;
  min-height: 50px;
  width: 100%;
  font-size: 1rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.success { color: var(--ok); }
.form-status.error { color: #b42318; }

.micro {
  margin-top: 0.7rem;
  color: #7a6f62;
  font-size: 0.82rem;
}

.lead-form .micro a {
  color: var(--brand-dark);
  font-weight: 700;
}

.honest-note {
  margin: 0.7rem 0 0;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px dashed rgba(192, 138, 62, 0.5);
  background: rgba(217, 154, 78, 0.12);
  color: #6f4a23;
  font-size: 0.88rem;
}

/* ---------- Page sub-hero + breadcrumb ---------- */
.subhero {
  padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(0.6rem, 1.4vw, 1rem);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 600;
}

.breadcrumb span[aria-current] {
  color: var(--ink-soft);
}

.subhero h1 {
  max-width: 22ch;
}

.subhero .lead {
  margin-top: 0.4rem;
}

.subhero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

/* prose blocks */
.prose {
  max-width: 70ch;
}

.prose p {
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.prose h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.4rem;
}

.prose ul {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

/* feature list two-col */
.feature-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}

.feature-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Gallery (réalisations) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  box-shadow: 0 12px 26px rgba(74, 45, 22, 0.08);
}

.gallery-item img,
.gallery-item svg {
  width: 100%;
  height: clamp(180px, 22vw, 240px);
  object-fit: cover;
}

.gallery-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.gallery-tag {
  background: rgba(22, 35, 58, 0.85);
  color: #fdf3e9;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.gallery-soon {
  background: rgba(42, 71, 103, 0.92);
}

/* ---------- Tarifs table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

table.tarifs {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

table.tarifs caption {
  text-align: left;
  padding: 0.9rem 1rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

table.tarifs th,
table.tarifs td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.tarifs thead th {
  background: var(--surface-alt);
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}

table.tarifs tbody tr:last-child td {
  border-bottom: none;
}

table.tarifs td.price {
  font-weight: 800;
  color: var(--brand-dark);
  white-space: nowrap;
}

/* ---------- Contact / map card ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.info-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.info-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.info-list svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
  flex: 0 0 auto;
  margin-top: 2px;
}

.info-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.info-list a:hover {
  color: var(--brand);
}

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-illus {
  height: 230px;
  background:
    repeating-linear-gradient(0deg, rgba(124, 92, 58, 0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(124, 92, 58, 0.08) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #efe7db, #e3d6c3);
  position: relative;
  display: grid;
  place-items: center;
}

.map-pin {
  width: 54px;
  height: 54px;
  color: var(--brand);
  filter: drop-shadow(0 8px 14px rgba(74, 45, 22, 0.3));
}

.map-card .map-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(192, 138, 62, 0.18), transparent 42%),
    radial-gradient(circle at 90% 86%, rgba(42, 71, 103, 0.24), transparent 46%),
    linear-gradient(118deg, var(--stone-900) 0%, #21385a 55%, var(--stone-900) 100%);
  color: #e6ecf3;
  border-top: 1px solid rgba(192, 138, 62, 0.22);
  padding: 0 0 calc(1rem + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 2rem);
  align-items: start;
  padding: 2.4rem 0 1.6rem;
}

.footer-brand .brand-word {
  color: #fff;
  font-size: 1.4rem;
}

.footer-brand .brand-sub {
  color: #c9b89f;
}

.footer-brand-copy {
  margin: 0.8rem 0 1rem;
  color: #d6c8b5;
  max-width: 38ch;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-tags li {
  border: 1px solid rgba(217, 154, 78, 0.4);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background: rgba(217, 154, 78, 0.12);
  color: #f1e4d3;
  font-size: 0.86rem;
}

.site-footer h2 {
  font-size: 0.92rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.site-footer a {
  color: #efe4d6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links li {
  color: #ddcfbc;
  line-height: 1.35;
}

.footer-links .muted {
  color: #b6a690;
}

.footer-bottom {
  border-top: 1px solid rgba(217, 154, 78, 0.22);
  margin-top: 0.5rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #c9b99f;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  font-weight: 700;
  color: #f3e7d6;
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 28;
  display: none;
  gap: 0.5rem;
}

.sticky-cta .btn {
  flex: 1;
  box-shadow: 0 14px 28px rgba(28, 14, 6, 0.3);
}

.sticky-cta.is-hidden,
body.menu-open .sticky-cta,
body.modal-open .sticky-cta {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* =========================================================
   Wizard "Devis gratuit" modal
   ========================================================= */
.devis-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.devis-modal[hidden] {
  display: none;
}

.devis-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 14, 6, 0.55);
  backdrop-filter: blur(3px);
  animation: ov 0.25s ease;
}

@keyframes ov {
  from { opacity: 0; }
  to { opacity: 1; }
}

.devis-sheet {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  background: #fffaf4;
  border: 1px solid #e7d3bb;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(28, 14, 6, 0.4);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  animation: sheetIn 0.3s var(--ease-smooth);
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.devis-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.devis-head .kicker {
  margin-bottom: 0.3rem;
}

.devis-close {
  border: 1px solid var(--line);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  flex: 0 0 auto;
}

.devis-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.devis-progress {
  display: flex;
  gap: 0.4rem;
  margin: 0.9rem 0 1.1rem;
}

.devis-progress span {
  height: 5px;
  flex: 1;
  border-radius: 999px;
  background: var(--line);
}

.devis-progress span.on {
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.devis-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.devis-step .muted {
  margin-top: 0;
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
}

.opt-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.opt-btn:hover,
.opt-btn:focus-visible {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.opt-btn.is-selected {
  border-color: var(--brand);
  background: rgba(217, 154, 78, 0.12);
}

.opt-btn svg {
  width: 24px;
  height: 24px;
  color: var(--brand-dark);
  flex: 0 0 auto;
}

.devis-form label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #4a2f1c;
}

.devis-form input,
.devis-form textarea {
  border: 1px solid #d8c2a8;
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.72rem;
  min-height: 46px;
  font: inherit;
}

.devis-form input:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(42, 71, 103, 0.20);
}

.devis-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.devis-actions .btn {
  flex: 1;
}

.devis-final {
  text-align: center;
  padding: 0.5rem 0 0.2rem;
}

.devis-final .final-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(63, 125, 78, 0.14);
  color: var(--ok);
}

.devis-final .final-ic svg {
  width: 34px;
  height: 34px;
}

.devis-final .call-big {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-dark);
  text-decoration: none;
  display: inline-block;
  margin: 0.4rem 0 0.2rem;
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

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

  .site-nav {
    position: fixed;
    inset: 0;
    min-height: 100dvh;
    padding: calc(5.6rem + env(safe-area-inset-top)) 8vw calc(2rem + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    background: rgba(255, 252, 248, 0.99);
    z-index: 39;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    overflow-y: auto;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .site-nav a { font-size: 1.3rem; }
  .nav-call { font-size: 1.15rem; }

  .site-nav.is-open,
  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .btn {
    margin-top: 0.4rem;
    width: min(330px, 88vw);
    font-size: 1rem;
  }

  .sticky-cta { display: flex; }

  .hero-grid,
  .solution-grid,
  .svc-grid,
  .split,
  .faq-grid,
  .cta-grid,
  .contact-grid,
  .feature-cols {
    grid-template-columns: 1fr;
  }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .opt-grid { grid-template-columns: 1fr; }

  /* Bottom-sheet on mobile */
  .devis-modal { padding: 0; align-items: flex-end; }
  .devis-sheet {
    width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
    animation: sheetUp 0.3s var(--ease-smooth);
  }

  @keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: none; }
  }
}

@media (max-width: 560px) {
  .trust-grid,
  .stats-grid,
  .process-grid,
  .gallery-grid,
  .feature-cols,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn,
  .subhero-cta .btn {
    width: 100%;
  }
}

/* Liens dans le texte = indigo (affordance + contraste) */
.prose a,
.lead a,
.section-note a,
.faq-grid details p a {
  color: var(--brand-dark);
  font-weight: 600;
}

/* =========================================================
   Simulateur d'aides (lead-magnet interactif)
   ========================================================= */
.sim { max-width: 720px; margin-inline: auto; }

.sim-bar {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}

.sim-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  transition: width 0.3s var(--ease-smooth);
}

.sim-step[hidden] { display: none; }

.sim-step h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: 0.3rem;
}

.sim-step .muted { margin-top: 0; }

.sim .opt-grid { margin-top: 1.1rem; }

.sim-form label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.sim-form input {
  border: 1px solid #d8c2a8;
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.72rem;
  min-height: 46px;
  font: inherit;
}

.sim-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(42, 71, 103, 0.18);
}

.sim-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.sim-result-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.sim-aid {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.sim-aid .ic {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.sim-aid.ok .ic { background: rgba(63, 125, 78, 0.15); color: var(--ok); }
.sim-aid.no .ic { background: rgba(70, 80, 92, 0.12); color: var(--ink-soft); }
.sim-aid.no { opacity: 0.78; }

.sim-aid h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.sim-aid p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---- Simulateur : check animé + montant ---- */
.sim-success { width: 66px; height: 66px; margin: 0 auto 0.7rem; }
.sim-success svg { width: 100%; height: 100%; display: block; }
.sim-success circle {
  fill: none; stroke: var(--ok); stroke-width: 3;
  stroke-dasharray: 157; stroke-dashoffset: 157;
}
.sim-success path {
  fill: none; stroke: var(--ok); stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
}
.sim-success.play circle { animation: simCircle 0.5s var(--ease-smooth) forwards; }
.sim-success.play path { animation: simCheck 0.35s 0.45s var(--ease-smooth) forwards; }
@keyframes simCircle { to { stroke-dashoffset: 0; } }
@keyframes simCheck { to { stroke-dashoffset: 0; } }

.sim-amount {
  text-align: center;
  margin: 0.2rem 0 1.2rem;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 71, 103, 0.07), transparent 70%),
    var(--surface);
}
.sim-amount .lbl {
  display: block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--brand-dark);
}
.sim-amount .val {
  display: block; font-family: "Sora", "Segoe UI", sans-serif; font-weight: 800;
  font-size: clamp(1.45rem, 4vw, 2.1rem); color: var(--brand); margin-top: 0.25rem;
  line-height: 1.1;
}
.sim-amount .sub { display: block; color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  .sim-success circle, .sim-success path { stroke-dashoffset: 0 !important; }
}
