/* ================================================================
   DESIGN SYSTEM · Enzo Frare
   Structure : Variables → Reset → Base → Layout → Components →
               Sections → Animations → Responsive
================================================================ */

/* ────────────────────────────────────────────────────────────────
   VARIABLES
──────────────────────────────────────────────────────────────── */
:root {
  /* Motif topographique (courbes de niveau, signature de branding) */
  --motif-light: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20700%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cpath%20stroke%3D%22%231f5c3e%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20104.9%20L-38%20107.2%20L-26%20110.2%20L-14%20113.6%20L-2%20117.2%20L10%20120.5%20L22%20123.1%20L34%20124.9%20L46%20125.5%20L58%20124.8%20L70%20123.0%20L82%20120.3%20L94%20117.0%20L106%20113.6%20L118%20110.5%20L130%20108.1%20L142%20106.7%20L154%20106.5%20L166%20107.4%20L178%20109.5%20L190%20112.2%20L202%20115.4%20L214%20118.6%20L226%20121.4%20L238%20123.6%20L250%20125.0%20L262%20125.5%20L274%20125.4%20L286%20124.8%20L298%20124.1%20L310%20123.6%20L322%20123.6%20L334%20124.5%20L346%20126.2%20L358%20128.8%20L370%20132.0%20L382%20135.6%20L394%20139.1%20L406%20142.2%20L418%20144.3%20L430%20145.3%20L442%20144.8%20L454%20142.9%20L466%20139.6%20L478%20135.4%20L490%20130.4%20L502%20125.2%20L514%20120.2%20L526%20115.6%20L538%20111.9%20L550%20109.0%20L562%20106.9%20L574%20105.4%20L586%20104.3%20L598%20103.1%20L610%20101.7%20L622%2099.6%20L634%2096.8%20L646%2093.2%20L658%2089.0%20L670%2084.4%20L682%2079.8%20L694%2075.6%20L706%2072.1%20L718%2069.8%20L730%2068.9%20L742%2069.3%20L754%2071.0%20L766%2073.8%20L778%2077.3%20L790%2081.1%20L802%2084.7%20L814%2087.7%20L826%2089.9%20L838%2091.2%20L850%2091.4%20L862%2090.8%20L874%2089.6%20L886%2088.2%20L898%2087.0%20L910%2086.2%20L922%2086.1%20L934%2086.8%20L946%2088.3%20L958%2090.3%20L970%2092.6%20L982%2094.9%20L994%2096.7%20L1006%2097.7%20L1018%2097.7%20L1030%2096.6%20L1042%2094.5%20L1054%2091.5%20L1066%2088.1%20L1078%2084.6%20L1090%2081.5%20L1102%2079.1%20L1114%2077.9%20L1126%2077.9%20L1138%2079.3%20L1150%2081.9%20L1162%2085.4%20L1174%2089.5%20L1186%2093.8%20L1198%2097.8%20L1210%20101.3%20L1222%20104.1%20L1234%20106.2%20L1246%20107.6%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%231f5c3e%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20272.1%20L-38%20272.5%20L-26%20271.6%20L-14%20269.4%20L-2%20266.0%20L10%20261.6%20L22%20256.5%20L34%20251.2%20L46%20246.2%20L58%20241.7%20L70%20238.3%20L82%20235.9%20L94%20234.8%20L106%20234.7%20L118%20235.3%20L130%20236.4%20L142%20237.6%20L154%20238.4%20L166%20238.7%20L178%20238.2%20L190%20236.9%20L202%20235.0%20L214%20232.6%20L226%20230.3%20L238%20228.2%20L250%20226.7%20L262%20226.1%20L274%20226.5%20L286%20227.9%20L298%20230.0%20L310%20232.6%20L322%20235.4%20L334%20237.7%20L346%20239.4%20L358%20239.9%20L370%20239.2%20L382%20237.2%20L394%20234.0%20L406%20229.8%20L418%20225.0%20L430%20220.1%20L442%20215.5%20L454%20211.5%20L466%20208.4%20L478%20206.2%20L490%20204.9%20L502%20204.4%20L514%20204.3%20L526%20204.4%20L538%20204.2%20L550%20203.6%20L562%20202.3%20L574%20200.2%20L586%20197.6%20L598%20194.7%20L610%20191.8%20L622%20189.3%20L634%20187.7%20L646%20187.1%20L658%20188.0%20L670%20190.3%20L682%20193.9%20L694%20198.6%20L706%20204.1%20L718%20209.8%20L730%20215.5%20L742%20220.5%20L754%20224.7%20L766%20227.9%20L778%20230.1%20L790%20231.4%20L802%20232.0%20L814%20232.4%20L826%20232.8%20L838%20233.6%20L850%20234.9%20L862%20237.0%20L874%20239.8%20L886%20243.0%20L898%20246.4%20L910%20249.7%20L922%20252.4%20L934%20254.2%20L946%20254.9%20L958%20254.4%20L970%20252.7%20L982%20250.0%20L994%20246.6%20L1006%20243.1%20L1018%20239.7%20L1030%20237.0%20L1042%20235.3%20L1054%20234.7%20L1066%20235.3%20L1078%20237.0%20L1090%20239.5%20L1102%20242.5%20L1114%20245.5%20L1126%20248.3%20L1138%20250.5%20L1150%20251.9%20L1162%20252.5%20L1174%20252.3%20L1186%20251.6%20L1198%20250.6%20L1210%20249.8%20L1222%20249.5%20L1234%20249.9%20L1246%20251.2%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%231f5c3e%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20358.1%20L-38%20351.6%20L-26%20345.4%20L-14%20339.9%20L-2%20335.5%20L10%20332.3%20L22%20330.4%20L34%20329.6%20L46%20329.8%20L58%20330.6%20L70%20331.6%20L82%20332.4%20L94%20332.7%20L106%20332.4%20L118%20331.5%20L130%20330.1%20L142%20328.4%20L154%20326.7%20L166%20325.4%20L178%20324.9%20L190%20325.3%20L202%20326.8%20L214%20329.4%20L226%20332.9%20L238%20337.0%20L250%20341.4%20L262%20345.5%20L274%20348.9%20L286%20351.3%20L298%20352.6%20L310%20352.6%20L322%20351.4%20L334%20349.3%20L346%20346.6%20L358%20343.7%20L370%20341.1%20L382%20339.1%20L394%20338.0%20L406%20337.8%20L418%20338.5%20L430%20339.9%20L442%20341.7%20L454%20343.6%20L466%20345.3%20L478%20346.4%20L490%20346.8%20L502%20346.4%20L514%20345.3%20L526%20343.8%20L538%20342.2%20L550%20340.9%20L562%20340.3%20L574%20340.7%20L586%20342.4%20L598%20345.4%20L610%20349.6%20L622%20354.8%20L634%20360.7%20L646%20366.8%20L658%20372.7%20L670%20377.9%20L682%20382.1%20L694%20385.2%20L706%20387.2%20L718%20388.2%20L730%20388.3%20L742%20388.1%20L754%20387.7%20L766%20387.6%20L778%20388.0%20L790%20389.0%20L802%20390.6%20L814%20392.5%20L826%20394.6%20L838%20396.4%20L850%20397.7%20L862%20397.9%20L874%20397.0%20L886%20394.8%20L898%20391.3%20L910%20386.8%20L922%20381.5%20L934%20376.0%20L946%20370.6%20L958%20365.8%20L970%20362.0%20L982%20359.2%20L994%20357.7%20L1006%20357.3%20L1018%20357.7%20L1030%20358.7%20L1042%20359.8%20L1054%20360.7%20L1066%20361.1%20L1078%20360.8%20L1090%20359.6%20L1102%20357.8%20L1114%20355.6%20L1126%20353.2%20L1138%20351.0%20L1150%20349.4%20L1162%20348.6%20L1174%20348.8%20L1186%20349.9%20L1198%20351.9%20L1210%20354.5%20L1222%20357.2%20L1234%20359.7%20L1246%20361.5%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%231f5c3e%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20440.3%20L-38%20441.2%20L-26%20443.1%20L-14%20445.7%20L-2%20448.5%20L10%20451.2%20L22%20453.5%20L34%20455.3%20L46%20456.4%20L58%20456.9%20L70%20457.2%20L82%20457.5%20L94%20458.1%20L106%20459.5%20L118%20461.7%20L130%20465.1%20L142%20469.4%20L154%20474.7%20L166%20480.5%20L178%20486.5%20L190%20492.2%20L202%20497.2%20L214%20501.2%20L226%20503.8%20L238%20505.1%20L250%20505.1%20L262%20504.1%20L274%20502.3%20L286%20500.2%20L298%20498.3%20L310%20496.8%20L322%20496.0%20L334%20496.0%20L346%20496.7%20L358%20498.1%20L370%20499.8%20L382%20501.4%20L394%20502.7%20L406%20503.3%20L418%20503.0%20L430%20501.9%20L442%20499.9%20L454%20497.4%20L466%20494.7%20L478%20492.1%20L490%20490.0%20L502%20488.9%20L514%20489.0%20L526%20490.3%20L538%20492.8%20L550%20496.2%20L562%20500.2%20L574%20504.4%20L586%20508.4%20L598%20511.7%20L610%20514.1%20L622%20515.3%20L634%20515.3%20L646%20514.3%20L658%20512.6%20L670%20510.3%20L682%20508.1%20L694%20506.0%20L706%20504.5%20L718%20503.6%20L730%20503.3%20L742%20503.5%20L754%20503.9%20L766%20504.1%20L778%20503.8%20L790%20502.6%20L802%20500.3%20L814%20496.9%20L826%20492.2%20L838%20486.6%20L850%20480.4%20L862%20473.9%20L874%20467.7%20L886%20462.1%20L898%20457.6%20L910%20454.3%20L922%20452.3%20L934%20451.6%20L946%20451.8%20L958%20452.8%20L970%20454.0%20L982%20455.2%20L994%20456.0%20L1006%20456.2%20L1018%20455.7%20L1030%20454.7%20L1042%20453.3%20L1054%20451.9%20L1066%20450.8%20L1078%20450.4%20L1090%20450.8%20L1102%20452.4%20L1114%20455.0%20L1126%20458.6%20L1138%20462.8%20L1150%20467.3%20L1162%20471.7%20L1174%20475.5%20L1186%20478.3%20L1198%20480.0%20L1210%20480.4%20L1222%20479.5%20L1234%20477.7%20L1246%20475.2%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%231f5c3e%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20608.7%20L-38%20611.1%20L-26%20612.8%20L-14%20613.9%20L-2%20614.5%20L10%20615.0%20L22%20615.7%20L34%20617.0%20L46%20619.0%20L58%20622.0%20L70%20626.0%20L82%20630.7%20L94%20635.9%20L106%20641.2%20L118%20646.1%20L130%20650.2%20L142%20653.2%20L154%20654.8%20L166%20654.9%20L178%20653.7%20L190%20651.2%20L202%20648.0%20L214%20644.3%20L226%20640.7%20L238%20637.4%20L250%20634.8%20L262%20632.9%20L274%20631.7%20L286%20631.1%20L298%20630.7%20L310%20630.4%20L322%20629.7%20L334%20628.3%20L346%20626.0%20L358%20622.9%20L370%20619.0%20L382%20614.4%20L394%20609.7%20L406%20605.2%20L418%20601.3%20L430%20598.3%20L442%20596.5%20L454%20596.1%20L466%20596.9%20L478%20598.8%20L490%20601.4%20L502%20604.3%20L514%20607.1%20L526%20609.4%20L538%20610.9%20L550%20611.3%20L562%20610.7%20L574%20609.2%20L586%20607.1%20L598%20604.6%20L610%20602.1%20L622%20600.0%20L634%20598.5%20L646%20597.8%20L658%20597.8%20L670%20598.5%20L682%20599.4%20L694%20600.4%20L706%20600.9%20L718%20600.8%20L730%20599.6%20L742%20597.4%20L754%20594.0%20L766%20589.8%20L778%20585.0%20L790%20580.0%20L802%20575.3%20L814%20571.4%20L826%20568.5%20L838%20566.8%20L850%20566.6%20L862%20567.6%20L874%20569.7%20L886%20572.6%20L898%20575.7%20L910%20578.9%20L922%20581.6%20L934%20583.8%20L946%20585.4%20L958%20586.4%20L970%20586.9%20L982%20587.4%20L994%20588.2%20L1006%20589.5%20L1018%20591.8%20L1030%20595.0%20L1042%20599.2%20L1054%20604.4%20L1066%20610.1%20L1078%20616.1%20L1090%20621.8%20L1102%20627.0%20L1114%20631.0%20L1126%20633.9%20L1138%20635.3%20L1150%20635.4%20L1162%20634.4%20L1174%20632.5%20L1186%20630.3%20L1198%20628.1%20L1210%20626.2%20L1222%20625.0%20L1234%20624.6%20L1246%20625.0%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  --motif-dark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%20700%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cpath%20stroke%3D%22%232d8558%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20104.9%20L-38%20107.2%20L-26%20110.2%20L-14%20113.6%20L-2%20117.2%20L10%20120.5%20L22%20123.1%20L34%20124.9%20L46%20125.5%20L58%20124.8%20L70%20123.0%20L82%20120.3%20L94%20117.0%20L106%20113.6%20L118%20110.5%20L130%20108.1%20L142%20106.7%20L154%20106.5%20L166%20107.4%20L178%20109.5%20L190%20112.2%20L202%20115.4%20L214%20118.6%20L226%20121.4%20L238%20123.6%20L250%20125.0%20L262%20125.5%20L274%20125.4%20L286%20124.8%20L298%20124.1%20L310%20123.6%20L322%20123.6%20L334%20124.5%20L346%20126.2%20L358%20128.8%20L370%20132.0%20L382%20135.6%20L394%20139.1%20L406%20142.2%20L418%20144.3%20L430%20145.3%20L442%20144.8%20L454%20142.9%20L466%20139.6%20L478%20135.4%20L490%20130.4%20L502%20125.2%20L514%20120.2%20L526%20115.6%20L538%20111.9%20L550%20109.0%20L562%20106.9%20L574%20105.4%20L586%20104.3%20L598%20103.1%20L610%20101.7%20L622%2099.6%20L634%2096.8%20L646%2093.2%20L658%2089.0%20L670%2084.4%20L682%2079.8%20L694%2075.6%20L706%2072.1%20L718%2069.8%20L730%2068.9%20L742%2069.3%20L754%2071.0%20L766%2073.8%20L778%2077.3%20L790%2081.1%20L802%2084.7%20L814%2087.7%20L826%2089.9%20L838%2091.2%20L850%2091.4%20L862%2090.8%20L874%2089.6%20L886%2088.2%20L898%2087.0%20L910%2086.2%20L922%2086.1%20L934%2086.8%20L946%2088.3%20L958%2090.3%20L970%2092.6%20L982%2094.9%20L994%2096.7%20L1006%2097.7%20L1018%2097.7%20L1030%2096.6%20L1042%2094.5%20L1054%2091.5%20L1066%2088.1%20L1078%2084.6%20L1090%2081.5%20L1102%2079.1%20L1114%2077.9%20L1126%2077.9%20L1138%2079.3%20L1150%2081.9%20L1162%2085.4%20L1174%2089.5%20L1186%2093.8%20L1198%2097.8%20L1210%20101.3%20L1222%20104.1%20L1234%20106.2%20L1246%20107.6%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%232d8558%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20272.1%20L-38%20272.5%20L-26%20271.6%20L-14%20269.4%20L-2%20266.0%20L10%20261.6%20L22%20256.5%20L34%20251.2%20L46%20246.2%20L58%20241.7%20L70%20238.3%20L82%20235.9%20L94%20234.8%20L106%20234.7%20L118%20235.3%20L130%20236.4%20L142%20237.6%20L154%20238.4%20L166%20238.7%20L178%20238.2%20L190%20236.9%20L202%20235.0%20L214%20232.6%20L226%20230.3%20L238%20228.2%20L250%20226.7%20L262%20226.1%20L274%20226.5%20L286%20227.9%20L298%20230.0%20L310%20232.6%20L322%20235.4%20L334%20237.7%20L346%20239.4%20L358%20239.9%20L370%20239.2%20L382%20237.2%20L394%20234.0%20L406%20229.8%20L418%20225.0%20L430%20220.1%20L442%20215.5%20L454%20211.5%20L466%20208.4%20L478%20206.2%20L490%20204.9%20L502%20204.4%20L514%20204.3%20L526%20204.4%20L538%20204.2%20L550%20203.6%20L562%20202.3%20L574%20200.2%20L586%20197.6%20L598%20194.7%20L610%20191.8%20L622%20189.3%20L634%20187.7%20L646%20187.1%20L658%20188.0%20L670%20190.3%20L682%20193.9%20L694%20198.6%20L706%20204.1%20L718%20209.8%20L730%20215.5%20L742%20220.5%20L754%20224.7%20L766%20227.9%20L778%20230.1%20L790%20231.4%20L802%20232.0%20L814%20232.4%20L826%20232.8%20L838%20233.6%20L850%20234.9%20L862%20237.0%20L874%20239.8%20L886%20243.0%20L898%20246.4%20L910%20249.7%20L922%20252.4%20L934%20254.2%20L946%20254.9%20L958%20254.4%20L970%20252.7%20L982%20250.0%20L994%20246.6%20L1006%20243.1%20L1018%20239.7%20L1030%20237.0%20L1042%20235.3%20L1054%20234.7%20L1066%20235.3%20L1078%20237.0%20L1090%20239.5%20L1102%20242.5%20L1114%20245.5%20L1126%20248.3%20L1138%20250.5%20L1150%20251.9%20L1162%20252.5%20L1174%20252.3%20L1186%20251.6%20L1198%20250.6%20L1210%20249.8%20L1222%20249.5%20L1234%20249.9%20L1246%20251.2%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%232d8558%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20358.1%20L-38%20351.6%20L-26%20345.4%20L-14%20339.9%20L-2%20335.5%20L10%20332.3%20L22%20330.4%20L34%20329.6%20L46%20329.8%20L58%20330.6%20L70%20331.6%20L82%20332.4%20L94%20332.7%20L106%20332.4%20L118%20331.5%20L130%20330.1%20L142%20328.4%20L154%20326.7%20L166%20325.4%20L178%20324.9%20L190%20325.3%20L202%20326.8%20L214%20329.4%20L226%20332.9%20L238%20337.0%20L250%20341.4%20L262%20345.5%20L274%20348.9%20L286%20351.3%20L298%20352.6%20L310%20352.6%20L322%20351.4%20L334%20349.3%20L346%20346.6%20L358%20343.7%20L370%20341.1%20L382%20339.1%20L394%20338.0%20L406%20337.8%20L418%20338.5%20L430%20339.9%20L442%20341.7%20L454%20343.6%20L466%20345.3%20L478%20346.4%20L490%20346.8%20L502%20346.4%20L514%20345.3%20L526%20343.8%20L538%20342.2%20L550%20340.9%20L562%20340.3%20L574%20340.7%20L586%20342.4%20L598%20345.4%20L610%20349.6%20L622%20354.8%20L634%20360.7%20L646%20366.8%20L658%20372.7%20L670%20377.9%20L682%20382.1%20L694%20385.2%20L706%20387.2%20L718%20388.2%20L730%20388.3%20L742%20388.1%20L754%20387.7%20L766%20387.6%20L778%20388.0%20L790%20389.0%20L802%20390.6%20L814%20392.5%20L826%20394.6%20L838%20396.4%20L850%20397.7%20L862%20397.9%20L874%20397.0%20L886%20394.8%20L898%20391.3%20L910%20386.8%20L922%20381.5%20L934%20376.0%20L946%20370.6%20L958%20365.8%20L970%20362.0%20L982%20359.2%20L994%20357.7%20L1006%20357.3%20L1018%20357.7%20L1030%20358.7%20L1042%20359.8%20L1054%20360.7%20L1066%20361.1%20L1078%20360.8%20L1090%20359.6%20L1102%20357.8%20L1114%20355.6%20L1126%20353.2%20L1138%20351.0%20L1150%20349.4%20L1162%20348.6%20L1174%20348.8%20L1186%20349.9%20L1198%20351.9%20L1210%20354.5%20L1222%20357.2%20L1234%20359.7%20L1246%20361.5%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%232d8558%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20440.3%20L-38%20441.2%20L-26%20443.1%20L-14%20445.7%20L-2%20448.5%20L10%20451.2%20L22%20453.5%20L34%20455.3%20L46%20456.4%20L58%20456.9%20L70%20457.2%20L82%20457.5%20L94%20458.1%20L106%20459.5%20L118%20461.7%20L130%20465.1%20L142%20469.4%20L154%20474.7%20L166%20480.5%20L178%20486.5%20L190%20492.2%20L202%20497.2%20L214%20501.2%20L226%20503.8%20L238%20505.1%20L250%20505.1%20L262%20504.1%20L274%20502.3%20L286%20500.2%20L298%20498.3%20L310%20496.8%20L322%20496.0%20L334%20496.0%20L346%20496.7%20L358%20498.1%20L370%20499.8%20L382%20501.4%20L394%20502.7%20L406%20503.3%20L418%20503.0%20L430%20501.9%20L442%20499.9%20L454%20497.4%20L466%20494.7%20L478%20492.1%20L490%20490.0%20L502%20488.9%20L514%20489.0%20L526%20490.3%20L538%20492.8%20L550%20496.2%20L562%20500.2%20L574%20504.4%20L586%20508.4%20L598%20511.7%20L610%20514.1%20L622%20515.3%20L634%20515.3%20L646%20514.3%20L658%20512.6%20L670%20510.3%20L682%20508.1%20L694%20506.0%20L706%20504.5%20L718%20503.6%20L730%20503.3%20L742%20503.5%20L754%20503.9%20L766%20504.1%20L778%20503.8%20L790%20502.6%20L802%20500.3%20L814%20496.9%20L826%20492.2%20L838%20486.6%20L850%20480.4%20L862%20473.9%20L874%20467.7%20L886%20462.1%20L898%20457.6%20L910%20454.3%20L922%20452.3%20L934%20451.6%20L946%20451.8%20L958%20452.8%20L970%20454.0%20L982%20455.2%20L994%20456.0%20L1006%20456.2%20L1018%20455.7%20L1030%20454.7%20L1042%20453.3%20L1054%20451.9%20L1066%20450.8%20L1078%20450.4%20L1090%20450.8%20L1102%20452.4%20L1114%20455.0%20L1126%20458.6%20L1138%20462.8%20L1150%20467.3%20L1162%20471.7%20L1174%20475.5%20L1186%20478.3%20L1198%20480.0%20L1210%20480.4%20L1222%20479.5%20L1234%20477.7%20L1246%20475.2%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20stroke%3D%22%232d8558%22%20stroke-opacity%3D%220.09%22%20stroke-width%3D%221.2%22%20d%3D%22M-50%20608.7%20L-38%20611.1%20L-26%20612.8%20L-14%20613.9%20L-2%20614.5%20L10%20615.0%20L22%20615.7%20L34%20617.0%20L46%20619.0%20L58%20622.0%20L70%20626.0%20L82%20630.7%20L94%20635.9%20L106%20641.2%20L118%20646.1%20L130%20650.2%20L142%20653.2%20L154%20654.8%20L166%20654.9%20L178%20653.7%20L190%20651.2%20L202%20648.0%20L214%20644.3%20L226%20640.7%20L238%20637.4%20L250%20634.8%20L262%20632.9%20L274%20631.7%20L286%20631.1%20L298%20630.7%20L310%20630.4%20L322%20629.7%20L334%20628.3%20L346%20626.0%20L358%20622.9%20L370%20619.0%20L382%20614.4%20L394%20609.7%20L406%20605.2%20L418%20601.3%20L430%20598.3%20L442%20596.5%20L454%20596.1%20L466%20596.9%20L478%20598.8%20L490%20601.4%20L502%20604.3%20L514%20607.1%20L526%20609.4%20L538%20610.9%20L550%20611.3%20L562%20610.7%20L574%20609.2%20L586%20607.1%20L598%20604.6%20L610%20602.1%20L622%20600.0%20L634%20598.5%20L646%20597.8%20L658%20597.8%20L670%20598.5%20L682%20599.4%20L694%20600.4%20L706%20600.9%20L718%20600.8%20L730%20599.6%20L742%20597.4%20L754%20594.0%20L766%20589.8%20L778%20585.0%20L790%20580.0%20L802%20575.3%20L814%20571.4%20L826%20568.5%20L838%20566.8%20L850%20566.6%20L862%20567.6%20L874%20569.7%20L886%20572.6%20L898%20575.7%20L910%20578.9%20L922%20581.6%20L934%20583.8%20L946%20585.4%20L958%20586.4%20L970%20586.9%20L982%20587.4%20L994%20588.2%20L1006%20589.5%20L1018%20591.8%20L1030%20595.0%20L1042%20599.2%20L1054%20604.4%20L1066%20610.1%20L1078%20616.1%20L1090%20621.8%20L1102%20627.0%20L1114%20631.0%20L1126%20633.9%20L1138%20635.3%20L1150%20635.4%20L1162%20634.4%20L1174%20632.5%20L1186%20630.3%20L1198%20628.1%20L1210%20626.2%20L1222%20625.0%20L1234%20624.6%20L1246%20625.0%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");

  /* Light theme */
  --bg:            #f4f0e4;
  --surface:       #ece6d6;
  --surface-2:     #e2dbc6;
  --card:          #fdfaf2;
  --text:          #1c1a17;
  --text-2:        #57534a;
  --text-3:        #a09a8b;
  --border:        rgba(28, 26, 23, 0.10);
  --border-accent: rgba(31, 92, 62, 0.22);
  --accent:        #1f5c3e;
  --accent-2:      #2d8558;
  --accent-dim:    rgba(31, 92, 62, 0.08);
  --sans:          'Geist Variable', 'Geist', system-ui, sans-serif;
  --mono:          'Geist Mono Variable', 'Geist Mono', ui-monospace, monospace;

  /* Spacing (8px grid) */
  --s1: 8px;   --s2: 16px;  --s3: 24px;  --s4: 32px;
  --s5: 40px;  --s6: 48px;  --s8: 64px;  --s10: 80px;
  --s12: 96px; --s16: 128px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.4, 0, 0.2, 1);
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --r-sm: 8px; --r: 10px; --r-lg: 10px;
}
/* ────────────────────────────────────────────────────────────────
   RESET
──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; }
ul { list-style: none; }
a { text-decoration: none; }

/* ────────────────────────────────────────────────────────────────
   BASE
──────────────────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--text-3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection { background: var(--accent-dim); color: var(--text); }

/* ────────────────────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--s6);
  position: relative;
  z-index: 1;
}

.section { padding: var(--s16) 0; position: relative; }

/* Dark sections use local variable overrides so all children inherit them */
.section--dark {
  background-color: #182f20;
  background-image:
    radial-gradient(60% 60% at 88% 0%, rgba(45,133,88,0.18), transparent 62%),
    radial-gradient(45% 45% at 6% 100%, rgba(45,133,88,0.10), transparent 60%),
    var(--motif-dark);
  background-size: auto, auto, 75%;
  --text:          #f0efe8;
  --text-2:        #b0b8b2;
  --text-3:        #6b7a67;
  --border:        rgba(255, 255, 255, 0.08);
  --border-accent: rgba(45, 133, 88, 0.28);
  --surface:       #223d2b;
  --surface-2:     #274630;
  --card:          #223d2b;
  --accent-dim:    rgba(45, 133, 88, 0.14);
  color: var(--text);
}

