/* ============================================================
   TRAVAUX MAIS PAS QUE — travaux-mais-pas-que.fr
   Design system « Sapin & Orange » — aligné sur le logo TMPQ
   Univers : bâti de montagne, trait de charpente, marquage de chantier
   Palette : vert sapin (logo, forêts de Tarentaise) · orange chantier
             (logo) · vert-de-gris (patine) · neige (fonds clairs)
   Typo    : Barlow Condensed (titrage type marquage de chantier)
             Public Sans (texte courant)
             Source Serif 4 (citations / accents "maison")
   ============================================================ */

:root {
  /* Couleurs */
  --sapin-900: #12342D;   /* vert du logo */
  --sapin-800: #17423A;
  --sapin-700: #1E5147;
  --sapin-600: #2A6357;
  --zinc-500: #7E908A;
  --zinc-300: #BCC9C4;
  --zinc-200: #D6DFDB;
  --orange-600: #D06E06;  /* liens / survols (contraste texte) */
  --orange-500: #F5861A;  /* orange du logo */
  --orange-300: #FBB56E;
  --patine-600: #3E685E;
  --patine-500: #4E7D72;
  --neige-100: #F4F6F3;
  --neige-50: #FAFBF9;
  --blanc: #FFFFFF;
  --encre: #17211D;
  --texte-2: #4A5751;

  /* Typo */
  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --f-serif: "Source Serif 4", Georgia, serif;

  /* Divers */
  --radius: 4px;
  --maxw: 1120px;
  --shadow-1: 0 1px 2px rgba(18, 52, 45, .06), 0 4px 14px rgba(18, 52, 45, .05);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--orange-500); }
:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 2px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--sapin-900); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Titrage ---------- */
h1, h2, h3, .h-like {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.08;
  margin: 0 0 .6em;
  color: var(--sapin-800);
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: .03em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.14rem; color: var(--texte-2); max-width: 62ch; }
.serif-note {
  font-family: var(--f-serif); font-style: italic;
  color: var(--sapin-700); font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .95rem; color: var(--orange-600);
  margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--orange-500);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 1.05rem; line-height: 1;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--orange-500);
  background: var(--orange-500); color: var(--sapin-900);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--sapin-900); border-color: var(--sapin-900); color: var(--neige-100); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--orange-600); }
.btn-outline:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--sapin-900); }
.btn-ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-tel { white-space: nowrap; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanc);
  border-bottom: 1px solid var(--zinc-200);
  box-shadow: 0 1px 0 rgba(18,52,45,.03);
}
.nav-wrap {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-logo { height: 44px; width: auto; margin-bottom: .6rem; }
.brand-name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--sapin-800);
}
.brand-name .amp { color: var(--orange-600); }
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none; display: flex; align-items: center;
  gap: 1.15rem; margin: 0; padding: 0;
}
.main-nav .nav-accueil,
.main-nav .nav-devis { display: none; }   /* visibles uniquement dans le menu mobile */
.main-nav a {
  display: block; position: relative; padding: .5rem 0;
  font-family: var(--f-display); font-weight: 600; font-size: .92rem;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: var(--sapin-800); text-decoration: none;
  transition: color .15s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.main-nav a:hover { color: var(--orange-600); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--orange-600); }
.nav-cta { flex: none; padding: .72rem 1.15rem; font-size: .92rem; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--zinc-300); border-radius: var(--radius);
  padding: .5rem .65rem; cursor: pointer; color: var(--sapin-800);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blanc); border-bottom: 1px solid var(--zinc-200);
    box-shadow: var(--shadow-1); margin-left: 0;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.2rem 1rem; }
  .main-nav .nav-accueil { display: block; }
  .main-nav .nav-devis { display: block; margin-top: .6rem; }
  .main-nav .nav-devis a {
    background: var(--orange-500); color: var(--sapin-900);
    text-align: center; border-radius: var(--radius); padding: .85rem 1rem;
  }
  .main-nav a { padding: .8rem .2rem; font-size: 1.1rem; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange-500); padding-left: .8rem; }
  .nav-wrap { min-height: 64px; }
  .brand-logo { height: 38px; }
  .nav-cta { display: none; }
}

