/* Site Calmettes Charpente Couverture (ZELY), charpentier couvreur zingueur à Montauban. Thème posé sur kit.css.
   DA : charbon, orange et jaune de son logo, bois clair, fond crème ; titres en Archivo.
   Objets du métier : agrandir en bois (onglets + vraies photos), diagnostic du toit, coupe de toiture, terrasses, fiche chantier. */
:root {
  --navy-rgb: 31, 26, 30; --navy2-rgb: 22, 18, 21; --ink-rgb: 31, 26, 30; --cyan-rgb: 240, 144, 24;
  --navy: #1F1A1E; --navy-2: #161215; --navy-l: #2E282C; --ink: #1F1A1E;
  --tuile: #F09018; --tuile-d: #D67A06; --tuile-l: #F8B75C; --zinc: #8C99A3; --zinc-l: #D5DCE1; --jaune: #F5E400; --bois: #C8955A;
  --cyan: #B35F00; --cyan-d: #8F4B00; --cyan-l: #F8B75C; --sky: #FBEFDD;
  --sand: #F6F1E9; --line: #E6DDCF; --grey: #5E5A5C;
  --fond: #F6F1E9; --fond-2: #EEE6D9; --carte: #FFFFFF;
  --display: 'Archivo', system-ui, sans-serif; --text: 'Inter', system-ui, sans-serif; --hand: 'Archivo', system-ui, sans-serif;
  --r-s: 8px; --r-m: 14px; --r-l: 20px;
}
body { background: var(--fond); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
.h1, .h2 { color: var(--navy); }
.sub { color: var(--grey); }
.kicker, .kicker.light, .sec-head.light .kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--text); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ''; width: 18px; height: 10px; flex: none; background: linear-gradient(90deg, var(--tuile), var(--jaune)); clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%); }
.sec-head.light .kicker, .devis-sec .kicker, .urg-dp .kicker { color: var(--tuile-l); }
.sec-head.light .h2 { color: #fff; } .sec-head.light .sub { color: rgba(255, 255, 255, .76); }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-2); } .btn-navy svg { color: var(--tuile-l); }
.btn-cyan, .btn-or { background: var(--tuile); color: #fff; box-shadow: 0 12px 28px -12px rgba(240, 144, 24, .8); } .btn-cyan:hover, .btn-or:hover { background: var(--tuile-d); } .btn-cyan svg, .btn-or svg { color: #fff; }
.btn-ghost-navy { border-color: var(--line); }

/* En-tête : son logo (les deux C), nom recomposé à l’horizontale */
.top { background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(var(--ink-rgb), .08); }
.top .logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav a.on { color: var(--cyan); }
.wm { display: inline-flex; align-items: center; } .wm-img { width: 212px; height: auto; }
.topbar { background: var(--navy); } .topbar a svg { color: var(--tuile-l); }
.foot { background: var(--navy-2); }

/* ---------- Héros ---------- */
.hero-dp { position: relative; overflow: hidden; padding: 40px var(--pad) 120px; background: var(--navy); color: #fff; }
.hd-bg { position: absolute; inset: 0; }
.hd-bg picture, .hd-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hd-bg img { animation: lent 16s ease-out both; }
@keyframes lent { from { transform: scale(1.08); } }
.hd-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 26, 30, .92) 0%, rgba(21, 26, 30, .7) 40%, rgba(21, 26, 30, .18) 100%), linear-gradient(0deg, rgba(21, 26, 30, .45), transparent 30%); }
.hd-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px); gap: 56px; max-width: 1240px; margin: 0 auto; align-items: center; }
.hero-dp .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: 14px; color: #fff; }
.hero-dp .eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--tuile); box-shadow: 0 0 0 4px rgba(240, 144, 24, .3); }
.hero-dp .h1 { margin-top: 18px; font-size: clamp(44px, 5vw, 74px); line-height: 1.02; color: #fff; }
.hero-dp .h1 .mot { font-style: normal; color: var(--tuile-l); }
.hero-dp .lead { margin-top: 16px; max-width: 590px; color: rgba(255, 255, 255, .86); }
.hd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.hd-tel { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 8px; border-radius: 99px; background: var(--tuile); color: #fff; box-shadow: 0 14px 30px -14px rgba(240, 144, 24, .9); transition: transform .3s var(--ease), background-color .3s; }
.hd-tel:hover { transform: translateY(-2px); background: var(--tuile-d); }
.hd-tel-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hd-tel-ico svg { width: 22px; height: 22px; }
.hd-tel small { display: block; font-size: 13px; color: #fff; } .hd-tel b { display: block; font-family: var(--display); font-size: 23px; line-height: 1.1; }
.hd-avis { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.hd-avis .stars { color: #F2B230; } .hd-avis b { color: #fff; font-size: 16px; }
.hd-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: 30px 0 0; padding: 0; list-style: none; }
.hd-points li { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.hd-points b { display: block; font-family: var(--display); font-size: 17px; color: #fff; } .hd-points span { display: block; margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.hd-form { width: 100%; justify-self: end; color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.hd-form .q-head h2 { color: var(--navy); }
.hd-legende { position: absolute; right: 18px; bottom: 76px; z-index: 1; padding: 4px 10px; border-radius: 6px; background: rgba(21, 26, 30, .7); font-size: 12.5px; color: rgba(255, 255, 255, .85); }

/* Cartouche */
.cartouche { max-width: 1120px; margin: -58px auto 0; position: relative; z-index: 3; padding: 0 var(--pad); }
.cartouche.reveal { opacity: 1; transform: none; }
.ct-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 26px 50px -30px rgba(var(--ink-rgb), .5), 0 0 0 1px var(--line); }
.ct { position: relative; padding: 16px 20px 18px; border-left: 1px solid var(--line); }
.ct:first-child { border-left: 0; }
.ct-l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.ct b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.1; color: var(--navy); }
.ct small { display: block; margin-top: 4px; font-size: 14px; color: var(--grey); }
.ct::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c, var(--tuile)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.cartouche.in .ct::after { transform: scaleX(1); }
.ct:nth-child(1) { --c: var(--tuile); } .ct:nth-child(2) { --c: var(--jaune); } .ct:nth-child(3) { --c: var(--navy); } .ct:nth-child(4) { --c: var(--bois); }
.ct:nth-child(2)::after { transition-delay: .15s; } .ct:nth-child(3)::after { transition-delay: .3s; } .ct:nth-child(4)::after { transition-delay: .45s; }

/* Ruban */
.ruban { position: relative; overflow: hidden; margin-top: 46px; height: 56px; display: flex; align-items: center; background: var(--tuile); }
.ruban-in { display: flex; align-items: center; width: max-content; animation: ruban 70s linear infinite; }
.ruban span { padding: 0 20px; font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; white-space: nowrap; }
.ruban .jt { width: 10px; height: 7px; flex: none; background: #fff; opacity: .8; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.ruban:hover .ruban-in { animation-play-state: paused; }
@keyframes ruban { to { transform: translateX(-50%); } }

/* ---------- Diagnostic du toit ---------- */
.dg-sec { padding: 110px var(--pad); }
.dg-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 32px; max-width: 1240px; margin: 0 auto; align-items: start; }
.dg-vue { position: relative; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -40px rgba(var(--ink-rgb), .55), 0 0 0 1px var(--line); }
.dg-svg { display: block; width: 100%; height: auto; }
.dg-svg .dg-fen { fill: #CFDDE6; stroke: #6F7D86; stroke-width: 3; } .dg-svg .dg-porte { fill: #8B5A3C; stroke: #5E3A24; stroke-width: 3; }
.dg-svg .dg-gout { stroke: var(--zinc); stroke-width: 9; stroke-linecap: round; } .dg-svg .dg-desc { stroke: var(--zinc); stroke-width: 7; }
.dg-svg .dg-rive { fill: none; stroke: #8A3A1C; stroke-width: 6; stroke-linejoin: round; } .dg-svg .dg-faitage { stroke: #8A3A1C; stroke-width: 12; stroke-linecap: round; }
.dg-svg .dg-zinc { stroke: #A9B4BC; stroke-width: 8; stroke-linecap: round; } .dg-svg .dg-velux { fill: #8FB5CB; stroke: #42505A; stroke-width: 3; }
.dg-svg .dg-mousse circle { fill: #6F8A3A; opacity: .85; }
.dg-svg .dg-etiq { font: 700 11px var(--text); letter-spacing: .14em; fill: var(--grey); }
.dg-zone circle { fill: rgba(240, 144, 24, .16); stroke: var(--tuile); stroke-width: 3; stroke-dasharray: 6 5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease); }
.dg-zone.on circle { opacity: 1; transform: none; animation: tourne 12s linear infinite; }
@keyframes tourne { to { stroke-dashoffset: -110; } }
.dg-pt { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.dg-pt span { position: absolute; inset: 8px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.dg-pt::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); animation: pouls 2.2s ease-out infinite; }
@keyframes pouls { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.dg-pt:hover span { transform: scale(1.1); }
.dg-pt.on span { background: var(--tuile); color: #fff; transform: scale(1.15); }
.dg-pt:focus-visible { outline: 3px solid var(--tuile); outline-offset: 2px; }
.dg-panneau { padding: 22px; border-radius: var(--r-l); background: #fff; box-shadow: 0 30px 60px -40px rgba(var(--ink-rgb), .55), 0 0 0 1px var(--line); }
.dg-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-ch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 6px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 14px var(--text); cursor: pointer; transition: border-color .25s, background-color .25s; }
.dg-ch i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fond-2); font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; }
.dg-ch:hover { border-color: rgba(240, 144, 24, .5); }
.dg-ch.on { background: var(--navy); border-color: var(--navy); color: #fff; } .dg-ch.on i { background: var(--tuile); color: #fff; }
.dg-ch:focus-visible { outline: 3px solid var(--tuile); outline-offset: 2px; }
.dg-fiche { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.dg-fiche.on { animation: carte .45s var(--ease); }
@keyframes carte { from { opacity: 0; transform: translateY(8px); } }
.dg-fiche h3 { font-size: 24px; color: var(--navy); }
.dg-fiche p { margin-top: 10px; color: #42474C; } .dg-fiche p b { color: var(--navy); }
.dg-devis { margin-top: 16px; }

/* Métiers */
.metiers { padding: 30px var(--pad) 100px; }
.me-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; }
.mt { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.mt:hover { transform: translateY(-5px); border-color: rgba(240, 144, 24, .45); box-shadow: 0 26px 44px -28px rgba(var(--ink-rgb), .45); }
.mt-img { position: relative; } .mt-img picture { display: block; aspect-ratio: 4 / 3.4; overflow: hidden; }
.mt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mt:hover .mt-img img { transform: scale(1.05); }
.mt-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.mt-body b { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--navy); }
.mt-body small { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--grey); }
.mt-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--cyan); }
.mt-lien svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mt:hover .mt-lien svg { transform: translateX(4px); }
.mt.reveal picture { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease) calc(var(--i, 0) * 90ms + .15s); }
.mt.reveal.in picture { clip-path: inset(0 0 0 0); }
.illu-tag { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 3px 8px; border-radius: 5px; background: rgba(21, 26, 30, .8); color: #fff; font-size: 12px; font-weight: 600; }

/* Scène */
.scene { background: #fff; }

/* Famille */
.famille { padding: 100px var(--pad); }
.fa-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; max-width: 1180px; margin: 0 auto; align-items: center; }
.fa-img { position: relative; margin: 0; } .fa-img picture { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-l); } .fa-img img { width: 100%; height: 100%; object-fit: cover; }
.fa-img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .94); font-size: 13.5px; font-weight: 600; color: var(--navy); }
.fa-trio { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 4 / 3; } .fa-trio picture { aspect-ratio: auto; min-height: 0; } .fa-trio .ft-a { grid-row: 1 / 3; } .fa-trio .ft-a img { object-position: 50% 30%; }
.fa-txt .h2 { margin-top: 10px; } .fa-txt > p:not(.kicker) { margin-top: 14px; color: #44494E; }
.fa-liste { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.fa-liste li { position: relative; padding-left: 28px; font-weight: 600; color: var(--navy); }
.fa-liste li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 12px; background: var(--tuile); clip-path: polygon(0 100%, 50% 0, 100% 100%); }

/* Bandeau urgence */
.urg-dp { padding: 0 var(--pad); margin: 0 0 90px; }
.urg-in { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 22px 28px; border-radius: var(--r-l); background: var(--navy); color: #fff; }
.urg-ico { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: rgba(240, 144, 24, .2); color: var(--tuile-l); }
.urg-ico svg { width: 28px; height: 28px; animation: goutte 2.4s ease-in-out infinite; }
@keyframes goutte { 50% { transform: translateY(4px); } }
.urg-txt { flex: 1; } .urg-txt b { display: block; font-family: var(--display); font-size: 24px; } .urg-txt span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .78); }

/* Pages intérieures */
.phero-veil { background: linear-gradient(90deg, rgba(21, 26, 30, .93) 0%, rgba(21, 26, 30, .72) 50%, rgba(21, 26, 30, .25) 100%); }
.phero { position: relative; } .phero .h1 { color: #fff; } .phero .eyebrow i { background: var(--tuile); }
.duo-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; max-width: 1140px; margin: 0 auto; padding: 100px var(--pad); align-items: center; }
.duo-img { position: relative; margin: 0; } .duo-img picture { display: block; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: var(--r-l); } .duo-img img { width: 100%; height: 100%; object-fit: cover; }
.duo-img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .94); font-size: 13.5px; font-weight: 600; color: var(--navy); }
.duo-txt .h2 { margin-top: 10px; } .duo-txt p:not(.kicker) { margin-top: 14px; color: #44494E; }
.duo-liste { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.duo-liste li { position: relative; padding-left: 26px; font-weight: 600; color: var(--navy); } .duo-liste li::before { content: ''; position: absolute; left: 0; top: .4em; width: 14px; height: 10px; background: var(--tuile); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.services-sec, .galerie-sec, .etapes-sec { padding: 100px var(--pad); }
.services-sec { background: #fff; }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1140px; margin: 0 auto; }
.sv { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-m); background: var(--fond); border: 1px solid var(--line); }
.sv-img { position: relative; } .sv-img picture { display: block; aspect-ratio: 16 / 11; overflow: hidden; } .sv-img img { width: 100%; height: 100%; object-fit: cover; }
.sv-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; } .sv h3 { font-size: 20px; color: var(--navy); } .sv p { margin-top: 6px; color: var(--grey); font-size: 15px; }
.sv .sv-lien { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; padding-left: 0; font: 700 14.5px var(--text); color: var(--cyan); cursor: pointer; }
.sv .sv-lien svg { width: 16px; height: 16px; }
.etapes-sec { background: var(--navy); }
.et-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1140px; margin: 0 auto; padding: 0; list-style: none; }
.et-grid li { padding: 22px; border-radius: var(--r-m); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(var(--i) * 160ms + .2s); }
.et-grid.in li { opacity: 1; transform: none; }
.et-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tuile); font-family: var(--display); font-weight: 800; color: #fff; }
.et-grid b { display: block; margin-top: 12px; font-family: var(--display); font-size: 19px; color: #fff; } .et-grid p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .76); }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; max-width: 1200px; margin: 0 auto; }
.galerie .w { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-m); background: var(--fond-2); }
.galerie .g-large { grid-column: span 2; } .galerie .g-haut { grid-row: span 2; }
.galerie button { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; }
.galerie picture { display: block; width: 100%; height: 100%; } .galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galerie .w:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 7px 11px; border-radius: 8px; background: rgba(255, 255, 255, .94); font-size: 13.5px; font-weight: 600; color: var(--navy); pointer-events: none; }

