@font-face { font-family: 'Texte'; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/texte.woff2") format("woff2"); }

/* Variables */
:root {
  color-scheme: light;
  --creme: #FBF9F6;
  --sable: #F0ECE6;
  --blanc: #FFFFFF;
  --encre: #18181B;
  --gris: #55555C;
  --trait: #E0DBD3;
  --jaune: #D9202B;
  --orange: #D9202B;
  --bleu: #18181B;
  --vert: var(--sable);
  --rose: var(--sable);
  --ciel: #F4E4DA;
  --titre: "Texte", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --texte: "Texte", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --r-carte: 10px;
  --r-petit: 6px;
  --wrap: 1216px;
  --marge: clamp(16px, 4vw, 32px);
  --section: clamp(40px, 6vw, 72px);
  --ombre: 0 24px 48px -24px rgba(22, 20, 15, .28);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--creme); }
body { margin: 0; background: var(--creme); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--marge); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--encre); color: var(--creme); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--gris); max-width: 58ch; margin-top: 18px; }
.muted { color: var(--gris); }
.petit { font-size: .875rem; color: var(--gris); margin-top: 16px; }
.num { white-space: nowrap; }
.sur-titre { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9375rem; margin-bottom: 18px; }
.sur-titre::before { content: ""; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); border-radius: 2px; }

/* Boutons et surlignage */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 28px; border: 2px solid transparent; font: 700 clamp(1.0625rem, 4.2vw, 1.1875rem)/1 var(--titre); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--contour { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--grand { padding: 0 36px; }
.btn--num.btn--grand { min-height: 64px; font-size: clamp(1.0625rem, 5.1vw, 1.5rem); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hl { -webkit-box-decoration-break: clone; box-decoration-break: clone; }

@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(45, 190, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 190, 96, 0); } }

/* En-tête */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--trait); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark { place-items: center; }
.logo-txt { font: 800 1.5rem/1 var(--titre); }
.logo-txt b { font-weight: 800; }
.nav-liens { display: flex; gap: clamp(18px, 1.8vw, 28px); }
.nav-liens a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-liens a:hover, .nav-liens a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.nav .btn { padding: 0 24px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--encre); transition: transform .2s; }
.menu-btn span { top: 18px; }
.menu-btn span::before { content: ""; left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); }

/* Haut de page */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.hero--court .lead { max-width: 64ch; }

.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--gris); margin-bottom: 18px; }
.fil a { color: var(--encre); text-underline-offset: 3px; }

/* Bandeau */
@keyframes defile { to { transform: translateX(-50%); } }

/* Cartes et sections */
.section { padding: var(--section) 0; }
.section--serre { padding-top: 24px; }

/* Avis */
.stars { position: relative; display: inline-block; letter-spacing: 2px; color: rgba(22, 20, 15, .2); line-height: 1; }
.stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--pct); overflow: hidden; color: #F2A900; }

/* Atouts */

/* Avant / après */
.aa-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.aa { margin: 0; background: var(--blanc); color: var(--encre); border-radius: 24px; padding: 12px; }
.aa-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aa-photos > div { position: relative; }
.aa-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.aa-tag { position: absolute; left: 10px; top: 10px; padding: 4px 12px; border-radius: 99px; background: var(--encre); color: var(--creme); font: 700 .8125rem/1.4 var(--titre); }
.aa-tag--apres { background: #1A7A3A; color: var(--blanc); }
.aa figcaption { display: grid; gap: 4px; padding: 14px 8px 6px; font-size: .9375rem; color: var(--gris); }
.aa figcaption b { font: 800 1.2rem/1.15 var(--titre); color: var(--encre); }

/* Communes */

/* Pages de texte */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p { color: var(--gris); }

/* Bandeau cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; margin-inline: auto; display: grid; gap: 12px; padding: 18px 20px; border-radius: 22px; background: var(--blanc); box-shadow: var(--ombre); font-size: .9375rem; }
.cookies div { display: flex; gap: 10px; }
.cookies .btn { flex: 1; min-height: 46px; }
.sticky-cta { display: none; }

/* Pied de page */

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

  .btn:hover, 
}