/* Interdit le texte vert sur fond sombre : contraste obligatoire en clair */
.section--dark .eyebrow,
.section--dark h2 em,
.section--dark .problem-num {
  color: var(--text);
}
.section--dark .badge-short,
.section--dark .badge-mid {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border);
}

.section--alt {
  background:
    radial-gradient(55% 65% at 85% 0%, rgba(31,92,62,0.10), transparent 62%),
    radial-gradient(40% 50% at 4% 100%, rgba(31,92,62,0.06), transparent 60%),
    var(--motif-light),
    var(--surface);
  background-size: auto, auto, 75%, auto;
}
.section--cta {
  background:
    radial-gradient(65% 75% at 50% 100%, rgba(31,92,62,0.12), transparent 62%),
    var(--motif-light),
    var(--surface);
  background-size: auto, 75%, auto;
}

.section-hd { margin-bottom: var(--s8); }

.section-sub {
  font-size: 15px;
  color: var(--text-2);
  max-width: 520px;
  margin-top: var(--s3);
  line-height: 1.8;
}

.grid-bordered {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
  display: grid;
  box-shadow: 0 10px 28px rgba(20, 32, 24, 0.06);
}
.section--dark .grid-bordered {
  box-shadow: 0 10px 24px rgba(20, 32, 24, 0.10);
}

