/* RevolutionMT2 patcher
   Aligne avec le design system du site (cf. tokens.css cote Next.js).
   Cible : moteur MSHTML (WinForms WebBrowser) force en IE11 standards mode via
   FEATURE_BROWSER_EMULATION cote C#. On evite donc :
   - propriete logique `inset` (non supportee IE11)
   - flex `gap` (non supporte IE11)
   - layout flexbox complexe avec `justify-content: space-between` sur conteneur fixe
     -> on utilise position absolute pour les zones haut/milieu/bas.
*/

* {
    box-sizing: border-box;
}

html,
body {
    width: 1188px;
    height: 548px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1d1612;
    color: #f5e6d3;
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    background-image:
        radial-gradient(ellipse 600px 300px at 20% 0%, rgba(196, 30, 30, 0.20), transparent 70%),
        radial-gradient(ellipse 600px 300px at 80% 100%, rgba(212, 175, 55, 0.12), transparent 70%),
        radial-gradient(ellipse 1000px 600px at 50% 50%, #2a1f1a 0%, #1d1612 60%, #120c09 100%);
}

.patcher {
    position: relative;
    width: 1188px;
    height: 548px;
}

/* ---------- TOPBAR ---------- */

.topbar {
    position: absolute;
    top: 28px;
    left: 64px;
    right: 64px;
    height: 64px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    padding-bottom: 16px;
}

.brand {
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
}

.brand-eyebrow {
    display: block;
    color: #d4af37;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.85;
}

.brand-wordmark {
    display: block;
    margin-top: 6px;
    color: #f3d77a;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.topnav {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
}

.topnav a {
    text-decoration: none;
    color: inherit;
}

.topnav-primary {
    display: inline-block;
    color: #f3d77a;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
    transition: color 150ms ease, border-color 150ms ease;
}

.topnav-primary:hover {
    color: #ffe9a3;
    border-bottom-color: rgba(212, 175, 55, 0.55);
}

.topnav-sub {
    margin-top: 12px;
    color: #a08a73;
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
}

.topnav-sub a {
    color: #d4af37;
    transition: color 150ms ease;
}

.topnav-sub a:hover {
    color: #ffe9a3;
}

.topnav-dot {
    margin: 0 8px;
    color: #74604f;
}

/* ---------- HERO (centre absolu) ---------- */

.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 720px;
    margin-top: -125px;
    margin-left: -360px;
    padding: 32px 40px 36px;
    background-color: #251c17;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 32px rgba(196, 30, 30, 0.18);
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    color: #d4af37;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    line-height: 1;
}

.hero-title {
    margin: 12px 0 14px;
    color: #f5e6d3;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
}

.hero-accent {
    color: #d4af37;
}

.hero-lead {
    margin: 0 auto 24px;
    max-width: 580px;
    color: #d8c9b3;
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    text-align: center;
    line-height: 1;
}

/* ---------- BOUTONS ---------- */

.btn {
    display: inline-block;
    margin: 0 6px;
    padding: 12px 26px;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.btn-primary {
    background-color: #c41e1e;
    border-color: #d4af37;
    color: #f3d77a;
    box-shadow: 0 6px 18px rgba(196, 30, 30, 0.35);
}

.btn-primary:hover {
    background-color: #7a0f0f;
    border-color: #ffe9a3;
    color: #ffe9a3;
    box-shadow: 0 6px 22px rgba(196, 30, 30, 0.55);
}

.btn-ghost {
    background-color: transparent;
    border-color: rgba(212, 175, 55, 0.55);
    color: #d4af37;
}

.btn-ghost:hover {
    background-color: rgba(212, 175, 55, 0.12);
    border-color: #d4af37;
    color: #ffe9a3;
}

/* ---------- FOOTNOTE ---------- */

.footnote {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    text-align: center;
    color: #74604f;
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
}