/* Tablette et mobile */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav-liens { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px var(--marge) 18px; background: var(--blanc); border-bottom: 1px solid var(--trait); }
  .nav-liens.ouvert { display: flex; }
  .nav-liens a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }
  .logo { margin-right: auto; }
}

@media (max-width: 1080px) {

  .nav-liens { gap: 18px; }

}
@media (max-width: 900px) {

  .aa-grille { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-in { min-height: 64px; gap: 12px; }
  .nav .btn { display: none; }
  .logo-txt { font-size: 1.3rem; }
  .hero { padding-top: 32px; }
  .cta .btn { width: 100%; }

  body { padding-bottom: 82px; }
  .sticky-cta { display: grid; grid-template-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--blanc); border-top: 1px solid var(--trait); box-shadow: 0 -10px 30px -18px rgba(22, 20, 15, .4); }
  .sticky-cta .btn { min-height: 54px; padding: 0 10px; font-size: 1.0625rem; }
  .cookies { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.post { position: relative; display: grid; align-content: start; background: var(--blanc); border: 1px solid var(--trait); border-radius: 24px; overflow: hidden; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-txt { display: grid; gap: 10px; padding: 20px 22px 24px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .875rem; color: var(--gris); }
.post-tag { padding: 3px 10px; border-radius: 99px; background: var(--jaune); color: var(--encre); font-weight: 700; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post:hover h3 a { text-decoration: underline; }
.article .sur-titre a { text-decoration: none; }
.article-photo { width: 100%; height: auto; margin-top: 28px; border-radius: 24px; }
.article-corps { margin-top: 28px; font-size: 1.0625rem; }
.article-corps p, .article-corps ul, .article-corps ol { margin-top: 14px; }
.article-corps ul, .article-corps ol { padding-left: 1.3em; color: var(--gris); }
.article-corps li + li { margin-top: 6px; }
.article-corps img { width: 100%; height: auto; border-radius: 18px; margin-top: 18px; }
.article-appel { display: grid; gap: 16px; justify-items: start; margin-top: 36px; padding: 24px 26px; border-radius: 24px; background: var(--sable); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* Petits écrans */
@media (max-width: 380px) {
  .btn { padding: 0 14px; }
  .btn--grand { padding: 0 10px; }
}

/* Thème */
.logo-txt b { color: inherit; opacity: .62; }
.nav { background: var(--blanc); }

/* Hero */
.hero { background: var(--encre); color: var(--creme); }
.hero .lead, .hero .fil, .hero .fil a, .hero .sur-titre { color: rgba(255,255,255,.78); }

.hero--court { padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(24px, 4vw, 48px); }
.hl { padding-block: 0; }

h1, h2, .h1, .h2 { text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
a { text-underline-offset: .18em; }
.sticky-cta .btn { width: 100%; }
.hero { padding-top: clamp(32px, 4vw, 56px); }
.hero .cta { margin-top: 20px; }

/* Sections */
:root { --r: 3px; --x-gris: #F2F2F0; }

.x-fiche { background: #fff; color: var(--encre); }
.x-fiche-t { font-weight: 700; margin: 0; }
.x-fiche-d { margin: 4px 0 14px; padding-bottom: 14px; border-bottom: 3px solid var(--encre); color: var(--gris); display: grid; }
.x-fiche-d b { font: 800 2.6rem/1 var(--titre); color: var(--encre); }
.x-fiche dl { margin: 0; }
.x-fiche dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--trait); }
.x-fiche dl div:last-child { border: 0; }
.x-fiche dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.btn { border-radius: var(--r); }

/* En-tête (ordinateur) */
@media (min-width: 1101px) {
  .nav-in { flex-wrap: wrap; gap: 8px 24px; padding-top: 10px; min-height: 0; }
  .nav-liens { order: 5; width: 100%; padding: 8px 0 10px; border-top: 1px solid var(--trait); gap: 32px; }
}

/* Couleurs */

.btn--noir { background: var(--orange); color: #fff; }

::selection { background: var(--orange); color: #fff; }
.hero :focus-visible { outline-color: #fff; }

/* Logo */
.logo-mark { flex: none; background: none; border-radius: 0; display: block; color: inherit; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-txt { display: grid; font-family: var(--titre); line-height: 1; white-space: nowrap; letter-spacing: 0; font-size: inherit; }
.logo-txt b { color: var(--encre); opacity: 1; }
.logo-txt i { font-style: normal; }

@media (max-width: 380px) { .logo-txt b { font-size: 1.3125rem; } .logo-mark { width: 38px; height: 38px; } }

/* Typographie */
body { font-size: 1.0625rem; line-height: 1.6; }
h1, h2, .h1, .h2 { font-family: var(--titre); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
.h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }

.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
h3, .h3 { font-family: var(--titre); font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.3; }
.hl, .hero .hl, .hl--jaune, .hero .hl--jaune { background: none; color: inherit; padding: 0; border-radius: 0; box-shadow: inset 0 -.09em 0 var(--orange); white-space: normal; }

.btn, .btn--num, .btn--grand, .nav .btn { font-family: var(--titre); font-weight: 650; letter-spacing: -0.005em; border-radius: 6px; font-variant-numeric: tabular-nums; }
.btn--grand { font-size: clamp(1.25rem, 4.6vw, 1.5rem); min-height: 64px; }
.btn--num { font-size: clamp(1.1875rem, 5vw, 1.375rem); min-height: 60px; }
.nav .btn { font-size: 1.125rem; min-height: 50px; }
.btn--noir { box-shadow: none; }
.btn--noir:hover { filter: none; background: #B8141E; }

.logo-txt b { font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.015em; }
.logo-txt i { font-weight: 500; font-size: .8125rem; letter-spacing: 0; margin-top: 1px; color: var(--gris); }

.logo-mark { width: 38px; height: 38px; }
.x-fiche { border-radius: 8px; padding: 26px 28px; }

.x-fiche-d b { font-weight: 700; }
.x-fiche-d { border-bottom-width: 1px; border-color: var(--trait); }

.x-fiche-d b { font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.3; }

.btn .num { white-space: nowrap; }

.btn { max-width: 100%; }
@media (max-width: 620px) {
  .btn--num:not(.btn--grand) { font-size: clamp(1.0625rem, 5.1vw, 1.25rem); }
  .btn--grand, .btn--num { padding: 0 8px; gap: 8px; min-height: 60px; }
  .btn--grand svg, .btn--num svg { width: 22px; height: 22px; flex: none; }
  .sticky-cta .btn { font-size: 1.125rem; }
}
@media (max-width: 350px) { .logo-txt b { font-size: 1.0625rem; } .logo-txt i { font-size: .75rem; } .logo-mark { width: 30px; height: 30px; } .nav-in { gap: 8px; } }

/* Grille de prix */
.grille-prix-cadre { margin-top: 24px; background: var(--blanc); border: 1px solid var(--trait); border-radius: 8px; overflow: hidden; }
.grille-prix { width: 100%; border-collapse: collapse; text-align: left; }
.grille-prix th, .grille-prix td { padding: 14px 20px; border-top: 1px solid var(--trait); vertical-align: top; }
.grille-prix thead th { border-top: 0; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); background: var(--sable); }
.grille-prix tbody th { font-weight: 600; }
.grille-prix tbody th a { text-underline-offset: 3px; }
.grille-prix td { color: var(--gris); }
.grille-prix td:last-child, .grille-prix thead th:last-child { text-align: right; white-space: nowrap; }
.grille-prix td:last-child { color: var(--encre); font-weight: 650; }
.grille-prix-cat th { background: var(--creme); font: 700 1.125rem/1.2 var(--titre); padding-top: 18px; }
.grille-prix-cat small { display: block; margin-top: 2px; font: 400 .875rem/1.4 var(--texte, inherit); color: var(--gris); }

@media (max-width: 700px) {
  .grille-prix thead { display: none; }
  .grille-prix tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-top: 1px solid var(--trait); }
  .grille-prix th, .grille-prix td { padding: 0; border: 0; }
  .grille-prix td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .9375rem; }
  .grille-prix td:last-child { grid-column: 2; grid-row: 1; }
  .grille-prix-cat { display: block !important; background: var(--creme); }
  .grille-prix-cat th { display: block; background: none; padding: 0; }
}

/* ===== Polices et couleurs ===== */
@font-face { font-family: 'Bricolage'; font-style: normal; font-weight: 500 800; font-display: swap; src: url("fonts/bricolage.woff2") format("woff2"); }

:root {
  --creme: #F4F7FB; --sable: #E6EDF5; --blanc: #FFFFFF; --encre: #0D2238; --gris: #4A5A6C; --trait: #D5DEE8;
  --orange: #1D5FD6; --jaune: #FFC83D; --ciel: #E3EEFF; --x-gris: #E9EFF6;
  --titre: "Bricolage", system-ui, sans-serif; --r-carte: 18px; --r-petit: 12px;
  --accent2: #FFC83D;
}
.btn { border-radius: var(--r-petit); }

/* Bandeau et en-tête */
.n-bandeau { background: var(--encre); color: #fff; font-size: .875rem; }
.n-bandeau .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.n-bandeau a { color: var(--accent2); font-weight: 700; text-decoration: none; }
@media (max-width: 700px) { .n-bandeau span { display: none; } .n-bandeau .wrap { justify-content: center; } }
.logo-mark.n-cle { width: 42px; height: 42px; }
.logo-txt i { color: var(--orange); font-weight: 700; }

/* Haut de l'accueil */
.n-hero { background: var(--creme); padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 88px); }
.n-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

.n-h1 { margin-top: 20px; font: 800 clamp(2.5rem, 5.6vw, 4.6rem)/1.02 var(--titre); letter-spacing: -.025em; color: var(--encre); }
.n-h1 em { font-style: normal; color: var(--orange); }
.n-lead { margin-top: 20px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--gris); max-width: 54ch; }
.n-lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--encre); text-underline-offset: 4px; }
.n-preuves { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: var(--gris); font-size: .9375rem; }
.n-preuves li { display: flex; align-items: center; gap: 6px; }
.n-preuves b { color: var(--encre); }
.n-hero-photo { position: relative; margin: 0; }
.n-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-carte); }
.n-badge { position: absolute; left: -24px; bottom: 28px; display: grid; gap: 2px; max-width: 220px; padding: 16px 18px; background: var(--blanc); border-radius: var(--r-petit); box-shadow: var(--ombre); }
.n-badge b { font: 800 2.2rem/1 var(--titre); color: var(--orange); }
.n-badge span { font-size: .875rem; color: var(--gris); line-height: 1.35; }
@media (max-width: 900px) {
  .n-hero-in { grid-template-columns: 1fr; }
  .n-hero-photo img { aspect-ratio: 4 / 3; }
  .n-badge { left: 12px; bottom: 12px; }
}

/* Titres de section */
.n-tete { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.n-sur { font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: 10px; }
.n-h2 { font: 800 clamp(1.8rem, 3.4vw, 2.75rem)/1.08 var(--titre); letter-spacing: -.02em; }
.n-intro { margin-top: 14px; color: var(--gris); }

/* Problèmes en cartes photo */
.n-pbs { padding: var(--section) 0; background: var(--blanc); }
.n-pbs-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.n-pbs-grille a { position: relative; display: block; overflow: hidden; border-radius: var(--r-carte); text-decoration: none; color: #fff; min-height: 260px; }
.n-pbs-grille img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.n-pbs-grille a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 18, 30, .88) 15%, rgba(8, 18, 30, .1) 70%); }
.n-pbs-grille a:hover img { transform: scale(1.04); }
.n-pb-txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 20px; }
.n-pb-txt b { font: 800 1.45rem/1.1 var(--titre); }
.n-pb-txt small { font-size: .9375rem; color: rgba(255,255,255,.88); }
@media (max-width: 1000px) { .n-pbs-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .n-pbs-grille { grid-template-columns: 1fr; } .n-pbs-grille a { min-height: 200px; } }

/* Avant / après sur fond sombre */
.n-aa { background: var(--encre); color: #fff; padding: var(--section) 0; }
.n-aa .n-sur { color: var(--accent2); }
.n-aa .aa-grille { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .n-aa .aa-grille { grid-template-columns: 1fr; } }

/* Étapes */
.n-etapes { padding: var(--section) 0; background: var(--sable); }

/* Zones d'intervention */
.n-zones { padding: var(--section) 0; background: var(--creme); }
.n-zones-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.n-bandes { display: grid; gap: 22px; }
.n-bandes h3 { font: 800 1.05rem/1.2 var(--titre); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--encre); }
.n-bandes ul { display: flex; flex-wrap: wrap; gap: 8px; }
.n-bandes a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: 99px; background: var(--blanc); border: 1px solid var(--trait); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.n-bandes a:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 900px) { .n-zones-in { grid-template-columns: 1fr; } }