/* ────────────────────────────────────────────────────────────────
   TYPOGRAPHY
──────────────────────────────────────────────────────────────── */
h2 {
  font-family: var(--sans);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
}
h2 em {
  font-style: normal;
  color: var(--accent);
}
h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s2);
}

.eyebrow {
  display: flex;  font-family: var(--mono);

  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────────────────── */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--r);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              filter 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 92, 62, 0.16);
  filter: brightness(1.1);
}
.btn-primary.btn-large { padding: 18px 36px; font-size: 12px; }
.btn-primary.btn-sm,
.btn-ghost.btn-sm {
  padding: 8px 16px;
  font-size: 10px;
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); }

/* ────────────────────────────────────────────────────────────────
   SCROLL PROGRESS
──────────────────────────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ────────────────────────────────────────────────────────────────
   NAV
──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 40px 0;
  transition: background 0.3s var(--ease-io);
  background-color: var(--bg);
  background-image: var(--motif-light);
  background-size: 85%;
}
.nav.scrolled { background-color: var(--bg); }
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s4);
  background: rgba(253, 250, 242, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(28, 26, 23, 0.07);
  border-radius: var(--r);
  box-shadow: 0 10px 24px rgba(20, 32, 24, 0.10);
}
@media (max-width: 720px) {
  .nav { padding: 12px 16px 0; }
  .nav-inner { border-radius: var(--r); padding: 14px var(--s3); }
}
.nav-name {
  font-size: 13px;  font-family: var(--mono);

  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-sep {
  display: none;
}
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--accent-dim); }
.nav-cta-item { margin-left: auto; }
.nav-cta-group { display: flex; align-items: center; gap: 8px; }
.nav-links .nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--accent);
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--r);
  transition: background 0.2s, color 0.2s, filter 0.2s;
}
.nav-links .nav-cta:hover { color: #ffffff; background: var(--accent); filter: brightness(1.1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────────────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--s6) var(--s16);
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #0e1e15;
  background-image: var(--motif-dark);
  background-size: cover;
  --text:          #f0efe8;
  --text-2:        #b0b8b2;
  --text-3:        #6b7a70;
  --border:        rgba(255, 255, 255, 0.10);
  --accent:        #2d8558;
  --accent-dim:    rgba(45, 133, 88, 0.15);
  color: var(--text);
}

.hero--light {
  background-color: var(--bg);
  background-image: var(--motif-light);
  background-size: 75%;
  --text:          #1c1a17;
  --text-2:        #4a463e;
  --text-3:        #8a8578;
  --border:        rgba(28, 26, 23, 0.10);
  --accent:        #1f5c3e;
  --accent-dim:    rgba(31, 92, 62, 0.10);
}
.hero--light .hero-grid-lines {
  background-image:
    linear-gradient(rgba(31, 92, 62, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 92, 62, 0.05) 1px, transparent 1px);
}

.hero-ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,133,88,0.24) 0%, transparent 70%);
  top: -100px; right: -80px;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero-orb--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,133,88,0.16) 0%, transparent 70%);
  bottom: 20%; left: -50px;
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -30px) scale(1.1); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 0%, transparent 80%);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--s5);
  opacity: 0;
  animation: hero-up 0.5s var(--ease-out) 0.1s forwards;
}

.dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: dot-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: dot-ring 2.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50%       { opacity: 0.5; box-shadow: none; }
}
@keyframes dot-ring {
  0%   { opacity: 0.4; transform: scale(0.7); }
  100% { opacity: 0;   transform: scale(2.2); }
}

h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--s5);
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.h1-muted {
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: hero-up 0.6s var(--ease-out) 0.2s forwards;
}

.h1-strong {
  font-size: 0.8em;
  color: var(--text);
  opacity: 0;
  animation: hero-up 0.7s var(--ease-out) 0.35s forwards;
}
.h1-strong em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: var(--s8);
  opacity: 0;
  animation: hero-up 0.6s var(--ease-out) 0.5s forwards;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-up 0.6s var(--ease-out) 0.65s forwards;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
  opacity: 0;
  animation: hero-up 0.6s var(--ease-out) 0.75s forwards;
}

/* ────────────────────────────────────────────────────────────────
   PAGE HEADER (methode / a-propos / comment-ca-marche)
──────────────────────────────────────────────────────────────── */
.page-hero {
  max-width: 1300px;
  margin: 0 auto;
  padding: 160px var(--s6) var(--s8);
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s3);
  display: block;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 560px;
}

