/* Polices hébergées sur le site (pas d'appel à Google : plus rapide et conforme RGPD). */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BodoniModa-italic-500-latin-ext.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: 'Bodoni Moda';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BodoniModa-italic-500-latin.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: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BodoniModa-normal-500-latin-ext.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: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BodoniModa-normal-500-latin.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: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Jost-normal-400-latin-ext.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: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Jost-normal-400-latin.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: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Jost-normal-500-latin-ext.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: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Jost-normal-500-latin.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;
}



/* Polices vietnamiennes et coréennes (générées par polices.py) */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/PlayfairDisplay-italic-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/PlayfairDisplay-italic-500-latin-ext.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: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/PlayfairDisplay-italic-500-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/PlayfairDisplay-normal-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/PlayfairDisplay-normal-500-latin-ext.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: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/PlayfairDisplay-normal-500-latin.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: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/BeVietnamPro-normal-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/BeVietnamPro-normal-400-latin-ext.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: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/BeVietnamPro-normal-400-latin.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: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BeVietnamPro-normal-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BeVietnamPro-normal-500-latin-ext.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: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BeVietnamPro-normal-500-latin.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: 'Hahmlet';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Hahmlet-ko-normal-500.woff2) format('woff2');
  unicode-range: U+ac00-ac01, U+ac04, U+ac10-ac11, U+ac15, U+ac1c, U+ac24, U+ac70, U+ac78, U+ac8c, U+aca0, U+aca8-aca9, U+acac, U+acb0, U+acbd, U+acc4, U+ace0, U+acfc, U+ad00, U+ad11, U+ad50, U+ad6c-ad6d, U+ad8c, U+ade0, U+adf8, U+ae00, U+ae08, U+ae30, U+ae4c, U+aecf, U+aed8, U+af2d, U+af34, U+b098, U+b0a0, U+b0a8, U+b0b4, U+b108, U+b118, U+b124, U+b141, U+b144, U+b208, U+b294, U+b2a5, U+b2c8, U+b2d8, U+b2e4, U+b2ec, U+b2f4-b2f5, U+b2f9, U+b300-b301, U+b354, U+b35c, U+b370, U+b3c4, U+b418, U+b41c, U+b429, U+b450, U+b4dc, U+b4e0, U+b4e4, U+b4ef, U+b514, U+b529, U+b530, U+b54c, U+b5bb, U+b610, U+b77c-b77d, U+b78c, U+b791, U+b798, U+b7a8, U+b7ec, U+b7f4, U+b824-b825, U+b82c, U+b837, U+b85c-b85d, U+b871, U+b8e8-b8e9, U+b974, U+b97c, U+b984-b985, U+b9ac, U+b9b4, U+b9bd, U+b9c8-b9c9, U+b9cc, U+b9ce, U+b9d1, U+b9de, U+b9e4, U+ba38, U+ba54, U+ba70, U+ba74, U+ba85, U+ba87, U+baa8-baa9, U+bb38, U+bb3b-bb3c, U+bbf8, U+bbfc, U+bc0f, U+bc1b, U+bc29, U+bc88, U+bc95, U+bca0, U+bca4, U+bcc0, U+bcc4, U+bcf4-bcf5, U+bcf8, U+bd80, U+bd84, U+bd89, U+be0c, U+be44, U+be5b, U+be68, U+c0ac-c0ad, U+c0c1, U+c0e4, U+c11c, U+c124, U+c12c, U+c131, U+c138, U+c149, U+c158, U+c18c-c18d, U+c1a1, U+c218, U+c220, U+c2a4, U+c2b5, U+c2dc-c2dd, U+c2e0, U+c2e4, U+c379, U+c544, U+c548, U+c54a, U+c54c, U+c558, U+c561, U+c57c-c57d, U+c591, U+c5b4, U+c5b8, U+c5bc, U+c5c5-c5c6, U+c5d0, U+c5ec-c5ed, U+c5f0, U+c5f4, U+c601, U+c608, U+c624, U+c635, U+c640, U+c678, U+c694, U+c6a9, U+c6b0, U+c6b4, U+c6b8, U+c6cc, U+c6d0, U+c6d4, U+c6e8, U+c704, U+c720-c721, U+c73c, U+c740, U+c744, U+c758, U+c774, U+c778, U+c77c, U+c785, U+c788, U+c790-c791, U+c794, U+c7a5, U+c7ac, U+c800-c801, U+c804, U+c811, U+c815, U+c81c, U+c838, U+c870-c871, U+c874, U+c885, U+c8fc, U+c900, U+c99d, U+c9c0-c9c1, U+c9c4, U+c9c8, U+c9d1, U+c9dc, U+cc28, U+cc38, U+cc3e, U+cc59, U+cc98, U+cc9c, U+ccad, U+ccb4, U+cd2c, U+cd94, U+cd9c, U+cda4, U+cdb0, U+ce20, U+ce68, U+ce74-ce75, U+cf00, U+cf58, U+cfe0, U+d06c, U+d0a4, U+d0c0, U+d130, U+d134, U+d14c, U+d150, U+d1a0, U+d29c, U+d2b8-d2b9, U+d2f0, U+d305, U+d30c, U+d310, U+d328, U+d398, U+d3b8, U+d3ec, U+d45c, U+d488, U+d504, U+d50c, U+d53c, U+d544, U+d558, U+d55c, U+d560, U+d568-d569, U+d574, U+d589, U+d5c8, U+d604, U+d638, U+d63c, U+d654-d655, U+d6a8, U+d6c4, U+d788;
}
@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/NotoSansKR-ko-normal-400.woff2) format('woff2');
  unicode-range: U+ac00-ac01, U+ac04, U+ac10-ac11, U+ac15, U+ac1c, U+ac24, U+ac70, U+ac78, U+ac8c, U+aca0, U+aca8-aca9, U+acac, U+acb0, U+acbd, U+acc4, U+ace0, U+acfc, U+ad00, U+ad11, U+ad50, U+ad6c-ad6d, U+ad8c, U+ade0, U+adf8, U+ae00, U+ae08, U+ae30, U+ae4c, U+aecf, U+aed8, U+af2d, U+af34, U+b098, U+b0a0, U+b0a8, U+b0b4, U+b108, U+b118, U+b124, U+b141, U+b144, U+b208, U+b294, U+b2a5, U+b2c8, U+b2d8, U+b2e4, U+b2ec, U+b2f4-b2f5, U+b2f9, U+b300-b301, U+b354, U+b35c, U+b370, U+b3c4, U+b418, U+b41c, U+b429, U+b450, U+b4dc, U+b4e0, U+b4e4, U+b4ef, U+b514, U+b529, U+b530, U+b54c, U+b5bb, U+b610, U+b77c-b77d, U+b78c, U+b791, U+b798, U+b7a8, U+b7ec, U+b7f4, U+b824-b825, U+b82c, U+b837, U+b85c-b85d, U+b871, U+b8e8-b8e9, U+b974, U+b97c, U+b984-b985, U+b9ac, U+b9b4, U+b9bd, U+b9c8-b9c9, U+b9cc, U+b9ce, U+b9d1, U+b9de, U+b9e4, U+ba38, U+ba54, U+ba70, U+ba74, U+ba85, U+ba87, U+baa8-baa9, U+bb38, U+bb3b-bb3c, U+bbf8, U+bbfc, U+bc0f, U+bc1b, U+bc29, U+bc88, U+bc95, U+bca0, U+bca4, U+bcc0, U+bcc4, U+bcf4-bcf5, U+bcf8, U+bd80, U+bd84, U+bd89, U+be0c, U+be44, U+be5b, U+be68, U+c0ac-c0ad, U+c0c1, U+c0e4, U+c11c, U+c124, U+c12c, U+c131, U+c138, U+c149, U+c158, U+c18c-c18d, U+c1a1, U+c218, U+c220, U+c2a4, U+c2b5, U+c2dc-c2dd, U+c2e0, U+c2e4, U+c379, U+c544, U+c548, U+c54a, U+c54c, U+c558, U+c561, U+c57c-c57d, U+c591, U+c5b4, U+c5b8, U+c5bc, U+c5c5-c5c6, U+c5d0, U+c5ec-c5ed, U+c5f0, U+c5f4, U+c601, U+c608, U+c624, U+c635, U+c640, U+c678, U+c694, U+c6a9, U+c6b0, U+c6b4, U+c6b8, U+c6cc, U+c6d0, U+c6d4, U+c6e8, U+c704, U+c720-c721, U+c73c, U+c740, U+c744, U+c758, U+c774, U+c778, U+c77c, U+c785, U+c788, U+c790-c791, U+c794, U+c7a5, U+c7ac, U+c800-c801, U+c804, U+c811, U+c815, U+c81c, U+c838, U+c870-c871, U+c874, U+c885, U+c8fc, U+c900, U+c99d, U+c9c0-c9c1, U+c9c4, U+c9c8, U+c9d1, U+c9dc, U+cc28, U+cc38, U+cc3e, U+cc59, U+cc98, U+cc9c, U+ccad, U+ccb4, U+cd2c, U+cd94, U+cd9c, U+cda4, U+cdb0, U+ce20, U+ce68, U+ce74-ce75, U+cf00, U+cf58, U+cfe0, U+d06c, U+d0a4, U+d0c0, U+d130, U+d134, U+d14c, U+d150, U+d1a0, U+d29c, U+d2b8-d2b9, U+d2f0, U+d305, U+d30c, U+d310, U+d328, U+d398, U+d3b8, U+d3ec, U+d45c, U+d488, U+d504, U+d50c, U+d53c, U+d544, U+d558, U+d55c, U+d560, U+d568-d569, U+d574, U+d589, U+d5c8, U+d604, U+d638, U+d63c, U+d654-d655, U+d6a8, U+d6c4, U+d788;
}
@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/NotoSansKR-ko-normal-500.woff2) format('woff2');
  unicode-range: U+ac00-ac01, U+ac04, U+ac10-ac11, U+ac15, U+ac1c, U+ac24, U+ac70, U+ac78, U+ac8c, U+aca0, U+aca8-aca9, U+acac, U+acb0, U+acbd, U+acc4, U+ace0, U+acfc, U+ad00, U+ad11, U+ad50, U+ad6c-ad6d, U+ad8c, U+ade0, U+adf8, U+ae00, U+ae08, U+ae30, U+ae4c, U+aecf, U+aed8, U+af2d, U+af34, U+b098, U+b0a0, U+b0a8, U+b0b4, U+b108, U+b118, U+b124, U+b141, U+b144, U+b208, U+b294, U+b2a5, U+b2c8, U+b2d8, U+b2e4, U+b2ec, U+b2f4-b2f5, U+b2f9, U+b300-b301, U+b354, U+b35c, U+b370, U+b3c4, U+b418, U+b41c, U+b429, U+b450, U+b4dc, U+b4e0, U+b4e4, U+b4ef, U+b514, U+b529, U+b530, U+b54c, U+b5bb, U+b610, U+b77c-b77d, U+b78c, U+b791, U+b798, U+b7a8, U+b7ec, U+b7f4, U+b824-b825, U+b82c, U+b837, U+b85c-b85d, U+b871, U+b8e8-b8e9, U+b974, U+b97c, U+b984-b985, U+b9ac, U+b9b4, U+b9bd, U+b9c8-b9c9, U+b9cc, U+b9ce, U+b9d1, U+b9de, U+b9e4, U+ba38, U+ba54, U+ba70, U+ba74, U+ba85, U+ba87, U+baa8-baa9, U+bb38, U+bb3b-bb3c, U+bbf8, U+bbfc, U+bc0f, U+bc1b, U+bc29, U+bc88, U+bc95, U+bca0, U+bca4, U+bcc0, U+bcc4, U+bcf4-bcf5, U+bcf8, U+bd80, U+bd84, U+bd89, U+be0c, U+be44, U+be5b, U+be68, U+c0ac-c0ad, U+c0c1, U+c0e4, U+c11c, U+c124, U+c12c, U+c131, U+c138, U+c149, U+c158, U+c18c-c18d, U+c1a1, U+c218, U+c220, U+c2a4, U+c2b5, U+c2dc-c2dd, U+c2e0, U+c2e4, U+c379, U+c544, U+c548, U+c54a, U+c54c, U+c558, U+c561, U+c57c-c57d, U+c591, U+c5b4, U+c5b8, U+c5bc, U+c5c5-c5c6, U+c5d0, U+c5ec-c5ed, U+c5f0, U+c5f4, U+c601, U+c608, U+c624, U+c635, U+c640, U+c678, U+c694, U+c6a9, U+c6b0, U+c6b4, U+c6b8, U+c6cc, U+c6d0, U+c6d4, U+c6e8, U+c704, U+c720-c721, U+c73c, U+c740, U+c744, U+c758, U+c774, U+c778, U+c77c, U+c785, U+c788, U+c790-c791, U+c794, U+c7a5, U+c7ac, U+c800-c801, U+c804, U+c811, U+c815, U+c81c, U+c838, U+c870-c871, U+c874, U+c885, U+c8fc, U+c900, U+c99d, U+c9c0-c9c1, U+c9c4, U+c9c8, U+c9d1, U+c9dc, U+cc28, U+cc38, U+cc3e, U+cc59, U+cc98, U+cc9c, U+ccad, U+ccb4, U+cd2c, U+cd94, U+cd9c, U+cda4, U+cdb0, U+ce20, U+ce68, U+ce74-ce75, U+cf00, U+cf58, U+cfe0, U+d06c, U+d0a4, U+d0c0, U+d130, U+d134, U+d14c, U+d150, U+d1a0, U+d29c, U+d2b8-d2b9, U+d2f0, U+d305, U+d30c, U+d310, U+d328, U+d398, U+d3b8, U+d3ec, U+d45c, U+d488, U+d504, U+d50c, U+d53c, U+d544, U+d558, U+d55c, U+d560, U+d568-d569, U+d574, U+d589, U+d5c8, U+d604, U+d638, U+d63c, U+d654-d655, U+d6a8, U+d6c4, U+d788;
}
/* Fin des polices générées */