/* Pages des communes et des services */
.n-hero--page { padding-top: clamp(24px, 4vw, 48px); }
.n-hero--page .fil { color: var(--gris); }
.n-h1--page { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-top: 14px; }
.n-atouts { display: grid; gap: 10px; margin-top: 22px; }
.n-atouts li { position: relative; padding-left: 28px; }
.n-atouts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 4px var(--ciel); }
.n-atouts a { color: var(--orange); }
.n-hero-cote { display: grid; gap: 16px; }
.n-hero--page .n-hero-photo img { aspect-ratio: 16 / 10; }
.n-hero-cote .x-fiche { border-radius: var(--r-carte); border: 1px solid var(--trait); }

/* ===== Mise en page ===== */
/* En-tête sur une ligne */
@media (min-width: 1101px) {
  .nav-in { flex-wrap: nowrap; padding-top: 0; min-height: 80px; gap: 32px; }
  .nav-liens { order: 0; width: auto; padding: 0; border-top: 0; margin: 0 auto; gap: 28px; }
  .logo { margin-right: 0; }
}
.nav-liens a[aria-current] { color: var(--orange); }
.btn--clair { background: #fff; color: var(--encre); }

/* Hauts de page courts */
.n-hero--court { padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--trait); }
.n-hero--court .n-lead a { color: var(--orange); }
.hero { background: var(--creme); color: var(--encre); }
.hero .lead, .hero .fil, .hero .fil a { color: var(--gris); }