/* ---------- Héros accueil ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(185,106,53,.10), transparent 60%),
    linear-gradient(180deg, var(--sapin-900), var(--sapin-800));
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .surtitre {
  font-family: var(--f-display); font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; font-size: .95rem; color: var(--orange-300);
  margin-bottom: 1rem; display: block;
}
.hero .lead { color: var(--zinc-300); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2.2rem; }
.hero-epure {
  position: absolute; right: -40px; bottom: -6px; z-index: 1;
  width: min(56vw, 640px); opacity: .9; pointer-events: none;
}
@media (max-width: 900px) {
  .hero-epure { position: static; width: 100%; max-width: 540px; margin: 1rem auto 0; opacity: .85; }
}

/* Trait d'épure animé (signature du site) */
.epure-line {
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.epure-orange { stroke: var(--orange-300); stroke-width: 2.2; }
.epure-patine { stroke: var(--patine-500); stroke-width: 1.4; stroke-dasharray: 7 6; }
.epure-zinc { stroke: var(--zinc-500); stroke-width: 1.2; opacity: .55; }
.epure-cote { stroke: var(--zinc-300); stroke-width: 1; opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .epure-draw {
    stroke-dasharray: 1200; stroke-dashoffset: 1200;
    animation: epure-draw 1.6s ease-out forwards;
  }
  .epure-draw.d2 { animation-delay: .35s; }
  .epure-draw.d3 { animation-delay: .7s; }
  @keyframes epure-draw { to { stroke-dashoffset: 0; } }
}

/* Bandeau de garanties sous le héros */
.hero-badges {
  position: relative; z-index: 3;
  background: var(--sapin-900); border-top: 1px solid rgba(255,255,255,.08);
}
.hero-badges .container {
  display: flex; flex-wrap: wrap; gap: .4rem 2rem;
  padding-top: .9rem; padding-bottom: .9rem;
}
.badge-item {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-size: .92rem; color: var(--zinc-300);
}
.badge-item svg { width: 17px; height: 17px; stroke: var(--orange-300); }

/* Héros des pages intérieures */
.hero-page {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sapin-900), var(--sapin-800));
  color: #fff; padding: clamp(2.4rem, 5vw, 3.6rem) 0;
}
.hero-page h1 { color: #fff; }
.hero-page .lead { color: var(--zinc-300); }
.hero-page .hero-epure-mini {
  position: absolute; right: -20px; bottom: -18px; width: 340px; opacity: .35;
  pointer-events: none;
}
.breadcrumb {
  font-size: .85rem; letter-spacing: .04em; margin-bottom: 1rem;
  color: var(--zinc-300);
}
.breadcrumb a { color: var(--zinc-300); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 .45rem; color: var(--zinc-500); }

/* ---------- Sections ---------- */
.section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.section-neige { background: var(--neige-100); }
.section-ardoise { background: var(--sapin-800); color: #fff; }
.section-ardoise h2, .section-ardoise h3 { color: #fff; }
.section-ardoise .lead, .section-ardoise p { color: var(--zinc-300); }
.section-head { max-width: 70ch; margin-bottom: 2rem; }

/* Liseré "ligne de toit" entre certaines sections */
.roofline { display: block; width: 100%; height: 26px; }
.roofline path { fill: none; stroke: var(--zinc-200); stroke-width: 2; }
.roofline .accent { stroke: var(--orange-500); }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--blanc);
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  position: relative;
  box-shadow: none;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px;
  background: transparent; border-radius: var(--radius) var(--radius) 0 0;
  transition: background .18s ease;
}
a.card { display: block; color: inherit; text-decoration: none; }
.card:hover { box-shadow: var(--shadow-1); transform: translateY(-2px); border-color: var(--zinc-300); }
.card:hover::before { background: var(--orange-500); }
.card h3 { margin-top: .9rem; }
.card p { color: var(--texte-2); margin-bottom: .4rem; }
.card .card-more {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .95rem; color: var(--orange-600);
}
.icon-metier { width: 42px; height: 42px; }
.icon-metier path, .icon-metier rect, .icon-metier circle, .icon-metier line, .icon-metier polyline {
  fill: none; stroke: var(--sapin-700); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-metier .ic-accent { stroke: var(--orange-600); }

/* Cartes sur fond ardoise */
.section-ardoise .card {
  background: var(--sapin-700); border-color: var(--sapin-600); color: #fff;
}
.section-ardoise .card h3 { color: #fff; }
.section-ardoise .card p { color: var(--zinc-300); }

/* ---------- Listes à coche ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.check-list li {
  position: relative; padding-left: 1.7rem; margin-bottom: .55rem; color: var(--texte-2);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: .9em; height: .5em;
  border-left: 2.5px solid var(--patine-500);
  border-bottom: 2.5px solid var(--patine-500);
  transform: rotate(-45deg);
}
.section-ardoise .check-list li { color: var(--zinc-300); }
.section-ardoise .check-list li::before { border-color: var(--orange-300); }

/* Cartes réalisations sur fond sombre : contraste rehaussé (WCAG AA) */
.section-ardoise .realisation-card { background: var(--sapin-900); border-color: rgba(255,255,255,.10); }
.section-ardoise .realisation-body h3,
.section-ardoise .realisation-body h3 a { color: var(--neige-100); }
.section-ardoise .realisation-body p { color: var(--zinc-200); }
.section-ardoise .lieu { color: var(--orange-300); }
.section-ardoise .lieu svg { stroke: var(--orange-300); }
.section-ardoise .realisation-tags li { color: var(--neige-100); border-color: rgba(255,255,255,.32); }
.section-ardoise .realisation-media > div { color: var(--zinc-200); }

/* ---------- Encadrés ---------- */
.encart {
  border-left: 4px solid var(--orange-500);
  background: var(--neige-100);
  padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6rem 0;
}
.encart-patine { border-left-color: var(--patine-500); }
.encart h3 { margin-bottom: .4rem; }
.encart p:last-child { margin-bottom: 0; }

/* ---------- Étapes (méthode) ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.step {
  counter-increment: step;
  background: var(--blanc); border: 1px solid var(--zinc-200);
  border-radius: var(--radius); padding: 1.2rem;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--f-display); font-weight: 700; font-size: 1.9rem;
  color: var(--orange-500); line-height: 1; margin-bottom: .5rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--texte-2); font-size: .95rem; margin: 0; }

/* ---------- Réalisations ---------- */
.realisation-card { overflow: hidden; padding: 0; }
.realisation-media {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--sapin-700), var(--sapin-900));
  display: grid; place-items: center; color: var(--zinc-300);
  font-family: var(--f-display); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .9rem;
}
.realisation-media svg { width: 54px; height: 54px; opacity: .6; margin-bottom: .4rem; }
.realisation-media > div { text-align: center; display: grid; justify-items: center; }
.realisation-body { padding: 1.2rem 1.3rem 1.3rem; }
.realisation-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.realisation-tags li {
  font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--patine-500); color: var(--sapin-700);
  border-radius: 999px; padding: .18rem .6rem;
}
.lieu {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .88rem; color: var(--sapin-700); font-weight: 600;
}
.lieu svg { width: 14px; height: 14px; stroke: var(--orange-600); fill: none; stroke-width: 2; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--zinc-200); border-radius: var(--radius);
  background: var(--blanc); margin-bottom: .8rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1rem 3rem 1rem 1.2rem; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: 1.12rem;
  letter-spacing: .03em; text-transform: uppercase; color: var(--sapin-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display); font-size: 1.5rem; color: var(--orange-600);
  transition: transform .15s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 1.2rem 1.1rem; color: var(--texte-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Bandeau CTA ---------- */
.band-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sapin-800), var(--sapin-900));
  border-top: 3px solid var(--orange-600);
  color: #fff; padding: clamp(2.4rem, 5vw, 3.6rem) 0;
}
.band-cta h2 { color: #fff; margin-bottom: .4rem; }
.band-cta p { color: var(--zinc-300); max-width: 60ch; }
.band-cta .hero-actions { margin: 1.4rem 0 0; }
.band-cta .tel-line {
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem;
  letter-spacing: .05em; color: var(--orange-300);
}

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { border-collapse: collapse; width: 100%; font-size: .95rem; }
.tbl th, .tbl td { border: 1px solid var(--zinc-200); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.tbl th {
  background: var(--neige-100); font-family: var(--f-display);
  text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  color: var(--sapin-800);
}

/* ---------- Formulaire contact ---------- */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .3rem; color: var(--sapin-800); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--encre);
  border: 1px solid var(--zinc-300); border-radius: var(--radius);
  padding: .65rem .75rem; background: var(--blanc);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange-500); outline-offset: 1px; border-color: var(--orange-500); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--texte-2); }
