/* ==========================================================================
   Pompe Chaleur Laval - feuille de style propre au site
   Famille de design : Direct (phone-first, aplats francs, coins carres,
   bordures epaisses, Space Grotesk). Duo : charbon #191d1b + vert vif #12bd74.
   Convention de nommage : prefixe th- (thermie), propre a ce site.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-variable.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --charbon: #191d1b;
  --charbon-2: #0e1110;
  --vif: #12bd74;
  --vif-2: #17d886;
  --vif-sombre: #0a8c55;
  --pale: #eef4f1;
  --pale-2: #e2ece7;
  --encre: #1c2220;
  --gris: #5c6864;
  --gris-clair: #93a09b;
  --blanc: #ffffff;
  --etoile: #f5b731;
  --cadre: 3px solid var(--charbon);
  --cadre-fin: 2px solid var(--charbon);
  --coup: 6px 6px 0 var(--charbon);
  --coup-vif: 6px 6px 0 var(--vif);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 400 16.5px/1.62 "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--vif-sombre); }
[id] { scroll-margin-top: 88px; }
main { display: flex; flex-direction: column; }

.th-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.th-ico { width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -0.16em; }
.th-strate { padding: 76px 0; }
.th-strate--pale { background: var(--pale); }
.th-strate--charbon { background: var(--charbon); color: #fff; }

/* ---------- Titres de section ---------- */
.th-kick {
  display: inline-block;
  background: var(--vif);
  color: var(--charbon);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 13px;
  border: var(--cadre-fin);
  margin-bottom: 1rem;
}
.th-head { max-width: 800px; margin-bottom: 2.5rem; }
.th-head h2 {
  font-size: clamp(1.72rem, 3.5vw, 2.55rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--charbon);
}
.th-head h2 mark { background: var(--vif); color: var(--charbon); padding: 0 0.13em; }
.th-head .th-sub { margin-top: 0.85rem; color: var(--gris); font-size: 1.02rem; max-width: 660px; }
.th-strate--charbon .th-head h2 { color: #fff; }
.th-strate--charbon .th-head .th-sub { color: #a3b1ac; }

/* ---------- Pages centrees (accueil, villes, prestations) ---------- */
.th-mid .th-head { margin-left: auto; margin-right: auto; text-align: center; }
.th-mid .th-head .th-sub { margin-left: auto; margin-right: auto; }
.th-mid .th-solo { text-align: center; }
.th-mid .th-score { justify-content: center; }
.th-mid .th-cities { justify-content: center; }

/* ---------- Boutons ---------- */
.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 27px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: var(--cadre);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s, background 0.12s;
}
.th-btn--vif { background: var(--vif); color: var(--charbon); box-shadow: var(--coup); }
.th-btn--vif:hover { background: var(--vif-2); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--charbon); }
.th-btn--charbon { background: var(--charbon); color: #fff; box-shadow: var(--coup-vif); }
.th-btn--charbon:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--vif); }
.th-btn--ligne { background: #fff; color: var(--charbon); box-shadow: var(--coup); }
.th-btn--ligne:hover { background: var(--pale); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--charbon); }
.th-solo { margin-top: 2.4rem; }

/* ---------- Header ---------- */
.th-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: var(--cadre);
}
.th-bar-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 11px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.th-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.05; }
.th-logo img { width: 38px; height: 38px; }
.th-logo strong {
  display: block;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--charbon);
}
.th-logo strong i { font-style: normal; background: var(--vif); padding: 0 0.1em; }
.th-logo small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris);
  margin-top: 2px;
}
.th-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.th-nav > a, .th-drop > button {
  color: var(--charbon);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 12px;
}
.th-nav > a:hover, .th-drop > button:hover { background: var(--vif); }
.th-drop { position: relative; }
.th-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 292px;
  background: #fff;
  border: var(--cadre);
  box-shadow: var(--coup);
  padding: 6px 0;
  z-index: 30;
}
.th-drop:hover .th-drop-menu, .th-drop:focus-within .th-drop-menu { display: block; }
.th-drop-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--charbon);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.th-drop-menu a:hover { background: var(--pale); }
.th-bar-tel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--vif);
  color: var(--charbon);
  border: var(--cadre);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 7px 16px;
  white-space: nowrap;
  transition: transform 0.1s, box-shadow 0.1s;
}
.th-bar-tel:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--charbon); }
.th-bar-tel small { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; display: block; line-height: 1.2; text-transform: uppercase; }
.th-burger {
  display: none;
  margin-left: auto;
  background: var(--charbon);
  color: #fff;
  border: var(--cadre);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 13px;
  cursor: pointer;
}