/* Corps des pages locales : sommaire et sections */
.n-local { padding: var(--section) 0; background: var(--blanc); }
.n-local-in { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.n-sommaire { position: sticky; top: 110px; display: grid; gap: 18px; }
.n-sommaire ol { display: grid; gap: 2px; border-left: 2px solid var(--trait); }
.n-sommaire ol a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--gris); font-size: .9375rem; line-height: 1.35; }
.n-sommaire ol a:hover { color: var(--orange); border-left-color: var(--orange); }
.n-sommaire-appel { display: grid; gap: 10px; padding: 18px; background: var(--ciel); border-radius: var(--r-carte); font-weight: 700; }
.n-sommaire-appel .btn { min-height: 52px; font-size: 1.0625rem; padding: 0 16px; }
.n-soeur { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--trait); border-radius: var(--r-carte); text-decoration: none; }
.n-soeur small { color: var(--gris); }
.n-soeur b { color: var(--orange); font-family: var(--titre); }
.n-chapo { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--encre); max-width: 60ch; margin-bottom: 28px; font-weight: 500; }
.n-local-txt article { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--trait); }

.n-h3 { font: 800 1.35rem/1.2 var(--titre); margin-bottom: 8px; }
.n-local-txt p { margin-bottom: 10px; max-width: 68ch; color: #2A3A4C; }
@media (max-width: 900px) {
  .n-local-in { grid-template-columns: 1fr; }
  .n-sommaire { position: static; }
  .n-sommaire ol { display: none; }
  .n-sommaire > .n-sur { display: none; }
  .n-local-txt { order: -1; }
  .n-local-txt article { grid-template-columns: 40px 1fr; gap: 12px; }
}

/* Avis */
.n-avis { padding: var(--section) 0; background: var(--creme); }
.n-avis-in { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.n-avis-note { display: grid; gap: 10px; padding: 28px; background: var(--orange); color: #fff; border-radius: var(--r-carte); }
.n-avis-note .n-sur { color: var(--accent2); margin: 0; }
.n-avis-chiffre { font: 800 4.5rem/1 var(--titre); }
.n-avis-chiffre small { font-size: 1.5rem; opacity: .8; }
.n-avis-t { font: 700 1.2rem/1.25 var(--titre); }
.n-avis-note .n-lien { color: #fff; font-size: .9375rem; }
.n-avis-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.n-avis-liste figure { margin: 0; display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--blanc); border-radius: var(--r-carte); border: 1px solid var(--trait); }
.n-avis-liste blockquote { margin: 0; font-size: 1.0625rem; }
.n-avis-liste figcaption { color: var(--gris); font-size: .875rem; }
@media (max-width: 800px) { .n-avis-in { grid-template-columns: 1fr; } }

/* Questions */
.n-faq { padding: var(--section) 0; background: var(--blanc); }
.n-faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.n-faq-cote { position: sticky; top: 110px; }
.n-faq-carte { display: grid; gap: 12px; margin-top: 24px; padding: 20px; background: var(--ciel); border-radius: var(--r-carte); }
.n-faq-liste details { border-bottom: 1px solid var(--trait); }
.n-faq-liste details:first-child { border-top: 1px solid var(--trait); }
.n-faq-liste summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font: 700 1.125rem/1.35 var(--titre); }
.n-faq-liste summary::-webkit-details-marker { display: none; }
.n-faq-liste summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ciel); color: var(--orange); font-size: 1.4rem; font-weight: 600; }
.n-faq-liste details[open] summary::after { content: "–"; }
.n-faq-liste details p { padding: 0 0 20px; color: var(--gris); max-width: 64ch; }
@media (max-width: 900px) { .n-faq-in { grid-template-columns: 1fr; } .n-faq-cote { position: static; } }