.contact-direct {
  display: grid; gap: .9rem; margin: 1.2rem 0;
}
.contact-direct a {
  display: flex; align-items: center; gap: .7rem;
  border: 1px solid var(--zinc-200); border-radius: var(--radius);
  padding: .9rem 1rem; text-decoration: none; color: var(--sapin-800);
  font-weight: 600; background: var(--blanc);
}
.contact-direct a:hover { border-color: var(--orange-500); color: var(--orange-600); }
.contact-direct svg { width: 20px; height: 20px; stroke: var(--orange-600); fill: none; stroke-width: 1.8; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--sapin-900); color: var(--zinc-300);
  padding: 3rem 0 1.4rem; font-size: .94rem;
  border-top: 3px solid var(--orange-600);
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2rem; }
.site-footer h3 {
  color: #fff; font-size: 1.02rem; letter-spacing: .1em; margin-bottom: .8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--zinc-300); text-decoration: none; }
.site-footer a:hover { color: var(--orange-300); text-decoration: underline; }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand p { margin-top: .7rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: var(--zinc-500);
}
.footer-legal a { color: var(--zinc-500); }
.nap { font-style: normal; line-height: 1.7; }
.nap strong { color: #fff; }

/* ---------- Divers ---------- */
.a-completer {
  background: rgba(185,106,53,.14); border: 1px dashed var(--orange-500);
  padding: 0 .3em; border-radius: 3px; color: var(--orange-600); font-weight: 600;
}
.section-ardoise .a-completer, .site-footer .a-completer, .band-cta .a-completer, .hero .a-completer {
  color: var(--orange-300); background: rgba(185,106,53,.18);
}
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.txt-center { text-align: center; }
.two-cols { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .two-cols { grid-template-columns: 1.15fr .85fr; } }

@media print {
  .site-header, .band-cta, .nav-toggle { display: none; }
  body { color: #000; }
}

/* ---------- Témoignages clients ---------- */
.temoins-strip { background: var(--neige-100); }
.temoin-mini {
  margin: 0; padding: 1.4rem 1.5rem;
  background: var(--blanc); border-radius: var(--radius);
  border-left: 3px solid var(--orange-500); box-shadow: var(--shadow-1);
}
.temoin-mini blockquote {
  margin: 0 0 .7rem; font-family: var(--f-serif); font-style: italic;
  font-size: 1.08rem; line-height: 1.55; color: var(--encre);
}
.temoin-mini figcaption {
  font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--f-display); font-weight: 600; color: var(--texte-2);
}
.temoin-card { display: flex; flex-direction: column; gap: 1rem; }
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.ap-media {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--sapin-700), var(--sapin-900));
  display: grid; place-items: center; color: var(--zinc-300);
}
.ap-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-vide {
  display: grid; justify-items: center; gap: .35rem; text-align: center;
  font-family: var(--f-display); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; font-size: .78rem;
}
.ap-vide svg { width: 40px; height: 40px; opacity: .55; }
.ap-tag {
  position: absolute; top: .5rem; left: .5rem; z-index: 1;
  font-family: var(--f-display); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; font-size: .72rem; line-height: 1;
  padding: .28rem .55rem; border-radius: 3px;
  background: var(--sapin-900); color: var(--neige-100);
}
.ap-tag-apres { background: var(--orange-500); }
.temoin-quote {
  margin: 0; font-family: var(--f-serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.6; color: var(--encre);
}
.temoin-meta { display: grid; gap: .1rem; font-size: .88rem; color: var(--texte-2); }
.temoin-meta strong { color: var(--encre); }
.footer-devise {
  font-family: var(--f-serif); font-style: italic;
  color: var(--orange-300) !important; margin-top: .4rem;
}

/* ---------- Flux Instagram ---------- */
.ig-grille {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.ig-tuile {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius); color: var(--zinc-300);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--sapin-700), var(--sapin-900));
}
.ig-tuile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ig-tuile:hover img { transform: scale(1.05); }
.ig-attente {
  position: absolute; inset: 0; display: grid; place-content: center;
  justify-items: center; gap: .45rem; padding: .6rem; text-align: center;
  font-family: var(--f-display); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; font-size: .72rem;
}
.ig-attente svg { width: 30px; height: 30px; opacity: .6; }
.ig-survol {
  position: absolute; inset: 0; display: grid; place-content: center;
  justify-items: center; gap: .4rem; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(180deg, rgba(18,52,45,.15), rgba(18,52,45,.78));
  color: var(--neige-100); font-family: var(--f-display); font-weight: 600;
  letter-spacing: .08em; font-size: .85rem;
}
.ig-survol svg { width: 26px; height: 26px; }
.ig-tuile:hover .ig-survol, .ig-tuile:focus-visible .ig-survol { opacity: 1; }
.ig-play {
  position: absolute; top: .5rem; right: .5rem; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(18,52,45,.72); color: var(--neige-100);
}
.ig-play svg { width: 13px; height: 13px; }
.ig-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
.ig-actions .btn svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: .45rem; }
.footer-ig svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: .3rem; }

