/* ==========================================================================
   City Pass Paris — Design System partagé
   Chargé par toutes les pages. Police + palette identiques à la home.
   ========================================================================== */

:root {
  --primary: #0f172a;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --success: #10b981;
  --paris-blue: #2563eb;
  --bg: #ffffff;
  --secondary-bg: #f8fafc;
  --text: #334155;
  --muted: #64748b;
  --glass: rgba(255, 255, 255, 0.85);
  --border: rgba(226, 232, 240, 0.8);
  --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

/* Trust Bar */
.trust-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  color: white; padding: 0.75rem 0; text-align: center;
  font-size: 0.9rem; font-weight: 600;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.trust-bar span { color: var(--success); margin: 0 0.5rem; }

/* Navbar */
nav { background: var(--bg); position: relative; }
nav .container { padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.4rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.logo a { color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a.nav-item { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a.nav-item:hover { color: var(--accent); }
.lang-switcher { display: flex; gap: 0.5rem; }
.lang-link {
  padding: 0.4rem 0.8rem; background: #f1f5f9; border-radius: 8px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.lang-link:hover, .lang-link.active { background: var(--accent); color: white; }

/* Buttons */
.btn {
  display: inline-block; padding: 1.25rem 3rem; background: var(--accent); color: white;
  text-decoration: none; font-weight: 700; font-size: 1.1rem; border-radius: 14px;
  transition: all 0.3s ease; box-shadow: 0 12px 24px -8px rgba(249, 115, 22, 0.45);
  position: relative; z-index: 1; cursor: pointer; border: none; font-family: inherit;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -8px rgba(249, 115, 22, 0.55); background: var(--accent-hover); }
.btn-secondary { background: white; color: var(--primary); border: 2px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.btn-secondary:hover { border-color: var(--accent); background: #fef3c7; transform: translateY(-2px); }
.btn-sm { padding: 0.85rem 1.75rem; font-size: 0.95rem; }

/* ==========================================================================
   Pages article (guides, reviews, itinéraires)
   ========================================================================== */

.article-header {
  background: var(--bg); padding: 3rem 0 2.5rem; position: relative; overflow: hidden;
  border-bottom: 1px solid #eef2f7;
}
.article-header::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%); pointer-events: none;
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; position: relative; z-index: 1; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.6; }

.article-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; color: var(--primary);
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1rem; position: relative; z-index: 1;
}
.article-lead { font-size: 1.25rem; color: var(--muted); max-width: 720px; position: relative; z-index: 1; }

.article-meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); position: relative; z-index: 1;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; padding: 3rem 0; font-size: 1.12rem; }
.prose h2 { font-size: 2rem; color: var(--primary); margin: 3rem 0 1.25rem; letter-spacing: -0.02em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.45rem; color: var(--primary); margin: 2.25rem 0 1rem; }
.prose p { margin-bottom: 1.5rem; line-height: 1.85; color: var(--text); }
.prose strong { color: var(--primary); font-weight: 700; }
.prose a { color: var(--paris-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { margin: 1.5rem 0; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.75rem; line-height: 1.75; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 2rem 0; }
.prose figure { margin: 2rem 0; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }

.lead-answer {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 5px solid var(--accent); padding: 1.5rem 1.75rem; margin: 0 0 2rem; border-radius: 12px;
  font-size: 1.12rem;
}
.lead-answer strong { color: var(--accent); }

.highlight-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 5px solid var(--accent); padding: 1.5rem 1.75rem; margin: 2.5rem 0; border-radius: 12px; font-size: 1.05rem;
}
.info-box {
  background: #eff6ff; border-left: 5px solid var(--paris-blue);
  padding: 1.5rem 1.75rem; margin: 2.5rem 0; border-radius: 12px; font-size: 1.05rem;
}

/* Table of contents */
.toc { background: var(--secondary-bg); border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.5rem 1.75rem; margin: 0 0 2.5rem; }
.toc-title { font-weight: 800; color: var(--primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.85rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 0.5rem; }
.toc li::before { content: counter(toc) '. '; color: var(--accent); font-weight: 700; }
.toc a { color: var(--text); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--accent); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 2rem 0; border-radius: 14px; border: 1px solid #e2e8f0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 1rem; background: white; min-width: 560px; }
table.cmp th, table.cmp td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid #f1f5f9; }
table.cmp thead th { background: var(--primary); color: white; font-weight: 700; font-size: 0.95rem; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp .best-col { background: #fff7ed; }
table.cmp td.yes { color: var(--success); font-weight: 700; }
table.cmp td.no { color: #ef4444; font-weight: 700; }
table.cmp caption { caption-side: bottom; font-size: 0.85rem; color: var(--muted); padding: 0.75rem; text-align: left; }

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.5rem 0; }
.proscons .card { border-radius: 16px; padding: 1.75rem; border: 2px solid; }
.proscons .pros { background: #f0fdf4; border-color: #bbf7d0; }
.proscons .cons { background: #fef2f2; border-color: #fecaca; }
.proscons h4 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--primary); }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding: 0.4rem 0; padding-left: 1.75rem; position: relative; line-height: 1.5; }
.proscons .pros li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.proscons .cons li::before { content: '✕'; position: absolute; left: 0; color: #ef4444; font-weight: 800; }

/* Verdict / rating box */
.verdict {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%); color: white;
  border-radius: 20px; padding: 2.25rem; margin: 3rem 0; position: relative; overflow: hidden;
}
.verdict::before { content: ''; position: absolute; top: -40%; right: -20%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%); }
.verdict h3 { color: white; margin: 0 0 0.75rem; font-size: 1.5rem; position: relative; z-index: 1; }
.verdict p { color: rgba(255,255,255,0.9); position: relative; z-index: 1; margin-bottom: 1.25rem; }
.verdict .score { font-size: 3rem; font-weight: 800; color: var(--success); line-height: 1; position: relative; z-index: 1; }
.verdict .score small { font-size: 1.1rem; color: rgba(255,255,255,0.7); font-weight: 600; }
.verdict .btn { position: relative; z-index: 1; }

/* Price CTA card (inline) */
.price-cta {
  border: 3px solid var(--accent); border-radius: 20px; padding: 2rem; margin: 2.5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%); text-align: center;
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.15);
}
.price-cta .price { font-size: 2.75rem; font-weight: 800; color: var(--accent); line-height: 1; }
.price-cta .price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-cta p { color: var(--muted); margin: 0.5rem 0 1.5rem; }

/* Author / methodology box (E-E-A-T) */
.author-box {
  display: flex; gap: 1.25rem; align-items: flex-start; background: var(--secondary-bg);
  border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.5rem 1.75rem; margin: 3rem 0;
}
.author-box .avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--paris-blue) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
}
.author-box .who { font-weight: 800; color: var(--primary); }
.author-box .bio { font-size: 0.95rem; color: var(--muted); margin-top: 0.25rem; line-height: 1.6; }