:root {
  --porcelaine: #F5F1EE;
  --poudre: #B48F8A;
  --poudre-texte: #85625D; /* poudre assombri, lisible sur porcelaine */
  --cacao: #4A2E28;
  --encre: #1B1615;
  --grenat: #8A2320;
  --pad: clamp(20px, 5vw, 72px);
  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--porcelaine);
  color: var(--encre);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; }

h1, h2, dt, .brand {
  font-family: var(--serif);
  font-weight: 500;
  /* Version « petits caractères » de Bodoni Moda : traits fins plus épais, plus lisible en grand. */
  font-variation-settings: "opsz" 6;
}

/* En-tête */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 28px var(--pad);
}
.brand { font-size: 22px; text-decoration: none; letter-spacing: .01em; }
.top nav { display: flex; gap: 28px; align-items: baseline; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.top .switch { color: var(--poudre-texte); font-size: 13px; letter-spacing: .08em; }

/* Lien d'action : le seul accent de couleur */
.more {
  display: inline-block;
  margin-top: 40px;
  color: var(--grenat);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.more::after { content: " →"; }
.more:hover { text-decoration-thickness: 2px; }

/* Accueil */
.intro { padding: 12vh var(--pad) 10vh; }
.intro h1 {
  font-size: clamp(44px, 8.5vw, 112px);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.intro p { max-width: 34ch; margin-top: 40px; font-size: 19px; color: var(--cacao); }

.full { margin: 0; }
.full img { height: 88vh; min-height: 420px; object-fit: cover; object-position: center 30%; }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px var(--pad) 0;
}
.pair img { aspect-ratio: 4 / 5; object-fit: cover; }

.note { padding: 14vh var(--pad); }
.note p { font-family: var(--serif); font-variation-settings: "opsz" 6; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; max-width: 24ch; }

/* Pages intérieures */
.page { padding: 10vh var(--pad) 14vh; max-width: 960px; }
.page.wide { max-width: none; }
.page h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; margin-bottom: 8vh; }
.page h1.second { margin-top: 14vh; }
.lead { max-width: 44ch; font-size: 19px; color: var(--cacao); margin: -4vh 0 7vh; }
.small { font-size: 15px; color: var(--cacao); max-width: 60ch; margin-top: 48px; }

.services { list-style: none; }
.services li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 32px;
  padding: 32px 0;
  border-top: 1px solid var(--poudre);
}
.services li:last-child { border-bottom: 1px solid var(--poudre); }
.services h2 { font-size: 28px; line-height: 1.2; }
.services .price { font-family: var(--serif); font-variation-settings: "opsz" 6; font-size: 22px; white-space: nowrap; }
.services li p:last-child { grid-column: 1 / -1; max-width: 56ch; color: var(--cacao); }