/* First section on a page with no .page-hero above it (e.g. a-propos.html) */
.section--first { padding-top: 160px; }

/* ────────────────────────────────────────────────────────────────
   POUR QUI
──────────────────────────────────────────────────────────────── */
.who-grid { grid-template-columns: repeat(2, 1fr); }

.who-card {
  background: var(--card);
  padding: var(--s5) var(--s4);
  transition: background 0.2s;
  position: relative;
}
.who-card:hover { background: var(--surface-2); }
.who-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.25s;
}
.who-card:hover::after { background: var(--accent); }

.who-trigger {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.who-card p { font-size: 13px; color: var(--text-2); line-height: 1.75; margin-top: 8px; }

/* ────────────────────────────────────────────────────────────────
   PROBLÈME
──────────────────────────────────────────────────────────────── */
.problem-grid { grid-template-columns: repeat(4, 1fr); }
.problem-grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.problem-card {
  background: var(--card);
  padding: var(--s4) var(--s3);
  transition: background 0.2s;
}
.problem-card:hover { background: var(--surface); }

.problem-num {
  display: block;  font-family: var(--mono);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.problem-card p { font-size: 12px; color: var(--text-2); line-height: 1.7; margin-top: 6px; }

/* ────────────────────────────────────────────────────────────────
   CARTES ARRONDIES STATIQUES (déclencheurs / constat / gains)
──────────────────────────────────────────────────────────────── */
.card-grid { display: grid; gap: var(--s3); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.info-card {
  border-radius: var(--r);
  box-shadow: 0 10px 28px rgba(20, 32, 24, 0.06);
  padding: var(--s4) var(--s3);
}
.info-card p { font-size: 13px; color: var(--text-2); line-height: 1.75; margin-top: 8px; }

.info-card--neutral {
  --card: #fdfaf2;
  --text: #1c1a17;
  --text-2: #57534a;
  --text-3: #a09a8b;
  --surface: #ece6d6;
  --border: rgba(28, 26, 23, 0.10);
  --accent: #1f5c3e;
  background: var(--card);
  border: 1px solid var(--border);
}

.info-card--accent {
  --card: #1f5c3e;
  --text: #f4f0e4;
  --text-2: rgba(244, 240, 228, 0.82);
  --text-3: rgba(244, 240, 228, 0.6);
  --surface: rgba(244, 240, 228, 0.12);
  --border: rgba(244, 240, 228, 0.22);
  --accent: #f4f0e4;
  background: var(--card);
}

.info-card--system {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 3px solid var(--accent);
  padding: var(--s5) var(--s4);
}
.info-card--system p { max-width: 640px; margin: 8px auto 0; }
.info-card-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: var(--s2); }

.case-card p em,
.case-card li em,
.case-card strong {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.case-result-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.case-result-list li {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}
.case-result-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

.case-label {
  font-size: 10px;  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: var(--s3);
}

.portfolio-subhd { margin-top: var(--s8); }
.portfolio-subhd:first-of-type { margin-top: 0; }

/* ────────────────────────────────────────────────────────────────
   RÉSULTATS — carrousel défilant (auto-scroll + navigation manuelle)
──────────────────────────────────────────────────────────────── */
.marquee-wrap {
  position: relative;
  margin-top: var(--s3);
}
.marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee-track {
  display: flex;
  gap: var(--s4);
  width: max-content;
}
.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 32, 24, 0.14);
  transition: background 0.2s, border-color 0.2s;
}
.marquee-arrow:hover { background: var(--surface); border-color: var(--border-accent); }
.marquee-arrow--prev { left: -14px; }
.marquee-arrow--next { right: -14px; }
@media (max-width: 720px) {
  .marquee-arrow--prev { left: -6px; }
  .marquee-arrow--next { right: -6px; }
}
.result-card {
  flex: 0 0 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--s4) var(--s3);
  box-shadow: 0 10px 28px rgba(20, 32, 24, 0.06);
}
.result-card h3 { font-size: 15px; }
.result-card p { font-size: 12px; color: var(--text-2); line-height: 1.7; margin-top: 6px; }

