/* 01.08.2026 V1.0
PROJET tradizy.adc-business.fr
CSS mini: 3
css/style.css
theme visuel fantasy/parchemin (style WoW) du site

Liste des modifications faites :
01.08.2026 Creation du theme
*/

:root {
  --ink: #1c140c;
  --parchment: #ecdcb8;
  --parchment-dark: #d9c496;
  --gold: #c9a24b;
  --gold-light: #e8c877;
  --wine: #5a1414;
  --wine-light: #7a1f1f;
  --night: #14100a;
  --night-2: #201810;
  --text-light: #f1e4c2;
  --text-muted: #c9b98f;
  --shadow: rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.045'/></svg>");
  color: var(--text-light);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

h1, h2, h3, .brand-text {
  font-family: "Cinzel", "Cinzel Decorative", Georgia, serif;
  letter-spacing: .04em;
  margin: 0;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }

code {
  font-family: "Courier New", monospace;
  background: rgba(0,0,0,.35);
  color: var(--gold-light);
  padding: .1em .4em;
  border-radius: 3px;
  border: 1px solid rgba(201,162,75,.3);
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 18px var(--shadow);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-crest {
  color: var(--gold);
  font-size: 22px;
}

.brand-text {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(232,200,119,.35);
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-muted);
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-cta {
  color: var(--gold-light) !important;
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 6px 14px !important;
}

.nav-cta:hover { background: rgba(201,162,75,.15); }

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: 90px 24px 70px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(122,31,31,.35), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  border-bottom: 1px solid rgba(201,162,75,.35);
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-kicker {
  color: var(--gold);
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-weight: 900;
  font-size: clamp(48px, 9vw, 88px);
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(232,200,119,.35), 0 4px 0 rgba(0,0,0,.5);
  margin-bottom: 18px;
}

.hero-subtitle {
  color: var(--text-light);
  font-size: 20px;
  max-width: 620px;
  margin: 0 auto 30px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-meta {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  font-family: "Cinzel", serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--ink) !important;
  box-shadow: 0 4px 14px rgba(201,162,75,.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,75,.5); }

.btn-secondary {
  background: rgba(0,0,0,.25);
  color: var(--gold-light) !important;
}

.btn-secondary:hover { background: rgba(201,162,75,.15); transform: translateY(-2px); }

.btn-large { font-size: 16px; padding: 18px 36px; }

/* ===== Sections ===== */

.section { padding: 80px 24px; }
.section-alt { background: linear-gradient(180deg, rgba(90,20,20,.12), rgba(0,0,0,0)); }
.section-inner { max-width: 980px; margin: 0 auto; }

.section-title {
  font-size: 32px;
  color: var(--gold-light);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title.centered { justify-content: center; }

.rune { color: var(--wine-light); text-shadow: 0 0 10px rgba(122,31,31,.6); }

.section-lead {
  color: var(--text-muted);
  margin-bottom: 34px;
  font-size: 19px;
  max-width: 720px;
}

.lore-box {
  background: linear-gradient(180deg, rgba(236,220,184,.06), rgba(236,220,184,.02));
  border: 1px solid rgba(201,162,75,.35);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 4px;
}

.lore-box p { margin: 0 0 16px; }
.lore-box p:last-child { margin-bottom: 0; }

/* ===== Cards ===== */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, rgba(32,24,16,.7), rgba(20,16,10,.7));
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 6px;
  padding: 24px;
  transition: border-color .15s ease, transform .15s ease;
}

.card:hover { border-color: var(--gold); transform: translateY(-3px); }

.card h3 {
  color: var(--gold-light);
  font-size: 19px;
  margin-bottom: 10px;
}

.card p { color: var(--text-muted); margin: 0; font-size: 16px; }

/* ===== Steps ===== */

.steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(201,162,75,.25);
  border-radius: 6px;
  padding: 16px 20px;
}

.step-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: "Cinzel", serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-box {
  background: linear-gradient(180deg, rgba(90,20,20,.18), rgba(90,20,20,.05));
  border: 1px solid rgba(122,31,31,.5);
  border-radius: 6px;
  padding: 26px 30px;
}

.usage-box h3 { color: var(--gold-light); margin-bottom: 14px; font-size: 20px; }
.usage-box ul { margin: 0; padding-left: 20px; color: var(--text-light); }
.usage-box li { margin-bottom: 8px; }

/* ===== Table ===== */

.table-wrap { overflow-x: auto; }

.cmd-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(201,162,75,.3);
}

.cmd-table th, .cmd-table td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(201,162,75,.2);
}

.cmd-table th {
  font-family: "Cinzel", serif;
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
  background: rgba(201,162,75,.08);
}

.cmd-table td { color: var(--text-light); }
.cmd-table tr:last-child td { border-bottom: none; }

/* ===== Download ===== */

.section-download {
  background: radial-gradient(ellipse at 50% 0%, rgba(122,31,31,.25), transparent 60%);
  text-align: center;
}

.download-box {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(32,24,16,.85), rgba(20,16,10,.85));
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow);
}

.dl-version {
  font-family: "Cinzel", serif;
  color: var(--gold-light);
  font-size: 24px;
  margin: 0 0 10px;
}

.dl-desc { color: var(--text-muted); margin: 0 0 26px; }

/* ===== Changelog ===== */

.changelog {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cl-entry {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}

.cl-entry h3 {
  color: var(--gold-light);
  font-size: 20px;
  margin-bottom: 10px;
}

.cl-entry ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
.cl-entry li { margin-bottom: 6px; }

/* ===== Footer ===== */

.site-footer {
  text-align: center;
  padding: 40px 24px 60px;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid rgba(201,162,75,.25);
}

.site-footer p { margin: 6px 0; }

/* ===== Responsive ===== */

@media (max-width: 720px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12px; }
  .section { padding: 56px 18px; }
  .hero { padding: 70px 18px 50px; }
  .download-box { padding: 28px 20px; }
}
