/* SachetsDeNicotine – Style principal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --burgundy: #991b1b;
  --burgundy-dark: #7f1d1d;
  --gold: #d97706;
  --charcoal: #1f2937;
  --charcoal-light: #374151;
  --grey: #6b7280;
  --grey-light: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1100px;
  --radius: 6px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--charcoal); background: var(--white); line-height: 1.7; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.3; color: var(--charcoal); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.6rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1.1rem; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ── LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.2rem; }
.section { padding: 3.5rem 0; }
.section--grey { background: var(--grey-light); }

/* ── HEADER / NAV ── */
header { background: var(--white); border-bottom: 2px solid var(--burgundy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.2rem; max-width: var(--max-width); margin: 0 auto; }
.logo { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--burgundy); letter-spacing: -0.3px; }
.logo span { color: var(--gold); }
nav { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
nav a { font-size: 0.88rem; color: var(--charcoal-light); font-weight: 500; transition: color .2s; white-space: nowrap; }
nav a:hover { color: var(--burgundy); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 4px 0; border-radius: 2px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--white); border-top: 1px solid var(--border); padding: 1rem 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,.1); gap: 0.8rem; }
  nav.open { display: flex; }
}

/* ── HERO ── */
.hero { background: linear-gradient(135deg, var(--charcoal) 0%, #2d1515 100%); color: var(--white); padding: 4rem 1.2rem 3.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1400&q=60') center/cover no-repeat; opacity: 0.12; }
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 1.6rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; padding: 0.75rem 1.8rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: all .2s; cursor: pointer; }
.btn-primary { background: var(--burgundy); color: var(--white); }
.btn-primary:hover { background: var(--burgundy-dark); text-decoration: none; color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b45309; text-decoration: none; color: var(--white); }
.btn-outline { border: 2px solid var(--burgundy); color: var(--burgundy); background: transparent; }
.btn-outline:hover { background: var(--burgundy); color: var(--white); text-decoration: none; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 0.82rem; color: var(--grey); padding: 0.9rem 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--burgundy); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── ARTICLE LAYOUT ── */
.article-header { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.article-header .tag { display: inline-block; background: var(--burgundy); color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 3px; margin-bottom: 0.8rem; }
.article-meta { font-size: 0.85rem; color: var(--grey); margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.article-meta .author { font-weight: 600; color: var(--charcoal-light); }
.article-image { width: 100%; height: auto; border-radius: var(--radius); margin: 1.5rem 0; display: block; aspect-ratio: 16/7; object-fit: cover; }

/* ── CARD GRID ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .15s; }
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-body { padding: 1.2rem; }
.card-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--burgundy); margin-bottom: 0.4rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--grey); margin-bottom: 0.8rem; }
.card a.read-more { font-size: 0.85rem; font-weight: 600; color: var(--burgundy); display: inline-flex; align-items: center; gap: 0.3rem; }
.card a.read-more::after { content: '→'; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th { background: var(--burgundy); color: var(--white); padding: 0.7rem 1rem; text-align: left; font-weight: 600; font-size: 0.85rem; }
td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:nth-child(even) td { background: var(--grey-light); }
.check { color: #16a34a; font-weight: 700; }
.cross { color: var(--burgundy); font-weight: 700; }
.partial { color: var(--gold); font-weight: 700; }

/* ── RATING ── */
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.rating-block { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.rating-num { font-size: 1.3rem; font-weight: 700; color: var(--charcoal); }
.rating-label { font-size: 0.82rem; color: var(--grey); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-question { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--charcoal); cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--burgundy); flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-top: 0.9rem; color: var(--charcoal-light); font-size: 0.97rem; }
.faq-item.open .faq-answer { display: block; }

/* ── NOTE REDACTION ── */
.note-redaction { background: linear-gradient(to right, #fef3c7, #fffbeb); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; font-size: 0.93rem; }
.note-redaction strong { color: var(--gold); display: block; margin-bottom: 0.3rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .6px; }

/* ── CALLOUT ── */
.callout { border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.8rem 0; font-size: 0.95rem; }
.callout-info { background: #eff6ff; border-left: 4px solid #3b82f6; }
.callout-warning { background: #fef3c7; border-left: 4px solid var(--gold); }
.callout-danger { background: #fef2f2; border-left: 4px solid var(--burgundy); }
.callout strong { display: block; margin-bottom: 0.3rem; }

/* ── BRAND CARD ── */
.brand-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; align-items: start; }
.brand-logo-box { width: 90px; height: 90px; background: var(--grey-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--burgundy); text-align: center; border: 2px solid var(--border); }
@media (max-width: 500px) { .brand-card { grid-template-columns: 1fr; } .brand-logo-box { width: 60px; height: 60px; font-size: 0.9rem; } }

/* ── AFFILIATE BOX ── */
.affiliate-box { background: linear-gradient(135deg, #1f2937 0%, #2d1515 100%); color: var(--white); border-radius: var(--radius); padding: 2rem; margin: 2rem 0; text-align: center; }
.affiliate-box h3 { color: var(--white); margin-bottom: 0.7rem; }
.affiliate-box p { color: rgba(255,255,255,.82); font-size: 0.93rem; margin-bottom: 1.2rem; }
.affiliate-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,.5); margin-top: 0.8rem; }

/* ── RESSOURCES / SIDEBAR ── */
.resources-box { background: var(--grey-light); border-radius: var(--radius); padding: 1.3rem; margin-top: 2.5rem; }
.resources-box h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .7px; color: var(--grey); margin-bottom: 0.8rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.resources-box ul { padding-left: 1rem; margin-bottom: 0; }
.resources-box li { margin-bottom: 0.4rem; font-size: 0.9rem; }

/* ── TWO-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ── STAT BLOCKS ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; margin: 2rem 0; }
.stat-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.stat-block .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--burgundy); display: block; }
.stat-block .label { font-size: 0.82rem; color: var(--grey); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ── FOOTER ── */
footer { background: var(--charcoal); color: rgba(255,255,255,.75); padding: 3rem 1.2rem 1.5rem; margin-top: 4rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: rgba(255,255,255,.65); font-size: 0.88rem; }
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; font-size: 0.8rem; color: rgba(255,255,255,.4); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-logo { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); margin-bottom: 0.6rem; display: block; }
.footer-logo span { color: var(--gold); }

/* ── MISC ── */
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.highlight { background: #fef9c3; padding: 0 0.2rem; border-radius: 2px; }
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.badge-red { background: #fef2f2; color: var(--burgundy); border: 1px solid #fecaca; }
.badge-green { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-gold { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