/* ────────────────────────────────────────────────────────────────
   PYRAMIDE SCA
──────────────────────────────────────────────────────────────── */
.sca-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
}
.sca-track > * + * { margin-top: 1px; }

.sca-item {
  background: var(--card);
  padding: var(--s5) var(--s6);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s5);
  align-items: start;
  transition: background 0.2s;
  position: relative;
}
.sca-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out), background 0.2s;
}
.sca-item:hover { background: var(--surface); }
.sca-item:hover::before { background: var(--accent); transform: scaleY(1); }

.sca-marker { display: flex; flex-direction: column; align-items: center; }

.sca-letter {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.sca-connector {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: var(--border);
  margin-top: var(--s2);
}

.sca-body h3 { color: var(--text); margin-bottom: var(--s1); }
.sca-body p  { font-size: 13px; color: var(--text-2); line-height: 1.8; }

.sca-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-top: var(--s4);
}
.sca-pillars--2 { grid-template-columns: repeat(2, 1fr); }
.sca-pillar { background: var(--surface-2); padding: var(--s4); }
.sca-pillar h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 6px;
}
.sca-pillar p { font-size: 12px; color: var(--text-2); line-height: 1.7; margin-bottom: var(--s2); }

/* ────────────────────────────────────────────────────────────────
   PILIERS
──────────────────────────────────────────────────────────────── */
.pillar-grid { grid-template-columns: repeat(2, 1fr); }

