/* Toit & Bois — feuille de style unique
   Couleurs issues du logo : bois #865518, sable #E3C28B, caramel #BF8759 */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-opsz.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }

:root {
  --bois: #865518;
  --bois-fonce: #5e3a0f;
  --caramel: #bf8759;
  --sable: #e3c28b;
  --sable-clair: #f3e6cc;
  --papier: #f7f3ec;
  --blanc: #fffdf9;
  --encre: #1f1b16;
  --encre-2: #4a4239;
  --gris: #7c7266;
  --ligne: #e6ddcf;
  --nuit: #1b1a17;
  --vert: #4f6b4a;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 20px;
  --r-s: 12px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --ombre: 0 1px 2px rgba(31, 27, 22, .06), 0 12px 32px -12px rgba(31, 27, 22, .18);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 17px/1.65 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--bois); }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-variation-settings: "opsz" 144; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-variation-settings: "opsz" 48; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.accent { font-style: italic; color: var(--bois); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--blanc { background: var(--blanc); }
.section--nuit { background: var(--nuit); color: #efe8dc; }
.section--nuit a:hover { color: var(--sable); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bois); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--nuit .eyebrow { color: var(--sable); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--encre-2); max-width: 62ch; }
.section--nuit .lead { color: #cfc5b6; }
.head { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .head--split { grid-template-columns: 1.1fr .9fr; align-items: end; } .head--split .lead { margin: 0; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--plein { background: var(--bois); color: #fff; }
.btn--plein:hover { background: var(--bois-fonce); color: #fff; }
.btn--sable { background: var(--sable); color: var(--encre); }
.btn--sable:hover { background: #ecd2a6; color: var(--encre); }
.btn--ligne { border-color: currentColor; color: inherit; background: transparent; }
.btn--ligne:hover { background: var(--encre); border-color: var(--encre); color: #fff; }
.on-dark .btn--ligne:hover, .section--nuit .btn--ligne:hover { background: #fff; color: var(--encre); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.header__in { display: flex; align-items: center; gap: 24px; height: 84px; }
.header .logo img { width: 74px; height: auto; transition: width .3s; }
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur .header piégerait le menu mobile (position fixed) */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 243, 236, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--ligne); opacity: 0; transition: opacity .3s; pointer-events: none; }
.header.is-solid, .header--solid { color: var(--encre); }
.header.is-solid::before, .header--solid::before { opacity: 1; }
.header.is-solid .logo img, .header--solid .logo img { width: 58px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: rgba(255, 255, 255, .14); color: inherit; }
.header.is-solid .nav a:hover, .header--solid .nav a:hover { background: var(--sable-clair); }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 0 20px; }
.nav .btn:hover { background: var(--bois-fonce); }
.nav__tel { font-variant-numeric: tabular-nums; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; border-radius: 12px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s, opacity .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; height: 100dvh; margin: 0; background: var(--papier); color: var(--encre); flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 100px var(--gutter) 40px; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s; z-index: -2; }
  .menu-open .nav { visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .menu-open { overflow: hidden; }
  .menu-open .header::before { opacity: 0; }
  .nav a { font: 500 1.6rem/1.2 var(--serif); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ligne); }
  .nav .btn { margin: 24px 0 0; font: 600 1rem/1 var(--sans); border-bottom: 0; min-height: 56px; border-radius: 999px; color: #fff; }
  .menu-open .nav { transform: none; }
  .menu-open .header { color: var(--encre); }
}

/* Hero vidéo */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--nuit); }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 13, .55) 0%, rgba(20, 17, 13, .15) 35%, rgba(20, 17, 13, .78) 100%); }
.hero__in { position: relative; padding-block: 140px clamp(40px, 7vw, 88px); }
.hero h1 { max-width: 15ch; margin-bottom: 24px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--sable); font-weight: 400; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 52ch; margin-bottom: 32px; }
.hero .btn--ligne { color: #fff; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .92rem; color: rgba(255, 255, 255, .86); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust strong { color: #fff; font-weight: 600; }
.stars { color: var(--sable); letter-spacing: 2px; }
ul.clean { list-style: none; margin: 0; padding: 0; }
ul.clean.trust { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; }
.head > .btn, .head > div > .btn { justify-self: start; }
.hero__pause { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero__pause svg { width: 16px; height: 16px; }

/* Hero de page intérieure */
.phero { position: relative; color: #fff; background: var(--nuit); min-height: 72svh; display: grid; align-items: end; overflow: hidden; }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 13, .45), rgba(20, 17, 13, .2) 40%, rgba(20, 17, 13, .82)); }
.phero .wrap { position: relative; z-index: 1; padding-block: 140px 56px; }
.phero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); max-width: 18ch; color: #fff; }
.phero .lead { color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.phero .btn--ligne { color: #fff; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .75); margin-bottom: 20px; }
.crumbs a { color: inherit; }
.crumbs span { margin: 0 8px; opacity: .6; }
.simple-head { padding-block: 150px 40px; background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.simple-head .crumbs { color: var(--gris); }

/* Cartes services */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--nuit); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(18, 15, 11, .85)); }
.card:hover img { transform: scale(1.05); }
.card:hover { color: #fff; }
.card__body { padding: 28px; }
.card h3 { color: #fff; margin-bottom: 8px; }
.card p { color: rgba(255, 255, 255, .82); margin: 0 0 16px; font-size: .97rem; }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--sable); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
.card--texte { background: var(--bois); justify-content: space-between; padding: 28px; }
.card--texte::before { display: none; }
.card--texte h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }

/* Chiffres / atouts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; }
.fact { background: var(--blanc); padding: 32px 28px; }
.fact b { display: block; font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--bois); margin-bottom: 12px; letter-spacing: -.02em; }
.fact span { color: var(--encre-2); font-size: .97rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 400 2.6rem/1 var(--serif); color: var(--sable); margin-bottom: 28px; }
.step h3 { color: #fff; }
.step p { color: #cfc5b6; margin: 0; font-size: .97rem; }

/* Split image + texte */
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.quote { font: italic 400 clamp(1.3rem, 2.2vw, 1.7rem)/1.35 var(--serif); color: var(--encre); border-left: 3px solid var(--sable); padding-left: 24px; margin: 32px 0; }
.quote cite { display: block; margin-top: 12px; font: 500 .9rem/1.4 var(--sans); font-style: normal; color: var(--gris); }

/* Réalisations */
.projects { display: grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.project { grid-column: span 12; position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; background: var(--nuit); isolation: isolate; }
@media (min-width: 760px) { .project { grid-column: span 6; } .project:nth-child(3n+1) { grid-column: span 12; aspect-ratio: 21 / 9; } }
@media (min-width: 1100px) { .project:nth-child(3n+1) { grid-column: span 7; aspect-ratio: auto; } .project:nth-child(3n+2) { grid-column: span 5; } .project:nth-child(3n) { grid-column: span 12; aspect-ratio: 21 / 8; } }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(18, 15, 11, .82)); }
.project:hover img { transform: scale(1.04); }
.project:hover { color: #fff; }
.project__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px; }
.project h3 { color: #fff; margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .74rem/1 var(--sans); letter-spacing: .04em; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #fff; }
.chip--clair { background: var(--sable-clair); color: var(--bois-fonce); }

.pfull { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--ligne); }
.pfull:first-of-type { border-top: 0; }
.pfull__head { display: grid; gap: 16px 48px; margin-bottom: 32px; }
@media (min-width: 900px) { .pfull__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.pfull__meta { color: var(--gris); font-size: .95rem; margin-bottom: 8px; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery a { border-radius: var(--r-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ligne); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }

/* Témoignages vidéo */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
@media (min-width: 1100px) { .reels { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }
.reel { scroll-snap-align: start; position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left; font: inherit; }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .78)); pointer-events: none; transition: opacity .3s; }
.reel.is-playing::after, .reel.is-playing .reel__cap, .reel.is-playing .reel__play { opacity: 0; }
.reel__play { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--encre); display: grid; place-items: center; transition: opacity .3s, transform .2s; }
.reel:hover .reel__play { transform: scale(1.08); }
.reel__play svg { width: 16px; height: 16px; margin-left: 2px; }
.reel__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; font: 500 1.02rem/1.3 var(--serif); transition: opacity .3s; }

