/* =============================================================================
   Thème Toiture signature
   Typographies Sora et Plus Jakarta Sans, angles vifs, sections alternées claires
   et sombres. La couleur principale vient de la fiche de l artisan (--tt-bleu).
   ============================================================================= */

:root {
  --tt-bleu: #2C6BE6;
  --tt-bleu-f: #1D50C4;
  --tt-bleu-c: #4E86F5;
  --tt-ciel: #E7EEFC;
  --tt-bleu-rgb: 44, 107, 230;
  --tt-encre: #0E1116;
  --tt-charbon: #151A22;
  --tt-charbon2: #1C2430;
  --tt-acier: #5B6576;
  --tt-brume: #EEF2F8;
  --tt-trait: #DCE3EE;
  --tt-wrap: 1200px;
  --tt-r: 3px;
  --tt-ombre: 0 18px 40px -20px rgba(10, 14, 20, .55);
  --tt-ombre-s: 0 8px 20px -12px rgba(10, 14, 20, .45);
  --tt-e: cubic-bezier(.22, 1, .36, 1);
  --tt-titre: "Sora", system-ui, sans-serif;
  --tt-texte: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--tt-texte); color: var(--tt-encre); background: #fff; font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--tt-titre); line-height: 1.04; margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
svg { flex: none; }
:focus-visible { outline: 3px solid rgba(var(--tt-bleu-rgb), .55); outline-offset: 2px; }

.tt-wrap { max-width: var(--tt-wrap); margin: 0 auto; padding: 0 22px; }
.tt-sec { padding: clamp(54px, 7.2vw, 96px) 0; position: relative; }
.tt-blanc { background: #fff; }
.tt-brume { background: var(--tt-brume); }

.tt-skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--tt-encre); color: #fff; padding: 10px 16px; border-radius: var(--tt-r); text-decoration: none; }
.tt-skip:focus { left: 12px; }