/* ---------- Galeries des pages métiers ---------- */
.galerie-grille {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.galerie-tuile {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); color: var(--zinc-300);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--sapin-700), var(--sapin-900));
}
.galerie-tuile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.galerie-tuile:hover img { transform: scale(1.04); }
.galerie-legende {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .8rem .6rem;
  background: linear-gradient(180deg, transparent, rgba(18,52,45,.85));
  color: var(--neige-100); font-size: .85rem; line-height: 1.35;
  opacity: 0; transition: opacity .25s ease;
}
.galerie-tuile:hover .galerie-legende, .galerie-tuile:focus-visible .galerie-legende { opacity: 1; }
.galerie-legende:empty { display: none; }

/* ---------- Bandeau citation (slogan des devis) ---------- */
.bandeau-citation {
  background: var(--sapin-900); color: var(--neige-100);
  padding: 2.2rem 0; text-align: center;
  border-bottom: 3px solid var(--orange-500);
}
.citation-texte {
  margin: 0 auto .5rem; max-width: 720px;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.45;
  color: var(--orange-300);
}
.citation-suite { margin: 0 auto; max-width: 640px; color: var(--zinc-200); font-size: .98rem; }

/* ---------- Carte de la zone d'intervention (reprise du dossier syndics) ---------- */
.carte-zone { margin: 0 0 2.2rem; }
.carte-zone svg {
  display: block; width: 100%; height: auto;
  background: var(--neige-100);
  border-radius: var(--radius); box-shadow: var(--shadow-1);
  padding: .9rem 1rem .4rem;
}
.cz-riviere {
  fill: none; stroke: var(--sapin-900); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .55;
}
.cz-vallee {
  fill: none; stroke: var(--sapin-900); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .35;
  stroke-dasharray: 3 3;
}
.cz-pt { fill: var(--sapin-900); }
.cz-ch { fill: var(--orange-500); stroke: #fff; stroke-width: 1.5; }
.cz-siege { fill: none; stroke: var(--orange-500); stroke-width: 2.4; }
.cz-siege-c { fill: var(--sapin-900); }
.cz-lab { font-family: var(--f-body); font-size: 10.5px; fill: var(--encre); }
.cz-lab.f { font-weight: 600; }
.cz-lab.s {
  font-family: var(--f-display); font-weight: 700; font-size: 12px;
  fill: var(--sapin-900); letter-spacing: .05em;
}
.cz-cap, .cz-note {
  font-family: var(--f-serif); font-style: italic; font-size: 9.5px; fill: var(--texte-2);
}
.cz-legende {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; align-items: center;
  margin-top: .55rem; font-size: .85rem; color: var(--texte-2);
}
.cz-legende i {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: .45rem; vertical-align: -1px;
}
.cz-legende i.siege { background: var(--sapin-900); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange-500); }
.cz-legende i.central { background: var(--orange-500); }
.cz-legende i.zone { background: var(--sapin-900); opacity: .55; }
@media (max-width: 640px) {
  .cz-lab { font-size: 15px; }
  .cz-lab.s { font-size: 17px; }
  .cz-cap, .cz-note { font-size: 13px; }
}