/* Avis */
.reviews { display: grid; gap: 20px; }
@media (min-width: 900px) { .reviews { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.score { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 36px; box-shadow: var(--ombre); }
.score__n { font: 400 clamp(4rem, 9vw, 6.5rem)/1 var(--serif); color: var(--encre); letter-spacing: -.03em; }
.score .stars { font-size: 1.4rem; color: #e0a63a; }
.score p { color: var(--encre-2); margin: 12px 0 24px; }

/* FAQ */
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 500 clamp(1.1rem, 1.7vw, 1.3rem)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ligne); background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23865518' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--encre-2); max-width: 70ch; padding-bottom: 24px; margin: 0; }

/* Atouts (pages services) */
.points { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.point { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 28px; }
.point h3 { font-size: 1.3rem; }
.point p { color: var(--encre-2); margin: 0; font-size: .97rem; }
.point::before { content: ""; display: block; width: 36px; height: 3px; background: var(--sable); margin-bottom: 24px; border-radius: 2px; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.08rem; color: var(--encre-2); }

/* Guide / newsletter */
.guide { display: grid; gap: 32px; border-radius: calc(var(--r) + 8px); background: var(--bois); color: #fff; padding: clamp(32px, 6vw, 72px); overflow: hidden; position: relative; }
@media (min-width: 900px) { .guide { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.guide h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.guide .lead { color: rgba(255, 255, 255, .85); }
.guide ul { margin: 0 0 8px; padding-left: 20px; color: rgba(255, 255, 255, .9); }
.guide li { margin-bottom: 6px; }
.form-inline { display: grid; gap: 12px; }
.form-inline input[type=email] { min-height: 56px; border-radius: 999px; border: 0; padding: 0 24px; font: inherit; background: #fff; color: var(--encre); }
.form-inline .btn { min-height: 56px; }
.consent { display: flex; gap: 10px; font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.consent input { margin-top: 3px; accent-color: var(--sable); }
.consent a { color: #fff; }

/* CTA final */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta .lead { margin: 0 auto 32px; }
.cta .actions { justify-content: center; }

/* Formulaire devis */
.form { display: grid; gap: 28px; max-width: 820px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font: 500 1.4rem/1.2 var(--serif); margin-bottom: 14px; padding: 0; }
legend small { display: block; font: 400 .9rem/1.4 var(--sans); color: var(--gris); margin-top: 4px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 64px; padding: 14px 18px; border: 1.5px solid var(--ligne); border-radius: var(--r-s); background: var(--blanc); font-weight: 500; transition: border-color .2s, background .2s; }
.choice input:checked + span { border-color: var(--bois); background: var(--sable-clair); }
.choice input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
label.f { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
label.f.full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font: inherit; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--ligne); border-radius: var(--r-s); background: var(--blanc); color: var(--encre); width: 100%; }
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--bois); outline: none; box-shadow: 0 0 0 4px rgba(191, 135, 89, .2); }
.hp { position: absolute; left: -9999px; }
.form .consent { color: var(--encre-2); }
.form .consent a { color: var(--bois); }
.aside-card { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 28px; position: sticky; top: 110px; }
.layout-form { display: grid; gap: 48px; }
@media (min-width: 1000px) { .layout-form { grid-template-columns: 1fr 340px; align-items: start; } }

/* Contact */
.contact { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact a, .contact div { display: block; text-decoration: none; padding: 28px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
.contact a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.contact small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sable); margin-bottom: 10px; }
.contact strong { font: 400 1.35rem/1.3 var(--serif); color: #fff; }

/* Pied de page */
.footer { background: var(--nuit); color: #b9ae9e; padding-block: 72px 120px; font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sable); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo img { width: 84px; margin-bottom: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 20px; height: 20px; }
@media (min-width: 981px) { .footer { padding-bottom: 72px; } }

/* Barre d'action mobile */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(27, 26, 23, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: translateY(140%); transition: transform .35s; }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; padding: 0 14px; font-size: .92rem; }
.mbar .btn--ligne { color: #fff; border-color: rgba(255, 255, 255, .35); }
@media (min-width: 981px) { .mbar { display: none; } }

/* Apparition au défilement */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.note { font-size: .88rem; color: var(--gris); }
.mt { margin-top: 40px; }
.center { text-align: center; }

/* ---- Compléments (partagés avec extension-bois-06.fr) ---- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__txt { font: 500 1.15rem/1.05 var(--serif); letter-spacing: -.01em; }
.brand__txt small { display: block; font: 500 .72rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.header.is-solid .brand img, .header--solid .brand img { width: 52px; }
@media (max-width: 420px) { .brand__txt { font-size: 1rem; } }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--2 .card { min-height: 520px; }
.uses { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.uses li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); background: var(--papier); border: 1px solid var(--ligne); font-weight: 500; font-size: .97rem; }
.uses li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--caramel); }
.uses--col { grid-template-columns: 1fr; margin-top: 0; }
.section--blanc .uses li { background: var(--papier); }
.section:not(.section--blanc) .uses li { background: var(--blanc); }
.steps--plain .step::before { content: ""; width: 32px; height: 3px; background: var(--sable); border-radius: 2px; margin-bottom: 24px; }
@media (min-width: 1100px) { .reels--4 { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin-inline: auto; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: t; border-top: 2px solid var(--sable); }
.timeline li { position: relative; padding: 32px 20px 0 0; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bois); color: #fff; display: grid; place-items: center; font: 600 .85rem/1 var(--sans); }
.timeline b { display: block; font: 500 1.25rem/1.2 var(--serif); margin-bottom: 6px; }
.timeline span { color: var(--encre-2); font-size: .97rem; }
@media (max-width: 700px) { .timeline { border-top: 0; border-left: 2px solid var(--sable); padding-left: 28px; gap: 28px; } .timeline li { padding: 0; } .timeline li::before { left: -45px; top: -2px; } }
@media (min-width: 760px) { .projects--2 .project, .projects--2 .project:nth-child(n) { grid-column: span 6; aspect-ratio: 4 / 3; } }
.hero .eyebrow::before { background: var(--sable); }

/* Bandeau cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-left: auto; background: #fff; color: var(--encre); border: 1px solid rgba(31,27,22,.12); border-radius: 14px; padding: 18px 20px; box-shadow: 0 18px 50px rgba(0,0,0,.18); font-size: .92rem; line-height: 1.5; }
.cookies p { margin: 0 0 14px; }
.cookies a { color: var(--bois); text-decoration: underline; }
.cookies__btns { display: flex; gap: 10px; }
.cookies__btns .btn { flex: 1; justify-content: center; padding: 11px 16px; }
.lien-cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) { .cookies { bottom: 84px; } }
.form-msg { margin: 0; font-size: .9rem; color: #ffd9a8; }
.etapes { padding-left: 1.3em; margin: 24px 0; }
.etapes li { margin-bottom: 10px; }
