@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../polices/pjs-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../polices/pjs-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
:root { --forest: #163a2c; --forest-2: #21503c; --gold: #a9780c; --gold-c: #e0b24e; --ink: #f1f6f2; --ink2: #b9cbc0; --verre: rgba(22, 40, 32, .72); --verre-bord: rgba(255, 255, 255, .12); --ombre: 0 24px 60px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .25); --police: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --t-xs: 12px; --t-s: 13px; --t-m: 14px; --t-l: 16px; --t-xl: 24px; --ctl: 48px; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.cx { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px 120px; font: 400 var(--t-m)/1.5 var(--police); color: var(--ink); background: var(--forest); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.cx-fond { position: fixed; inset: -40px; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(33, 80, 60, .35), rgba(22, 58, 44, .92) 78%), url("../img/carte-floue.jpg") center / cover no-repeat, var(--forest); filter: blur(6px) saturate(115%); transform: scale(1.04); z-index: 0; }
.cx-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 58, 44, .25), rgba(22, 58, 44, .7)); }
.cx-carte { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 40px 36px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--verre); border: 1px solid var(--verre-bord); border-radius: 16px; box-shadow: var(--ombre); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
.cx-carte::before { content: ""; position: absolute; left: 50%; top: 0; width: 72px; height: 2px; margin-left: -36px; background: var(--gold); border-radius: 0 0 2px 2px; }
.cx-logo { width: 132px; height: auto; display: block; margin-bottom: 26px; }
.cx-carte h1 { margin: 0 0 10px; font-size: var(--t-xl); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.cx-texte { margin: 0 0 28px; color: var(--ink2); font-size: var(--t-m); max-width: 30em; }
.cx-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: var(--ctl); padding: 0 20px; border-radius: 10px; background: #fff; color: #1f2a24; font-weight: 600; font-size: var(--t-l); text-decoration: none; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.cx-bouton:hover { background: #f4f7f5; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transform: translateY(-1px); }
.cx-bouton:focus-visible { outline: 3px solid var(--gold-c); outline-offset: 3px; }
.cx-g { width: 20px; height: 20px; flex: none; }
.cx-note { margin: 18px 0 0; font-size: var(--t-xs); color: var(--ink2); }
.cx-avis { position: fixed; z-index: 2; left: 50%; bottom: 28px; width: calc(100% - 32px); max-width: 560px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; background: rgba(22, 40, 32, .9); border: 1px solid rgba(224, 178, 78, .45); border-radius: 12px; box-shadow: var(--ombre); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: cx-monte .35s cubic-bezier(.2, .8, .2, 1) both; }
.cx-avis p { margin: 0; flex: 1; font-size: var(--t-m); line-height: 1.45; }
.cx-avis-point { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--gold-c); box-shadow: 0 0 0 4px rgba(224, 178, 78, .18); }
.cx-avis-fermer { width: 36px; height: 36px; flex: none; border: 0; border-radius: 8px; background: transparent; cursor: pointer; position: relative; }
.cx-avis-fermer::before, .cx-avis-fermer::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink2); border-radius: 1px; transform: rotate(45deg); }
.cx-avis-fermer::after { transform: rotate(-45deg); }
.cx-avis-fermer:hover { background: rgba(255, 255, 255, .08); }
.cx-avis.cx-cache { opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
@keyframes cx-monte { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 480px) { .cx-carte { padding: 32px 22px 26px; } .cx-carte h1 { font-size: var(--t-l); } .cx-avis { bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .cx-avis { animation: none; } .cx-bouton { transition: none; } }