.pillar {
  background: var(--card);
  padding: var(--s6) var(--s5);
  transition: background 0.2s;
  position: relative;
}
.pillar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.25s;
}
.pillar:hover { background: var(--surface); }
.pillar:hover::after { background: var(--accent); }
.pillar:hover .tag { border-color: var(--border-accent); color: var(--text-2); }
.pillar:hover .tag:nth-child(1) { transform: translateX(4px); }
.pillar:hover .tag:nth-child(2) { transform: translateX(4px); transition-delay: 0.04s; }
.pillar:hover .tag:nth-child(3) { transform: translateX(4px); transition-delay: 0.08s; }
.pillar:hover .tag:nth-child(4) { transform: translateX(4px); transition-delay: 0.12s; }

.pillar-top { margin-bottom: var(--s2); }
.pillar-num {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: var(--s2);
}
.pillar p { font-size: 13px; color: var(--text-2); line-height: 1.8; margin-bottom: var(--s4); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  padding: 4px 11px;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text-3);
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, color 0.2s;
}

/* ────────────────────────────────────────────────────────────────
   FORMATS DE MISSION
──────────────────────────────────────────────────────────────── */
.formats-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.formats-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.format-row {
  background: var(--surface);
  padding: var(--s5) var(--s6);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s6);
  position: relative;
  transition: background 0.2s;
}
.format-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out), background 0.2s;
}
.format-row:hover { background: var(--surface-2); }
.format-row:hover::before { background: var(--accent); transform: scaleY(1); }
.format-row--featured { background: var(--surface-2); }
.format-row--featured:hover { background: var(--surface-2); }

.format-hd { display: flex; align-items: center; justify-content: flex-start; gap: var(--s2); margin-bottom: 12px; }
.format-row h3 { margin-bottom: 0; }
.format-row p { font-size: 13px; color: var(--text-2); line-height: 1.75; margin-top: var(--s1); }