.galerie-attente { color: var(--zinc-300); }

/* ---------- Cartes réalisations avec photo de couverture ---------- */
a.realisation-media { text-decoration: none; }
.realisation-media { position: relative; overflow: hidden; }
.realisation-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .35s ease;
}
.realisation-card:hover .realisation-media img { transform: scale(1.05); }
.realisation-body h3 a { color: inherit; text-decoration: none; }
.realisation-body h3 a:hover { color: var(--orange-600); }

/* ---------- Reportage vidéo ---------- */
.video-cadre {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow-1);
  background: var(--sapin-900);
}
.video-cadre iframe, .video-cadre video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ---------- Reel Instagram (format vertical) ---------- */
.reel-cadre {
  max-width: 400px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1); background: var(--blanc);
}
.reel-cadre iframe { display: block; width: 100%; height: 730px; border: 0; }
@media (max-width: 480px) { .reel-cadre iframe { height: 640px; } }
.ta-centre { text-align: center; }

/* ---------- Portrait du gérant (page entreprise) ---------- */
.portrait-figure { margin: 0 0 1.4rem; }
.portrait-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-1);
}
.portrait-figure figcaption {
  margin-top: .55rem; font-size: .9rem; color: var(--texte-2); text-align: center;
}

/* ---------- Mini-vidéos dans les galeries ---------- */
.galerie-tuile-video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.galerie-badge {
  position: absolute; top: .55rem; left: .55rem; z-index: 2;
  background: rgba(18, 52, 45, .85); color: var(--neige-100);
  font-family: var(--f-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; pointer-events: none;
}
.galerie-legende-haut {
  inset: 0 0 auto 0; padding: .6rem .8rem 1.6rem;
  background: linear-gradient(0deg, transparent, rgba(18, 52, 45, .85));
  pointer-events: none;
}