/* Appel final */
.n-final { padding: 0 0 var(--section); background: var(--blanc); }
.n-final-carte { display: grid; grid-template-columns: 380px 1fr; overflow: hidden; background: var(--encre); color: #fff; border-radius: var(--r-carte); }
.n-final-photo { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.n-final-txt { display: grid; gap: 16px; align-content: center; justify-items: start; padding: clamp(28px, 5vw, 56px); }
.n-final-txt p { color: rgba(255,255,255,.8); max-width: 56ch; }
@media (max-width: 800px) { .n-final-carte { grid-template-columns: 1fr; } .n-final-photo { min-height: 0; aspect-ratio: 16 / 9; } }

/* Services en liste */
.n-services { padding: var(--section) 0; background: var(--creme); }
.n-services-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.n-services-grille a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 0 20px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-petit); text-decoration: none; font-family: var(--titre); }
.n-services-grille a:hover { border-color: var(--orange); color: var(--orange); }
.n-services .n-intro a { color: var(--orange); }

/* Tarifs */
.n-regles { padding: clamp(28px, 4vw, 48px) 0; background: var(--sable); }
.n-grille { padding: var(--section) 0; }
.grille-prix-cadre { border-radius: var(--r-carte); overflow: hidden; border: 1px solid var(--trait); background: var(--blanc); }