.format-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-sm);
}
.badge-short { background: rgba(31,92,62,0.08); color: var(--accent); border: 1px solid rgba(31,92,62,0.2); }
.badge-mid   { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-accent); }
.badge-long  { background: rgba(100,80,168,0.08); color: #7c5cbf; border: 1px solid rgba(100,80,168,0.2); }

.format-right { text-align: right; white-space: nowrap; }
.format-dur {
  font-size: 10px;  font-family: var(--mono);

  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ────────────────────────────────────────────────────────────────
   RESSOURCE GRATUITE
──────────────────────────────────────────────────────────────── */
.ressource-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border-accent);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border-accent);
}

.ressource-left {
  background: var(--surface);
  padding: var(--s8) var(--s6);
}
.ressource-left h2 { margin-bottom: var(--s3); }

.ressource-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: var(--s5);
}

.ressource-list { display: flex; flex-direction: column; gap: var(--s2); }
.ressource-list li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.ressource-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ressource-right {
  background: var(--surface-2);
  padding: var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.form-title {
  font-size: 10px;  font-family: var(--mono);

  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.iframe-wrap { border-radius: var(--r-sm); overflow: hidden; flex: 1; }
.iframe-wrap iframe { display: block; }

.form-mention { font-size: 10px; color: var(--text-3); letter-spacing: 0.04em; }

/* ────────────────────────────────────────────────────────────────
   CTA FINAL
──────────────────────────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: var(--s8) var(--s6);
  background: var(--card);
  border: 1px solid var(--border-accent);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 32, 24, 0.08);
}

.cta-ambient { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(31,92,62,0.06) 0%, rgba(31,92,62,0.02) 40%, transparent 70%);
  border-radius: 50%;
  animation: orb-drift 10s ease-in-out infinite alternate;
}
.cta-line {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.1;
  margin: var(--s2) 0 var(--s2);
  position: relative;
  z-index: 1;
}
.cta-title em {
  font-style: normal;
  color: var(--accent);
}

.cta-sub {
  font-size: 15px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto var(--s5);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ────────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: var(--s5) var(--s6);
  background-color: var(--surface);
  background-image: var(--motif-light);
  background-size: cover;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 12px;
  color: var(--text-3);
}
.footer-name { font-weight: 600; color: var(--text-2); letter-spacing: 0.04em; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 11px;
  margin-left: auto;
  transition: color 0.15s;
}
.footer-link + .footer-link { margin-left: 0; }
.footer-link:hover { color: var(--text); }

/* ────────────────────────────────────────────────────────────────
   ABOUT
──────────────────────────────────────────────────────────────── */
.section--about { background: var(--surface); }

.about-block {
  max-width: 720px;
  margin: 0 auto;
}

.about-bio { display: flex; flex-direction: column; gap: var(--s3); margin: var(--s4) 0; }
.about-bio p { font-size: 15px; color: var(--text-2); line-height: 1.85; }
.about-bio strong { color: var(--text); font-weight: 600; }
.about-bio em { font-style: normal; font-weight: 600; color: var(--accent); }

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border-accent);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.about-cta:hover { border-color: var(--accent); }

/* ────────────────────────────────────────────────────────────────
   SECTION BRIDGE
──────────────────────────────────────────────────────────────── */
.section-bridge {
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
}
.section-bridge p { font-size: 14px; color: var(--text-2); }
.bridge-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--border-accent);
  border-radius: 2px;
  transition: background 0.2s;
}
.bridge-cta:hover { background: var(--accent-dim); }

/* ────────────────────────────────────────────────────────────────
   ANIMATIONS
──────────────────────────────────────────────────────────────── */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }

.formats-list .format-row {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.formats-list.visible .format-row:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.formats-list.visible .format-row:nth-child(2) { opacity: 1; transform: none; transition-delay: 90ms; }
.formats-list.visible .format-row:nth-child(3) { opacity: 1; transform: none; transition-delay: 180ms; }
.formats-list.visible .format-row:nth-child(4) { opacity: 1; transform: none; transition-delay: 270ms; }
.formats-list.visible .format-row:nth-child(5) { opacity: 1; transform: none; transition-delay: 360ms; }

/* ────────────────────────────────────────────────────────────────
   PYRAMIDE SCA (visuel)
──────────────────────────────────────────────────────────────── */
.pyramid-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--s8);
  align-items: start;
}
.pyramid { display: flex; flex-direction: column; gap: 14px; }
.pyramid-svg {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: block;
}
.pyramid-note {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}
.pyramid-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.pyramid-stage {
  cursor: pointer;
  transition: filter 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
  outline: none;
}
.pyramid-stage polygon {
  filter: drop-shadow(0 0 10px rgba(31, 92, 62, 0.24));
}
.pyramid-stage:hover,
.pyramid-stage.active,
.pyramid-stage:focus-visible {
  filter: brightness(1.45);
}
.pyramid-exp { position: relative; }
.pyramid-exp-item {
  position: static;
  border: 0;
  border-left: 2px solid rgba(45, 133, 88, 0.5);
  background: #223d2b;
  border-radius: var(--r);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 var(--s5);
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out),
              padding 0.3s var(--ease-out), border-width 0.3s var(--ease-out);
}
.pyramid-exp-item.open {
  max-height: 2000px;
  opacity: 1;
  padding: var(--s4) var(--s5);
  border-width: 1px;
  border-style: solid;
  border-color: var(--border) var(--border) var(--border) rgba(45, 133, 88, 0.5);
  margin-bottom: var(--s3);
}
.pyramid-exp-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pyramid-exp-hd h3 { margin-bottom: 0; color: #f0efe8; font-size: 17px; }
.pyramid-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0efe8;
  border: 1px solid rgba(240, 239, 232, 0.35);
  border-radius: 3px;
  padding: 3px 8px;
  flex-shrink: 0;
}
.pyramid-exp-item > p { font-size: 13px; color: #b0b8b2; line-height: 1.75; }
.pyramid-pillar { margin-top: var(--s3); }
.pyramid-pillar h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0efe8;
  margin-bottom: 6px;
}
.pyramid-pillar p { font-size: 12px; color: #b0b8b2; line-height: 1.7; margin-bottom: 8px; }
.pyramid-pillar + .pyramid-pillar { margin-top: var(--s4); }
.pyramid-pillar-list { display: flex; flex-direction: column; gap: 6px; }
.pyramid-pillar-list li {
  font-size: 12px;
  color: #b0b8b2;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.pyramid-pillar-list li::before { content: '→'; position: absolute; left: 0; color: #f0efe8; font-weight: 600; }

/* ────────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────────── */
@media (min-width: 801px) {
  .nav-sep {
    display: block;
    width: 1px;
    height: 24px;
    background: var(--border);
  }
}
@media (max-width: 800px) {
  .wrap { padding: 0 var(--s3); }
  .section { padding: var(--s10) 0; }
  .formats-duo { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s var(--ease-io), opacity 0.2s;
  }
  .nav-links.open {
    max-height: 480px;
    opacity: 1;
    padding: var(--s2) 0 var(--s3);
    margin-top: var(--s2);
    border-top: 1px solid var(--border);
  }
  .nav-links a { padding: 12px 8px; font-size: 14px; }
  .nav-cta-item { margin-left: 0; margin-top: var(--s2); }
  .nav-cta-group { flex-direction: column; gap: var(--s2); width: 100%; }
  .nav-links .nav-cta { display: block; text-align: center; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: auto; padding-top: 150px; }
  .hero-orb--1, .hero-orb--2 { display: none; }
  .page-hero { padding-top: 150px; }
  .section--first { padding-top: 150px; }

  .who-grid       { grid-template-columns: 1fr; }
  .problem-grid   { grid-template-columns: 1fr 1fr; }
  .problem-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
  .pillar-grid    { grid-template-columns: 1fr; }
  .sca-pillars--2 { grid-template-columns: 1fr; }
  .sca-item { grid-template-columns: auto 1fr; }

  .format-row { grid-template-columns: 1fr; gap: var(--s3); }
  .format-right { text-align: left; }

  .ressource-block { grid-template-columns: 1fr; }
  .ressource-right { padding: var(--s5) var(--s4); }

  .cta-block { padding: var(--s6) var(--s3); }

  .footer-inner { flex-wrap: wrap; gap: var(--s2); }
  .footer-link { margin-left: 0; }

  .about-block { grid-template-columns: 1fr; gap: var(--s5); }
  .pyramid-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .pyramid { max-width: 520px; margin: 0 auto; width: 100%; }
}

@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ────────────────────────────────────────────────────────────────
   DIAGNOSTIC EXPRESS (diagnostic.html)
──────────────────────────────────────────────────────────────── */
.diagnostic-body .nav {
  position: static;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.diagnostic-body .nav-inner { justify-content: space-between; }
.nav-cta--ghost {
  color: var(--text-2);
  background: transparent;
  border-color: var(--border);
}
.nav-cta--ghost:hover { background: var(--surface); color: var(--text); filter: none; }

.wrap--narrow { max-width: 640px; }

.legal-meta { font-size: 12px; color: var(--text-3); margin-bottom: var(--s6); }
.legal-content h3 { font-size: 18px; margin-top: var(--s6); margin-bottom: var(--s2); }
.legal-content h3:first-of-type { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-2); line-height: 1.85; margin-top: var(--s2); }
.legal-content ul { display: flex; flex-direction: column; gap: 6px; margin-top: var(--s2); }
.legal-content li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}
.legal-content li::before { content: '–'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.diag-section { padding: var(--s12) 0 var(--s16); }

.diag-panel { animation: diagFadeIn 0.4s var(--ease-out); }
@keyframes diagFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.diag-title {
  font-family: var(--sans);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: var(--s2) 0 var(--s3);
}
.diag-title em {
  font-style: normal;
  color: var(--accent);
}
.diag-title--sm { font-size: clamp(22px, 3vw, 28px); }

.diag-intro-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: var(--s5);
}

/* Progress */
.quiz-progress-track {
  height: 3px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--s2);
}
.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.quiz-step-lbl {
  font-size: 10px;  font-family: var(--mono);

  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s5);
}

