/* ==========================================================================
   Sénebier Capital — senebiercapital.com
   Style hybride finance-tech : base bleu nuit premium, accents or + dégradé
   ========================================================================== */

:root {
  --bg: #0a0f1e;
  --bg-2: #0e1528;
  --surface: #121b33;
  --surface-2: #182242;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9ecf5;
  --muted: #97a0b8;
  --gold: #cfa96b;
  --gold-soft: rgba(207, 169, 107, 0.14);
  --blue: #5b8cff;
  --violet: #8a6bff;
  --grad: linear-gradient(120deg, #5b8cff, #8a6bff);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1160px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand span em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: #17120a;
}

.btn-gold:hover { box-shadow: 0 10px 30px rgba(207, 169, 107, 0.3); }

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(91, 140, 255, 0.16), transparent 65%),
    radial-gradient(700px 420px at -8% 30%, rgba(138, 107, 255, 0.1), transparent 60%),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 480px at 70% 10%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold), #e8cfa0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
  max-width: 560px;
}

.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text);
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Carte GPU décorative du hero */

.gpu-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.gpu-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(207, 169, 107, 0.55), transparent 40%, rgba(91, 140, 255, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gpu-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.gpu-card-head strong { font-size: 1.05rem; }

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(207, 169, 107, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.gpu-card .muted { font-size: 0.85rem; }

.gpu-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.gpu-metric {
  background: rgba(10, 15, 30, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.gpu-metric span {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.gpu-metric b {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.gpu-metric b.pos { color: #6fd39a; }

.gpu-sparkline { margin-top: 4px; }

.gpu-card-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   Sections génériques
   -------------------------------------------------------------------------- */

.section { padding: 88px 0; }

.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-3px); border-color: rgba(207, 169, 107, 0.4); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid rgba(207, 169, 107, 0.3);
  margin-bottom: 20px;
  color: var(--gold);
}

.card h3 { margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(207, 169, 107, 0.65);
  line-height: 1;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Simulateur
   -------------------------------------------------------------------------- */

.simulator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}

.sim-field { margin-bottom: 22px; }

.sim-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.sim-field label output { color: var(--gold); font-weight: 600; }

.sim-field select,
.sim-field input[type="number"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}

.sim-field select:focus,
.sim-field input:focus { outline: 2px solid rgba(207, 169, 107, 0.45); outline-offset: 1px; }

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.sim-results {
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.09), rgba(138, 107, 255, 0.06)), var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.sim-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 14px;
}

.sim-line:last-of-type { border-bottom: none; padding-bottom: 0; }

.sim-line span { color: var(--muted); font-size: 0.9rem; }

.sim-line b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  white-space: nowrap;
}

.sim-line b.gold { color: var(--gold); font-size: 1.9rem; }

.sim-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 18px 0 0;
}

/* --------------------------------------------------------------------------
   Catalogue GPU
   -------------------------------------------------------------------------- */

.gpu-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

table.gpu-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.93rem;
}

.gpu-table th,
.gpu-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.gpu-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(10, 15, 30, 0.5);
}

.gpu-table tr:last-child td { border-bottom: none; }

.gpu-table td b { font-weight: 600; }

.gpu-table .yield { color: #6fd39a; font-weight: 600; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 780px; margin: 0 auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  flex: none;
  transition: transform 0.2s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(640px 320px at 50% -20%, rgba(207, 169, 107, 0.16), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
}

.cta-banner h2 { max-width: 18em; margin-inline: auto; }

.cta-banner p { color: var(--muted); max-width: 36em; margin: 0 auto 28px; }

/* --------------------------------------------------------------------------
   Formulaires (contact)
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: 2px solid rgba(207, 169, 107, 0.45); outline-offset: 1px; }

/* --------------------------------------------------------------------------
   Infos société
   -------------------------------------------------------------------------- */

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.info-list li:last-child { border-bottom: none; }

.info-list span { color: var(--muted); }

.info-list b { font-weight: 600; text-align: right; }

/* --------------------------------------------------------------------------
   Page header (pages intérieures)
   -------------------------------------------------------------------------- */

.page-head {
  padding: 84px 0 56px;
  background:
    radial-gradient(720px 360px at 75% -30%, rgba(91, 140, 255, 0.13), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-head p { color: var(--muted); max-width: 40em; font-size: 1.05rem; margin: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 32px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }

.footer-grid li { margin-bottom: 8px; }

.footer-grid a:hover { color: var(--gold); }

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: #6d768e;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Animations reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .simulator { grid-template-columns: 1fr; padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border-strong);
    padding: 12px 24px 20px;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a { display: block; padding: 12px 0; font-size: 1rem; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 56px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .info-list li { flex-direction: column; gap: 4px; }
  .info-list b { text-align: left; }
}