/* À propos */
.n-garanties { padding: clamp(28px, 4vw, 48px) 0; background: var(--orange); color: #fff; }
.n-garanties ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.n-garanties li { display: grid; gap: 6px; padding-left: 16px; border-left: 3px solid var(--accent2); }
.n-garanties b { font: 800 1.15rem/1.2 var(--titre); }
.n-garanties span { color: rgba(255,255,255,.85); font-size: .9375rem; }
@media (max-width: 900px) { .n-garanties ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .n-garanties ul { grid-template-columns: 1fr; } }

/* Contact */
.n-contact { display: grid; gap: 0; margin: 0; padding: 8px 24px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-carte); }
.n-contact div { padding: 16px 0; border-bottom: 1px solid var(--trait); }
.n-contact div:last-child { border-bottom: 0; }
.n-contact dt { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.n-contact dd { margin: 4px 0 0; font-weight: 600; }
.n-contact a { color: var(--orange); }

/* Communes */
.n-communes { padding: var(--section) 0; }
.n-communes-bande + .n-communes-bande { margin-top: 40px; }
.n-communes-bande ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.n-communes-bande li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 16px 18px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-petit); }
.n-communes-bande li p { width: 100%; display: flex; justify-content: space-between; gap: 8px; }
.n-communes-bande li span { color: var(--gris); font-size: .875rem; }
.n-communes-bande li a { color: var(--orange); font-weight: 600; font-size: .9375rem; }
.n-zones--page { background: var(--creme); }

