:root {
  color-scheme: dark;
  --text: #f6f0e4;
  --muted: #c9beaa;
  --gold: #f6d47e;
  --line: #d9ad5738;
  font-family: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(ellipse at top, #2c2014, #0b0a09 52%); color: var(--text); line-height: 1.65; }
a { color: var(--gold); text-underline-offset: .25em; }
:focus-visible { outline: 2px solid #ffdf91; outline-offset: 4px; }
.shell { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); background: #0b0a09df; }
.topbar nav, .brand { display: flex; align-items: center; gap: 12px; }
.topbar nav { justify-content: space-between; min-height: 66px; }
.brand { font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.brand img { border-radius: 8px; }
main { padding-block: clamp(22px, 5vw, 56px) 12px; }
.hero, .panel { border: 1px solid var(--line); border-radius: 20px; background: #171410; padding: clamp(20px, 4vw, 38px); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; background: radial-gradient(ellipse at 92% 32%, #69502466, transparent 46%), linear-gradient(130deg, #231b11, #11100e 65%); }
h1, h2, p { margin: 0; }
h1 { color: #ffdc8b; font-size: clamp(2.25rem, 6vw, 4.75rem); font-weight: 950; letter-spacing: -.055em; line-height: 1.05; text-shadow: 0 2px #a66d31, 0 4px #613715, 0 6px #3f210e, 0 10px 22px #000; }
h2 { font-size: clamp(1.24rem, 3vw, 1.65rem); line-height: 1.2; }
p { color: var(--muted); margin-top: .65rem; }
.hero-mark { padding: 6px; border: 1px solid #aa80485e; border-radius: 28%; background: #15100a; box-shadow: 0 20px 45px #0006; transform: rotate(4deg); }
.hero-mark img { display: block; width: clamp(94px, 17vw, 195px); height: auto; border-radius: 25%; }
.actions, .check-fields { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 18px; border: 1px solid #f6d47e; border-radius: 11px; background: linear-gradient(145deg, #ffe6a7, #d5a248); color: #211607; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: filter .18s, transform .18s; }
.button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.button:disabled { opacity: .65; cursor: wait; }
.verify { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 18px 28px; margin-block: 16px; }
.verify label { font-weight: 700; }
.check-fields { margin-top: .4rem; }
input { flex: 1 1 12rem; min-width: 0; width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #766345; border-radius: 11px; background: #0e0c0a; color: var(--text); font: inherit; }
.result[data-state="success"] { color: #a0edbc; }
.result[data-state="error"] { color: #ffb4a7; }
.details { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; align-items: start; }
#tarif { scroll-margin-top: 1rem; }
#tarif a { display: inline-block; margin-top: .65rem; }
ol { padding-inline-start: 1.4rem; margin: .8rem 0 0; }
li + li { margin-top: .55rem; }
li::marker { color: var(--gold); font-weight: 800; }
.contact { margin-top: 16px; }
footer { padding-block: 8px 28px; }
@media (max-width: 640px) {
  .verify, .details { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { grid-row: 1; justify-self: start; }
  .hero-mark img { width: 72px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 2vw, 16px); }
.topbar-actions > a { font-size: .875rem; }
.topbar nav { min-height: 58px; }
#dosmosLanguageSlot .dosmos-language-switcher { position: relative; inset: auto; z-index: 2; }
#dosmosLanguageSlot .dosmos-language-button { min-width: 56px; height: 32px; gap: 5px; padding-inline: 7px; }
#dosmosLanguageSlot .dosmos-language-flag { width: 18px; height: 12px; object-fit: cover; }