.faq dt { font-size: 24px; line-height: 1.3; }
.faq dd { max-width: 58ch; color: var(--cacao); margin: 10px 0 48px; }

.grid { display: grid; gap: 16px; }
.grid.landscape { grid-template-columns: 1fr 1fr; }
.grid.landscape img { aspect-ratio: 16 / 9; object-fit: cover; }
.grid.landscape img:first-child { grid-column: 1 / -1; }
.grid.portrait { grid-template-columns: repeat(3, 1fr); }
.grid.portrait img { aspect-ratio: 3 / 4; object-fit: cover; }

/* Formulaire */
form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
label { display: block; font-size: 14px; color: var(--cacao); }
label.full, form button, .status { grid-column: 1 / -1; }
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: 400 18px/1.4 var(--sans);
  color: var(--encre);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--poudre);
  border-radius: 0;
  padding: 8px 0;
  appearance: none;
}
select { cursor: pointer; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--encre); }
form .btn { grid-column: 1 / -1; justify-self: start; }
.status { color: var(--cacao); }

/* Pied de page */
.bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px var(--pad);
  border-top: 1px solid var(--poudre);
  font-size: 14px;
  color: var(--cacao);
}

@media (max-width: 720px) {
  .top { padding: 20px var(--pad); }
  .top nav { width: 100%; justify-content: space-between; gap: 12px; }
  .full img { height: 70vh; }
  .pair { grid-template-columns: 1fr; }
  .services li { grid-template-columns: 1fr; }
  .grid.landscape, .grid.portrait { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; gap: 28px; }
}