/* Pied de page */
.n-pied { background: var(--sable); padding: clamp(48px, 6vw, 72px) 0 28px; margin-top: 0; }

.n-pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.n-pied-grille .muted { margin-top: 14px; font-size: .9375rem; max-width: 38ch; }
.n-pied-t { font: 700 .8125rem/1 var(--texte); text-transform: uppercase; letter-spacing: .08em; color: var(--gris); margin-bottom: 14px; }
.n-pied ul { display: grid; gap: 8px; font-size: .9375rem; }
.n-pied a { text-decoration: none; }
.n-pied ul a:hover { color: var(--orange); }
.n-pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--trait); font-size: .8125rem; color: var(--gris); }

@media (max-width: 900px) { .n-pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .n-pied-grille { grid-template-columns: 1fr; } }
p.n-preuves { display: flex; align-items: center; gap: 8px; }

/* ===== Finitions ===== */
/* Arrondis : boutons 12 px, cartes 18 px, puces en pilule */
.aa, .n-services-grille a, .n-communes-bande li { border-radius: var(--r-carte); }

/* Haut de page */
.n-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 72px); }
.n-h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.04; padding-bottom: .06em; }
.n-lead { max-width: 44ch; }

/* Bandeau de garanties sous le haut de page */
.n-confiance { background: var(--blanc); border-block: 1px solid var(--trait); }
.n-confiance ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.n-confiance li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; color: var(--orange); }
.n-confiance li + li { border-left: 1px solid var(--trait); }
.n-confiance p { display: grid; gap: 2px; color: var(--encre); }
.n-confiance b { font: 700 1.0625rem/1.2 var(--titre); }
.n-confiance span { font-size: .875rem; color: var(--gris); }
.n-confiance .stars { flex: none; }
@media (max-width: 900px) { .n-confiance ul { grid-template-columns: 1fr 1fr; } .n-confiance li:nth-child(3) { border-left: 0; } .n-confiance li:nth-child(n+3) { border-top: 1px solid var(--trait); } }
@media (max-width: 520px) { .n-confiance ul { grid-template-columns: 1fr; padding: 0; } .n-confiance li { border-left: 0 !important; padding: 16px var(--marge); } .n-confiance li + li { border-top: 1px solid var(--trait); } }

/* Problèmes : première carte plus grande */
@media (min-width: 1001px) {
  .n-pbs-grille { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 240px; }
  .n-pbs-grille li:first-child { grid-row: span 2; }
  .n-pbs-grille li:first-child a { min-height: 100%; }
  .n-pbs-grille li:first-child .n-pb-txt b { font-size: 2rem; }
  .n-pbs-grille a { min-height: 100%; height: 100%; }
}

