/* ============================================================
   RENTA TA CAISSE — CSS Global
   Design : Noir / Blanc / Or — Premium Minimal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: rgba(201,168,76,0.1);
  --gold-border: rgba(201,168,76,0.22);
  --dark: #0A0A0A;
  --dark-2: #111111;
  --dark-3: #181818;
  --dark-4: #222222;
  --white: #F2F1EC;
  --grey: #888880;
  --grey-light: #B0B0A8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ UTILS ============ */
.gold { color: var(--gold); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 3px;
  color: var(--white);
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav__links a {
  font-size: 13px; color: var(--grey-light); letter-spacing: .5px;
  transition: color .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--gold); color: var(--dark);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 9px 20px; border-radius: 2px;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer; font-family: var(--font-body);
}
.nav__cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ============ HERO HOME ============ */
.hero {
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 24px 60px;
  max-width: 1080px; margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; height: 50%;
  background: radial-gradient(ellipse at 50% -10%, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none; z-index: -1;
}
.hero__tag {
  display: inline-block;
  border: 1px solid var(--gold-border); background: var(--gold-dim);
  color: var(--gold); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 2px;
  margin-bottom: 28px; width: fit-content;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(58px, 9vw, 110px);
  line-height: .9; letter-spacing: 2px;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: 18px; font-weight: 300;
  color: var(--grey-light);
  max-width: 540px; line-height: 1.8;
  margin-bottom: 44px;
}
.hero__sub strong { color: var(--white); font-weight: 500; }
.hero__stats {
  display: flex; gap: 40px; margin-bottom: 44px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: 42px; color: var(--gold); line-height: 1;
}
.stat__label { font-size: 11px; color: var(--grey); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 2px; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn--primary { background: var(--gold); color: var(--dark); }
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--grey-light);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn--ghost:hover { border-color: var(--gold-border); color: var(--white); }
.btn--cta {
  background: var(--gold); color: var(--dark);
  font-size: 15px; padding: 20px 44px;
  box-shadow: 0 0 40px rgba(201,168,76,0.2);
}
.btn--cta:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(201,168,76,0.3);
}

/* ============ SECTION HEADERS ============ */
.section { padding: 72px 0; }
.section__tag {
  font-size: 11px; color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1; letter-spacing: 1px;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 16px; color: var(--grey-light);
  font-weight: 300; max-width: 500px; line-height: 1.7;
}
.divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0 24px; }

/* ============ CATEGORY PILLS ============ */
.categories {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.cat-pill {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--grey-light); background: none;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold);
}

/* ============ ARTICLE CARDS ============ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.article-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
}
.article-card:hover {
  border-color: var(--gold-border); transform: translateY(-3px);
}
.article-card__img {
  height: 180px;
  background: var(--dark-3);
  position: relative; overflow: hidden;
}
.article-card__img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 72px;
  color: rgba(201,168,76,0.08); letter-spacing: 2px;
  user-select: none;
}
.article-card__cat {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); padding: 4px 10px; border-radius: 2px;
}
.article-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card__title {
  font-size: 17px; font-weight: 600; line-height: 1.4;
  margin-bottom: 10px; color: var(--white);
}
.article-card:hover .article-card__title { color: var(--gold); }
.article-card__excerpt {
  font-size: 14px; color: var(--grey); line-height: 1.6;
  flex: 1; margin-bottom: 20px; font-weight: 300;
}
.article-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--grey);
  border-top: 1px solid rgba(255,255,255,0.04); padding-top: 14px;
}
.article-card__read {
  color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: .5px;
}

/* ============ FEATURED ARTICLE ============ */
.featured {
  background: var(--dark-2);
  border: 1px solid var(--gold-border);
  border-radius: 4px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; margin-bottom: 48px;
  position: relative; overflow: hidden;
}
.featured::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.featured__tag { margin-bottom: 12px; }
.featured__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1; letter-spacing: 1px; margin-bottom: 16px;
}
.featured__excerpt { font-size: 15px; color: var(--grey-light); line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
.featured__visual {
  background: var(--dark-3); border-radius: 3px;
  height: 240px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 100px; color: var(--gold-dim);
}

/* ============ ARTICLE PAGE ============ */
.article-hero {
  padding: 60px 24px 48px;
  max-width: 720px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.article-hero__cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-border);
  background: var(--gold-dim); padding: 5px 12px; border-radius: 2px;
  margin-bottom: 24px;
}
.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: .95; letter-spacing: 1px; margin-bottom: 20px;
}
.article-hero__meta {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; color: var(--grey); margin-bottom: 24px;
}
.article-hero__intro {
  font-size: 18px; color: var(--grey-light); font-weight: 300; line-height: 1.8;
  border-left: 3px solid var(--gold); padding-left: 20px;
}