/* Affiliate disclosure */
.aff-disclosure {
  font-size: 0.85rem; color: var(--muted); background: #f8fafc; border: 1px dashed #cbd5e1;
  border-radius: 10px; padding: 0.85rem 1.15rem; margin: 1.5rem 0;
}

/* Related links grid */
.related { padding: 4rem 0; background: white; }
.related h2 { text-align: center; font-size: 2rem; color: var(--primary); margin-bottom: 2.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.related-card {
  display: block; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border: 2px solid #e2e8f0;
  border-radius: 16px; padding: 1.5rem; text-decoration: none; transition: all 0.25s;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.related-card .kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 800; }
.related-card h3 { font-size: 1.15rem; color: var(--primary); margin: 0.4rem 0 0.5rem; }
.related-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq-section { padding: 5rem 0; background: var(--secondary-bg); }
.faq-section h2 { text-align: center; font-size: 2.25rem; margin-bottom: 3rem; color: var(--primary); }
.faq-wrap { max-width: 800px; margin: 0 auto; }
details {
  background: white; border: 2px solid #e2e8f0; border-radius: 16px; padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem; cursor: pointer; transition: all 0.3s;
}
details:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.12); }
summary { font-weight: 700; font-size: 1.1rem; color: var(--primary); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.75rem; color: var(--accent); font-weight: 800; flex-shrink: 0; }
details[open] summary::after { content: '−'; }
details p { margin-top: 1.25rem; color: var(--muted); line-height: 1.85; }

/* CTA final */
.cta-final { background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%); padding: 5rem 0; position: relative; overflow: hidden; color: #fff; }
.cta-final::before { content: ''; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%); pointer-events: none; }
.cta-final h2 { font-size: 2.5rem; margin-bottom: 1.25rem; position: relative; z-index: 1; text-align: center; }
.cta-final p { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.95; position: relative; z-index: 1; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* Footer */
footer { padding: 3.5rem 0; background: var(--primary); color: #94a3b8; font-size: 0.95rem; }
footer .container { text-align: center; }
footer a { color: var(--accent); text-decoration: none; }
.footer-links { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: #cbd5e1; font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
  padding: 1rem; z-index: 999; display: none; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sticky-cta.visible { display: block; }
.sticky-cta .btn { width: 100%; margin: 0; font-size: 1rem; padding: 1rem 2rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav-links { gap: 0.75rem; }
  .nav-links .nav-item { display: none; }
  #simulator { grid-template-columns: 1fr !important; padding: 2rem 1.25rem !important; gap: 2.5rem !important; margin-top: -4rem !important; }
  .prose { padding: 2rem 0; }
  .prose h2 { font-size: 1.6rem; }
  .proscons { grid-template-columns: 1fr; }
  .cta-final h2 { font-size: 1.9rem; }
  .cta-buttons { flex-direction: column; }
}
@media (max-width: 375px) {
  .container, .container-narrow { padding: 0 1rem; }
  .btn { padding: 1rem 2rem; font-size: 1rem; }
}