/* Styles et déroulé (Prestations) */
.page h2.sub { font-size: 30px; margin: 12vh 0 32px; }
.steps { display: grid; grid-template-columns: 220px 1fr; gap: 20px 32px; }
.steps dt { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 6; font-size: 21px; }
.steps dd { color: var(--cacao); max-width: 52ch; }

/* Avis (affichés quand Linh en fournit) */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 14vh var(--pad) 0; }
.reviews p { font-family: var(--serif); font-variation-settings: "opsz" 6; font-size: 21px; line-height: 1.4; }
.reviews cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--cacao); }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 4px; }
  .steps dd { margin-bottom: 20px; }
  .reviews { grid-template-columns: 1fr; }
}
select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A2E28' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 4px center;
  padding-right: 24px;
}

/* Présentation courte (accueil) */
.about { padding: 14vh var(--pad) 0; }
.about p { max-width: 46ch; font-size: 19px; color: var(--cacao); }

/* ---------- Accueil éditorial ---------- */
.home .top { position: absolute; left: 0; right: 0; z-index: 5; color: var(--porcelaine); }
.home .top .switch { color: var(--porcelaine); opacity: .7; }

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--porcelaine); }
.hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 30%; animation: zoom 14s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27, 22, 21, .55), rgba(27, 22, 21, 0) 55%), linear-gradient(to bottom, rgba(27, 22, 21, .35), rgba(27, 22, 21, 0) 22%); }
.hero-text { position: absolute; left: var(--pad); right: var(--pad); bottom: 8vh; z-index: 1; }
.hero h1 { font-size: clamp(56px, 11vw, 168px); line-height: .92; letter-spacing: -.02em; }
.hero h1 em, .closing h2 em { font-style: italic; }
.hero p { margin-top: 24px; font-size: 17px; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: none; } }