/* Coupe de toiture (toit qui se construit au défilement) */
.coupe { background: #fff; }
.coupe-svg svg { display: block; width: 100%; height: auto; } .coupe-svg text { stroke: none; paint-order: normal; }
.coupe .tc { opacity: 0; transform: translateY(-14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.coupe[data-s="1"] .tc1, .coupe[data-s="2"] .tc1, .coupe[data-s="3"] .tc1, .coupe[data-s="4"] .tc1, .coupe[data-s="5"] .tc1, .coupe[data-s="6"] .tc1,
.coupe[data-s="2"] .tc2, .coupe[data-s="3"] .tc2, .coupe[data-s="4"] .tc2, .coupe[data-s="5"] .tc2, .coupe[data-s="6"] .tc2,
.coupe[data-s="3"] .tc3, .coupe[data-s="4"] .tc3, .coupe[data-s="5"] .tc3, .coupe[data-s="6"] .tc3,
.coupe[data-s="4"] .tc4, .coupe[data-s="5"] .tc4, .coupe[data-s="6"] .tc4,
.coupe[data-s="5"] .tc5, .coupe[data-s="6"] .tc5,
.coupe[data-s="6"] .tc6 { opacity: 1; transform: none; }
.coupe .tl { opacity: .35; transition: opacity .4s; }
.coupe[data-s="1"] .tl1, .coupe[data-s="2"] .tl2, .coupe[data-s="3"] .tl3, .coupe[data-s="4"] .tl4, .coupe[data-s="5"] .tl5, .coupe[data-s="6"] .tl6 { opacity: 1; }
.cs-n { background: var(--fond-2); color: var(--navy); } .cs.on .cs-n { background: var(--tuile); color: #fff; }

/* Avis */
.avis-sec { padding: 100px var(--pad) 40px; }
.qt { background: #fff; border-color: var(--line); }
.qt .stars, .avis-band .stars { color: #E2A20F; }
.avis-band { background: var(--navy); }

/* Zone */
.carte .k-coeur, .carte .k-halo, .carte .pin { fill: var(--tuile); }
.carte .k-etiquette rect { fill: var(--navy); }
.carte .k-coeur, .carte .pin { fill: var(--tuile); }

/* Devis : fiche chantier */
.devis-sec { background: radial-gradient(90% 120% at 0% 0%, var(--navy-l), var(--navy) 60%, var(--navy-2)); }
.devis-cb .devis-in { align-items: start; }
.fiche { position: relative; margin-top: 26px; padding: 18px 20px 16px; border-radius: 6px; background: #FDFCFA; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border-top: 5px solid var(--tuile); }
.fi-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--zinc); }
.fi-logo .wm-img { width: 150px; }
.fi-titre { font-family: var(--text); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.fi-lignes { display: grid; gap: 2px; margin-top: 10px; }
.fi-lignes li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 22px; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px; border-radius: 4px; transition: background-color .4s; }
.fi-ico { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: var(--fond-2); color: var(--grey); transition: background-color .4s, color .4s; }
.fi-ico svg { width: 16px; height: 16px; }
.fi-t { font-size: 13.5px; color: var(--grey); }
.fi-v { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 15px; color: #686D72; font-weight: 700; }
.fi-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tuile); color: #fff; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s var(--ease); }
.fi-ok svg { width: 13px; height: 13px; stroke-width: 3; }
.fi-lignes li.rempli .fi-v { color: var(--ink); } .fi-lignes li.rempli .fi-ok { opacity: 1; transform: none; } .fi-lignes li.rempli .fi-ico { background: var(--tuile); color: #fff; }
.fi-lignes li.flash { animation: flash-ligne .9s var(--ease); }
@keyframes flash-ligne { 0% { background: rgba(240, 144, 24, .16); } 100% { background: transparent; } }
.fi-pied { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.fi-barre { flex: 1; height: 6px; overflow: hidden; border-radius: 3px; background: var(--line); }
.fi-barre i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--tuile); transition: width .6s var(--ease); }
.fi-pied small { font-size: 13px; font-weight: 600; color: var(--grey); }
.fi-tampon { position: absolute; right: 18px; bottom: 44px; padding: 8px 14px; border: 3px solid var(--tuile); border-radius: 6px; color: var(--tuile); font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; display: none; opacity: 0; transform: rotate(-12deg) scale(2.2); pointer-events: none; }
.fiche.fini .fi-tampon { display: block; animation: tampon .55s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes tampon { to { opacity: .92; transform: rotate(-12deg) scale(1); } }
.devis-cb .devis-tel { margin-top: 26px; }
.tile { transition: transform .25s var(--ease), border-color .25s, background-color .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(var(--ink-rgb), .45); }
.tile:has(input:checked) { border-color: var(--tuile); background: var(--sky); animation: tuile .4s var(--ease); }
@keyframes tuile { 40% { transform: scale(.96); } }
.quote .q-pane.on { animation: volet .45s var(--ease); }
@keyframes volet { from { opacity: 0; transform: translateX(24px); } }
.quote .q-bar i { background: var(--tuile); transition: width .6s var(--ease); }
.quote.flash { animation: eclat 1.2s var(--ease); }
@keyframes eclat { 0% { box-shadow: 0 0 0 0 rgba(240, 144, 24, .6); } 100% { box-shadow: 0 0 0 26px rgba(240, 144, 24, 0); } }

@media (max-width: 1240px) { .me-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .hd-in { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .hd-form { justify-self: stretch; }
  .ct-in { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin: 0 auto; }
  .ct:nth-child(3) { border-left: 0; } .ct:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dg-in, .fa-in, .duo-sec { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .sv-grid, .et-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero-dp { padding: 18px 16px 76px; }
  .hd-in { gap: 18px; }
  .hero-dp .eyebrow, .hero-dp .lead, .hd-points, .hd-avis, .hd-legende { display: none; }
  .hero-dp .h1 { margin-top: 0; font-size: clamp(32px, 9vw, 40px); }
  .hd-actions { margin-top: 14px; } .hd-tel { min-height: 54px; } .hd-tel b { font-size: 20px; }
  .hd-form { margin: 0; padding: 18px 16px 16px; }
  .hd-form .q-head h2 { font-size: 21px; }
  .hd-form .tile { min-height: 0; padding: 10px; gap: 8px; }
  .hd-form .t-ico { width: 34px; height: 34px; }
  .hd-form .q-call { display: none; }
  .cartouche { padding: 0 12px; margin-top: -44px; }
  .ct { padding: 10px 12px 12px; } .ct b { font-size: 18px; } .ct small { font-size: 12.5px; }
  .ruban { margin-top: 34px; height: 50px; } .ruban span { font-size: 14.5px; padding: 0 14px; }
  .dg-sec, .famille, .duo-sec, .services-sec, .galerie-sec, .etapes-sec { padding: 72px 16px; }
  .metiers { padding: 10px 16px 72px; }
  .dg-panneau { padding: 16px; }
  .dg-liste { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .dg-ch { flex: none; }
  .dg-pt { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .dg-pt span { inset: 9px; font-size: 12px; }
  .me-grid { gap: 10px; } .mt-img picture { aspect-ratio: 1 / 1; }
  .mt-body { padding: 12px 12px 14px; } .mt-body b { font-size: 17px; } .mt-body small { font-size: 13.5px; line-height: 1.45; }
  .sv-grid, .et-grid { grid-template-columns: minmax(0, 1fr); }
  .urg-dp { padding: 0 16px; margin-bottom: 64px; } .urg-in { flex-direction: column; align-items: flex-start; padding: 20px; } .urg-txt b { font-size: 21px; }
  .galerie { grid-auto-rows: 170px; gap: 8px; } .galerie figcaption { font-size: 12px; padding: 5px 8px; left: 6px; right: 6px; bottom: 6px; }
  .avis-sec { padding: 72px 16px 24px; }
  .devis-cb .devis-txt .sub, .devis-cb .devis-tel { display: none; }
  .fiche { margin-top: 18px; padding: 14px 14px 12px; }
  .fi-lignes { display: none; } .fi-head { padding-bottom: 8px; } .fi-pied { margin-top: 10px; }
  .fi-tampon { bottom: 8px; right: 12px; font-size: 14px; padding: 4px 10px; }
  .foot-grid > div:nth-child(2) { display: none; }
  .hd-txt .h1, .ct-in, .dg-vue, .dg-liste, .me-grid .mt:first-child, .fa-txt .h2, .avis-band, .locator, .fiche { scroll-margin-top: 80px; }
  body { padding-bottom: 0; } .foot { padding-bottom: 108px; } .zely-sig { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ruban-in, .hd-bg img, .urg-ico svg, .dg-pt::before, .dg-zone.on circle { animation: none !important; }
  .mt.reveal picture { clip-path: none; transition: none; }
  .et-grid li, .coupe .tc { opacity: 1; transform: none; transition: none; }
}


/* ---------- Calmettes ---------- */
.btn-cyan, .btn-or { background: var(--tuile); color: var(--navy); box-shadow: 0 12px 28px -12px rgba(240, 144, 24, .8); } .btn-cyan:hover, .btn-or:hover { background: var(--tuile-l); } .btn-cyan svg, .btn-or svg { color: var(--navy); }
.btn-navy svg { color: var(--tuile); }
.h2 em, .rl-txt h2 em, .sc-txt .h2 em, .fa-txt .h2 em { font-style: normal; color: var(--cyan); background: linear-gradient(transparent 62%, rgba(245, 228, 0, .55) 62% 92%, transparent 92%); padding: 0 .04em; }
.devis-sec .h2 em, .rl-txt h2 em, .sec-head.light .h2 em { color: var(--tuile); background: none; }
.hero-dp .h1 .mot { color: var(--tuile); }
.hd-tel { background: var(--tuile); color: var(--navy); } .hd-tel:hover { background: var(--tuile-l); } .hd-tel small { color: var(--navy); } .hd-tel-ico { background: rgba(31, 26, 30, .12); }
.hd-bg::after { background: linear-gradient(90deg, rgba(22, 18, 21, .93) 0%, rgba(22, 18, 21, .76) 42%, rgba(22, 18, 21, .25) 100%), linear-gradient(0deg, rgba(22, 18, 21, .5), transparent 30%); }
.hd-bg picture, .hd-bg img { object-position: 70% 50%; }
.ruban { background: var(--navy); } .ruban .jt { background: var(--tuile); opacity: 1; }
.wm { display: inline-flex; align-items: center; gap: 10px; }
.wm-cc { width: 44px; height: auto; flex: none; }
.wm-t { display: flex; flex-direction: column; line-height: 1; }
.wm-t b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; text-transform: uppercase; color: var(--navy); }
.wm-t small { margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.foot-logo .wm-cc { content: url(/assets/logo-cc-blanc.png); } .foot-logo .wm-t b { color: #fff; } .foot-logo .wm-t small { color: var(--tuile); }
.fi-logo .wm-cc { width: 30px; } .fi-logo .wm-t b { font-size: 17px; } .fi-logo .wm-t small { font-size: 9.5px; }
.fi-ok, .fi-lignes li.rempli .fi-ico, .fi-barre i, .quote .q-bar i { background: var(--tuile); color: var(--navy); }
.fi-tampon { border-color: var(--cyan); color: var(--cyan); }
.dg-pt.on span { color: var(--navy); } .et-n { color: var(--navy); } .cs.on .cs-n { color: var(--navy); }
.urg-ico { color: var(--tuile); }

/* Agrandir en bois : onglets + photos de ses chantiers */
.agr-sec { padding: 100px var(--pad); background: #fff; }
.agr-in { max-width: 1200px; margin: 0 auto; }
.agr-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.agr-t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 76px; padding: 14px 16px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--fond); color: var(--navy); text-align: left; cursor: pointer; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.agr-t b { font-family: var(--display); font-weight: 800; font-size: 18px; } .agr-t small { font-size: 13.5px; color: var(--grey); }
.agr-t:hover { border-color: var(--tuile); transform: translateY(-2px); }
.agr-t.on { background: var(--navy); border-color: var(--navy); color: #fff; } .agr-t.on small { color: rgba(255, 255, 255, .72); }
.agr-t.on b::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border-radius: 50%; background: var(--tuile); vertical-align: middle; }
.agr-t:focus-visible { outline: 3px solid var(--tuile); outline-offset: 2px; }
.agr-p { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 28px; align-items: center; }
.agr-p.on { animation: carte .5s var(--ease); }
.agr-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 460px; }
.agr-ph { margin: 0; overflow: hidden; border-radius: var(--r-m); background: var(--fond-2); }
.agr-ph1 { grid-row: span 2; }
.agr-ph button { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; }
.agr-ph picture { display: block; width: 100%; height: 100%; } .agr-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.agr-ph:hover img { transform: scale(1.04); }
.agr-txt h3 { font-size: 30px; color: var(--navy); }
.agr-txt > p { margin-top: 10px; color: #4A4548; }
.agr-liste { display: grid; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.agr-liste li { position: relative; padding-left: 26px; font-weight: 600; color: var(--navy); } .agr-liste li::before { content: ''; position: absolute; left: 0; top: .4em; width: 14px; height: 10px; background: var(--tuile); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.agr-note { display: block; margin-top: 12px; font-size: 13px; color: var(--grey); }

/* Terrasses : type de terrasse + essences */
.ess-sec { padding: 100px var(--pad); }
.ess-in { display: grid; grid-template-columns: minmax(280px, .55fr) minmax(0, 1.45fr); gap: 28px; max-width: 1200px; margin: 0 auto; align-items: start; }
.ess-choix { display: grid; gap: 10px; }
.ess-b { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: #fff; color: var(--navy); text-align: left; cursor: pointer; transition: border-color .25s, background-color .25s; }
.ess-b b { font-family: var(--display); font-weight: 800; font-size: 18px; } .ess-b small { font-size: 14px; color: var(--grey); }
.ess-b:hover { border-color: var(--tuile); }
.ess-b.on { background: var(--navy); border-color: var(--navy); color: #fff; } .ess-b.on small { color: rgba(255, 255, 255, .72); }
.ess-b:focus-visible { outline: 3px solid var(--tuile); outline-offset: 2px; }
.ess-p { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ess-p.on { animation: carte .5s var(--ease); }
.ess-p figure { margin: 0; overflow: hidden; border-radius: var(--r-m); background: var(--fond-2); }
.ess-p button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.ess-p picture { display: block; aspect-ratio: 4 / 3.4; } .ess-p img { width: 100%; height: 100%; object-fit: cover; }
.ess-bois { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-m); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ess-l { width: 100%; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.ess-bois ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; flex: 1; }
.ess-bois li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.ess-bois li i { width: 22px; height: 22px; border-radius: 6px; background: var(--c); background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 7px); }

@media (max-width: 1100px) {
  .agr-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agr-p, .ess-in { grid-template-columns: minmax(0, 1fr); }
  .agr-photos { height: 400px; }
}
@media (max-width: 700px) {
  .agr-sec, .ess-sec { padding: 72px 16px; }
  .agr-t { min-height: 0; padding: 10px 12px; } .agr-t b { font-size: 15.5px; } .agr-t small { display: none; }
  .agr-photos { height: 300px; gap: 6px; }
  .agr-txt h3 { font-size: 24px; }
  .agr-txt .btn { width: 100%; }
  .ess-b { padding: 12px 14px; } .ess-b b { font-size: 16px; }
  .ess-p { gap: 6px; }
  .wm-t b { font-size: 20px; } .wm-cc { width: 38px; } .wm-t small { font-size: 10px; }
  .agr-tabs, .ess-choix { scroll-margin-top: 80px; }
}
.agr-p[hidden], .ess-p[hidden] { display: none; }
.top .logo img.wm-cc, .foot-grid img.wm-cc, .wm img.wm-cc { width: 44px; height: auto; margin: 0; }
.fi-logo img.wm-cc { width: 30px; }
@media (max-width: 700px) { .top .logo img.wm-cc { width: 36px; } }
.nav a { white-space: nowrap; }

/* ==========================================================================
   Version sobre (12/10, retour de Mehdi : « plus corporate, qui ne fait pas mal aux yeux ») :
   anthracite et blanc chaud dominants, orange du logo en touches seulement (icônes, filets, étoiles),
   boutons anthracite, coins moins ronds, pas de surlignage.
   ========================================================================== */
:root {
  --navy-rgb: 35, 39, 44; --navy2-rgb: 26, 29, 33; --ink-rgb: 35, 39, 44;
  --navy: #23272C; --navy-2: #1A1D21; --navy-l: #2F343A; --ink: #23272C;
  --tuile: #E2830C; --tuile-d: #B9690A; --tuile-l: #F3C58A;
  --cyan: #9A560C; --cyan-d: #7C450A; --sky: #F8EEDF;
  --fond: #F6F4F0; --fond-2: #ECE8E1; --line: #E1DCD3; --grey: #5C6066;
  --r-s: 6px; --r-m: 10px; --r-l: 14px;
}
body { color: var(--ink); }
h1, h2, h3, .h1, .h2 { font-weight: 700; letter-spacing: -0.022em; }
.h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; }
.h2 em, .rl-txt h2 em, .sc-txt .h2 em, .fa-txt .h2 em { font-style: normal; color: var(--cyan); background: none; padding: 0; }
.devis-sec .h2 em, .rl-txt h2 em, .sec-head.light .h2 em, .etapes-sec .h2 em { color: var(--tuile-l); }
.kicker, .kicker.light, .sec-head.light .kicker { color: var(--navy); letter-spacing: .16em; font-size: 12.5px; }
.kicker::before { width: 22px; height: 3px; clip-path: none; border-radius: 2px; background: var(--tuile); }
.sec-head.light .kicker, .devis-sec .kicker, .urg-dp .kicker { color: #fff; }
.sub { font-size: 17.5px; }
/* boutons : anthracite, flèche orange */
.btn-cyan, .btn-or, .btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -14px rgba(var(--ink-rgb), .8); }
.btn-cyan:hover, .btn-or:hover, .btn-navy:hover { background: #000; }
.btn-cyan svg, .btn-or svg, .btn-navy svg { color: var(--tuile-l); }
.btn-white svg { color: var(--tuile); }
.q-next { background: var(--navy); }
/* en-tête */
.top { box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--navy-2); } .topbar a svg, .topbar .tb-dot { color: var(--tuile); }
/* héros : la photo, un voile anthracite, l'accent en sable */
.hd-bg::after { background: linear-gradient(90deg, rgba(26, 29, 33, .94) 0%, rgba(26, 29, 33, .8) 44%, rgba(26, 29, 33, .3) 100%), linear-gradient(0deg, rgba(26, 29, 33, .55), transparent 32%); }
.hero-dp .h1 { font-weight: 700; font-size: clamp(44px, 4.8vw, 70px); line-height: 1.04; }
.hero-dp .h1 .mot { color: var(--tuile-l); }
.hero-dp .eyebrow { border-radius: 6px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); font-weight: 500; }
.hero-dp .eyebrow i { background: var(--tuile); box-shadow: none; border-radius: 2px; width: 14px; height: 3px; }
.hd-tel { background: #fff; color: var(--navy); border-radius: 10px; padding: 8px 22px 8px 8px; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .8); }
.hd-tel:hover { background: #fff; transform: translateY(-2px); }
.hd-tel small { color: var(--grey); } .hd-tel-ico { border-radius: 8px; background: var(--navy); color: var(--tuile-l); }
.hd-points li { border-radius: 8px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.hd-form { border-radius: 14px; }
.hd-legende { border-radius: 4px; }
/* cartouche : un filet orange discret */
.ct-in { border-radius: 10px; }
.ct::after { height: 3px; background: var(--tuile); }
.ct b { font-weight: 700; }
/* métiers, cartes */
.mt, .sv { border-radius: 10px; } .mt-body b { font-weight: 700; } .sv h3 { font-weight: 700; }
.mt-lien, .sv .sv-lien { color: var(--navy); } .mt-lien svg, .sv .sv-lien svg { color: var(--tuile); }
/* agrandir */
.agr-t { border-radius: 10px; background: #fff; } .agr-t b { font-weight: 700; }
.agr-t.on { background: var(--navy); }
.agr-t.on b::after { width: 14px; height: 3px; border-radius: 2px; }
.agr-liste li::before, .fa-liste li::before, .duo-liste li::before { clip-path: none; width: 14px; height: 3px; top: .62em; border-radius: 2px; background: var(--tuile); }
.agr-ph, .ess-p figure, .galerie .w { border-radius: 10px; }
/* étapes du projet */
.etapes-sec { background: var(--navy); }
.et-grid li { border-radius: 10px; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.et-n { border-radius: 8px; background: var(--tuile); color: var(--navy); font-weight: 700; }
.et-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; max-width: 1140px; margin: 34px auto 0; }
.et-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; }
.et-tel svg { width: 20px; height: 20px; color: var(--tuile); }
/* scène, diagnostic */
.sc-etapes b { border-radius: 8px; background: var(--navy); }
.sc-video { border-radius: 14px; }
.dg-vue, .dg-panneau { border-radius: 14px; }
.dg-pt.on span { background: var(--navy); color: #fff; }
.dg-ch.on i { background: var(--tuile); color: var(--navy); }
/* relance, avis, urgence, devis : anthracite */
.rl-in { border-radius: 14px; background: var(--navy); }
.qt { border-radius: 10px; } .qt blockquote { font-weight: 500; font-size: 18.5px; line-height: 1.45; }
.avis-band { border-radius: 14px; background: var(--navy); }
.urg-in { border-radius: 14px; } .urg-ico { background: rgba(226, 131, 12, .14); }
.urg-in .btn-or { background: #fff; color: var(--navy); } .urg-in .btn-or svg { color: var(--tuile); }
.devis-sec { background: var(--navy); }
.fiche { border-radius: 8px; border-top-width: 4px; }
.fi-ok, .fi-lignes li.rempli .fi-ico, .fi-barre i, .quote .q-bar i { background: var(--tuile); color: #fff; }
.zone-side, .map-box { border-radius: 14px; }
.faq-list details { border-radius: 10px; }
.foot { background: var(--navy-2); }
@media (max-width: 700px) {
  .et-cta { flex-direction: column; } .et-cta .btn { width: 100%; }
  .hero-dp .h1 { font-size: clamp(34px, 9.4vw, 42px); }
}
.nw { white-space: nowrap; }
/* bandeau urgence en clair : moins de blocs sombres à la suite */
.urg-in { background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(var(--ink-rgb), .5); border-left: 4px solid var(--tuile); }
.urg-txt span { color: var(--grey); }
.urg-in .btn-or { background: var(--navy); color: #fff; } .urg-in .btn-or svg { color: var(--tuile-l); }
@media (max-width: 700px) { .h2 .nw { white-space: normal; } }
/* lisibilité (audit) : petits textes ≥ 12 px, lignes ≤ 70 caractères */
.wm-t small { font-size: 12px; }
.agr-txt > p, .agr-txt h3 { max-width: 62ch; }
.duo-txt p:not(.kicker), .fa-txt > p:not(.kicker), .sc-lead { max-width: 62ch; }
@media (max-width: 700px) { .wm-t small { font-size: 12px; letter-spacing: .04em; } }

/* ==========================================================================
   Retours d'Émilie (RDV du 16/10) : puce CC devant les titres, e-mail visible
   dès l'en-tête, pied de page clair avec bloc contact, page Contact.
   ========================================================================== */

/* Puce « CC » à la place du trait orange devant chaque titre de section */
.kicker::before { width: 17px; height: 17px; clip-path: none; border-radius: 0; background: url(/assets/puce-cc.png) center / contain no-repeat; }
.sec-head.light .kicker::before, .devis-sec .kicker::before, .urg-dp .kicker::before, .fc .kicker::before { background-image: url(/assets/puce-cc.png); }
.sec-head.light .kicker::before, .devis-sec .kicker::before, .urg-dp .kicker::before { background-image: url(/assets/puce-cc-blanc.png); }
.hero-dp .eyebrow i, .phero .eyebrow i { width: 16px; height: 16px; border-radius: 0; box-shadow: none; background: url(/assets/puce-cc-blanc.png) center / contain no-repeat; }

/* En-tête : e-mail visible à côté du téléphone */
.tb-contacts { display: inline-flex; align-items: center; gap: 22px; flex: none; }
.topbar .tb-mail { font-weight: 500; }
.mail-m { background: var(--sky); color: var(--navy); border-radius: 50%; }
.menu-coord { display: grid; gap: 4px; margin: 10px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.menu-coord a { display: flex; align-items: center; gap: 10px; font-size: 15px !important; font-weight: 600; color: var(--navy); }
.menu-coord svg { width: 17px; height: 17px; color: var(--tuile-d); }
@media (max-width: 700px) {
  .mail-m { margin-left: auto; } .mail-m + .call-m { margin-left: 0; }
}
@media (max-width: 900px) { .topbar .tb-mail { display: none; } }

/* Pied de page clair, moins uniforme, avec un bloc contact bien visible */
.foot { background: var(--fond-2); color: #4A4E54; border-top: 1px solid var(--line); }
.foot h3 { color: var(--navy); }
.foot-grid a, .foot-grid span { color: #3C4046; }
.foot-grid a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid svg { color: var(--tuile-d); }
.foot-logo .wm-cc { content: url(/assets/logo-cc.png); } .foot-logo .wm-t b { color: var(--navy); } .foot-logo .wm-t small { color: var(--cyan); }
.foot-cta { color: var(--navy) !important; }
.foot-g { color: var(--navy); font-weight: 600; } .foot-g .stars svg { color: var(--tuile); }
.foot-legal { border-top-color: rgba(35, 39, 44, .12); color: #6A6E74; }
.foot-legal a { color: inherit; }
.foot .zely-sig { --zsig: linear-gradient(90deg, #23272C 0%, #146EF5 25%, #23272C 50%, #146EF5 75%, #23272C 100%); border-color: rgba(35, 39, 44, .16); }

.fc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: 40px; align-items: center; max-width: 1280px; margin: 0 auto 56px; padding: 36px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(35, 39, 44, .35); }
.fc-txt .h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); }
.fc-txt p:not(.kicker) { margin-top: 10px; max-width: 34ch; color: #4A4E54; }
.fc-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fc-c { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 12px; background: var(--fond); border: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.fc-c:hover { transform: translateY(-2px); border-color: var(--tuile); box-shadow: 0 12px 26px -18px rgba(35, 39, 44, .45); }
.fc-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: var(--navy); color: #fff; }
.fc-ico svg { width: 18px; height: 18px; }
.fc-c small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.fc-c b { font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.fc-s { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13.5px; color: #5C6066; }
.fc-s svg { width: 14px; height: 14px; color: var(--tuile-d); }
@media (max-width: 1100px) { .fc { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 700px) { .fc { padding: 22px 18px; margin-bottom: 40px; } .fc-cartes { grid-template-columns: minmax(0, 1fr); } .fc-c b { font-size: 17px; } }

/* Couverture : sections dépannage/assurance et entretien (photo à droite) */
.duo-inv .duo-img { order: 2; }
.duo-inv { padding-top: 0; }
@media (max-width: 1100px) { .duo-inv .duo-img { order: 0; } }
.sin-sec { background: var(--fond); }

/* Page Contact */
.cn-sec { padding: 100px var(--pad); background: #fff; }
.cn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1140px; margin: 0 auto; }
.cn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; border-radius: 16px; background: var(--fond); border: 1px solid var(--line); }
.cn-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; background: var(--navy); color: #fff; }
.cn-ico svg { width: 21px; height: 21px; }
.cn small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.cn-v { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--navy); overflow-wrap: anywhere; }
.cn-mail { font-size: 19px; }
.cn p { margin: 4px 0 14px; color: #4A4E54; flex: 1; }
.cn-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-copier.ok { background: #E3F1E4; color: #24622B; }
.cn-g { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 1140px; margin: 28px auto 0; font-size: 15px; color: #4A4E54; }
.cn-g b { color: var(--navy); }
.cn-g a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }
.cn-g a svg { width: 15px; height: 15px; }
@media (max-width: 1100px) { .cn-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }
@media (max-width: 700px) { .cn-sec { padding: 72px 16px; } .cn { padding: 22px; } .cn-v { font-size: 20px; } .cn-mail { font-size: 17px; } }
.fc-c b.fc-mail, .cn-mail { overflow-wrap: normal; word-break: normal; }
.foot-logo { display: inline-block; margin-bottom: 16px; }
/* Nom de l'entreprise mis en valeur dans les textes */
.marque { font-weight: 700; color: var(--navy); }
.hero-dp .marque, .phero .marque { color: #fff; }
/* Entretien, dépannage, diagnostic : 4 cartes */
.sin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; }
@media (max-width: 1240px) { .sin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; } }
@media (max-width: 700px) { .sin-grid { grid-template-columns: minmax(0, 1fr); } }
/* Devis : 8 types de projet, tuiles compactes (icône à gauche) */
.tiles-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tiles-8 .tile { flex-direction: row; align-items: center; gap: 10px; padding: 11px 12px; min-height: 58px; }
.tiles-8 .tile .t-ico { flex: none; width: 34px; height: 34px; }
.tiles-8 .tile .t-ico svg { width: 17px; height: 17px; }
.tiles-8 .tile b { font-size: 14px; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 360px) { .tiles-8 .tile { gap: 8px; padding: 10px 9px; } .tiles-8 .tile .t-ico { width: 30px; height: 30px; } .tiles-8 .tile b { font-size: 13px; } }
.tiles-8 .t-chk { top: 6px; right: 6px; }
.q-pref { margin-bottom: 14px; }
.quote textarea { width: 100%; min-height: 76px; padding: 12px 14px; border-radius: var(--r-s); border: 1.5px solid var(--line); font: inherit; font-size: 15px; resize: vertical; background: #fff; }
.quote textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .15); }
.sv-titre { color: inherit; text-decoration: none; } .sv-titre:hover { text-decoration: underline; text-underline-offset: 3px; }
.duo-lien { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0 18px; font-weight: 600; color: var(--navy); }
.duo-lien svg { width: 15px; height: 15px; color: var(--tuile-d); }
.h1 .h1-lieu { display: block; margin-top: 10px; font-size: .42em; letter-spacing: 0; line-height: 1.2; color: rgba(255, 255, 255, .86); }
/* Cartes métier en h2 (pages dépannage, entretien) : même rendu que les h3 */
.sv-body h2.sv-h { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
/* Communes desservies (référencement local) */
.communes-sec { max-width: 920px; margin: 0 auto; padding: 8px var(--pad) 56px; text-align: center; }
.communes-sec p { font-size: 14.5px; line-height: 1.7; color: #5C6066; }
.communes-sec b { color: var(--navy); }
/* Mentions légales */
.legal-sec { padding: 64px var(--pad) 90px; background: #fff; }
.legal-in { max-width: 760px; margin: 0 auto; }
.legal-in .crumbs { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--grey); margin-bottom: 18px; }
.legal-in .crumbs a { color: var(--navy); } .legal-in .crumbs svg { width: 14px; height: 14px; }
.legal-in h1 { margin-bottom: 28px; }
.legal-in h2 { margin: 34px 0 10px; font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--navy); }
.legal-in p { margin: 0 0 12px; color: #3C4046; line-height: 1.7; }
.legal-in a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.q-rgpd { margin-top: 6px; font-size: 12.5px; color: var(--grey); text-align: center; } .q-rgpd a { color: inherit; text-decoration: underline; }
/* Avis Google en direct */
.ag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.ag { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ag-haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ag .stars svg { width: 16px; height: 16px; color: #F4B400; }
.ag-quand { font-size: 13px; color: var(--grey); }
.ag-txt { margin: 0; font-size: 15px; line-height: 1.6; color: #3C4046; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ag.ouvert .ag-txt { -webkit-line-clamp: unset; display: block; }
.ag-plus { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ag-auteur { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.ag-ini { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.ag-auteur b { display: block; font-size: 14.5px; color: var(--navy); } .ag-auteur b a { color: inherit; text-decoration: none; }
.ag-auteur small { font-size: 12.5px; color: var(--grey); }
.ag-g { width: 20px; height: 20px; margin-left: auto; flex: none; }
.ag-pied { max-width: 1180px; margin: 22px auto 0; text-align: center; }
.ag-pied p { font-size: 13.5px; color: var(--grey); }
.ag-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.ag-actions .btn-soft svg { color: #F4B400; }
/* Avis : une rangée qui défile (5 avis, pas de trou en fin de grille) */
.ag-grid { display: flex; gap: 16px; max-width: 1180px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: thin; }
.ag { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }
@media (max-width: 1100px) { .ag { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 700px) { .ag-grid { margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; } .ag { flex-basis: 86%; } }
.ag-nav { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.ag-nav button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.ag-nav button svg { width: 18px; height: 18px; } .ag-nav .prec svg { transform: rotate(180deg); }
.ag-nav button:disabled { opacity: .35; cursor: default; }
/* En-tête : 6 entrées de menu, le numéro reste dans la barre du haut quand la place manque */
@media (max-width: 1560px) { .top .tel { display: none; } }
@media (max-width: 1300px) { .top .nav { gap: 18px; } .top .nav a { font-size: 14.5px; } }

/* En-tête : avec 6 entrées, menu burger dès 1320 px (au lieu de 1100 dans le kit), logo toujours sur une ligne */
.wm-t small { white-space: nowrap; }
@media (max-width: 1320px) {
  .nav, .top .tel { display: none; }
  .top .btn-sm { margin-left: auto; }
  .icon-btn { display: grid; }
  .menu.open { display: flex; flex-direction: column; position: fixed; z-index: 39; top: 80px; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; padding: 14px var(--pad) 22px; background: #fff; box-shadow: 0 20px 40px rgba(var(--ink-rgb), .12); }
  .menu a:not(.btn) { padding: 14px 0; font-weight: 600; font-size: 18px; color: var(--navy); border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
}

/* Retours d'Émilie dans l'espace ZELY (17/10) */
/* « CHARPENTE · COUVERTURE » plus lisible sous le logo */
.top .wm-t small { font-size: 14px; letter-spacing: .12em; margin-top: 5px; }
@media (max-width: 700px) { .top .wm-t small { font-size: 12.5px; } }
/* E-mail du bloc contact sur une seule ligne, à toutes les largeurs (retours Émilie 17/10, Cédric 03/11) :
   carte e-mail plus large, rangée à elle seule de 701 à 1240 px, police réduite seulement si la carte manque de place */
.fc-cartes { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); }
.fc-c-mail { container-type: inline-size; }
.fc-c b.fc-mail { white-space: nowrap; font-size: clamp(13px, 100cqi / 17.6, 16px); }
@media (max-width: 1240px) { .fc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .fc-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; } .fc-c-mail { grid-column: 1 / -1; } }
@media (max-width: 700px) { .fc-cartes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 359px) { .fc-c-mail { padding-inline: 14px; } .fc-c b.fc-mail { font-size: clamp(12px, 100cqi / 17.6, 16px); } }
/* Sous-titres alignés à gauche (section entretien/dépannage et zone d'intervention) */
#depannage .sec-head .sub, #zone .sec-head .sub { text-align: left; }
/* Adresse balisée <address> dans le pied de page (référencement) */
.foot-grid address { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-style: normal; color: #3C4046; }
@media (max-width: 700px) { .foot-grid address { padding: 9px 0; } }
/* Note Google du pied de page : les compteurs restent en ligne (la règle .foot-grid span du kit les passait en flex) */
.foot-grid .foot-g > span:last-child, .foot-grid .foot-g > span:last-child span { display: inline; padding: 0; }
/* Réseaux sociaux du pied de page */
.foot-grid .foot-rs { display: flex; gap: 16px; margin-top: 12px; }
.foot-grid .foot-rs a { display: inline; padding: 0; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* 18/10 mobile : bouton avis à la ligne, logo qui ne chevauche plus les boutons */
@media (max-width: 700px) {
  .ag-actions .btn { white-space: normal; height: auto; min-height: 50px; padding: 12px 20px; text-align: center; line-height: 1.3; max-width: 100%; }
  .ag-actions .btn svg { flex: none; }
  .top .logo { min-width: 0; flex: 0 1 auto; overflow: hidden; }
  .top .wm { gap: 8px; }
  .top .wm-t b { font-size: 19px; }
  .top .wm-t small { font-size: 10.5px; letter-spacing: .06em; }
}
@media (max-width: 400px) {
  .top .wm-t b { font-size: 17px; }
  .top .wm-t small { font-size: 9.5px; letter-spacing: .04em; }
  .top .logo img.wm-cc { width: 32px; }
}

/* 18/10 communes : une seule pastille (plus de double fond), carrousel défilant sur mobile */
.zone-side .towns li { padding: 0; background: none; border-radius: 0; }
@media (max-width: 900px) {
  .zone-side .towns { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 2px 4px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .zone-side .towns::-webkit-scrollbar { display: none; }
  .zone-side .towns li { flex: none; }
  .zone-side .towns button { white-space: nowrap; min-height: 40px; padding: 9px 14px; }
}

/* 18/10 mobile : la fiche chantier faisait doublon (0 sur 5) avec les étapes ; la barre d'étapes reste visible en descendant */
@media (max-width: 900px) {
  .devis-sec .fiche { display: none; }
  .quote .q-head { display: contents; }
  .quote .q-progress { position: sticky; top: 64px; z-index: 5; margin: 14px -18px 0; padding: 10px 18px 12px; background: #fff; box-shadow: 0 8px 12px -10px rgba(0, 0, 0, .18); }
}

/* 18/10 barre d'action mobile plus fine */
@media (max-width: 900px) {
  .mbar { gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .mbar .btn { height: 42px; font-size: 15px; }
  .mbar svg { width: 16px; height: 16px; }
}

/* 20/10 retours Cédric : réseaux en logos, e-mail du contact sur une ligne */
.foot-grid .foot-rs { gap: 10px; margin-top: 14px; }
.foot-grid .foot-rs a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; text-decoration: none; transition: background-color .2s; }
.foot-grid .foot-rs a:hover { background: var(--tuile); }
.foot-grid .foot-rs svg { width: 21px; height: 21px; }
.cn-mail { white-space: nowrap; font-size: clamp(14px, 4.3vw, 18px); letter-spacing: -0.01em; }
@media (max-width: 700px) { .cn-mail { font-size: clamp(14px, 4.4vw, 17px); } }
/* 20/10 logo Artisan (fourni par le client) */
.foot-grid .foot-artisan { margin-top: 18px; }
.foot-grid .foot-artisan img { display: block; width: auto; height: 84px; }
/* 03/11 bloc médiateur (mentions légales) */
address.mediateur { font-style: normal; line-height: 1.7; margin: 8px 0 16px; padding: 14px 18px; border-left: 3px solid var(--tuile); background: #fff; border-radius: 6px; }
/* Maillage interne (12/11) */
.autres-sec { max-width: 1180px; margin: 0 auto; padding: 28px var(--pad) 48px; text-align: center; }
.autres-sec ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.autres-sec a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--carte); color: var(--navy); font-weight: 600; font-size: 14.5px; line-height: 1.3; text-decoration: none; transition: border-color .2s, color .2s; }
.autres-sec a:hover, .autres-sec a:focus-visible { border-color: var(--tuile); color: var(--cyan); }
.autres-sec svg { width: 14px; height: 14px; flex: none; }
.fa-txt p a { color: inherit; text-decoration: underline; text-decoration-color: var(--tuile); text-underline-offset: 3px; }
.agr-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 14.5px; color: var(--cyan); text-decoration: underline; text-decoration-color: var(--tuile); text-underline-offset: 3px; }
.agr-lien svg { width: 14px; height: 14px; }
.communes-sec a, .duo-txt p a { color: inherit; text-decoration: underline; text-decoration-color: var(--tuile); text-underline-offset: 3px; }
/* Avant / après (12/11) */
.aa-sec { max-width: 1100px; margin: 0 auto; padding: 72px var(--pad); }
.aa-list { display: grid; gap: 44px; margin-top: 32px; }
.aa { max-width: 980px; width: 100%; margin: 0 auto; }
.aa-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aa figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--line); }
.aa picture { display: block; aspect-ratio: 4 / 3; }
.aa-portrait .aa-duo { max-width: 640px; margin: 0 auto; }
.aa-portrait picture { aspect-ratio: 3 / 4; }
.aa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aa figcaption { position: absolute; top: 10px; left: 10px; padding: 5px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.aa figcaption.aa-apres { background: var(--tuile); color: var(--navy); }
.aa h3 { margin: 16px 0 4px; text-align: center; }
.aa p { margin: 0; text-align: center; color: var(--grey); }
@media (max-width: 560px) { .aa-duo { gap: 6px; } .aa figcaption { top: 6px; left: 6px; font-size: 11px; padding: 4px 9px; } }

/* 320 px : les boutons à texte long passent à la ligne au lieu de déborder (recette 16/11) */
@media (max-width: 360px) { .btn { white-space: normal; max-width: 100%; text-align: center; } }
/* Contraste du pied de page : 4,2 → 5,6 sur fond #ECE8E1 (recette 16/11, seuil 4,5) */
.foot-legal, .foot-legal a, .foot .made { color: #565a60; }

/* 18/11 : image entière dans la visionneuse sur mobile ; pas de case vide dans la galerie Terrasses de Réalisations en 2 colonnes */
.lightbox { grid-template-columns: minmax(0, 1fr); }
.lightbox figure { min-width: 0; max-width: min(1200px, calc(100vw - 32px)); justify-self: center; }
.lightbox img { max-width: min(100%, calc(100vw - 32px)); height: auto; }
.lightbox .lb-devis { max-width: 100%; white-space: normal; text-align: center; }

@media (max-width: 1100px) { .galerie.gal-mob1 .g-haut { grid-row: span 1; } }