/* ---- Étiquette inclinée et titre en deux couleurs ---- */
.tt-dm { width: 9px; height: 9px; background: var(--tt-bleu); transform: rotate(45deg); flex: none; display: inline-block; }
.tt-lab-wrap { display: flex; }
.tt-head--c { text-align: center; max-width: 800px; margin: 0 auto; }
.tt-head--c .tt-lab-wrap { justify-content: center; }
.tt-head--c .tt-lead { margin-left: auto; margin-right: auto; }
.tt-lab { display: inline-flex; align-items: center; gap: .6em; background: var(--tt-encre); color: #fff; font-family: var(--tt-titre); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; line-height: 1; padding: 11px 20px; transform: rotate(-3deg); box-shadow: 0 14px 24px -14px rgba(10, 14, 20, .6); }
.tt-sombre .tt-lab { background: #fff; color: var(--tt-encre); }
.tt-h2 { font-family: var(--tt-titre); font-weight: 800; text-transform: uppercase; font-size: clamp(27px, 4.4vw, 46px); line-height: 1.02; color: var(--tt-encre); letter-spacing: -.02em; margin: 20px 0 0; }
.tt-h2 span { color: var(--tt-bleu); }
.tt-sombre .tt-h2 { color: #fff; }
.tt-sombre .tt-h2 span { color: var(--tt-bleu-c); }
.tt-contact .tt-h2 span { color: #fff; }
.tt-lead { color: var(--tt-acier); font-size: clamp(16px, 1.9vw, 18.5px); margin-top: 15px; max-width: 64ch; line-height: 1.62; }
.tt-sombre .tt-lead { color: #C4CFE2; }

/* ---- Boutons ---- */
.tt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--tt-titre); font-weight: 800; font-size: 15.5px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 0; border-radius: var(--tt-r); padding: 16px 26px; transition: transform .16s var(--tt-e), box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.tt-btn svg { width: 20px; height: 20px; stroke-width: 2.4; }
.tt-btn--tel { background: var(--tt-bleu); color: #fff; box-shadow: 0 12px 26px -12px rgba(var(--tt-bleu-rgb), .95); }
.tt-btn--tel:hover { transform: translateY(-2px); background: var(--tt-bleu-f); }
.tt-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.tt-btn--ghost:hover { background: #fff; color: var(--tt-encre); transform: translateY(-2px); }
.tt-btn--sombre { background: var(--tt-encre); color: #fff; }
.tt-btn--sombre:hover { background: #000; transform: translateY(-2px); }

/* ---- En-tête ---- */
.tt-hd { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 3px solid var(--tt-bleu); }
.tt-hd__in { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 14px; }
.tt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.tt-brand__logo { display: flex; align-items: center; flex: none; }
.tt-brand__logo svg, .tt-brand__logo img { height: 44px; width: auto; max-width: 170px; object-fit: contain; }
.tt-brand__nom { font-family: var(--tt-titre); font-weight: 800; font-size: 20px; color: var(--tt-encre); letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05; }
.tt-brand__nom .brand__mot { white-space: nowrap; }
.tt-brand__nom .brand__mot:last-child { color: var(--tt-bleu); }
.tt-hd__droite { display: flex; align-items: center; gap: 12px; flex: none; }
.tt-hd-accueil { display: inline-flex; align-items: center; gap: 7px; font-family: var(--tt-titre); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--tt-encre); text-decoration: none; padding: 9px 12px; border: 2px solid var(--tt-trait); border-radius: var(--tt-r); transition: .2s; }
.tt-hd-accueil svg { width: 16px; height: 16px; }
.tt-hd-accueil:hover { border-color: var(--tt-bleu); color: var(--tt-bleu); }
.tt-hd-tel { display: inline-flex; align-items: center; gap: 10px; background: var(--tt-encre); color: #fff; text-decoration: none; font-family: var(--tt-titre); font-weight: 800; font-size: 15.5px; padding: 11px 18px; border-radius: var(--tt-r); letter-spacing: .01em; }
.tt-hd-tel svg { width: 17px; height: 17px; stroke-width: 2.4; color: var(--tt-bleu-c); }
.tt-lbl { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; font-weight: 700; }
.tt-num { white-space: nowrap; }

.tt-crumb { background: var(--tt-brume); border-bottom: 1px solid var(--tt-trait); }
.tt-crumb .tt-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 9px; padding-bottom: 9px; font-size: 12.5px; color: var(--tt-acier); font-weight: 700; }
.tt-crumb a { color: var(--tt-bleu); text-decoration: none; font-weight: 800; }
.tt-crumb svg { width: 13px; height: 13px; color: #9AA7BC; }

/* ---- Bannière sombre, photos en fondu, bande diagonale ---- */
.tt-hero { position: relative; background: var(--tt-encre); color: #fff; overflow: hidden; }
.tt-hero::before { content: ""; position: absolute; top: -10%; right: -8%; width: 62%; height: 150%; background: linear-gradient(135deg, var(--tt-bleu) 0%, var(--tt-bleu-f) 100%); transform: skewX(-12deg); transform-origin: top right; opacity: .16; z-index: 1; pointer-events: none; }
.tt-hero__fonds { position: absolute; inset: 0; z-index: 0; }
.tt-hero__vue { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; background-size: cover; background-position: center; }
.tt-hero__vue.is-on { opacity: .5; }
.tt-hero__img { width: 100%; height: 100%; object-fit: cover; }
.tt-hero__fonds::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 22, .97) 20%, rgba(14, 17, 22, .66) 60%, rgba(14, 17, 22, .45)); }
.tt-hero__grille { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(42px, 5vw, 66px); }
.tt-kick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--tt-titre); font-weight: 800; font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); padding: 9px 15px; border-radius: var(--tt-r); margin-bottom: 18px; }
.tt-kick .tt-dm { width: 8px; height: 8px; }
.tt-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: -.025em; }
.tt-hero h1 b { color: var(--tt-bleu-c); display: block; }
.tt-dep { display: block; color: var(--tt-bleu-c); font-size: clamp(19px, 2.6vw, 28px); margin-top: 10px; letter-spacing: 0; }
.tt-acc { color: #C4CFE2; font-size: clamp(15.5px, 1.8vw, 18px); margin-top: 18px; max-width: 52ch; line-height: 1.6; }
.tt-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 26px; max-width: 560px; }
.tt-badge { display: flex; align-items: center; gap: 12px; background: var(--tt-charbon2); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--tt-r); padding: 12px 14px; transition: transform .28s var(--tt-e); }
.tt-badge__ic { width: 38px; height: 38px; flex: none; border-radius: 2px; display: flex; align-items: center; justify-content: center; background: var(--tt-bleu); color: #fff; }
.tt-badge__ic svg { width: 20px; height: 20px; stroke-width: 2.2; }
.tt-badge > span:last-child { font-size: 13.5px; font-weight: 800; color: #fff; line-height: 1.2; }
.tt-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.tt-hero__form { position: relative; }

/* ---- Bandeau défilant ---- */
.tt-strip { background: var(--tt-bleu); color: #fff; overflow: hidden; border-bottom: 3px solid var(--tt-encre); }
.tt-strip__row { display: flex; width: max-content; padding: 13px 0; white-space: nowrap; animation: tt-marq 30s linear infinite; font-family: var(--tt-titre); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.tt-strip__row > span { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; }
.tt-strip__row i { width: 7px; height: 7px; background: #fff; transform: rotate(45deg); display: inline-block; opacity: .8; }
@keyframes tt-marq { to { transform: translateX(-50%); } }

/* ---- Confiance et puces ---- */
.tt-trust { background: #fff; border-bottom: 1px solid var(--tt-trait); }
.tt-trust__grille { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.tt-tcell { padding: 32px 24px; text-align: center; border-left: 1px solid var(--tt-trait); }
.tt-tcell:first-child { border-left: 0; }
.tt-tcell__ic { width: 54px; height: 54px; margin: 0 auto 13px; border-radius: 2px; background: var(--tt-ciel); color: var(--tt-bleu); display: flex; align-items: center; justify-content: center; }
.tt-tcell__ic svg { width: 28px; height: 28px; stroke-width: 2; }
.tt-tcell h3 { font-size: 15px; text-transform: uppercase; color: var(--tt-encre); letter-spacing: 0; }
.tt-tcell p { color: var(--tt-acier); font-size: 13.5px; margin-top: 7px; line-height: 1.45; }
.tt-accred { background: var(--tt-brume); border-bottom: 1px solid var(--tt-trait); }
.tt-accred .tt-wrap { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.tt-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--tt-trait); border-radius: var(--tt-r); padding: 10px 18px; font-family: var(--tt-titre); font-weight: 800; font-size: 13.5px; color: var(--tt-encre); transition: transform .28s var(--tt-e), box-shadow .28s var(--tt-e), border-color .22s; }
.tt-chip svg { width: 20px; height: 20px; color: var(--tt-bleu); stroke-width: 2.2; }

/* ---- Cartes de prestations ---- */
.tt-services { background: #fff; }
.tt-sv-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.tt-card { position: relative; background: #fff; border: 2px solid var(--tt-trait); border-radius: var(--tt-r); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s var(--tt-e), box-shadow .25s, border-color .25s; }
.tt-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #c9d6ee; display: block; }
.tt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--tt-e); }
.tt-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 17, 22, .55)); }
.tt-card__tab { position: absolute; top: 0; left: 0; z-index: 3; background: var(--tt-bleu); color: #fff; padding: 8px 18px 8px 15px; font-family: var(--tt-titre); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.tt-card__ic { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 50px; height: 50px; background: var(--tt-bleu); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 2px; }
.tt-card__ic svg { width: 27px; height: 27px; stroke-width: 2; }
.tt-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tt-card__h { font-family: var(--tt-titre); font-size: 18.5px; font-weight: 800; text-transform: uppercase; color: var(--tt-encre); letter-spacing: -.01em; line-height: 1.08; }
.tt-card__desc { color: var(--tt-acier); font-size: 14.5px; margin-top: 8px; flex: 1; }
.tt-card__liste { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.tt-card__liste span { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 700; color: var(--tt-encre); }
.tt-card__liste svg { width: 16px; height: 16px; color: var(--tt-bleu); margin-top: 2px; stroke-width: 2.6; }
.tt-card__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--tt-titre); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--tt-bleu); }
.tt-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--tt-e); }
.tt-card:hover, .tt-card.sv { transform: translateY(-5px); box-shadow: var(--tt-ombre); border-color: var(--tt-bleu); }
.tt-card:hover .tt-card__media img, .tt-card.sv .tt-card__media img { transform: scale(1.06); }
.tt-card:hover .tt-card__more svg, .tt-card.sv .tt-card__more svg { transform: translateX(4px); }

/* ---- Bandeau d urgence ---- */
.tt-urg { background: var(--tt-charbon); color: #fff; overflow: hidden; }
.tt-urg__ph { position: absolute; inset: 0; z-index: 0; }
.tt-urg__ph img { width: 100%; height: 100%; object-fit: cover; }
.tt-urg__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(var(--tt-bleu-rgb), .94), rgba(14, 17, 22, .92)); }
.tt-urg__grille { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.tt-urg h2 { text-transform: uppercase; font-size: clamp(26px, 4vw, 42px); line-height: 1.02; color: #fff; }
.tt-urg h2 span { color: var(--tt-bleu-c); }
.tt-urg p { color: #D4DEF2; margin-top: 14px; font-size: 17px; max-width: 52ch; }
.tt-urg__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tt-bigcall { display: flex; align-items: center; gap: 16px; background: #fff; color: var(--tt-encre); text-decoration: none; padding: 20px 26px; border-radius: var(--tt-r); box-shadow: var(--tt-ombre); transition: transform .2s var(--tt-e); }
.tt-bigcall:hover { transform: translateY(-3px); }
.tt-bigcall__ico { width: 52px; height: 52px; flex: none; border-radius: 2px; background: var(--tt-bleu); color: #fff; display: flex; align-items: center; justify-content: center; }
.tt-bigcall__ico svg { width: 27px; height: 27px; stroke-width: 2.4; }
.tt-bigcall__t { font-family: var(--tt-titre); }
.tt-bigcall__t small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--tt-acier); }
.tt-bigcall__t b { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--tt-encre); letter-spacing: -.01em; white-space: nowrap; }
.tt-urg__note { font-size: 13px; color: #C0CBE0; font-weight: 700; }

/* ---- Présentation ---- */
.tt-about { background: var(--tt-brume); }
.tt-about__grille { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tt-about__media { position: relative; }
.tt-about__m1 { border: 3px solid var(--tt-encre); border-radius: var(--tt-r); overflow: hidden; aspect-ratio: 4 / 5; background: #c9d6ee; }
.tt-about__m2 { position: absolute; right: -14px; bottom: -20px; width: 44%; aspect-ratio: 1; border: 5px solid var(--tt-brume); outline: 2px solid var(--tt-encre); border-radius: var(--tt-r); overflow: hidden; background: #c9d6ee; }
.tt-about__m1 img, .tt-about__m2 img { width: 100%; height: 100%; object-fit: cover; }
.tt-stat { position: absolute; left: -14px; top: 22px; background: var(--tt-bleu); color: #fff; border-radius: var(--tt-r); padding: 16px 20px; text-align: center; box-shadow: var(--tt-ombre); transform: rotate(-3deg); }
.tt-stat__num { font-family: var(--tt-titre); font-weight: 800; font-size: 36px; line-height: 1; }
.tt-stat__lab { font-size: 11.5px; font-weight: 800; margin-top: 4px; max-width: 130px; text-transform: uppercase; letter-spacing: .03em; }
.tt-mats { margin-top: 24px; background: var(--tt-encre); color: #fff; border-radius: var(--tt-r); padding: 24px; border-left: 5px solid var(--tt-bleu); }
.tt-mats__t { display: flex; align-items: center; gap: 11px; font-family: var(--tt-titre); font-weight: 800; font-size: 17px; text-transform: uppercase; }
.tt-mats__t svg { width: 24px; height: 24px; color: var(--tt-bleu-c); }
.tt-mats p { color: #C4CFE2; font-size: 15px; margin-top: 10px; }
.tt-mats ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.tt-mats li { display: flex; gap: 8px; font-size: 14px; font-weight: 700; align-items: flex-start; }
.tt-mats li svg { width: 18px; height: 18px; color: var(--tt-bleu-c); stroke-width: 3; margin-top: 2px; }

/* ---- Réalisations en défilement continu ---- */
.tt-gal { background: #fff; }
.tt-gal__hint-wrap { text-align: center; }
.tt-gal__hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-family: var(--tt-titre); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--tt-bleu); }
.tt-gal__hint svg { width: 16px; height: 16px; }
.tt-marquee { margin-top: 40px; position: relative; overflow: hidden; }
.tt-mrow { display: flex; gap: 14px; width: max-content; animation: tt-scrollx 48s linear infinite; }
.tt-mrow--rev { animation-direction: reverse; margin-top: 14px; animation-duration: 54s; }
.tt-marquee:hover .tt-mrow { animation-play-state: paused; }
.tt-cell { width: clamp(230px, 26vw, 320px); aspect-ratio: 4 / 3; border-radius: var(--tt-r); overflow: hidden; cursor: zoom-in; position: relative; border: 2px solid var(--tt-trait); background: var(--tt-charbon); flex: none; padding: 0; }
.tt-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--tt-e); }
.tt-cell:hover img { transform: scale(1.07); }
@keyframes tt-scrollx { to { transform: translateX(-50%); } }
.tt-callcta { margin-top: 30px; position: relative; overflow: hidden; border-radius: var(--tt-r); border: 2px solid var(--tt-encre); text-decoration: none; color: #fff; display: block; }
.tt-callcta__bg { position: absolute; inset: 0; z-index: 0; transition: transform .6s var(--tt-e); }
.tt-callcta__bg img { width: 100%; height: 100%; object-fit: cover; }
.tt-callcta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(var(--tt-bleu-rgb), .95), rgba(14, 17, 22, .86)); }
.tt-callcta__in { position: relative; z-index: 2; padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.tt-callcta__txt { display: block; }
.tt-callcta__h { display: block; font-family: var(--tt-titre); font-size: clamp(20px, 3vw, 27px); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.tt-callcta__sub { display: block; color: #D4DEF2; font-size: 14.5px; margin-top: 8px; max-width: 46ch; }
.tt-callcta__droite { display: flex; flex-direction: column; align-items: flex-end; }
.tt-callcta__tel { display: flex; align-items: center; gap: 13px; font-family: var(--tt-titre); font-weight: 800; font-size: clamp(22px, 3vw, 30px); white-space: nowrap; }
.tt-callcta__ar { width: 46px; height: 46px; border-radius: 2px; background: #fff; color: var(--tt-bleu); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--tt-e); }
.tt-callcta__ar svg { width: 26px; height: 26px; }
.tt-callcta__devis { font-size: 12.5px; color: #C3D3F0; font-weight: 700; margin-top: 5px; text-transform: uppercase; letter-spacing: .04em; }
.tt-callcta:hover .tt-callcta__ar { transform: translateX(5px); }
.tt-callcta:hover .tt-callcta__bg { transform: scale(1.05); }

/* ---- Photo agrandie ---- */
.tt-lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 10, 18, .95); display: flex; align-items: center; justify-content: center; }
.tt-lb[hidden] { display: none; }
.tt-lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border: 3px solid #fff; }
.tt-lb__x, .tt-lb__nav { position: absolute; background: var(--tt-bleu); border: 0; color: #fff; cursor: pointer; border-radius: 2px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.tt-lb__x { top: 20px; right: 20px; width: 46px; height: 46px; }
.tt-lb__x svg { width: 22px; height: 22px; }
.tt-lb__nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.tt-lb__nav svg { width: 26px; height: 26px; }
.tt-lb__prev { left: 18px; }
.tt-lb__next { right: 18px; }
.tt-lb__x:hover, .tt-lb__nav:hover { background: var(--tt-bleu-f); }
.tt-lb__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #cbd5e6; font-size: 14px; font-weight: 700; }

/* ---- Zone d intervention ---- */
.tt-zone { background: var(--tt-encre); overflow: hidden; }
.tt-zone__ph { position: absolute; inset: 0; z-index: 0; opacity: .32; }
.tt-zone__ph img { width: 100%; height: 100%; object-fit: cover; }
.tt-zone__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 22, .96) 26%, rgba(14, 17, 22, .62) 70%, rgba(14, 17, 22, .45)); }
.tt-zone::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: repeating-linear-gradient(135deg, var(--tt-bleu) 0 2px, transparent 2px 18px); opacity: .06; z-index: 1; }
.tt-zone__grille { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: center; }
.tt-villes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tt-villes span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; padding: 9px 15px; color: #fff; font-weight: 800; font-size: 13.5px; font-family: var(--tt-titre); }
.tt-villes svg { width: 15px; height: 15px; color: var(--tt-bleu-c); }
.tt-depts { display: flex; flex-direction: column; gap: 12px; }
.tt-dept { background: rgba(255, 255, 255, .06); border-left: 5px solid var(--tt-bleu); border-radius: 0 var(--tt-r) var(--tt-r) 0; padding: 18px 22px; display: flex; align-items: center; gap: 16px; transition: transform .3s var(--tt-e), box-shadow .3s var(--tt-e); }
.tt-dept__n { font-family: var(--tt-titre); font-weight: 800; font-size: 30px; color: #fff; flex: none; min-width: 56px; }
.tt-dept__d { color: #fff; font-weight: 800; font-size: 16.5px; text-transform: uppercase; font-family: var(--tt-titre); }
.tt-dept__d small { display: block; color: #B4C1DA; font-weight: 500; font-size: 13px; margin-top: 2px; text-transform: none; font-family: var(--tt-texte); }

/* ---- Questions ---- */
.tt-faq { background: #fff; }
.tt-faq__liste { max-width: 860px; margin: 44px auto 0; }
.tt-qa { border: 2px solid var(--tt-trait); border-radius: var(--tt-r); margin-bottom: 10px; overflow: hidden; background: #fff; transition: border-color .2s; }
.tt-qa[open] { border-color: var(--tt-bleu); }
.tt-qa summary { list-style: none; cursor: pointer; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--tt-titre); font-weight: 800; font-size: 16px; color: var(--tt-encre); }
.tt-qa summary::-webkit-details-marker { display: none; }
.tt-qa__plus { width: 28px; height: 28px; flex: none; border-radius: 2px; background: var(--tt-ciel); color: var(--tt-bleu); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--tt-e), background .3s; }
.tt-qa__plus svg { width: 16px; height: 16px; }
.tt-qa[open] .tt-qa__plus { transform: rotate(45deg); background: var(--tt-bleu); color: #fff; }
.tt-qa__r { padding: 0 22px 22px; color: var(--tt-acier); font-size: 15.5px; line-height: 1.62; }

/* ---- Appel final ---- */
.tt-contact { background: var(--tt-bleu); overflow: hidden; }
.tt-contact::before { content: ""; position: absolute; bottom: -10%; left: -6%; width: 55%; height: 150%; background: var(--tt-bleu-f); transform: skewX(-12deg); opacity: .5; z-index: 0; }
.tt-contact .tt-wrap { position: relative; z-index: 2; }
.tt-contact .tt-lead { color: rgba(255, 255, 255, .86); }
.tt-tile { background: var(--tt-encre); border-radius: var(--tt-r); padding: 38px 34px; color: #fff; max-width: 760px; margin: 40px auto 0; text-align: center; }
.tt-tile__lab { font-family: var(--tt-titre); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--tt-bleu-c); }
.tt-tile__big { display: inline-flex; align-items: center; gap: 15px; margin: 16px 0 10px; font-family: var(--tt-titre); font-weight: 800; font-size: clamp(28px, 4.4vw, 42px); color: #fff; text-decoration: none; white-space: nowrap; }
.tt-tile__ico { width: 58px; height: 58px; flex: none; border-radius: 2px; background: var(--tt-bleu); display: flex; align-items: center; justify-content: center; }
.tt-tile__ico svg { width: 30px; height: 30px; }
.tt-tile__sub { color: #C4CFE2; font-size: 15px; max-width: 50ch; margin: 0 auto; }
.tt-tile__devis { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; background: rgba(var(--tt-bleu-rgb), .16); border: 1px solid rgba(var(--tt-bleu-rgb), .45); border-radius: var(--tt-r); padding: 12px 20px; font-weight: 700; font-size: 14.5px; color: #C4CFE2; }
.tt-tile__devis svg { width: 19px; height: 19px; color: var(--tt-bleu-c); stroke-width: 2.8; }
.tt-tile__devis a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 800; }

/* ---- Pages de prestation ---- */
.tt-edito { max-width: 820px; margin: 34px auto 0; color: var(--tt-acier); font-size: 16.5px; line-height: 1.75; }
.tt-edito h3, .tt-edito h2 { color: var(--tt-encre); font-size: 20px; text-transform: uppercase; margin-top: 26px; }
.tt-edito p { margin-top: 12px; }
.tt-edito a { color: var(--tt-bleu); font-weight: 700; }
.tt-edito--legal { max-width: 860px; margin: 30px 0 0; }
.tt-listes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1000px; margin: 40px auto 0; }
.tt-liste { background: var(--tt-encre); color: #fff; border-radius: var(--tt-r); padding: 24px; border-left: 5px solid var(--tt-bleu); }
.tt-liste__t { display: flex; align-items: center; gap: 10px; font-family: var(--tt-titre); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.tt-liste__t svg { width: 22px; height: 22px; color: var(--tt-bleu-c); }
.tt-liste ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 9px; }
.tt-liste li { display: flex; gap: 9px; align-items: flex-start; color: #D4DEF2; font-size: 14.5px; font-weight: 600; }
.tt-liste li svg { width: 17px; height: 17px; color: var(--tt-bleu-c); margin-top: 3px; stroke-width: 2.6; }
.tt-liste--alerte { background: #fff; color: var(--tt-encre); border: 2px solid var(--tt-trait); border-left: 5px solid var(--tt-bleu); }
.tt-liste--alerte li { color: var(--tt-acier); }
.tt-liste--alerte li svg, .tt-liste--alerte .tt-liste__t svg { color: var(--tt-bleu); }
.tt-guar-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.tt-coord { grid-template-columns: repeat(3, 1fr); }
.tt-guar { background: #fff; border: 2px solid var(--tt-trait); border-radius: var(--tt-r); padding: 22px 18px; text-align: center; transition: transform .3s var(--tt-e), box-shadow .3s var(--tt-e); }
.tt-guar__ic { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 2px; background: var(--tt-ciel); color: var(--tt-bleu); display: flex; align-items: center; justify-content: center; }
.tt-guar__ic svg { width: 26px; height: 26px; }
.tt-guar h3 { font-size: 14.5px; text-transform: uppercase; color: var(--tt-encre); }
.tt-guar p { color: var(--tt-acier); font-size: 13.5px; margin-top: 6px; overflow-wrap: anywhere; }
.tt-guar p a { color: var(--tt-bleu); font-weight: 800; text-decoration: none; }
.tt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tt-step { background: var(--tt-brume); border: 2px solid var(--tt-trait); border-top: 5px solid var(--tt-bleu); border-radius: var(--tt-r); padding: 26px 22px; transition: transform .3s var(--tt-e), box-shadow .3s var(--tt-e); }
.tt-step__no { font-family: var(--tt-titre); font-weight: 800; font-size: 16px; color: #fff; width: 40px; height: 40px; border-radius: 2px; background: var(--tt-bleu); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.tt-step h3 { font-size: 18px; text-transform: uppercase; color: var(--tt-encre); }
.tt-step p { color: var(--tt-acier); font-size: 14.5px; margin-top: 8px; }
.tt-steps__zone { text-align: center; margin: 30px auto 0; }
.tt-autres { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.tt-autre { flex: 1 1 220px; max-width: 300px; background: #fff; border: 2px solid var(--tt-trait); border-radius: var(--tt-r); padding: 20px 18px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 11px; transition: transform .25s var(--tt-e), border-color .25s; }
.tt-autre__ic { width: 46px; height: 46px; border-radius: 2px; background: var(--tt-bleu); color: #fff; display: flex; align-items: center; justify-content: center; }
.tt-autre__ic svg { width: 24px; height: 24px; }
.tt-autre__h { font-family: var(--tt-titre); font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--tt-encre); line-height: 1.1; }
.tt-autre:hover, .tt-autre.sv { transform: translateY(-4px); border-color: var(--tt-bleu); }
.tt-introuvable { text-align: center; background: var(--tt-brume); }
.tt-introuvable__ic { width: 70px; height: 70px; margin: 0 auto; border-radius: 2px; background: var(--tt-bleu); color: #fff; display: flex; align-items: center; justify-content: center; }
.tt-introuvable__ic svg { width: 36px; height: 36px; }
.tt-introuvable .tt-lead { margin: 16px auto 30px; }
.tt-introuvable__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Pied de page ---- */
.tt-ft { background: #0A0D12; color: #9BA8BE; padding: 56px 0 26px; font-size: 14.5px; }
.tt-ft__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 38px; }
.tt-brand--pied .tt-brand__nom { color: #fff; font-size: 19px; }
.tt-brand--pied .tt-brand__nom .brand__mot:last-child { color: var(--tt-bleu-c); }
.tt-ft__about { margin-top: 16px; max-width: 42ch; line-height: 1.6; }
.tt-ft__siret { font-size: 12.5px; color: #78859D; margin-top: 12px; }
.tt-ft h4 { color: #fff; font-size: 14px; margin: 0 0 15px; text-transform: uppercase; letter-spacing: .04em; }
.tt-ft ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.tt-ft a { color: #9BA8BE; text-decoration: none; transition: color .2s; }
.tt-ft a:hover { color: #fff; }
.tt-ft__contact li { display: flex; gap: 10px; align-items: flex-start; }
.tt-ft__contact svg { width: 18px; height: 18px; color: var(--tt-bleu-c); margin-top: 2px; }
.tt-ft__decen { font-size: 12px; color: #67748C; margin-top: 26px; max-width: 82ch; line-height: 1.6; }
.tt-ft__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 26px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.tt-ft__liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tt-ft__liens a { font-size: 13px; font-weight: 700; }
.tt-ft__cr { font-size: 12.5px; color: #5F6C84; }

/* ---- Zones à toucher d au moins 32 pixels de haut, même aspect ---- */
.tt-ft ul { gap: 1px; }
.tt-ft ul a, .tt-ft__liens a { display: inline-block; padding: 7px 0; }
.tt-ft__contact li { align-items: center; }
.tt-crumb a { display: inline-block; padding: 8px 0; }
.tt-tile__devis a { display: inline-block; padding: 7px 0; }
.tt-guar p a, .tt-edito a, .tt-devis__sous a, .tt-devis__appel a { display: inline-block; padding: 7px 0; }

/* ---- Appel flottant et barre mobile ---- */
.tt-float { position: fixed; right: 22px; bottom: 26px; z-index: 80; display: flex; align-items: center; background: var(--tt-bleu); color: #fff; text-decoration: none; border-radius: var(--tt-r); height: 58px; box-shadow: 0 16px 32px -12px rgba(var(--tt-bleu-rgb), .95); overflow: hidden; transition: transform .25s var(--tt-e), opacity .25s; opacity: 0; pointer-events: none; transform: translateY(12px); }
.tt-float.show { opacity: 1; pointer-events: auto; transform: none; }
.tt-float__ic { width: 58px; height: 58px; flex: none; display: flex; align-items: center; justify-content: center; }
.tt-float__ic svg { width: 25px; height: 25px; stroke-width: 2.4; }
.tt-float__tx { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--tt-titre); font-weight: 800; font-size: 16px; text-transform: uppercase; transition: max-width .3s var(--tt-e), padding .3s; }
.tt-float:hover .tt-float__tx { max-width: 260px; padding-right: 22px; }
.tt-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); pointer-events: none; }
.tt-mbar a { flex: 1; pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: var(--tt-r); padding: 12px 10px; font-family: var(--tt-titre); font-weight: 800; font-size: 13.5px; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 20px -8px rgba(10, 14, 20, .7); }
.tt-mbar svg { width: 16px; height: 16px; stroke-width: 2.4; }
.tt-mbar__call { background: var(--tt-bleu); color: #fff; flex: 1.3 !important; }
.tt-mbar__devis { background: var(--tt-encre); color: #fff; }

/* ---- Écran de chargement ---- */
.tt-loader { position: fixed; inset: 0; z-index: 9999; background: #fff; display: flex; align-items: center; justify-content: center; transition: opacity .55s var(--tt-e), visibility .55s; }
.tt-loader.hide { opacity: 0; visibility: hidden; }
.tt-loader__in { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 24px; text-align: center; animation: tt-pop .6s var(--tt-e) both; }
.tt-loader__logo svg, .tt-loader__logo img { height: 64px; width: auto; max-width: 70vw; }
.tt-loader__nom { font-family: var(--tt-titre); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--tt-encre); letter-spacing: -.02em; }
.tt-loader__barre { width: min(240px, 60vw); height: 5px; border-radius: 99px; background: rgba(14, 17, 22, .12); overflow: hidden; position: relative; margin-top: 6px; }
.tt-loader__barre i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--tt-bleu-c), var(--tt-bleu)); animation: tt-fill 1.1s var(--tt-e) .2s forwards; }
@keyframes tt-pop { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes tt-fill { 0% { width: 0; } 72% { width: 82%; } 100% { width: 100%; } }

/* =============================================================================
   Formulaire de devis en quatre étapes
   ============================================================================= */
.tt-devis { max-width: 620px; margin: 0 auto; position: relative; color: var(--tt-encre); }
.tt-devis__pill { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; padding: 11px 22px; border-radius: 6px; background: var(--tt-bleu); color: #fff; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 10px 26px -10px rgba(var(--tt-bleu-rgb), .9); font-size: 15px; font-weight: 800; text-align: center; }
.tt-devis__pill-ic { width: 22px; height: 22px; border-radius: 99px; flex: none; background: rgba(255, 255, 255, .24); display: flex; align-items: center; justify-content: center; }
.tt-devis__pill-ic svg { width: 13px; height: 13px; stroke-width: 3.4; }
.tt-devis__carte { background: #fff; border-radius: 4px; padding: 20px 20px 18px; border: 1px solid #E5E7EB; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 26px 64px -22px rgba(15, 23, 42, .5); }
.tt-devis__tete { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.tt-devis__retour { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--tt-bleu); cursor: pointer; white-space: nowrap; }
.tt-devis__retour svg { width: 16px; height: 16px; }
.tt-devis__retour[hidden] { display: none; }
.tt-devis__rail { flex: 1; height: 7px; border-radius: 99px; background: #E5E7EB; overflow: hidden; }
.tt-devis__rail i { display: block; height: 100%; width: 25%; border-radius: 99px; background: linear-gradient(90deg, var(--tt-bleu-c), var(--tt-bleu)); transition: width .52s var(--tt-e); position: relative; overflow: hidden; }
.tt-devis__rail i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: tt-brille 2.6s ease-in-out infinite; }
@keyframes tt-brille { 60%, 100% { transform: translateX(100%); } }
.tt-devis__etape { font-size: 13px; font-weight: 700; color: #6B7280; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tt-devis__scene { position: relative; transition: height .42s var(--tt-e); }
.tt-devis__panneau { will-change: transform, opacity; }
.tt-devis__panneau.out { position: absolute; top: 0; left: 0; right: 0; }
.tt-devis.fw .tt-devis__panneau:not(.out) { animation: tt-inR .42s var(--tt-e) both; }
.tt-devis.fw .tt-devis__panneau.out { animation: tt-outL .42s var(--tt-e) both; }
.tt-devis.bw .tt-devis__panneau:not(.out) { animation: tt-inL .42s var(--tt-e) both; }
.tt-devis.bw .tt-devis__panneau.out { animation: tt-outR .42s var(--tt-e) both; }
@keyframes tt-inR { from { opacity: 0; transform: translate3d(28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes tt-inL { from { opacity: 0; transform: translate3d(-28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes tt-outL { to { opacity: 0; transform: translate3d(-24px, 0, 0); } }
@keyframes tt-outR { to { opacity: 0; transform: translate3d(24px, 0, 0); } }
.tt-devis__titre { font-family: var(--tt-texte); font-size: clamp(20px, 4.4vw, 23px); font-weight: 800; color: #1B2A4A; text-align: center; line-height: 1.18; letter-spacing: -.02em; }
.tt-devis__sous { margin: 8px 0 18px; text-align: center; color: #6B7280; font-size: 16px; line-height: 1.4; }
.tt-devis__sous a { color: var(--tt-bleu); font-weight: 800; text-decoration: none; }
.tt-devis__chrono { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 6px auto 14px; padding: 7px 16px; border-radius: 6px; background: #EEF2F8; color: #5B6472; font-size: 15px; font-weight: 700; }
.tt-devis__chrono svg { width: 17px; height: 17px; color: var(--tt-bleu); }
.tt-devis__opts { display: grid; gap: 10px; }
.tt-devis__opts--g { grid-template-columns: 1fr 1fr; }
@media (min-width: 520px) { .tt-devis__opts--g { grid-template-columns: 1fr 1fr 1fr; } }
.tt-devis__o { position: relative; overflow: hidden; cursor: pointer; text-align: center; border: 1.5px solid #E5E7EB; background: #fff; color: #1B2A4A; border-radius: 4px; padding: 16px 12px; font-size: 15px; font-weight: 700; line-height: 1.3; transition: border-color .18s, background .18s, transform .18s var(--tt-e), opacity .18s, box-shadow .18s; animation: tt-up .34s var(--tt-e) backwards; animation-delay: calc(var(--i) * 40ms); }
.tt-devis__opts--g .tt-devis__o { background: linear-gradient(165deg, var(--tt-bleu-c) 0%, var(--tt-bleu) 100%); border-color: transparent; color: #fff; min-height: 92px; padding: 13px 10px; font-size: 14px; font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 4px 16px -2px rgba(var(--tt-bleu-rgb), .42); }
.tt-devis__o svg { width: 27px; height: 27px; stroke-width: 1.8; transition: transform .28s var(--tt-e); }
.tt-devis__o:hover { border-color: var(--tt-bleu); }
@media (hover: hover) {
  .tt-devis__o:hover { transform: perspective(700px) rotateX(5deg) translateY(-2px); box-shadow: 0 16px 28px -12px rgba(15, 23, 42, .35); }
  .tt-devis__opts--g .tt-devis__o:hover { transform: perspective(700px) rotateX(7deg) scale(1.02); filter: brightness(1.05); }
  .tt-devis__opts--g .tt-devis__o:hover svg { transform: translateY(-4px) scale(1.12); }
}
.tt-devis__o.pick { background: var(--tt-bleu); border-color: var(--tt-bleu); color: #fff; }
.tt-devis__o.pick::after { content: ""; position: absolute; top: 8px; right: 8px; width: 14px; height: 8px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.tt-devis__opts.lock .tt-devis__o:not(.pick) { opacity: .34; pointer-events: none; transform: scale(.978); }
@keyframes tt-up { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.965); } to { opacity: 1; transform: none; } }
.tt-devis__appel { text-align: center; color: #6B7280; font-size: 14.5px; margin: 13px 0 0; padding: 10px 12px; background: #F9FAFB; border: 1px dashed #E5E7EB; border-radius: 4px; }
.tt-devis__appel a { color: #111827; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tt-devis__champ { position: relative; margin-bottom: 10px; }
.tt-devis__champ input, .tt-devis__champ textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 600; color: #1B2A4A; background: #F9FAFB; border: 1.5px solid #E5E7EB; border-radius: 4px; padding: 22px 15px 9px; }
.tt-devis__champ textarea { min-height: 92px; resize: vertical; display: block; }
.tt-devis__champ input:focus, .tt-devis__champ textarea:focus { outline: none; background: #fff; border-color: var(--tt-bleu); box-shadow: 0 6px 18px -8px rgba(var(--tt-bleu-rgb), .8); }
.tt-devis__champ label { position: absolute; left: 16px; top: 16px; font-size: 15px; color: #6B7280; font-weight: 500; pointer-events: none; transform-origin: left top; transition: transform .3s var(--tt-e), color .2s; }
.tt-devis__champ input:focus + label, .tt-devis__champ input.has + label, .tt-devis__champ textarea:focus + label, .tt-devis__champ textarea.has + label { transform: translateY(-9px) scale(.76); color: var(--tt-bleu); }
.tt-devis__champ.err input, .tt-devis__champ.err textarea { border-color: #DC2626; background: #FEF2F2; }
.tt-devis__piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tt-devis__b { position: relative; overflow: hidden; width: 100%; margin-top: 10px; border: 0; border-radius: 4px; padding: 16px; font-size: 16px; font-weight: 800; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: filter .15s, transform .18s var(--tt-e), box-shadow .18s; }
.tt-devis__b svg { width: 20px; height: 20px; stroke-width: 2.2; }
.tt-devis__b:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15, 23, 42, .4); }
.tt-devis__b--msg { background: #16A34A; }
.tt-devis__b--tel { background: var(--tt-bleu); }
.tt-devis__b.load { pointer-events: none; opacity: .85; }
.tt-devis__b.echec { background: #DC2626; }
.tt-devis__note { font-size: 12.5px; color: #6B7280; text-align: center; margin: 14px 0 0; line-height: 1.6; }
.tt-devis__erreur { color: #B42318; font-size: 14px; font-weight: 700; text-align: center; margin: 10px 0 0; }
.tt-devis__ok { text-align: center; padding: 10px 0 4px; }
.tt-devis__ok svg { width: 70px; height: 70px; margin: 0 auto 14px; display: block; color: #16A34A; stroke-width: 3; }
.tt-devis__ok circle { stroke-dasharray: 207; stroke-dashoffset: 207; animation: tt-trace .6s var(--tt-e) forwards; }
.tt-devis__ok path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tt-trace .32s var(--tt-e) .4s forwards; }
@keyframes tt-trace { to { stroke-dashoffset: 0; } }

/* ---- Apparition au défilement ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--tt-e), transform .6s var(--tt-e); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (hover: hover) {
  .tt-chip:hover { transform: translateY(-3px); box-shadow: var(--tt-ombre-s); border-color: var(--tt-bleu); }
  .tt-dept:hover, .tt-step:hover, .tt-guar:hover { transform: translateY(-4px); box-shadow: var(--tt-ombre); }
  .tt-stat:hover { transform: rotate(-3deg) translateY(-3px) scale(1.03); }
  .tt-qa summary:hover { background: #F6F9FF; }
  .tt-callcta:hover { filter: brightness(1.06); }
}
@media (hover: none) {
  .tt-dept.sv, .tt-step.sv { transform: translateY(-4px); box-shadow: var(--tt-ombre); }
}

/* =============================================================================
   Adaptation aux écrans
   ============================================================================= */
@media (max-width: 980px) {
  .tt-hero__grille { grid-template-columns: 1fr; gap: 26px; }
  .tt-badges { max-width: none; }
  .tt-about__grille, .tt-zone__grille, .tt-urg__grille { grid-template-columns: 1fr; }
  .tt-sv-grille, .tt-steps, .tt-guar-grille, .tt-coord, .tt-listes { grid-template-columns: 1fr 1fr; }
  .tt-trust__grille { grid-template-columns: 1fr 1fr; }
  .tt-tcell:nth-child(-n+2) { border-bottom: 1px solid var(--tt-trait); }
  .tt-tcell:nth-child(odd) { border-left: 0; }
  .tt-ft__grille { grid-template-columns: 1fr 1fr; }
  .tt-about__media { max-width: 440px; margin: 0 auto 26px; }
  .tt-hero::before { width: 100%; opacity: .1; }
  .tt-callcta__droite { align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .tt-lbl { display: none; }
  .tt-sv-grille, .tt-steps, .tt-guar-grille, .tt-coord, .tt-listes { grid-template-columns: 1fr; }
  .tt-mats ul { grid-template-columns: 1fr; }
  .tt-badges { grid-template-columns: 1fr; }
  .tt-hero__cta { flex-direction: column; }
  .tt-hero__cta .tt-btn { width: 100%; }
  .tt-ft__grille { grid-template-columns: 1fr; }
  .tt-mbar { display: flex; }
  .tt-float { display: none; }
  .tt-hd { border-bottom-width: 2px; }
  .tt-hd__in { height: 58px; gap: 8px; }
  .tt-hd-tel { padding: 8px 11px; font-size: 13px; gap: 6px; }
  .tt-hd-tel svg { width: 15px; height: 15px; }
  .tt-brand { gap: 8px; }
  .tt-brand__logo svg, .tt-brand__logo img { height: 34px; max-width: 110px; }
  .tt-brand__nom { font-size: 15px; }
  .tt-hd-accueil span { display: none; }
  .tt-hd-accueil { padding: 8px 9px; }
  .tt-stat { position: static; transform: rotate(-3deg); display: inline-block; margin: 0 0 16px; }
  .tt-about__m2 { right: -6px; bottom: -14px; }
  .tt-hero h1 { font-size: clamp(25px, 7.4vw, 36px); overflow-wrap: anywhere; }
  .tt-kick { font-size: 11px; letter-spacing: .1em; }
  .tt-callcta__in { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .tt-bigcall { padding: 16px 18px; }
  .tt-bigcall__t b { font-size: 22px; }
  .tt-tile { padding: 30px 20px; }
  .tt-tile__big { font-size: 26px; gap: 11px; }
  .tt-tile__ico { width: 46px; height: 46px; }
  .tt-crumb .tt-wrap { font-size: 11.5px; }
  .tt-devis__carte { padding: 16px 14px 14px; }
  .tt-lb__nav { width: 42px; height: 42px; }
}
@media (min-width: 641px) { .tt-mbar { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .tt-mrow { flex-wrap: wrap; width: auto; justify-content: center; }
  .tt-mrow [aria-hidden="true"] { display: none; }
  .tt-strip__row > span + span { display: none; }
}