/* ---------- Hero accueil (phone-first) ---------- */
.th-blast { background: var(--charbon); color: #fff; padding: 62px 0 124px; }
.th-blast-row { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.th-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--vif);
  color: var(--vif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 7px 13px;
  margin-bottom: 1.3rem;
}
.th-live .th-dot { width: 9px; height: 9px; background: var(--vif); animation: th-pulse 1.7s ease-in-out infinite; }
@keyframes th-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.22; } }
.th-blast h1 {
  font-size: clamp(2.05rem, 5.1vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 900px;
}
.th-blast h1 mark { background: var(--vif); color: var(--charbon); padding: 0 0.11em; }
.th-pledge { margin-top: 1.1rem; font-size: 1.1rem; color: #b3c0bb; max-width: 620px; }
.th-pledge strong { color: #fff; font-weight: 700; }
.th-score-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 1.25rem; font-size: 0.92rem; color: #b3c0bb; }
.th-stars { color: var(--etoile); letter-spacing: 2px; }
.th-score-line strong { color: #fff; }
.th-flag {
  background: rgba(18, 189, 116, 0.14);
  border: 1px solid rgba(18, 189, 116, 0.5);
  color: var(--vif);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}
.th-call { margin-top: 2rem; display: flex; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.th-megatel {
  display: inline-block;
  background: var(--vif);
  color: var(--charbon);
  text-decoration: none;
  border: var(--cadre);
  box-shadow: 8px 8px 0 rgba(18, 189, 116, 0.26);
  padding: 17px 32px 19px;
  transition: transform 0.1s, box-shadow 0.1s;
}
.th-megatel:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 rgba(18, 189, 116, 0.26); }
.th-megatel small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.th-megatel b {
  display: block;
  font-size: clamp(1.85rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.th-else { color: #93a09b; font-size: 0.92rem; padding-bottom: 12px; }
.th-else a { color: #fff; font-weight: 700; }
.th-else a:hover { color: var(--vif); }

/* ---------- Bande de preuves chiffrees (decalee : asymetrie 1) ---------- */
.th-proof {
  position: relative;
  z-index: 5;
  width: min(900px, calc(100% - 44px));
  margin: -74px 5vw 0 auto;
  background: #fff;
  border: var(--cadre);
  box-shadow: var(--coup);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.th-proof-item { padding: 24px 26px 20px; }
.th-proof-item + .th-proof-item { border-left: var(--cadre); }
.th-proof-item b {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--charbon);
}
.th-proof-item b i { font-style: normal; color: var(--vif-sombre); }
.th-proof-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gris);
}

/* ---------- Photo bandeau ---------- */
.th-shot { position: relative; margin-top: -56px; border-bottom: var(--cadre); }
.th-shot img { width: 100%; height: clamp(260px, 40vw, 430px); object-fit: cover; }
.th-shot figcaption {
  position: absolute;
  left: 0;
  bottom: 26px;
  background: var(--charbon);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 22px 12px 24px;
  border-top: 3px solid var(--vif);
  border-right: 3px solid var(--vif);
  border-bottom: 3px solid var(--vif);
}
.th-shot figcaption i { font-style: normal; color: var(--vif); }

/* ---------- Formulaire horizontal (bande vive) ---------- */
.th-quick { background: var(--vif); border-bottom: var(--cadre); padding: 44px 0 46px; }
.th-quick h2 {
  font-size: clamp(1.32rem, 2.6vw, 1.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--charbon);
}
.th-quick .th-note { color: #0b5c3a; font-size: 0.95rem; margin: 4px 0 22px; }
.th-quick-form {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr 1.05fr 1.2fr 1.25fr auto;
  gap: 12px;
  align-items: end;
}
.th-fld label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--charbon);
  margin-bottom: 5px;
}
.th-fld input, .th-fld select, .th-fld textarea {
  width: 100%;
  padding: 12px;
  border: var(--cadre);
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--encre);
}
.th-fld textarea { min-height: 104px; resize: vertical; }
.th-fld input:focus, .th-fld select:focus, .th-fld textarea:focus { outline: 3px solid var(--charbon); outline-offset: 1px; }
.th-quick-form textarea { min-height: 46px; height: 46px; }
.th-quick-form .th-btn { padding: 14px 20px; }
.th-quick .th-rgpd { margin-top: 13px; font-size: 0.78rem; color: #0b5c3a; }
.th-trap { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- Prestations : bandes pleine largeur ---------- */
.th-svc { padding: 64px 0; border-bottom: var(--cadre); }
.th-svc--pale { background: var(--pale); }
.th-svc--charbon { background: var(--charbon); color: #fff; }
.th-svc-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
  text-align: left;
}
.th-svc-row.th-flip { grid-template-columns: 1.08fr 0.92fr; }
.th-svc-vis { position: relative; }
.th-svc-vis img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border: var(--cadre);
  box-shadow: var(--coup);
}
.th-svc--charbon .th-svc-vis img { box-shadow: var(--coup-vif); border-color: var(--vif); }
/* La photo deborde de sa colonne (asymetrie 2) */
.th-svc-row .th-svc-vis { margin-left: calc(-1 * clamp(0px, 3.6vw, 52px)); }
.th-svc-row.th-flip .th-svc-vis { margin-left: 0; margin-right: calc(-1 * clamp(0px, 3.6vw, 52px)); }
.th-bub {
  position: absolute;
  left: -10px;
  bottom: 18px;
  background: var(--vif);
  color: var(--charbon);
  border: var(--cadre);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.th-num {
  position: absolute;
  top: -22px;
  right: -12px;
  background: var(--charbon);
  color: var(--vif);
  border: 3px solid var(--vif);
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 13px;
}
.th-svc-body h3 {
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--charbon);
}
.th-svc--charbon .th-svc-body h3 { color: #fff; }
.th-svc-body h3 a { color: inherit; text-decoration: none; border-bottom: 4px solid var(--vif); }
.th-svc-body h3 a:hover { background: var(--vif); color: var(--charbon); }
.th-svc-body > p { color: var(--gris); max-width: 540px; margin-top: 14px; }
.th-svc--charbon .th-svc-body > p { color: #a3b1ac; }
.th-check { list-style: none; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 9px; }
.th-check li { font-weight: 500; font-size: 0.95rem; padding-left: 27px; position: relative; }
.th-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  background: var(--vif);
  border: 2px solid var(--charbon);
}
.th-svc--charbon .th-check li::before { border-color: var(--vif); background: transparent; }
.th-link {
  display: inline-block;
  color: var(--charbon);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 3px solid var(--vif);
  padding-bottom: 2px;
}
.th-link:hover { background: var(--vif); }
.th-svc--charbon .th-link { color: #fff; }
.th-svc--charbon .th-link:hover { color: var(--charbon); }

/* ---------- Grille de prestations (maillage pages prestations) ---------- */
.th-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.th-card { background: #fff; border: var(--cadre); box-shadow: var(--coup); display: flex; flex-direction: column; }
.th-card-vis { position: relative; }
.th-card-vis img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; border-bottom: var(--cadre); }
.th-card-vis .th-bub { left: 12px; bottom: 12px; font-size: 0.8rem; padding: 6px 11px; }
.th-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.th-card-body h3 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-bottom: 9px; }
.th-card-body h3 a { color: var(--charbon); text-decoration: none; border-bottom: 3px solid var(--vif); }
.th-card-body h3 a:hover { background: var(--vif); }
.th-card-body p { font-size: 0.92rem; color: var(--gris); }
.th-card-body .th-check { margin: 14px 0 0; }
.th-card-body .th-check li { font-size: 0.86rem; }

/* ---------- Pourquoi nous choisir ---------- */
.th-why { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; text-align: left; }
.th-quality { display: flex; gap: 16px; padding: 20px 0; border-bottom: 2px solid var(--pale-2); }
.th-quality:last-child { border-bottom: 0; }
.th-quality .th-badge {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--vif);
  border: var(--cadre-fin);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charbon);
}
.th-quality h3 { font-size: 1.02rem; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; color: var(--charbon); }
.th-quality p { font-size: 0.93rem; color: var(--gris); }
.th-why-box {
  background: var(--charbon);
  border: var(--cadre);
  box-shadow: var(--coup-vif);
  color: #fff;
  padding: 30px 28px;
}
.th-why-box .th-fig { display: block; font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--vif); letter-spacing: -0.03em; }
.th-why-box .th-lab { display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #a3b1ac; margin: 5px 0 20px; }
.th-why-box .th-sep { border: 0; border-top: 2px solid #2c3431; margin: 0 0 20px; }
.th-why-box .th-btn { width: 100%; margin-top: 6px; }

/* ---------- Avis ---------- */
.th-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.th-voice { background: #fff; border: var(--cadre); padding: 24px 22px; display: flex; flex-direction: column; gap: 11px; }
.th-strate--pale .th-voice { background: #fff; }
.th-voice .th-when {
  align-self: flex-start;
  background: var(--charbon);
  color: var(--vif);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
}
.th-voice .th-stars { font-size: 1.02rem; }
.th-voice p { font-size: 0.95rem; line-height: 1.55; flex: 1; }
.th-voice footer { font-size: 0.82rem; color: var(--gris); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.th-voice footer b { color: var(--charbon); }
.th-voices:not(.th-open) .th-hidden { display: none; }
.th-score { display: flex; align-items: center; gap: 14px; margin-bottom: 2rem; flex-wrap: wrap; }
.th-score .th-mark {
  background: var(--vif);
  border: var(--cadre);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 8px 15px;
  color: var(--charbon);
}
.th-score span { font-size: 0.88rem; color: var(--gris); font-weight: 500; }

/* ---------- Prix : grandes etiquettes ---------- */
.th-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; text-align: left; }
.th-tag { background: #fff; border: var(--cadre); box-shadow: var(--coup); padding: 26px 22px 24px; position: relative; }
/* Etiquettes en quinconce (asymetrie 3) */
.th-tag:nth-child(2) { transform: translateY(28px); }
.th-tag:nth-child(6) { transform: translateY(14px); }
.th-tag--star { background: var(--charbon); color: #fff; box-shadow: var(--coup-vif); border-color: var(--vif); }
.th-tag .th-flash {
  position: absolute;
  top: -14px;
  left: 18px;
  background: var(--vif);
  color: var(--charbon);
  border: var(--cadre-fin);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 4px 10px;
}
.th-tag h3 { font-size: 0.93rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charbon); min-height: 2.5em; }
.th-tag--star h3 { color: var(--vif); }
.th-tag .th-amount {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--charbon);
  margin: 10px 0 4px;
}
.th-tag--star .th-amount { color: #fff; }
.th-tag .th-amount sup { font-size: 0.42em; font-weight: 700; }
.th-tag .th-scope { font-size: 0.82rem; color: var(--gris); }
.th-tag--star .th-scope { color: #a3b1ac; }
.th-tag .th-more { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--pale-2); font-size: 0.85rem; color: var(--gris); }
.th-tag--star .th-more { border-top-color: #2c3431; color: #a3b1ac; }
.th-fine { margin-top: 52px; font-size: 0.85rem; color: var(--gris); max-width: 760px; }
.th-mid .th-fine { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Simulateur ---------- */
.th-sim { display: grid; grid-template-columns: 1fr 0.85fr; gap: 38px; align-items: stretch; text-align: left; }
.th-sim-in { background: #fff; border: 3px solid var(--vif); padding: 26px 24px; color: var(--encre); }
.th-sim-in label {
  display: block;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--charbon);
  margin: 16px 0 5px;
}
.th-sim-in label:first-child { margin-top: 0; }
.th-sim-in select, .th-sim-in input {
  width: 100%;
  padding: 12px;
  border: var(--cadre);
  background: #fff;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--encre);
}
.th-sim-in select:focus, .th-sim-in input:focus { outline: 3px solid var(--vif); outline-offset: 1px; }
.th-sim-out {
  background: var(--vif);
  color: var(--charbon);
  border: var(--cadre);
  box-shadow: 8px 8px 0 rgba(18, 189, 116, 0.25);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}
.th-sim-out .th-ctx { font-size: 0.79rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.th-sim-out .th-res { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.th-sim-out .th-res small { display: block; font-size: 0.42em; font-weight: 700; letter-spacing: 0; margin-top: 8px; }
.th-sim-out .th-warn { font-size: 0.79rem; color: #0b5c3a; }
.th-sim-out .th-btn { align-self: flex-start; margin-top: 5px; }

/* ---------- Aides financieres ---------- */
.th-aids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.th-aid { background: #fff; border: var(--cadre); padding: 22px 20px; }
.th-aid .th-type {
  display: inline-block;
  background: var(--pale);
  border: 2px solid var(--charbon);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  color: var(--charbon);
  margin-bottom: 12px;
}
.th-aid h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); margin-bottom: 7px; }
.th-aid p { font-size: 0.89rem; color: var(--gris); }
.th-aid p strong { color: var(--charbon); }

/* ---------- Process ---------- */
.th-steps { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--cadre); background: #fff; box-shadow: var(--coup); text-align: left; }
.th-step { padding: 30px 26px 28px; position: relative; }
.th-step + .th-step { border-left: var(--cadre); }
.th-step .th-rank {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--vif);
  text-shadow: 3px 3px 0 var(--charbon);
}
.th-step h3 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; margin: 13px 0 8px; color: var(--charbon); }
.th-step p { font-size: 0.92rem; color: var(--gris); }
.th-step .th-arrow {
  position: absolute;
  right: -17px;
  top: 38px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: var(--charbon);
  color: var(--vif);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- Realisations ---------- */
.th-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.th-work { border: var(--cadre); background: #fff; }
.th-work img { width: 100%; aspect-ratio: 1200 / 655; object-fit: cover; border-bottom: var(--cadre); }
.th-work .th-bot { padding: 16px 18px 18px; }
.th-work .th-place {
  display: inline-block;
  background: var(--vif);
  border: var(--cadre-fin);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  color: var(--charbon);
}
.th-work h3 { font-size: 0.98rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); margin: 10px 0 5px; line-height: 1.25; }
.th-work p { font-size: 0.86rem; color: var(--gris); }

/* ---------- Etude de cas ---------- */
.th-case { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--cadre); box-shadow: var(--coup); background: #fff; text-align: left; }
.th-case img { width: 100%; height: 100%; min-height: 320px; aspect-ratio: 16 / 9; object-fit: cover; border-right: var(--cadre); }
.th-case-body { padding: 30px 28px; }
.th-case-body .th-place {
  display: inline-block;
  background: var(--vif);
  border: var(--cadre-fin);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  color: var(--charbon);
  margin-bottom: 12px;
}
.th-case-body h3 { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); line-height: 1.15; margin-bottom: 14px; }
.th-case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.th-case-meta span {
  background: var(--pale);
  border: 2px solid var(--charbon);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
}
.th-case-body p { font-size: 0.94rem; color: var(--gris); margin-bottom: 10px; }
.th-case-body p strong { color: var(--charbon); }

/* ---------- Zone d'intervention ---------- */
.th-zone { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; text-align: left; }
.th-zone-txt > p { color: var(--gris); margin-bottom: 1.1rem; max-width: 620px; }
.th-zone-txt > p strong { color: var(--charbon); }
.th-cities { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 1.2rem; }
.th-cities a {
  background: #fff;
  border: var(--cadre-fin);
  color: var(--charbon);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 700;
  padding: 8px 14px;
  transition: background 0.12s;
}
.th-cities a:hover { background: var(--vif); }
.th-map iframe { width: 100%; height: 430px; border: var(--cadre); display: block; }

/* ---------- Equipe ---------- */
.th-crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.th-mate { background: #fff; border: var(--cadre); box-shadow: var(--coup); padding: 26px 22px; text-align: center; }
.th-mate img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--vif); }
.th-mate h3 { font-size: 1.08rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); }
.th-mate .th-role {
  display: inline-block;
  background: var(--charbon);
  color: var(--vif);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 4px 9px;
  margin: 8px 0 11px;
}
.th-mate p { font-size: 0.88rem; color: var(--gris); }

/* ---------- FAQ ---------- */
.th-faq { max-width: 860px; text-align: left; }
.th-mid .th-faq { margin-left: auto; margin-right: auto; }
.th-faq details { border: var(--cadre); background: #fff; margin-bottom: 12px; }
.th-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  color: var(--charbon);
  padding: 16px 58px 16px 18px;
  position: relative;
}
.th-faq summary::-webkit-details-marker { display: none; }
.th-faq summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--vif);
  border: var(--cadre-fin);
  color: var(--charbon);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.th-faq details[open] summary::after { content: "x"; }
.th-faq details p { padding: 0 18px 18px; color: var(--gris); font-size: 0.94rem; }

/* ---------- Bande CTA ---------- */
.th-band { background: var(--vif); border-top: var(--cadre); border-bottom: var(--cadre); padding: 58px 22px; text-align: center; }
.th-band h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--charbon);
  max-width: 800px;
  margin: 0 auto 0.7rem;
}
.th-band > p { color: #0b5c3a; max-width: 580px; margin: 0 auto 1.7rem; }
.th-band .th-megatel { background: var(--charbon); color: #fff; box-shadow: 8px 8px 0 rgba(25, 29, 27, 0.22); }
.th-band .th-megatel small { color: var(--vif); }
.th-band .th-or { margin-top: 18px; font-size: 0.9rem; color: #0b5c3a; }
.th-band .th-or a { color: var(--charbon); font-weight: 700; }

/* ---------- Contact ---------- */
.th-quote { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 46px; align-items: start; text-align: left; }
.th-chan { border-left: 4px solid var(--vif); padding: 4px 0 4px 17px; margin-bottom: 22px; }
.th-chan strong { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--vif); margin-bottom: 3px; }
.th-chan a { color: #fff; font-weight: 700; font-size: 1.22rem; text-decoration: none; }
.th-chan a:hover { color: var(--vif); }
.th-chan .th-strong { display: block; color: #fff; font-weight: 700; font-size: 1.02rem; }
.th-chan span { display: block; font-size: 0.86rem; color: #a3b1ac; }
.th-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.th-2col .th-fld--wide { grid-column: 1 / -1; }
.th-form-dark .th-fld label { color: var(--vif); }
.th-form-dark .th-fld input, .th-form-dark .th-fld select, .th-form-dark .th-fld textarea { border-color: var(--vif); }
.th-form-dark .th-fld input:focus, .th-form-dark .th-fld select:focus, .th-form-dark .th-fld textarea:focus { outline-color: var(--vif); }
.th-form-dark .th-btn { margin-top: 16px; box-shadow: 6px 6px 0 rgba(18, 189, 116, 0.3); }
.th-form-dark .th-rgpd { margin-top: 12px; font-size: 0.78rem; color: #a3b1ac; }

/* ---------- Bloc SEO (affiche en bas, premier dans le code) ---------- */
.th-seo { order: 99; padding: 70px 0; background: var(--pale); border-top: var(--cadre); }
.th-seo-in { max-width: 900px; margin: 0 auto; text-align: left; }
.th-seo h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.05rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--charbon);
  margin-bottom: 1.1rem;
}
.th-seo h3 { font-size: 1.08rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); margin: 1.7rem 0 0.6rem; }
.th-seo p { color: var(--gris); margin-bottom: 0.9rem; }
.th-seo p strong { color: var(--charbon); }

/* ---------- Articles ---------- */
.th-art-head { background: var(--charbon); color: #fff; padding: 56px 0 50px; }
.th-art-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 900px;
}
.th-art-head h1 mark { background: var(--vif); color: var(--charbon); padding: 0 0.1em; }
.th-art-meta { margin-top: 1.1rem; font-size: 0.85rem; color: #a3b1ac; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.th-art-meta b { color: var(--vif); }
.th-crumb { padding: 14px 0; font-size: 0.8rem; color: var(--gris); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; border-bottom: 2px solid var(--pale-2); }
.th-crumb a { color: var(--charbon); text-decoration: none; }
.th-crumb a:hover { color: var(--vif-sombre); }
.th-art-vis { border-bottom: var(--cadre); }
.th-art-vis img { width: 100%; aspect-ratio: 1200 / 655; max-height: 420px; object-fit: cover; }
.th-art-body { max-width: 820px; margin: 0 auto; padding: 54px 22px 20px; }
.th-art-body h2 {
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--charbon);
  margin: 2.4rem 0 1rem;
  line-height: 1.12;
}
.th-art-body h3 { font-size: 1.12rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); margin: 1.7rem 0 0.7rem; }
.th-art-body p { margin-bottom: 1rem; }
.th-art-body p strong { color: var(--charbon); font-weight: 700; }
.th-art-body ul, .th-art-body ol { margin: 0 0 1.2rem 1.2rem; }
.th-art-body li { margin-bottom: 0.5rem; }
.th-art-body .th-lede { font-size: 1.1rem; color: var(--encre); border-left: 5px solid var(--vif); padding-left: 18px; }
.th-toc { background: var(--pale); border: var(--cadre-fin); padding: 20px 22px; margin-bottom: 2rem; }
.th-toc strong { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 10px; }
.th-toc ol { margin: 0 0 0 1.1rem; }
.th-toc li { margin-bottom: 5px; font-size: 0.93rem; }
.th-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.92rem; }
.th-table th, .th-table td { border: 2px solid var(--charbon); padding: 11px 13px; text-align: left; }
.th-table th { background: var(--charbon); color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.th-table tr:nth-child(even) td { background: var(--pale); }
.th-table td strong { color: var(--charbon); }
.th-inline-cta {
  background: var(--charbon);
  border: var(--cadre);
  box-shadow: var(--coup-vif);
  color: #fff;
  padding: 26px 26px 28px;
  margin: 2.2rem 0;
  text-align: center;
}
.th-inline-cta p { color: #b3c0bb; margin-bottom: 1.1rem; }
.th-inline-cta p strong { color: #fff; }
.th-author { display: flex; gap: 18px; align-items: flex-start; border: var(--cadre); background: var(--pale); padding: 22px 22px; margin: 2.4rem 0 1rem; }
.th-author img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 3px solid var(--vif); flex-shrink: 0; }
.th-author h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); margin: 0 0 3px; }
.th-author .th-role { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--vif-sombre); display: block; margin-bottom: 8px; }
.th-author p { font-size: 0.89rem; color: var(--gris); margin: 0; }
.th-artisan { border: var(--cadre); background: #fff; box-shadow: var(--coup); padding: 24px 22px; margin: 1.4rem 0 2rem; }
.th-artisan .th-mark2 { display: inline-block; background: var(--vif); border: var(--cadre-fin); font-size: 0.8rem; font-weight: 700; padding: 5px 11px; margin-bottom: 12px; }
.th-artisan dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 0.9rem; margin-bottom: 14px; }
.th-artisan dt { font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gris); padding-top: 2px; }
.th-artisan dd { color: var(--encre); }
.th-artisan blockquote { border-left: 4px solid var(--vif); padding-left: 14px; font-size: 0.9rem; color: var(--gris); margin: 10px 0; font-style: italic; }
.th-artisan .th-edge { background: var(--pale); border: var(--cadre-fin); padding: 12px 14px; font-size: 0.9rem; margin-top: 14px; }
.th-artisan .th-edge strong { color: var(--charbon); }

/* ---------- Cartes conseils ---------- */
.th-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.th-post { border: var(--cadre); background: #fff; box-shadow: var(--coup); display: flex; flex-direction: column; }
.th-post img { width: 100%; aspect-ratio: 1200 / 655; object-fit: cover; border-bottom: var(--cadre); }
.th-post .th-bot { padding: 20px 20px 22px; }
.th-post h2 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; line-height: 1.25; margin-bottom: 9px; }
.th-post h2 a { color: var(--charbon); text-decoration: none; border-bottom: 3px solid var(--vif); }
.th-post h2 a:hover { background: var(--vif); }
.th-post p { font-size: 0.9rem; color: var(--gris); }

/* ---------- Pages simples (legal, plan, merci, 404) ---------- */
.th-page { max-width: 880px; margin: 0 auto; padding: 60px 22px 70px; }
.th-page h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--charbon);
  margin-bottom: 1.6rem;
}
.th-page h2 { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; color: var(--charbon); margin: 2rem 0 0.7rem; }
.th-page p, .th-page li { color: var(--gris); margin-bottom: 0.8rem; }
.th-page ul { margin-left: 1.2rem; }
.th-page a { color: var(--vif-sombre); font-weight: 700; }
.th-plan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.th-plan h2 { margin-top: 0; }
.th-plan ul { list-style: none; margin: 0; }
.th-plan li { margin-bottom: 8px; }
.th-hero-lite { background: var(--pale); border-bottom: var(--cadre); padding: 60px 0 56px; text-align: center; }
.th-hero-lite h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--charbon);
  max-width: 900px;
  margin: 0 auto;
}
.th-hero-lite h1 mark { background: var(--vif); color: var(--charbon); padding: 0 0.11em; }
.th-hero-lite .th-intro { margin: 1.1rem auto 0; max-width: 640px; color: var(--gris); font-size: 1.05rem; }
.th-hero-lite .th-acts { margin-top: 1.8rem; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.th-hero-lite .th-tel-line { font-weight: 700; color: var(--charbon); text-decoration: none; font-size: 1.15rem; border-bottom: 3px solid var(--vif); }
.th-hero-lite .th-chips { margin-top: 1.6rem; display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.th-hero-lite .th-chips span {
  background: #fff;
  border: var(--cadre-fin);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 11px;
}
/* Hero des pages prestations : sombre, 2 colonnes, sans formulaire */
.th-hero-svc { background: var(--charbon); color: #fff; padding: 58px 0 60px; }
.th-hero-svc-row { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
.th-hero-svc h1 {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.th-hero-svc h1 mark { background: var(--vif); color: var(--charbon); padding: 0 0.1em; }
.th-hero-svc .th-intro { margin-top: 1.1rem; color: #b3c0bb; max-width: 560px; }
.th-hero-svc .th-acts { margin-top: 1.7rem; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.th-hero-svc .th-tel-line { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.15rem; border-bottom: 3px solid var(--vif); }
.th-hero-svc .th-chips { margin-top: 1.5rem; display: flex; gap: 9px; flex-wrap: wrap; }
.th-hero-svc .th-chips span {
  border: 2px solid #3a4441;
  color: #b3c0bb;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 11px;
}
.th-hero-svc-vis { border: 3px solid var(--vif); padding: 12px; background: rgba(18, 189, 116, 0.08); }
.th-hero-svc-vis img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }

/* ---------- Footer ---------- */
.th-foot { background: var(--charbon-2); color: #8d9a95; padding: 52px 0 22px; font-size: 0.9rem; }
.th-foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.th-foot h4 { color: #fff; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 14px; }
.th-foot ul { list-style: none; }
.th-foot li { margin-bottom: 8px; }
.th-foot a { color: #8d9a95; text-decoration: none; }
.th-foot a:hover { color: var(--vif); }
.th-foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.th-foot-brand img { width: 36px; height: 36px; }
.th-foot-brand strong { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; color: #fff; }
.th-foot-brand strong i { font-style: normal; background: var(--vif); color: var(--charbon); padding: 0 0.1em; }
.th-foot-bot { border-top: 1px solid #262e2b; padding-top: 18px; font-size: 0.78rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- Callbar mobile ---------- */
.th-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--charbon);
  border-top: 3px solid var(--vif);
  padding: 10px 12px;
  gap: 10px;
}
.th-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 10px;
}
.th-dock .th-dock-tel { flex: 1.6; background: var(--vif); color: var(--charbon); border: var(--cadre-fin); font-size: 1.02rem; }
.th-dock .th-dock-dev { flex: 1; background: transparent; color: #fff; border: 2px solid #fff; font-size: 0.84rem; }

/* ---------- Popup exit-intent ---------- */
.th-veil {
  position: fixed;
  inset: 0;
  background: rgba(14, 17, 16, 0.8);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.th-veil[hidden] { display: none; }
.th-pop {
  background: #fff;
  border: var(--cadre);
  box-shadow: 10px 10px 0 var(--vif);
  max-width: 440px;
  width: 100%;
  padding: 34px 30px 28px;
  position: relative;
  text-align: center;
}
.th-pop-x {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: var(--charbon);
  color: #fff;
  border: 2px solid var(--vif);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.th-pop .th-kick { margin-bottom: 13px; }
.th-pop h3 { font-size: 1.32rem; font-weight: 700; text-transform: uppercase; line-height: 1.12; color: var(--charbon); margin-bottom: 8px; }
.th-pop > p { font-size: 0.92rem; color: var(--gris); margin-bottom: 16px; }
.th-pop form { display: flex; flex-direction: column; gap: 11px; text-align: left; }
.th-pop .th-btn { width: 100%; }
.th-pop .th-tel-fall { display: block; margin-top: 14px; color: var(--charbon); font-weight: 700; font-size: 1.2rem; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .th-quick-form { grid-template-columns: repeat(3, 1fr); }
  .th-quick-form .th-btn { grid-column: 1 / -1; }
  .th-tags { grid-template-columns: repeat(2, 1fr); }
  .th-tag:nth-child(2), .th-tag:nth-child(6) { transform: none; }
  .th-aids { grid-template-columns: repeat(2, 1fr); }
  .th-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .th-burger { display: block; }
  .th-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: var(--cadre);
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 10px;
    margin-left: 0;
  }
  .th-nav.th-open-nav { display: flex; }
  .th-nav > a, .th-drop > button { padding: 13px 22px; width: 100%; text-align: left; }
  .th-drop-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; }
  .th-bar-tel { display: none; }
  .th-svc-row, .th-svc-row.th-flip { grid-template-columns: 1fr; gap: 32px; }
  .th-svc-row .th-svc-vis, .th-svc-row.th-flip .th-svc-vis { margin: 0; }
  .th-svc-row.th-flip .th-svc-vis { order: -1; }
  .th-num { right: 10px; }
  .th-sim, .th-why, .th-zone, .th-quote, .th-hero-svc-row { grid-template-columns: 1fr; }
  .th-voices, .th-works, .th-crew, .th-posts, .th-cards { grid-template-columns: 1fr; }
  .th-case { grid-template-columns: 1fr; }
  .th-case img { border-right: 0; border-bottom: var(--cadre); min-height: 0; }
  .th-steps { grid-template-columns: 1fr; }
  .th-step + .th-step { border-left: 0; border-top: var(--cadre); }
  .th-step .th-arrow { display: none; }
  .th-foot-grid { grid-template-columns: 1fr; }
  .th-plan { grid-template-columns: 1fr; }
  .th-dock { display: flex; }
  body { padding-bottom: 74px; }
}
@media (max-width: 640px) {
  .th-strate { padding: 54px 0; }
  .th-blast { padding: 44px 0 108px; }
  .th-call { flex-direction: column; align-items: stretch; gap: 14px; }
  .th-megatel { text-align: center; padding: 15px 14px 17px; }
  .th-megatel b { font-size: clamp(1.6rem, 9vw, 2.3rem); }
  .th-else { padding-bottom: 0; }
  .th-proof { grid-template-columns: 1fr; width: calc(100% - 36px); margin: -70px 18px 0 auto; }
  .th-proof-item + .th-proof-item { border-left: 0; border-top: var(--cadre); }
  .th-quick-form, .th-2col, .th-tags, .th-aids { grid-template-columns: 1fr; }
  .th-logo strong { font-size: 0.98rem; }
  .th-logo small { font-size: 0.54rem; letter-spacing: 0.14em; }
  .th-shot figcaption { font-size: 0.72rem; padding: 9px 14px 9px 18px; bottom: 16px; }
  .th-art-body { padding-top: 40px; }
  .th-artisan dl { grid-template-columns: 1fr; gap: 2px 0; }
  .th-artisan dt { margin-top: 8px; }
}