/* ============ ARTICLE BODY ============ */
.article-body {
  max-width: 720px; margin: 0 auto;
  padding: 48px 24px 64px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: 1px; line-height: 1;
  margin: 48px 0 16px; color: var(--white);
}
.article-body h3 {
  font-size: 18px; font-weight: 600; margin: 32px 0 12px;
  color: var(--white);
}
.article-body p {
  font-size: 16px; color: var(--grey-light);
  line-height: 1.85; margin-bottom: 20px; font-weight: 300;
}
.article-body p strong { color: var(--white); font-weight: 600; }
.article-body ul, .article-body ol {
  margin: 0 0 24px 0; padding-left: 0; list-style: none;
}
.article-body ul li, .article-body ol li {
  font-size: 16px; color: var(--grey-light);
  padding: 8px 0 8px 24px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04); font-weight: 300;
}
.article-body ul li::before {
  content: '→'; color: var(--gold); position: absolute; left: 0; font-weight: 700;
}
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
  content: counter(item) '.';
  color: var(--gold); position: absolute; left: 0; font-weight: 700; font-size: 14px;
}

/* CALLOUT BOX */
.callout {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 24px 28px; margin: 32px 0;
}
.callout p { margin: 0; font-size: 15px; color: var(--white); font-weight: 300; }
.callout p strong { color: var(--gold); }

/* STAT BOX */
.stat-box {
  background: var(--dark-3);
  border: 1px solid var(--gold-border);
  border-radius: 4px; padding: 28px 32px;
  margin: 32px 0; text-align: center;
}
.stat-box__num {
  font-family: var(--font-display);
  font-size: 56px; color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.stat-box__label { font-size: 13px; color: var(--grey); letter-spacing: 1px; }

/* FRUSTRATION BLOCK */
.frustration {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; padding: 32px;
  margin: 40px 0;
}
.frustration__title {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 1px; margin-bottom: 16px;
  color: var(--white);
}
.frustration p { margin-bottom: 12px; font-size: 15px; }
.frustration p:last-child { margin-bottom: 0; }

/* CTA BLOCK */
.cta-block {
  background: var(--dark-2);
  border: 1px solid var(--gold-border);
  border-radius: 4px; padding: 40px;
  margin: 48px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-block__icon { font-size: 32px; margin-bottom: 16px; }
.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px); letter-spacing: 1px;
  margin-bottom: 12px; line-height: 1;
}
.cta-block__sub {
  font-size: 15px; color: var(--grey-light); font-weight: 300;
  margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
.cta-block__note {
  font-size: 12px; color: var(--grey); margin-top: 12px; letter-spacing: .5px;
}

/* ============ RELATED ARTICLES ============ */
.related { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.related__title {
  font-family: var(--font-display); font-size: 28px; letter-spacing: 1px;
  margin-bottom: 28px; padding: 0 24px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 720px; margin: 0 auto; padding: 0 24px;
}
.related-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px; padding: 20px;
  transition: border-color .2s;
}
.related-card:hover { border-color: var(--gold-border); }
.related-card__cat {
  font-size: 10px; color: var(--gold); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px; font-weight: 700;
}
.related-card__title {
  font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--white);
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 24px;
  background: var(--dark-2);
}
.footer__inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer__logo { font-family: var(--font-display); font-size: 16px; letter-spacing: 3px; }
.footer__logo span { color: var(--gold); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 12px; color: var(--grey); transition: color .2s; letter-spacing: .5px; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { font-size: 11px; color: var(--grey); letter-spacing: .5px; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  padding: 16px 24px; max-width: 720px; margin: 0 auto;
  font-size: 12px; color: var(--grey); letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--grey); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--grey-light); }

/* ============ PROGRESS BAR ============ */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--gold); z-index: 200;
  transition: width .1s; width: 0%;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero__title { font-size: clamp(52px, 14vw, 80px); }
  .featured { grid-template-columns: 1fr; }
  .featured__visual { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .article-hero__title { font-size: clamp(36px, 9vw, 52px); }
}
@media (max-width: 480px) {
  .btn--cta { padding: 18px 28px; font-size: 13px; }
  .cta-block { padding: 28px 20px; }
  .article-hero { padding: 40px 20px 36px; }
  .article-body { padding: 36px 20px 48px; }
}