/* Avant / après : un grand, deux à côté */
.n-aa-t { margin-bottom: clamp(24px, 4vw, 40px); max-width: 20ch; }
@media (min-width: 901px) {
  .n-aa .aa-grille { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
  .n-aa .aa-grille .aa:first-child { grid-row: span 2; }
  .n-aa .aa-grille .aa:first-child .aa-photos img { aspect-ratio: 3 / 4; }
}
.aa { padding: 10px; }
.aa-photos img { border-radius: 12px; }

/* Étapes : ligne de temps verticale */
.n-etapes { background: var(--sable); }
.n-etapes-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.n-etapes-in .cta { margin-top: 24px; }
.n-ligne { position: relative; display: grid; gap: 28px; padding-left: 36px; }
.n-ligne::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: color-mix(in srgb, var(--orange) 30%, transparent); }
.n-ligne li { position: relative; display: grid; gap: 4px; }
.n-ligne li::before { content: ""; position: absolute; left: -36px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blanc); border: 5px solid var(--orange); }
.n-ligne b { font: 800 1.3rem/1.2 var(--titre); }
.n-ligne span { color: var(--gris); max-width: 46ch; }
@media (max-width: 900px) { .n-etapes-in { grid-template-columns: 1fr; } }

/* Pages locales */
.n-local-txt article { display: block; padding: 26px 0; }
.n-local-txt article:first-of-type { border-top: 0; padding-top: 0; }
.n-sommaire-t { font: 700 1rem/1.2 var(--titre); }
.n-atouts li { display: flex; gap: 12px; align-items: flex-start; padding-left: 0; }
.n-atouts li::before { display: none; }
.n-atouts svg { flex: none; color: var(--orange); margin-top: 2px; }

/* Questions : le + tourne à l'ouverture */
.n-faq-liste summary::after { content: "+"; transition: transform .2s ease; }
.n-faq-liste details[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); }

/* Tarifs : règles en 2 × 2 */
.n-regles-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.n-regles-grille li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--orange); }
.n-regles-grille b { font: 800 1.15rem/1.25 var(--titre); }
.n-regles-grille span { color: var(--gris); }
@media (max-width: 640px) { .n-regles-grille { grid-template-columns: 1fr; } }

/* Zones */
.n-zones-lien { margin-top: 20px; }
.n-zones .n-intro { max-width: 46ch; }

@media (prefers-reduced-motion: reduce) { .n-pbs-grille img, .n-faq-liste summary::after, .btn { transition: none; } }
@media (min-width: 1001px) {
  .n-pbs-grille li:last-child:nth-child(6) { grid-column: 1 / -1; }
  .n-pbs-grille li:last-child:nth-child(6) a { min-height: 200px; }
}
@media (min-width: 901px) {
  .n-aa .aa-grille .aa:first-child { display: grid; grid-template-rows: 1fr auto; }
  .n-aa .aa-grille .aa:first-child .aa-photos, .n-aa .aa-grille .aa:first-child .aa-photos > div { height: 100%; }
  .n-aa .aa-grille .aa:first-child .aa-photos img { height: 100%; aspect-ratio: auto; object-fit: cover; }
}

/* Numéros de téléphone */
.btn--num { font-size: clamp(1.4rem, 5.6vw, 1.6rem); min-height: 64px; font-weight: 750; letter-spacing: .005em; }
.btn--num.btn--grand { font-size: clamp(1.55rem, 6.6vw, 2.1rem); min-height: 76px; padding: 0 34px; }
.btn--num svg { width: 26px; height: 26px; }
.btn--num.btn--grand svg { width: 32px; height: 32px; }
.nav .btn--num { font-size: 1.4rem; min-height: 56px; }
.n-bandeau { font-size: .9375rem; }
.n-bandeau a { font-size: 1.125rem; }
.n-sommaire-appel .btn--num { font-size: 1.3rem; min-height: 58px; }
.sticky-cta .btn--num { font-size: 1.55rem; min-height: 64px; }
.n-contact a[href^="tel"] { font-size: 1.25rem; font-weight: 800; }
@media (max-width: 760px) {
  .btn--num, .btn--num:not(.btn--grand) { font-size: clamp(1.35rem, 6.4vw, 1.6rem); min-height: 64px; }
  .btn--num.btn--grand { font-size: clamp(1.5rem, 7.4vw, 1.9rem); min-height: 72px; padding: 0 12px; }
  .btn--grand svg, .btn--num svg { width: 26px; height: 26px; }
}
