/* Castor et Jardin — feuille de style du site */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 800; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-display: swap; font-weight: 800; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Caprasimo'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/caprasimo-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Caprasimo'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/caprasimo-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
body { margin: 0; background: #f5f4ef; }
html { scroll-behavior: smooth; }
.cb { --r: 12px; --gut: max(clamp(18px, 4vw, 32px), calc((100% - 1240px) / 2 + clamp(18px, 4vw, 32px))); font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.5; color: #1d2a22; background: #f5f4ef; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.cb *, .cb *::before, .cb *::after { box-sizing: border-box; }
.cb h1, .cb h2, .cb h3, .cb p { margin: 0; }
.cb h1, .cb h2, .cb h3 { font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
.cb img { display: block; max-width: 100%; }
.mute { color: #666d64; }
.wm { font-family: 'Caprasimo', 'Cooper Black', Georgia, serif; font-weight: 400; letter-spacing: 0; }
a { color: #1f4a33; }
a:hover { color: #2f7a4f; }
.cb :focus-visible { outline: 3px solid #f46717; outline-offset: 3px; }
.anchor { scroll-margin-top: 64px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 32px); }
.ph { background: rgba(244, 103, 23, .16); border-radius: 3px; padding: 0 .2em; }

/* ribbon + nav */
.ribbon { background: #eceae2; text-align: center; font-size: 14px; line-height: 1.4; padding: 11px 16px; color: #1d2a22; }
.ribbon a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.ribbon a:hover { text-decoration: underline; }
.gnav { position: sticky; top: 0; z-index: 50; margin-bottom: -56px; background: rgba(245, 244, 239, .55); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border-bottom: 1px solid rgba(29, 42, 34, .08); }
.gnav-in { height: 56px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #1d2a22; text-decoration: none; flex: none; }
.brand:hover { color: #1d2a22; }
.brand img { width: 34px; height: 34px; }
.brand span { font-size: 18px; line-height: 1; white-space: nowrap; }
.glinks { display: flex; gap: 2px; margin: 0 auto; }
.glinks a { color: #3c463f; text-decoration: none; font-size: 14px; padding: 10px 12px; border-radius: calc(var(--r) * .66); }
.glinks a:hover { color: #1d2a22; background: rgba(29, 42, 34, .06); }
.gright { display: flex; align-items: center; gap: 4px; flex: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; color: #1d2a22; border-radius: 980px; }
.icon-btn:hover { color: #1f4a33; background: rgba(29, 42, 34, .06); }

/* buttons, links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 980px; border: 2px solid currentColor; background: #ffffff; font: 700 17px/1.1 'Atkinson Hyperlegible Next', system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.btn-primary { color: #1f4a33; border-color: #1f4a33; }
.btn-primary:hover, .btn-primary:focus-visible { color: #ffffff; background: #1f4a33; }
.btn-orange { color: #b5470b; border-color: #f46717; }
.btn-orange:hover, .btn-orange:focus-visible { color: #1f0f04; background: #f46717; }
.btn-ghost { color: #1d2a22; border-color: #1d2a22; }
.btn-ghost:hover, .btn-ghost:focus-visible { color: #ffffff; background: #1d2a22; }
.btn-sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.more { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: #1f4a33; text-decoration: none; font-weight: 700; }
.more:hover { color: #1f4a33; text-decoration: underline; }
.more svg { transition: translate .2s ease; }
.more:hover svg { translate: 3px 0; }

/* hero */
.hero { position: relative; overflow: clip; padding-block: calc(56px + clamp(44px, 6vw, 80px)) clamp(28px, 4vw, 44px); }
.topo { position: absolute; inset: -80px; background-image: url(/assets/topo.svg); background-size: 620px 620px; opacity: .2; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%); transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -16px), 0); transition: transform .6s ease-out; animation: topo-drift 90s linear infinite; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.hero-text { flex: 1 1 520px; max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: #3c463f; max-width: 640px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.rose { width: 190px; height: 190px; flex: none; }
.rose-wob { transform-box: fill-box; transform-origin: center; animation: wobble 7s ease-in-out infinite; }
.rose-needle { transform-box: fill-box; transform-origin: center; rotate: var(--ang, 0deg); transition: rotate .9s cubic-bezier(.3, 1.45, .5, 1); }
.leafs { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; transform: translate3d(calc(var(--mx, 0) * var(--d) * -60px), calc(var(--my, 0) * var(--d) * -40px), 0); transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.fl svg { display: block; width: 100%; height: 100%; }
.bob { animation: bob 7s ease-in-out infinite; }
.bob.b2 { animation-duration: 9s; animation-delay: -3s; }
.bob.b3 { animation-duration: 6s; animation-delay: -1s; }

/* quick quote */
.qbar { margin-top: clamp(32px, 4.5vw, 52px); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(29, 42, 34, .06); border-radius: calc(var(--r) * 1.5); box-shadow: 0 12px 36px rgba(29, 42, 34, .1); padding: 18px; }
.qbar-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .85fr) auto; gap: 12px; align-items: end; }
.qbar-title { display: flex; flex-direction: column; gap: 3px; align-self: center; padding: 0 8px; }
.qbar-title b { font-size: 21px; line-height: 1.15; letter-spacing: -.012em; }
.qbar-title span { font-size: 14px; line-height: 1.35; color: #5f665d; }
.qf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qf label { font-size: 13px; font-weight: 700; color: #3c463f; padding-left: 2px; }
.qf input, .qf select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #c9c7bc; border-radius: var(--r); background: #ffffff; color: #1d2a22; font: 500 17px/1.2 'Atkinson Hyperlegible Next', system-ui, sans-serif; }
.qf input:focus, .qf select:focus { outline: none; border-color: #1f4a33; box-shadow: 0 0 0 3px rgba(31, 74, 51, .2); }
.sel { position: relative; }
.sel select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.sel svg { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: #3c463f; }
.qbtn { height: 52px; min-width: 150px; white-space: nowrap; }
.qbar-done { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 6px 8px; }

/* sections + rails */
.sec { padding-top: clamp(64px, 7vw, 100px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-title { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; max-width: 920px; }
.paddles { display: flex; gap: 10px; }
.paddle { width: 44px; height: 44px; border-radius: 980px; border: 2px solid #1f4a33; background: #ffffff; color: #1f4a33; display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.paddle:hover, .paddle:focus-visible { color: #ffffff; background: #1f4a33; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 10px var(--gut) 40px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

/* the Castor et Jardin difference */
.why { width: 300px; min-height: 240px; background: #ffffff; border-radius: calc(var(--r) * 1.5); padding: 28px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 4px 14px rgba(29, 42, 34, .06); }
.why svg { flex: none; }
.why p { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; }
.hl-g { color: #2f7a4f; }
.hl-o { color: #b5470b; }
.hl-b { color: #23698a; }

/* tax simulator */
.sim { background: #ffffff; border-radius: calc(var(--r) * 1.5); padding: clamp(28px, 4.5vw, 60px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 36px 72px; align-items: center; box-shadow: 0 4px 14px rgba(29, 42, 34, .06); }
.big { font-size: clamp(3.2rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #1f4a33; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, #1f4a33 var(--p, 10%), #e3e1d8 var(--p, 10%)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: #e3e1d8; }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: #1f4a33; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #ffffff; border: 0; box-shadow: 0 1px 6px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .04); }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #ffffff; border: 0; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.fine { font-size: 13px; line-height: 1.5; color: #5f665d; }

/* realisations */
.photo { position: relative; width: clamp(280px, 32vw, 400px); height: 500px; padding: 0; border: 0; border-radius: calc(var(--r) * 1.5); overflow: hidden; background: #dfe3d6; cursor: zoom-in; font: inherit; color: inherit; text-align: left; }
.photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: scale .7s cubic-bezier(.2, .7, .3, 1); }
.photo:hover img, .photo:focus-visible img { scale: 1.04; }
.photo-cap { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: calc(var(--r) * .75); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; font-weight: 700; color: #1d2a22; }
.photo-ph { width: clamp(280px, 32vw, 400px); height: 500px; border-radius: calc(var(--r) * 1.5); border: 2px dashed #cfccbf; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #5f665d; text-align: center; padding: 24px; font-size: 15px; }
.ba { position: relative; width: 100%; aspect-ratio: 16 / 8; border-radius: calc(var(--r) * 1.5); overflow: hidden; background: #dde7d3; -webkit-user-select: none; user-select: none; }
.ph-panel { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 7%; }
.ph-after { justify-content: flex-end; background: #e2ead9; color: #1f4a33; }
.ph-before { justify-content: flex-start; background: #ece3d3; color: #5a3a20; }
.ph-box { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 20px; border: 2px dashed currentColor; border-radius: var(--r); width: min(260px, 36%); font-size: 15px; line-height: 1.35; }
.ph-box b { font-size: 17px; }
.ba-label { position: absolute; top: 16px; z-index: 3; padding: 7px 12px; border-radius: calc(var(--r) * .75); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .9); color: #1d2a22; pointer-events: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 0; z-index: 3; pointer-events: none; }
.ba-line { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #ffffff; }
.ba-knob { position: absolute; top: 50%; left: -26px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: #ffffff; color: #1d2a22; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.ba-knob.nudge { animation: nudge 1.8s ease-in-out infinite; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba:focus-within .ba-knob { outline: 3px solid #f46717; outline-offset: 3px; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(20, 24, 20, .9); display: flex; align-items: center; justify-content: center; padding: 72px 16px 24px; }
.lb img { position: relative; max-width: min(1200px, 100%); max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: var(--r); }
.lb-bg { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: zoom-out; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #ffffff; display: grid; place-items: center; cursor: pointer; }
.lb-close:hover { background: rgba(255, 255, 255, .26); }

/* mini-climat */
.mc { background: #ffffff; border-radius: calc(var(--r) * 1.5); padding: clamp(14px, 2vw, 22px); box-shadow: 0 4px 14px rgba(29, 42, 34, .06); display: flex; flex-direction: column; gap: 26px; }
.scene { position: relative; width: 100%; aspect-ratio: 800 / 460; border-radius: var(--r); overflow: hidden; background: #f3f0e2; }
.scene svg.mc-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-svg .z { transition: opacity .45s ease; }
.act-haie .z:not(.z-haie), .act-arbre .z:not(.z-arbre), .act-mare .z:not(.z-mare), .act-sol .z:not(.z-sol) { opacity: .22; }
.mc-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 12px 18px; text-align: center; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: #eceae2; border-radius: 980px; }
.seg button { position: relative; overflow: hidden; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 980px; background: transparent; color: #3c463f; font: 700 15px/1 'Atkinson Hyperlegible Next', system-ui, sans-serif; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.seg button:hover { color: #1d2a22; }
.seg button.on { background: #ffffff; color: #1d2a22; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.pbars { display: flex; justify-content: center; gap: 8px; padding-top: 4px; }
.pbar { position: relative; width: 26px; height: 5px; border-radius: 3px; background: #dcdad0; overflow: hidden; transition: width .45s cubic-bezier(.2, .7, .3, 1); }
.pbar.on { width: 56px; }
.pbar-fill { position: absolute; inset: 0; border-radius: 3px; background: #1f4a33; transform-origin: left; scale: 0 1; }
.pbar.on .pbar-fill { scale: 1 1; }
.auto .pbar.on .pbar-fill { background: #f46717; animation: mc-progress 4.5s linear both; }
.auto .pbar.on.t2 .pbar-fill { animation-name: mc-progress2; }
.mc-text { max-width: 640px; display: flex; flex-direction: column; gap: 6px; animation: mc-in .45s ease both; }
.mc-text h3 { font-size: 26px; line-height: 1.15; }
.mc-text p { color: #4f5850; }
.wind path { stroke-dasharray: 28 18; animation: wind 1.3s linear infinite; }
.rays { transform-box: fill-box; transform-origin: center; animation: spinr 22s linear infinite; }
.mripple { transform-box: fill-box; transform-origin: center; animation: mripple 2.8s ease-out infinite; }
.mripple.m2 { animation-delay: 1.4s; }
.dfly { animation: hover 2.6s ease-in-out infinite alternate; }
.wing { transform-box: fill-box; transform-origin: 50% 100%; animation: flapw .1s linear infinite alternate; }
.worm { transform-box: fill-box; transform-origin: left center; animation: worm 1.6s ease-in-out infinite alternate; }
.fall { transform-box: fill-box; transform-origin: center; animation: fall 4.5s ease-in infinite; }
.fall.f2 { animation-delay: 1.5s; }
.fall.f3 { animation-delay: 3s; }
.mc-cloud { animation: mc-cloud 26s ease-in-out infinite alternate; }
.mc-cloud.c2 { animation-duration: 34s; }
.sap-row { display: flex; align-items: center; gap: 14px; }
.sap-logo { flex: none; width: 112px; min-height: 52px; display: grid; place-items: center; padding: 6px; border: 1.5px dashed #b9b6a8; border-radius: calc(var(--r) * .6); font-size: 10.5px; line-height: 1.25; text-align: center; color: #5f665d; }

/* FAQ */
.faq { background: #ffffff; border-radius: calc(var(--r) * 1.5); box-shadow: 0 4px 14px rgba(29, 42, 34, .06); padding: 4px clamp(18px, 3vw, 36px); }
.faq details { border-bottom: 1px solid #e6e4dc; }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 0; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #1f4a33; }
.faq summary svg { flex: none; color: #1f4a33; transition: rotate .3s ease; }
.faq details[open] summary svg { rotate: 45deg; }
.faq details p { max-width: 760px; padding: 0 44px 22px 0; color: #4f5850; }

/* quote */
.devis-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.formcard { position: relative; background: #ffffff; border-radius: calc(var(--r) * 1.5); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 4px 14px rgba(29, 42, 34, .06); }
.peek { position: absolute; right: 28px; top: -66px; width: 88px; z-index: 2; }
.peek img { width: 100%; height: auto; transform-origin: 50% 90%; animation: bob2 6s ease-in-out infinite; }
.peek:hover img { animation: chew .22s ease-in-out 6 alternate; }
.fgroup { display: flex; flex-direction: column; gap: 10px; }
.flabel { font-weight: 700; font-size: 15px; color: #1d2a22; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 18px; border-radius: 980px; border: 1px solid #d2d0c6; background: #ffffff; color: #1d2a22; font: 500 15px/1.1 'Atkinson Hyperlegible Next', system-ui, sans-serif; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.chip:hover { border-color: #8b9187; }
.chip svg { display: none; }
.chip.on { border-color: #1f4a33; box-shadow: inset 0 0 0 1px #1f4a33; font-weight: 700; }
.chip.on svg { display: block; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; color: #1d2a22; }
.field input, .field textarea { font: 500 17px/1.4 'Atkinson Hyperlegible Next', system-ui, sans-serif; color: #1d2a22; background: #ffffff; border: 1px solid #c9c7bc; border-radius: var(--r); padding: 12px 14px; min-height: 52px; width: 100%; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #1f4a33; box-shadow: 0 0 0 3px rgba(31, 74, 51, .2); }
.opt { font-weight: 500; color: #5f665d; }
.side { display: flex; flex-direction: column; gap: 20px; }
.scard { background: #ffffff; border-radius: calc(var(--r) * 1.5); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 4px 14px rgba(29, 42, 34, .06); }
.scard h3 { font-size: 19px; line-height: 1.2; }
.tel-big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #1f4a33; text-decoration: none; }
.tel-big:hover { color: #2f7a4f; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.towns li { padding: 5px 11px; border-radius: calc(var(--r) * .75); background: #f0eee7; font-size: 14px; line-height: 1.3; }
.towns li.main { background: #1f4a33; color: #ffffff; font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.steps .n { width: 28px; height: 28px; border-radius: 50%; background: #1f4a33; color: #ffffff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }

/* footer */
.foot { margin-top: clamp(72px, 8vw, 110px); border-top: 1px solid #e0ded5; padding: 28px 0 36px; font-size: 13px; line-height: 1.55; color: #5f665d; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; padding: 24px 0; margin: 20px 0; border-top: 1px solid #e0ded5; border-bottom: 1px solid #e0ded5; }
.foot h3 { font-size: 13px; font-weight: 700; color: #1d2a22; letter-spacing: 0; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: #4f5850; text-decoration: none; }
.foot a:hover { color: #1d2a22; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: #4f5850; text-decoration: underline; cursor: pointer; min-height: 24px; }
.linkbtn:hover { color: #1d2a22; }

/* intro */
.intro { position: fixed; left: 0; top: 0; width: 100%; height: min(100vh, 1200px); z-index: 100; pointer-events: none; overflow: hidden; animation: intro-hide 0s linear 3.45s forwards; }
.lay { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 100%; will-change: transform, opacity; }
.lay-sky { animation: sky-out 1.3s ease-in-out 1.95s forwards; }
.far-l, .mid-l, .near-l { transform-origin: 0% 100%; }
.far-r, .mid-r, .near-r { transform-origin: 100% 100%; }
.far-l { animation: far-l 1.55s cubic-bezier(.55, 0, .3, 1) 1.85s forwards; }
.far-r { animation: far-r 1.55s cubic-bezier(.55, 0, .3, 1) 1.85s forwards; }
.mid-l { animation: mid-l 1.4s cubic-bezier(.6, 0, .25, 1) 1.78s forwards; }
.mid-r { animation: mid-r 1.4s cubic-bezier(.6, 0, .25, 1) 1.78s forwards; }
.near-l { animation: near-l 1.2s cubic-bezier(.65, 0, .2, 1) 1.7s forwards; }
.near-r { animation: near-r 1.2s cubic-bezier(.65, 0, .2, 1) 1.7s forwards; }
.glow { position: absolute; left: 50%; top: 62%; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 196, .7) 0%, rgba(255, 238, 196, .22) 34%, rgba(255, 238, 196, 0) 64%); opacity: 0; scale: .25; animation: glow 1.7s ease-out 1.75s forwards; }
.loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #f4ede0; animation: loader-out .5s ease 1.6s forwards; }
.track { position: relative; width: min(320px, 72vw); height: 6px; border-radius: 3px; background: rgba(244, 237, 224, .18); margin-top: 58px; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #f46717; animation: fill 1.55s cubic-bezier(.45, .05, .35, 1) .1s forwards; }
.runner { position: absolute; bottom: 3px; left: 0; width: 84px; margin-left: -46px; animation: run 1.55s cubic-bezier(.45, .05, .35, 1) .1s forwards; }
.runner svg { display: block; width: 84px; height: 50px; }
.ltxt { font-size: 15px; color: #c9d8cf; }
.bv { animation: bvbob .3s ease-in-out infinite alternate; }
.leg { transform-box: fill-box; transform-origin: 50% 12%; animation: swing .3s ease-in-out infinite alternate; }
.leg-b { animation-delay: -.3s; }
.tail { transform-box: fill-box; transform-origin: 100% 50%; animation: wag .3s ease-in-out infinite alternate; }
.intro-on .hero-in { animation: hero-in 1.15s cubic-bezier(.2, .7, .3, 1) 2.3s both; }
.intro-on .gnav, .intro-on .ribbon { animation: fade-in .8s ease 2.4s both; }

@keyframes intro-hide { to { visibility: hidden; } }
@keyframes sky-out { to { opacity: 0; } }
@keyframes far-l { 30% { opacity: 1; } to { translate: -40% 0; scale: 1.1; opacity: 0; } }
@keyframes far-r { 30% { opacity: 1; } to { translate: 40% 0; scale: 1.1; opacity: 0; } }
@keyframes mid-l { 55% { opacity: 1; filter: blur(0); } to { translate: -72% 0; scale: 1.28; opacity: 0; filter: blur(2px); } }
@keyframes mid-r { 55% { opacity: 1; filter: blur(0); } to { translate: 72% 0; scale: 1.28; opacity: 0; filter: blur(2px); } }
@keyframes near-l { 70% { opacity: 1; } to { translate: -100% 0; scale: 1.55; opacity: 0; filter: blur(5px); } }
@keyframes near-r { 70% { opacity: 1; } to { translate: 100% 0; scale: 1.55; opacity: 0; filter: blur(5px); } }
@keyframes glow { 35% { opacity: 1; } to { opacity: 0; scale: 1.5; } }
@keyframes loader-out { to { opacity: 0; scale: 1.05; filter: blur(8px); } }
@keyframes fill { to { width: 100%; } }
@keyframes run { to { left: 100%; } }
@keyframes bvbob { to { transform: translateY(-4px); } }
@keyframes swing { from { transform: rotate(38deg); } to { transform: rotate(-38deg); } }
@keyframes wag { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes hero-in { from { opacity: 0; scale: .97; filter: blur(6px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes wobble { 0%, 100% { rotate: -6deg; } 50% { rotate: 7deg; } }
@keyframes topo-drift { to { background-position: 620px 310px; } }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -16px; rotate: 6deg; } }
@keyframes bob2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes chew { from { transform: rotate(0deg); } to { transform: rotate(-7deg) translateY(-5px); } }
@keyframes snip1 { 50% { rotate: -16deg; } }
@keyframes snip2 { 50% { rotate: 16deg; } }
@keyframes leaf-out { 0% { opacity: 1; translate: 0 0; rotate: 0deg; scale: .4; } 45% { opacity: 1; translate: -14px -24px; rotate: -130deg; scale: 1.1; } 70%, 100% { opacity: 0; translate: -20px -18px; rotate: -210deg; scale: 1; } }
@keyframes leaf-out2 { 0% { opacity: 1; translate: 0 0; rotate: 0deg; scale: .4; } 45% { opacity: 1; translate: -2px -28px; rotate: 110deg; scale: 1.1; } 70%, 100% { opacity: 0; translate: 5px -22px; rotate: 190deg; scale: 1; } }
@keyframes leaf-out3 { 0% { opacity: 1; translate: 0 0; rotate: 0deg; scale: .4; } 45% { opacity: 1; translate: -26px -12px; rotate: -90deg; scale: 1.1; } 70%, 100% { opacity: 0; translate: -32px -4px; rotate: -170deg; scale: 1; } }
@keyframes mow { 0%, 100% { translate: 0 0; } 30% { translate: -9px 0; } 70% { translate: 9px 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes clip-a { 0% { opacity: 1; translate: 0 0; rotate: 0deg; } 80% { opacity: 0; translate: -14px -18px; rotate: -220deg; } 100% { opacity: 0; translate: -14px -18px; } }
@keyframes clip-b { 0% { opacity: 1; translate: 0 0; rotate: 0deg; } 80% { opacity: 0; translate: -20px -9px; rotate: 180deg; } 100% { opacity: 0; translate: -20px -9px; } }
@keyframes clip-c { 0% { opacity: 1; translate: 0 0; rotate: 0deg; } 80% { opacity: 0; translate: -7px -22px; rotate: -160deg; } 100% { opacity: 0; translate: -7px -22px; } }
@keyframes clip-d { 0% { opacity: 1; translate: 0 0; rotate: 0deg; } 80% { opacity: 0; translate: -22px -18px; rotate: 240deg; } 100% { opacity: 0; translate: -22px -18px; } }
@keyframes sway { 25% { rotate: -5deg; } 75% { rotate: 5deg; } }
@keyframes drop { to { translate: 0 30px; opacity: 0; } }
@keyframes chop2 { 0%, 100% { rotate: 0deg; } 30% { rotate: 7deg; } 44% { rotate: -24deg; } 70% { rotate: -24deg; } }
@keyframes split-l { 0%, 44% { translate: 0 0; rotate: 0deg; opacity: 1; } 52% { translate: -5px 0; rotate: -16deg; opacity: 1; } 86% { translate: -5px 0; rotate: -16deg; opacity: 1; } 92% { translate: -5px 0; rotate: -16deg; opacity: 0; } 96% { translate: 0 0; rotate: 0deg; opacity: 0; } 100% { translate: 0 0; rotate: 0deg; opacity: 1; } }
@keyframes split-r { 0%, 44% { translate: 0 0; rotate: 0deg; opacity: 1; } 52% { translate: 5px 0; rotate: 16deg; opacity: 1; } 86% { translate: 5px 0; rotate: 16deg; opacity: 1; } 92% { translate: 5px 0; rotate: 16deg; opacity: 0; } 96% { translate: 0 0; rotate: 0deg; opacity: 0; } 100% { translate: 0 0; rotate: 0deg; opacity: 1; } }
@keyframes chip-a { 0%, 44% { opacity: 0; translate: 0 0; rotate: 0deg; } 46% { opacity: 1; } 72%, 100% { opacity: 0; translate: -14px -16px; rotate: -200deg; } }
@keyframes chip-b { 0%, 44% { opacity: 0; translate: 0 0; rotate: 0deg; } 46% { opacity: 1; } 72%, 100% { opacity: 0; translate: 12px -18px; rotate: 180deg; } }
@keyframes chip-c { 0%, 44% { opacity: 0; translate: 0 0; rotate: 0deg; } 46% { opacity: 1; } 72%, 100% { opacity: 0; translate: -2px -22px; rotate: 140deg; } }
@keyframes ripple { from { scale: .3; opacity: 1; } to { scale: 1.5; opacity: 0; } }
@keyframes dfi-hover { 0%, 100% { translate: 0 0; } 30% { translate: -4px -3px; } 60% { translate: 3px -5px; } 80% { translate: 1px 1px; } }
@keyframes dwing { to { scale: .82; opacity: .5; } }
@keyframes brush { from { rotate: -5deg; } to { rotate: 5deg; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 25% { translate: -10px 0; } 75% { translate: 10px 0; } }
@keyframes wind { to { stroke-dashoffset: -46; } }
@keyframes spinr { to { rotate: 360deg; } }
@keyframes mripple { from { scale: .3; opacity: 1; } to { scale: 1.9; opacity: 0; } }
@keyframes hover { from { translate: -10px 4px; } to { translate: 16px -8px; } }
@keyframes flapw { to { scale: 1 .35; } }
@keyframes worm { to { scale: 1.18 .82; translate: 6px 0; } }
@keyframes fall { 0% { translate: 0 0; rotate: 0deg; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { translate: 22px 118px; rotate: 170deg; opacity: 0; } }
@keyframes mc-in { from { opacity: 0; translate: 0 8px; } }
@keyframes mc-progress { from { scale: 0 1; } }
@keyframes mc-progress2 { from { scale: 0 1; } }
@keyframes mc-cloud { to { translate: 60px 0; } }

/* depth on scroll (scroll-driven, no script) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-title { animation: px-title linear both; animation-timeline: scroll(); animation-range: 0px 640px; }
    .rise-in { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .zoom-in { animation: zoom-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes px-title { to { translate: 0 60px; opacity: .3; } }
@keyframes rise-in { from { opacity: 0; translate: 0 40px; } }
@keyframes zoom-in { from { scale: .94; opacity: .5; } }

/* responsive: small laptops */
@media (max-width: 1100px) {
  .glinks a { padding: 10px 8px; }
}
/* responsive: tablets */
@media (max-width: 980px) {
  .glinks { display: none; }
  .gright { margin-left: auto; }
  .devis-grid { grid-template-columns: minmax(0, 1fr); }
  .side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
  .qbar-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qbar-title, .qbtn { grid-column: 1 / -1; }
  .qbar-title { padding: 0 2px 4px; }
  .rose { width: 140px; height: 140px; }
  .photo, .photo-ph { width: clamp(280px, 44vw, 400px); height: 440px; }
}
/* responsive: phones */
@media (max-width: 760px) {
  .leafs, .paddles { display: none; }
  .sec { padding-top: 52px; }
  .hero { padding-block: calc(56px + 34px) 24px; }
  .hero-text { gap: 14px; }
  .hero-links { flex-direction: column; gap: 0; }
  .qbar { margin-top: 24px; padding: 14px; }
  .qbar-in { grid-template-columns: minmax(0, 1fr); }
  .sec-head { margin-bottom: 16px; }
  .rail { gap: 14px; padding-bottom: 28px; }
  .why { width: 76vw; max-width: 300px; min-height: 196px; padding: 24px; gap: 16px; }
  .why p { font-size: 19px; }
  .photo, .photo-ph { width: 78vw; max-width: 320px; height: 340px; }
  .ba { aspect-ratio: 4 / 3; }
  .sim { gap: 28px; }
  .mc { gap: 18px; }
  .scene { aspect-ratio: 470 / 460; }
  .scene svg.mc-svg { width: 170.3%; transition: left .7s cubic-bezier(.2, .7, .3, 1); }
  .scene svg.mc-svg.act-arbre { left: -37%; }
  .scene svg.mc-svg.act-mare { left: -70.3%; }
  .scene svg.mc-svg.act-sol { left: -35%; }
  .mc-foot { padding: 0 4px 14px; }
  .mc-text h3 { font-size: 22px; }
  .faq summary { font-size: 17px; padding: 16px 0; }
  .faq details p { padding-right: 0; }
  #devis .sec-head { margin-bottom: 46px; }
  .peek { width: 64px; top: -48px; right: 16px; }
  .scard { padding: 22px; }
  .tel-big { font-size: 28px; }
  .foot { margin-top: 60px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-box { width: 44%; padding: 10px; font-size: 13px; }
  .ph-box svg { display: none; }
  .hide-m { display: none; }
}
/* responsive: small phones */
@media (max-width: 520px) {
  .hide-s { display: none; }
  .gnav-in { gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 16px; }
  .ph-box { width: 46%; padding: 8px; font-size: 12px; }
  .ph-box span { display: none; }
}
/* touch screens: no hover zoom */
@media (hover: none) {
  .photo:hover img { scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .intro-on .hero-in, .intro-on .gnav, .intro-on .ribbon { animation: none; }
  .topo, .rose-wob, .bob, .peek img, .ba-knob.nudge, .wind path, .rays, .mripple, .dfly, .wing, .worm, .fall, .mc-cloud, .auto .pbar.on .pbar-fill, .mc-text, .dfi, .dwings { animation: none !important; }
}

/* ---- version en ligne ---- */
[hidden] { display: none !important; }
img[src=""] { display: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sans-intro .intro { display: none; }
.sans-intro .intro-on .hero-in, .sans-intro .intro-on .gnav, .sans-intro .intro-on .ribbon { animation: none; }
.photo-cap:empty, [data-cms-si-vide]:empty { display: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ba-before { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 50% 0 0); }
.portrait { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.sap-logo-img { height: 52px; width: auto; flex: none; }
.mc-item h3 { font-size: 26px; line-height: 1.15; }
.mc-item p { color: #4f5850; }
.mc-item { display: flex; flex-direction: column; gap: 6px; animation: mc-in .45s ease both; }
.form-erreur { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: #fdecea; color: #8a1c12; font-weight: 700; }
.form-erreur a { color: #8a1c12; }
.btn[disabled] { opacity: .6; cursor: progress; }
.foot-bottom a { color: #4f5850; }
.lb img { position: relative; }
@media (max-width: 760px) { .mc-item h3 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .mc-item { animation: none; } }

/* Fond « dégradé » : le haut reste crème ; à partir de « Pourquoi », une feuille blanche aux coins arrondis
   se pose sur la page puis fonce section après section jusqu'à un vert-noir profond en pied de page. */
.cb.fond-degrade { background: #f5f4ef; }
.fond-degrade .gnav { background: rgba(245, 244, 239, .84); }
.fond-degrade #difference { position: relative; background: #ffffff; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; box-shadow: 0 -1px 0 rgba(29, 42, 34, .05), 0 -24px 48px -20px rgba(29, 42, 34, .12); margin-top: clamp(28px, 4vw, 48px); }
.fond-degrade #difference .why, .fond-degrade #credit-impot .sim { box-shadow: 0 0 0 1px rgba(29, 42, 34, .07), 0 10px 30px rgba(29, 42, 34, .08); }
.fond-degrade #credit-impot { background: linear-gradient(180deg, #ffffff 0%, #eef1ed 28%, #c9d1ca 100%); }
.fond-degrade #realisations { background: linear-gradient(180deg, #c9d1ca 0%, #9ba69d 22%, #56635a 38%, #36423b 50%, #2c3731 100%); }
.fond-degrade #mini-climat { background: linear-gradient(180deg, #2c3731 0%, #252f29 100%); }
.fond-degrade #faq { background: linear-gradient(180deg, #252f29 0%, #1f2823 100%); }
.fond-degrade #devis { background: linear-gradient(180deg, #1f2823 0%, #18201b 100%); }
.fond-degrade :is(#mini-climat, #faq, #devis) .sec-title, .fond-degrade #realisations h3 { color: #f4f2eb; }
.fond-degrade :is(#mini-climat, #faq, #devis) .sec-title .mute, .fond-degrade #realisations h3 .mute { color: rgba(244, 242, 235, .62); }
.fond-degrade #realisations .sec-title .mute { color: #4c544b; }
.cb.fond-degrade .foot { margin-top: 0; padding-top: calc(28px + clamp(56px, 7vw, 96px)); border-top: 0; background: linear-gradient(180deg, #18201b 0%, #0f1511 100%); color: rgba(244, 242, 235, .62); }
.fond-degrade .foot-cols { border-color: rgba(244, 242, 235, .14); }
.fond-degrade .foot h3 { color: #f4f2eb; }
.fond-degrade .foot a, .fond-degrade .foot .linkbtn { color: rgba(244, 242, 235, .8); }
.fond-degrade .foot a:hover, .fond-degrade .foot .linkbtn:hover { color: #ffffff; }

/* Cadre photo de l'accueil : mène aux réalisations, boussole posée sur le coin */
.hero-visual { position: relative; flex: 0 1 clamp(300px, 33vw, 440px); margin: 40px 40px 8px 0; }
.hero-frame { position: relative; display: block; aspect-ratio: 4 / 5; background: #ffffff; border-radius: calc(var(--r) * 2); box-shadow: 0 2px 6px rgba(29, 42, 34, .08), 0 26px 60px -14px rgba(29, 42, 34, .3); rotate: -1.5deg; color: #ffffff; text-decoration: none; transition: rotate .5s cubic-bezier(.2, .7, .3, 1), translate .5s cubic-bezier(.2, .7, .3, 1), box-shadow .5s ease; }
.hero-frame:hover, .hero-frame:focus-visible { rotate: 0deg; translate: 0 -6px; box-shadow: 0 2px 6px rgba(29, 42, 34, .08), 0 34px 70px -14px rgba(29, 42, 34, .36); }
.hero-frame:focus-visible { outline: 3px solid #f46717; outline-offset: 4px; }
.hf-photos { position: absolute; inset: 10px; border-radius: calc(var(--r) * 1.4); overflow: hidden; background: #dfe3d6; }
.hf-photos::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(to top, rgba(14, 20, 16, .74), rgba(14, 20, 16, 0)); pointer-events: none; }
.hf-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hf-img.on { opacity: 1; animation: hf-zoom 7s ease-out both; }
@keyframes hf-zoom { from { scale: 1.1; } to { scale: 1; } }
.hf-cap { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; display: flex; flex-direction: column; gap: 4px; }
.hf-cap-t { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .86); }
.hf-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.hf-cta svg { transition: translate .3s ease; }
.hero-frame:hover .hf-cta svg { translate: 4px 0; }
.hf-dots { position: absolute; z-index: 2; left: 30px; top: 28px; display: flex; gap: 6px; }
.hf-dot { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: width .4s ease, background-color .4s ease; }
.hf-dot.on { width: 22px; background: #ffffff; }
.hero-visual .rose.hf-rose { position: absolute; z-index: 3; top: -48px; right: -48px; width: 136px; height: 136px; filter: drop-shadow(0 10px 18px rgba(29, 42, 34, .22)); pointer-events: none; }
@media (max-width: 760px) {
  .hero-visual { flex: 1 1 100%; margin: 30px 14px 0 0; }
  .hero-frame { aspect-ratio: 4 / 3; rotate: -1deg; }
  .hero-visual .rose.hf-rose { width: 96px; height: 96px; top: -32px; right: -14px; }
  .hf-cap { left: 22px; right: 22px; bottom: 20px; }
  .hf-dots { left: 22px; top: 22px; }
  .hf-cta { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hf-img.on { animation: none; } .hero-frame { transition: none; } }
.hf-cap-t:empty { display: none; }