.marquee { overflow: hidden; border-bottom: 1px solid var(--poudre); padding: 22px 0; white-space: nowrap; }
.marquee div { display: inline-flex; animation: slide 40s linear infinite; }
.marquee span { font-family: var(--serif); font-variation-settings: "opsz" 6; font-size: 26px; padding: 0 28px; }
.marquee span::after { content: "·"; margin-left: 56px; color: var(--poudre); }
@keyframes slide { to { transform: translateX(-50%); } }

.hello { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; padding: 16vh var(--pad); }
.hello h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.hello p { margin-top: 32px; max-width: 40ch; font-size: 19px; color: var(--cacao); }
.hello img { aspect-ratio: 4 / 5; object-fit: cover; }

.duo { display: grid; grid-template-columns: 7fr 4fr; gap: 4vw; padding: 0 var(--pad); align-items: start; }
.duo .small { margin-top: 24vh; }
.duo img { aspect-ratio: 4 / 3; object-fit: cover; }
.duo .small img { aspect-ratio: 3 / 4; }
figcaption { margin-top: 12px; font-size: 13px; color: var(--cacao); }

.seoul { padding: 20vh var(--pad) 16vh; }
.seoul .huge { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 6; font-size: clamp(48px, 9vw, 140px); line-height: 1; letter-spacing: -.02em; }
.langs { display: flex; gap: 12px; list-style: none; margin: 48px 0 32px; }
.langs li { border: 1px solid var(--encre); border-radius: 999px; font-size: 14px; letter-spacing: .06em; transition: background .25s, color .25s; }
.langs a { display: block; padding: 6px 18px; text-decoration: none; color: inherit; }
.langs li:hover, .langs li:has(a:focus-visible) { background: var(--encre); color: var(--porcelaine); }
.seoul p:last-child { max-width: 46ch; font-size: 19px; color: var(--cacao); }

.offers { padding: 0 var(--pad) 18vh; }
.offers ol { list-style: none; border-top: 1px solid var(--encre); }
.offers li { display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--poudre); }
.offers .num { font-size: 14px; color: var(--poudre-texte); }
.offers .name { font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 6; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; }
.offers .price { font-size: 17px; color: var(--cacao); white-space: nowrap; }

.closing { position: relative; height: 90vh; min-height: 480px; overflow: hidden; color: var(--porcelaine); }
.closing img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; background: rgba(27, 22, 21, .35); }
.closing div { position: absolute; left: var(--pad); right: var(--pad); bottom: 10vh; z-index: 1; }
.closing h2 { font-size: clamp(44px, 7vw, 110px); line-height: .95; letter-spacing: -.02em; max-width: 12ch; }
.more.light { color: var(--porcelaine); }

.reviews { padding: 0 var(--pad) 16vh; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero img, .marquee div { animation: none; }
}

@media (max-width: 720px) {
  .hello, .duo { grid-template-columns: 1fr; }
  .hello { padding: 12vh var(--pad); }
  .duo .small { margin-top: 0; width: 70%; justify-self: end; }
  .offers li { grid-template-columns: 40px 1fr; }
  .offers .price { grid-column: 2; }
  .marquee span { font-size: 20px; }
}