.quiz-question {
  font-family: var(--sans);
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: var(--s4);
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s6); }
.quiz-option {
  text-align: left;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.quiz-option:hover { border-color: var(--border-accent); background: var(--accent-dim); }
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
  font-weight: 500;
}

.quiz-scale { padding: var(--s2) 0; }
.quiz-scale-track { display: flex; gap: 10px; }
.quiz-scale-dot {
  flex: 1;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.quiz-scale-dot:hover { border-color: var(--border-accent); }
.quiz-scale-dot.selected { border-color: var(--accent); background: var(--accent); color: #fff; }
.quiz-scale-lbls {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  margin-top: var(--s2);
}

.quiz-nav { display: flex; justify-content: space-between; align-items: center; }
.quiz-nav .btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }

.result-scores { display: flex; flex-direction: column; gap: var(--s3); margin: var(--s5) 0 var(--s6); max-width: 460px; }
.result-score-row { display: flex; flex-direction: column; gap: 6px; }
.result-score-lbl { font-size: 12px; font-weight: 600; color: var(--text-2); }
.result-score-lbl em { font-style: normal; color: var(--accent); }
.result-score-track { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.result-score-fill { height: 100%; background: var(--text-3); border-radius: 3px; }
.result-score-fill.is-top { background: var(--accent); }

.result-cta-block { padding-top: var(--s3); border-top: 1px solid var(--border); }
.result-cta-lead { font-size: 13px; color: var(--text-2); margin-bottom: var(--s3); }

@media (max-width: 480px) {
  .quiz-nav { flex-direction: column-reverse; gap: var(--s2); align-items: stretch; }
  .quiz-nav .btn-ghost { text-align: center; }
}

/* ────────────────────────────────────────────────────────────────
   FORM SYSTEM — design des formulaires (inspiré shadcn, adapté à la charte)
   Tokens : mêmes couleurs et polices que le reste du site.
   --danger est une couleur fonctionnelle (erreur), hors accent branding.
──────────────────────────────────────────────────────────────── */
:root {
  --r-xs: 8px;
  --danger: #a8402e;
  --danger-dim: rgba(168, 64, 46, 0.10);
}

/* Focus clavier visible et cohérent partout */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Champs */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field-hint {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--danger);
}
.field-error[hidden] { display: none; }
.field-error::before {
  content: '!';
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input,
.textarea,
.select {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.input { height: 44px; padding: 0 14px; }
.textarea { padding: 12px 14px; line-height: 1.6; resize: vertical; min-height: 96px; }
.select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  padding: 0 40px 0 14px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2357534a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.input:hover,
.textarea:hover,
.select:hover { border-color: var(--border-accent); }
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.input::placeholder,
.textarea::placeholder { color: var(--text-3); }
.input[aria-invalid="true"],
.input.is-error,
.textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.input[aria-invalid="true"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--danger-dim);
}
.input:disabled,
.textarea:disabled,
.select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkbox,
.radio {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}

/* Options de quiz → radio-cards / checkbox-cards (look shadcn) */
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiz-option::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--text-3);
  border-radius: 50%;
  background: var(--card) center / 10px 10px no-repeat;
  transition: border-color 0.15s, background-color 0.15s;
}
.quiz-option--multi::before { border-radius: 4px; }
.quiz-option:hover::before { border-color: var(--accent); }
.quiz-option.selected::before {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 4.5'/%3E%3C/svg%3E");
}
.quiz-option.selected:hover::before {
  background-color: var(--accent-2);
  border-color: var(--accent-2);
}

/* Échelle : dots focusables */
.quiz-scale-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Bloc envoi du résultat par email */
.diag-mail-block {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px dashed var(--border);
}
.diag-mail-block .field { max-width: 420px; }
.diag-mail-actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s3);
}
.mail-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-2);
  margin: 0;
}
@media (max-width: 480px) {
  .diag-mail-actions { flex-direction: column; align-items: flex-start; }
}