/* Visionneuse plein écran */
.shot { all: unset; display: block; width: 100%; box-sizing: border-box; }
[data-lightbox] { cursor: zoom-in; transition: opacity .3s; }
[data-lightbox]:hover { opacity: .92; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: #1B1615; color: var(--porcelaine); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .3s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { width: auto; max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: inherit; font: 300 44px/1 var(--sans); cursor: pointer; padding: 16px 20px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .1em; opacity: .7; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 720px) { .lb-prev, .lb-next { display: none; } }

/* Apparition en cascade dans la galerie */
.grid .reveal:nth-child(3n+2) { transition-delay: .12s; }
.grid .reveal:nth-child(3n) { transition-delay: .24s; }
.lightbox button:focus { outline: none; }
.lightbox button:focus-visible { outline: 1px solid var(--porcelaine); }


/* ================= Technologies modernes ================= */

/* Transitions fluides entre les pages (View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.brand { view-transition-name: brand; }

/* Titres équilibrés, paragraphes sans orpheline */
h1, h2, .huge { text-wrap: balance; }
p, dd { text-wrap: pretty; }

/* Hauteurs d'écran dynamiques (barres du navigateur mobile) */
.hero { height: 100dvh; }

/* Boutons */
.btn {
  --bg: var(--grenat);
  --fg: var(--porcelaine);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  margin-top: 40px;
  padding: 0 28px;
  font: 400 16px/1 var(--sans);
  letter-spacing: .02em;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s ease, border-color .35s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--encre);
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.btn svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  .btn:hover { border-color: var(--encre); }
  .btn:hover::before { transform: none; }
  .btn:hover svg { transform: translateX(4px); }
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--grenat); outline-offset: 3px; }
.btn.ghost { --bg: transparent; --fg: var(--encre); border-color: var(--encre); }
@media (hover: hover) { .btn.ghost:hover { color: var(--porcelaine); } }
.btn.light { --bg: var(--porcelaine); --fg: var(--encre); }
@media (hover: hover) { .btn.light:hover { color: var(--porcelaine); border-color: var(--porcelaine); } }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.btn[aria-busy="true"] svg { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* Liens du menu : soulignement animé */
.top nav a:not(.switch) { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .35s ease; padding: 10px 0; }
.top nav a:not(.switch):hover, .top nav a[aria-current] { text-decoration: none; background-size: 100% 1px; }
.top nav a:focus-visible, .switch:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Bouton flottant mobile <lyn-book-button> */
lyn-book-button { display: none; }
@media (max-width: 720px) {
  lyn-book-button {
    display: block;
    position: fixed;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 20;
    translate: -50% 140%;
    transition: translate .45s cubic-bezier(.2, .7, .2, 1);
  }
  lyn-book-button[visible] { translate: -50% 0; }
  lyn-book-button .btn { margin: 0; box-shadow: 0 8px 24px rgba(27, 22, 21, .25); white-space: nowrap; }
}

/* Visionneuse : apparition native (@starting-style) */
.lightbox[open] { opacity: 1; transition: opacity .3s ease, display .3s allow-discrete, overlay .3s allow-discrete; }
@starting-style { .lightbox[open] { opacity: 0; } }
[data-lightbox]:focus-visible { outline: 2px solid var(--grenat); outline-offset: 4px; }

/* Formulaire */
:root { accent-color: var(--grenat); }
textarea { field-sizing: content; min-height: 3lh; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-bottom-color: var(--grenat); }
label:has(:user-invalid) { color: var(--grenat); }
label:has(:focus-visible) { color: var(--encre); }
input, select, textarea { transition: border-color .25s ease; }

/* Apparitions pilotées par le défilement, sans JavaScript quand c'est possible */
@supports (animation-timeline: view()) {
  .reveal, .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  @keyframes rise { from { opacity: 0; transform: translateY(32px); } }
  /* Légère parallaxe sur les grandes photos */
  .hero img { animation: zoom 14s ease-out both, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  @keyframes drift { to { translate: 0 12vh; } }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in, .hero img { animation: none !important; opacity: 1; transform: none; translate: none; }
  .btn, .btn::before, .btn svg, lyn-book-button { transition: none; }
  @view-transition { navigation: none; }
}

/* Grille des offres : s'adapte à la largeur de son conteneur (container queries) */
.offers { container-type: inline-size; }
@container (max-width: 560px) {
  .offers li { grid-template-columns: 40px 1fr; }
  .offers .price { grid-column: 2; }
}

/* Bandeau défilant : 4 copies pour couvrir les très grands écrans, pause au survol */
.marquee div { animation-name: slide4; }
@keyframes slide4 { to { transform: translateX(-25%); } }
.marquee:hover div { animation-play-state: paused; }
/* Si l'appareil demande moins d'animations : mots fixes, centrés, sur une ou deux lignes */
@media (prefers-reduced-motion: reduce) {
  .marquee { white-space: normal; text-align: center; }
  .marquee div { display: block; animation: none; }
  .marquee span:nth-child(n+9) { display: none; }
  .marquee span { display: inline-block; padding: 4px 14px; font-size: 20px; }
  .marquee span::after { margin-left: 28px; }
  .marquee span:nth-child(8)::after { content: none; }
}

/* Pied de page, pages légales, note RGPD */
.bottom .links { display: flex; gap: 24px; flex-wrap: wrap; }
.legal h2 { font-size: 24px; margin: 48px 0 12px; }
.legal p { max-width: 64ch; color: var(--cacao); }
.legal mark { background: var(--blush); color: var(--encre); padding: 0 4px; }
.fine { grid-column: 1 / -1; font-size: 13px; color: var(--cacao); }

/* Piège à robots du formulaire : invisible pour les visiteurs. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Zones tactiles d'au moins 44 px pour les petits liens, sans changer la mise en page. */
.top .switch, .bottom .links a { position: relative; }
.top .switch::after, .bottom .links a::after { content: ""; position: absolute; inset: -12px -8px; }

/* Sélecteur de langue : bouton « FR » qui ouvre un petit menu (API Popover, sans JavaScript). */
.switch { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.langues {
  inset: auto; position: fixed; top: 64px; right: var(--pad); margin: 0;
  display: none; flex-direction: column; gap: 2px; min-width: 180px; padding: 10px;
  background: var(--porcelaine); color: var(--encre); border: 1px solid var(--poudre); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(27, 22, 21, .14); font: 400 16px/1.2 var(--sans);
  opacity: 0; translate: 0 -6px; transition: opacity .2s, translate .2s, display .2s allow-discrete, overlay .2s allow-discrete;
}
.langues:popover-open { display: flex; opacity: 1; translate: 0; }
@starting-style { .langues:popover-open { opacity: 0; translate: 0 -6px; } }
.langues a { padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.langues a:hover, .langues a:focus-visible { background: rgba(180, 143, 138, .18); outline: none; }
.langues a[aria-current] { color: var(--grenat); }
.langues a[aria-current]::after { content: " ·"; }
/* Jost n'a pas les accents vietnamiens : police système pour « Tiếng Việt » (évite de charger une police). */
.langues a[lang="vi"] { font-family: "Helvetica Neue", Arial, system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { .langues { transition: none; } }

/* Vietnamien : Bodoni Moda et Jost n'ont pas les accents vietnamiens. */
:root:lang(vi) { --serif: "Playfair Display", Georgia, serif; --sans: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif; }
:lang(vi) .brand { font-family: "Bodoni Moda", Didot, Georgia, serif; }

/* Coréen : lettres latines en Bodoni / Jost, hangeul en Hahmlet / Noto Sans KR. */
:root:lang(ko) { --serif: "Bodoni Moda", "Hahmlet", serif; --sans: "Jost", "Noto Sans KR", sans-serif; word-break: keep-all; }
/* Le hangeul n'a pas d'italique : on garde le mot en romain. */
:lang(ko) .hero h1 em, :lang(ko) .closing h2 em { font-style: normal; }
/* Le hangeul est plus haut que les lettres latines : interlignes plus aérés pour que les lignes ne se touchent pas. */
:lang(ko) .hero h1 { line-height: 1.12; letter-spacing: 0; }
:lang(ko) .seoul .huge { line-height: 1.15; letter-spacing: 0; }
:lang(ko) h1, :lang(ko) h2 { letter-spacing: 0; }
:lang(ko) .page h1, :lang(ko) .closing h2, :lang(ko) .offers .name { line-height: 1.25; }

/* Outils interactifs : estimateur, planning du jour J, quiz. Masqués tant que le JavaScript n'est pas chargé. */
lyn-estimate:not(:defined), lyn-dayplan:not(:defined), lyn-quiz:not(:defined) { display: none; }
.tool { display: block; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.tool legend, .field label { display: block; font-size: 14px; color: var(--cacao); margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 18px; border: 1px solid var(--poudre); border-radius: 999px; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--porcelaine); }
.chips input:focus-visible + span { outline: 2px solid var(--grenat); outline-offset: 3px; }
.fields { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-bottom: 36px; }
.field input[type=time] { width: 9em; font-size: 22px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--poudre); border-radius: 999px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font: 400 22px/1 var(--sans); color: var(--encre); cursor: pointer; border-radius: 999px; transition: background .2s; }
.stepper button:hover { background: rgba(180, 143, 138, .18); }
.stepper input { width: 3ch; margin: 0; padding: 0; border: 0; text-align: center; font-size: 20px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 24px 0; border-top: 1px solid var(--poudre); border-bottom: 1px solid var(--poudre); }
.total span { font-size: 14px; color: var(--cacao); }
.total output { font-family: var(--serif); font-variation-settings: "opsz" 6; font-weight: 500; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.total small { width: 100%; font-size: 15px; color: var(--cacao); }
.tool .small { margin: 16px 0 28px; }
.plan { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--poudre); }
.plan li { position: relative; display: flex; gap: 24px; align-items: baseline; padding: 10px 0 10px 28px; }
.plan li::before { content: ""; position: absolute; left: -5px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--porcelaine); border: 1px solid var(--cacao); }
.plan time { min-width: 5.5em; font-family: var(--serif); font-variation-settings: "opsz" 6; font-size: 20px; font-variant-numeric: tabular-nums; }
.plan li.key::before { background: var(--grenat); border-color: var(--grenat); }
.plan li.key { color: var(--grenat); }
.plan li.warn { font-size: 14px; color: var(--grenat); }
.plan li.warn::before { content: none; }

.quiz-link { display: inline-block; margin-top: 10px; padding: 6px 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--grenat); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
dialog.quiz { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(28px, 5vw, 56px); border: 0; border-radius: 20px; background: var(--porcelaine); color: var(--encre); overscroll-behavior: contain; }
dialog.quiz::backdrop { background: rgba(27, 22, 21, .55); }
dialog.quiz[open] { animation: fade .3s ease; }
.quiz-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; font: 300 32px/1 var(--sans); color: var(--encre); cursor: pointer; }
.quiz-step { font-size: 14px; color: var(--cacao); margin: 0 0 8px; }
.quiz h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 28px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.quiz legend { font-size: 19px; margin-bottom: 16px; padding: 0; }
.quiz [data-v] { text-align: left; padding: 16px 20px; border: 1px solid var(--poudre); border-radius: 14px; background: none; font: 400 17px/1.35 var(--sans); color: var(--encre); cursor: pointer; transition: background .2s, border-color .2s; }
.quiz [data-v]:hover, .quiz [data-v]:focus-visible { border-color: var(--encre); background: rgba(180, 143, 138, .12); outline: none; }
.quiz .result:not([hidden]) { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.quiz .result img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.quiz .result h3 { font-family: var(--serif); font-variation-settings: "opsz" 6; font-weight: 500; font-size: 40px; margin: 4px 0 12px; }
.quiz .result p { color: var(--cacao); }
.quiz .kicker { font-size: 14px; }
.quiz .again { display: block; margin-top: 16px; padding: 8px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--cacao); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.quiz:has(.result:not([hidden])) h2 { display: none; }
@media (max-width: 640px) {
  .quiz .result:not([hidden]) { grid-template-columns: 1fr; gap: 20px; }
  .quiz .result img { aspect-ratio: 4 / 3; }
}
.quiz [hidden] { display: none !important; }
dialog.quiz { margin: auto; }
.quiz-close { z-index: 1; background: var(--porcelaine); border-radius: 50%; }

/* Onglets de la page Prestations : barre collante, pastille pour l'onglet actif. */
lyn-tabs { display: block; }
.tabs {
  position: sticky; top: 0; z-index: 3; display: flex; gap: 4px; width: max-content; max-width: 100%;
  margin: -4vh 0 0; padding: 4px; overflow-x: auto; scrollbar-width: none;
  background: var(--porcelaine); border: 1px solid var(--poudre); border-radius: 999px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role=tab] {
  flex: none; padding: 10px 20px; border-radius: 999px; font-size: 15px; text-decoration: none; white-space: nowrap;
  color: var(--cacao); transition: background .25s, color .25s;
}
.tabs [role=tab]:hover { color: var(--encre); background: rgba(180, 143, 138, .15); }
.tabs [role=tab][aria-selected=true] { background: var(--encre); color: var(--porcelaine); }
.tabs [role=tab]:focus-visible { outline: 2px solid var(--grenat); outline-offset: 2px; }
.panel { padding-top: 56px; scroll-margin-top: 80px; }
lyn-tabs:defined .panel[hidden] { display: none; }
.panel > h2.sub:first-child, .panel > .tool:first-child > h2.sub:first-child { margin-top: 0; }
.panel .btn { margin-top: 32px; }
.panel .tool .btn { margin-top: 0; }
lyn-quiz.inline { display: block; max-width: 760px; margin-top: 12vh; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--poudre); border-radius: 20px; }
@media (max-width: 480px) {
  .tabs { width: 100%; justify-content: space-between; }
  .tabs [role=tab] { padding: 10px 12px; font-size: 14px; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
