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

:root {
  --cream: #f4efe6; --cream-light: #faf6ee; --bone: #ebe4d4;
  --green-deep: #1a2e25; --green: #243d31; --green-mid: #3a5a48;
  --brass: #b8956a; --brass-light: #d4b896;
  --text: #1a2e25; --text-muted: #4a5d52; --text-light: #87968b; --success: #5a8a6f;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-light); font-weight: 500; }
.divider { display: inline-block; width: 36px; height: 1px; background: var(--brass); vertical-align: middle; }
.italic { font-style: italic; color: var(--brass); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 56px; display: flex; justify-content: space-between; align-items: center; background: rgba(247, 248, 245, 0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 0.5px solid rgba(36, 61, 49, 0.1); }
.nav-logo-mark { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; color: var(--green-deep); text-decoration: none; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--green); text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--brass); transition: width 0.4s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-deep); }
.nav-cta { background: var(--green-deep); color: var(--cream); padding: 11px 22px; border-radius: 999px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; font-weight: 500; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
.nav-cta:hover { background: var(--brass); color: var(--green-deep); }
.nav-cta-pulse { width: 6px; height: 6px; background: var(--brass-light); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 184, 150, 0.7); } 50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(212, 184, 150, 0); } }
.nav-toggle { display: none; position: fixed; top: 14px; right: 18px; z-index: 103; background: transparent; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--green-deep); margin: 5px 0; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 101; padding: 100px 32px 40px; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--green-deep); text-decoration: none; padding: 16px 0; border-bottom: 0.5px solid rgba(36, 61, 49, 0.15); }
.mobile-menu .mobile-cta { margin-top: 28px; background: var(--green-deep); color: var(--cream); padding: 18px; text-align: center; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: none; }

/* BUTTONS */
.btn-primary { background: var(--green-deep); color: var(--cream); padding: 17px 36px; border-radius: 999px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border: none; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; transition: all 0.3s ease; width: 100%; justify-content: center; }
.btn-primary:hover { background: var(--brass); color: var(--green-deep); transform: translateY(-2px); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* BREADCRUMB */
.breadcrumb { padding: 100px 56px 0; max-width: 1180px; margin: 0 auto; font-size: 11.5px; letter-spacing: 0.08em; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb .separator { margin: 0 10px; color: rgba(135, 150, 139, 0.4); }
.breadcrumb .current { color: var(--green-deep); }

/* ARTICLE HEADER */
.article-header { max-width: 820px; margin: 0 auto; padding: 48px 56px 56px; text-align: center; }
.article-cat { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.article-header h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4.6vw, 60px); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; color: var(--green-deep); margin-bottom: 24px; }
.article-header h1 .italic { color: var(--brass); }
.article-intro { font-size: 17px; line-height: 1.65; color: var(--text-muted); max-width: 640px; margin: 0 auto 32px; }
.article-byline { display: inline-flex; align-items: center; gap: 14px; padding-top: 28px; border-top: 0.5px solid rgba(36, 61, 49, 0.15); font-size: 12.5px; color: var(--text-light); flex-wrap: wrap; justify-content: center; }
.article-byline strong { color: var(--green-deep); font-weight: 500; }
.article-byline .dot { width: 3px; height: 3px; background: var(--brass); border-radius: 50%; }

/* HERO IMAGE */
.article-hero-img { max-width: 1180px; margin: 0 auto 12px; padding: 0 56px; }
.article-hero-img .frame { aspect-ratio: 21/9; overflow: hidden; border-radius: 4px; background: var(--green); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ARTICLE LAYOUT */
.article-layout { max-width: 1180px; margin: 0 auto; padding: 64px 56px 40px; display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }

/* TOC */
.toc { position: sticky; top: 110px; }
.toc-label { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); font-weight: 600; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 0.5px solid rgba(36, 61, 49, 0.15); }
.toc ul { list-style: none; }
.toc li { margin-bottom: 2px; }
.toc a { display: block; font-size: 13px; line-height: 1.4; color: var(--text-muted); text-decoration: none; padding: 8px 0 8px 14px; border-left: 1.5px solid transparent; transition: all 0.3s ease; }
.toc a:hover { color: var(--green-deep); border-left-color: var(--brass-light); }
.toc a.active { color: var(--green-deep); border-left-color: var(--brass); font-weight: 500; }

/* ARTICLE BODY */
.article-body { max-width: 680px; min-width: 0; }
.article-body h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3vw, 36px); font-weight: 400; line-height: 1.15; color: var(--green-deep); margin: 52px 0 18px; scroll-margin-top: 100px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--green-deep); margin: 32px 0 12px; }
.article-body p { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin-bottom: 20px; }
.article-body p strong { color: var(--green-deep); font-weight: 600; }
.article-body a.inline { color: var(--green-deep); text-decoration: none; border-bottom: 1px solid var(--brass); transition: color 0.3s; }
.article-body a.inline:hover { color: var(--brass); }
.article-body ul.styled { list-style: none; margin: 0 0 24px; }
.article-body ul.styled li { font-size: 15.5px; line-height: 1.65; color: var(--text-muted); padding: 7px 0 7px 26px; position: relative; }
.article-body ul.styled li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 6px; height: 6px; border: 1px solid var(--brass); border-radius: 50%; }
.article-body ul.styled li strong { color: var(--green-deep); font-weight: 600; }
.lead-para { font-family: 'Cormorant Garamond', serif !important; font-size: 20px !important; line-height: 1.5 !important; color: var(--green-deep) !important; font-style: italic; }

/* PULLQUOTE */
.pullquote { border-left: 2px solid var(--brass); padding: 8px 0 8px 24px; margin: 32px 0; }
.pullquote p { font-family: 'Cormorant Garamond', serif; font-size: 21px; line-height: 1.4; color: var(--green-deep); font-style: italic; margin-bottom: 8px; }
.pullquote cite { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); font-style: normal; }

/* COMPARISON TABLE */
.comparison { margin: 32px 0; border: 0.5px solid rgba(36, 61, 49, 0.15); border-radius: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--cream-light); }
.comparison table { width: 100%; border-collapse: collapse; min-width: 460px; }
.comparison th, .comparison td { padding: 14px 16px; text-align: left; font-size: 13.5px; border-bottom: 0.5px solid rgba(36, 61, 49, 0.1); vertical-align: top; }
.comparison thead th { background: var(--green-deep); color: var(--cream); font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 500; }
.comparison thead th:first-child { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; }
.comparison tbody th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); font-weight: 600; width: 140px; background: var(--bone); }
.comparison tbody td { color: var(--text-muted); line-height: 1.5; }
.comparison tbody tr:last-child th, .comparison tbody tr:last-child td { border-bottom: none; }
.comparison .highlight-col { background: rgba(184, 149, 106, 0.07); }

/* INLINE CTA */
.inline-cta { background: var(--green-deep); border-radius: 4px; padding: 36px 36px 32px; margin: 48px 0; border: 0.5px solid rgba(184, 149, 106, 0.3); position: relative; overflow: hidden; }
.inline-cta::before { content: ''; position: absolute; top: -60%; right: -10%; width: 50%; height: 220%; background: radial-gradient(ellipse at center, rgba(184, 149, 106, 0.12) 0%, transparent 65%); pointer-events: none; }
.inline-cta-eyebrow { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; margin-bottom: 10px; position: relative; }
.inline-cta h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--cream); line-height: 1.2; margin-bottom: 10px; position: relative; }
.inline-cta h3 .italic { color: var(--brass-light); }
.inline-cta p { font-size: 14px; line-height: 1.6; color: rgba(244, 239, 230, 0.72); margin-bottom: 22px; position: relative; }
.inline-cta .btn-primary { background: var(--brass); color: var(--green-deep); position: relative; }
.inline-cta .btn-primary:hover { background: var(--cream); }
.inline-cta-meta { font-size: 11px; color: rgba(244, 239, 230, 0.5); margin-top: 12px; letter-spacing: 0.08em; position: relative; text-align: center; }

/* VERDICT */
.verdict { background: var(--cream-light); border: 0.5px solid rgba(184, 149, 106, 0.4); border-radius: 4px; padding: 26px 28px; margin: 32px 0; }
.verdict-label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 10px; }
.verdict p { font-size: 15.5px; line-height: 1.65; color: var(--text-muted); margin-bottom: 0; }
.verdict p strong { color: var(--green-deep); }

/* ============ FAQ ============
 * Animation via grid-template-rows (0fr -> 1fr).
 * Contrairement à max-height, la hauteur s'adapte EXACTEMENT au texte,
 * donc aucune réponse ne peut déborder ou se superposer, même sur iOS Safari,
 * quelle que soit la longueur du texte ou la vitesse de tap. */
.faq { padding: 80px 56px; background: var(--bone); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { border-top: 0.5px solid rgba(36, 61, 49, 0.18); }
.faq-item { border-bottom: 0.5px solid rgba(36, 61, 49, 0.18); }
.faq-question { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--green-deep); transition: color 0.3s; line-height: 1.35; }
.faq-question:hover { color: var(--brass); }
.faq-question-text { flex: 1 1 auto; min-width: 0; }
.faq-toggle { width: 28px; height: 28px; min-width: 28px; flex-shrink: 0; border: 1px solid var(--text-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); transition: all 0.4s ease; margin-top: 3px; }
.faq-item.open .faq-toggle { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; min-height: 0; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.faq-item.open .faq-answer-inner { padding: 0 44px 22px 0; }

/* FINAL CTA */
.final-cta { background: var(--green-deep); color: var(--cream); padding: 100px 56px; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: -50%; left: -10%; width: 60%; height: 200%; background: radial-gradient(ellipse at center, rgba(184, 149, 106, 0.1) 0%, transparent 60%); pointer-events: none; }
.final-cta-wrap { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta-header { text-align: center; margin-bottom: 48px; }
.final-cta-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 64px); font-weight: 400; line-height: 1.04; color: var(--cream); margin-bottom: 20px; }
.final-cta-header h2 .italic { color: var(--brass-light); }
.final-cta-header p { font-size: 16px; color: rgba(244, 239, 230, 0.75); max-width: 540px; margin: 0 auto; line-height: 1.65; }
.final-cta-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-path { background: rgba(247, 248, 245, 0.04); border: 0.5px solid rgba(184, 149, 106, 0.25); padding: 36px 32px; border-radius: 4px; transition: all 0.4s ease; }
.cta-path:hover { border-color: var(--brass); background: rgba(247, 248, 245, 0.06); transform: translateY(-4px); }
.cta-path-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 12px; font-weight: 500; }
.cta-path-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--cream); margin-bottom: 12px; line-height: 1.15; }
.cta-path-desc { font-size: 14px; line-height: 1.6; color: rgba(244, 239, 230, 0.7); margin-bottom: 22px; }
.cta-path-button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; font-weight: 500; transition: all 0.3s; width: 100%; justify-content: center; }
.cta-path-button.primary { background: var(--brass); color: var(--green-deep); }
.cta-path-button.primary:hover { background: var(--cream); }
.cta-path-button.secondary { background: transparent; color: var(--cream); border: 1px solid rgba(244, 239, 230, 0.4); }
.cta-path-button.secondary:hover { border-color: var(--cream); }
.cta-path-meta { font-size: 11px; color: rgba(244, 239, 230, 0.5); margin-top: 12px; letter-spacing: 0.08em; text-align: center; }

/* FOOTER */
footer { background: #11201a; color: var(--brass-light); padding: 80px 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; max-width: 1280px; margin: 0 auto 48px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--cream); margin-bottom: 16px; }
.footer-brand-sub { font-size: 14px; line-height: 1.7; max-width: 280px; color: rgba(244, 239, 230, 0.6); }
.footer-heading { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.footer-text { font-size: 13.5px; line-height: 1.8; color: rgba(244, 239, 230, 0.65); }
.footer-text a { color: rgba(244, 239, 230, 0.65); text-decoration: none; transition: color 0.3s; }
.footer-text a:hover { color: var(--brass); }
.footer-bottom { border-top: 0.5px solid rgba(184, 149, 106, 0.18); padding-top: 24px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.1em; max-width: 1280px; margin: 0 auto; color: rgba(244, 239, 230, 0.5); }

/* STICKY CTA */
.sticky-cta { display: none; position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 90; background: var(--green-deep); color: var(--cream); padding: 16px 20px; border-radius: 999px; border: 0.5px solid var(--brass); text-decoration: none; box-shadow: 0 8px 32px rgba(26, 46, 37, 0.3); text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; transform: translateY(120%); transition: transform 0.4s ease; }
.sticky-cta.visible { transform: translateY(0); }

/* TABLET */
@media (max-width: 1024px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .mobile-menu { display: flex; }
  .breadcrumb { padding: 90px 24px 0; }
  .article-header { padding: 36px 24px 44px; }
  .article-hero-img { padding: 0 24px; }
  .article-hero-img .frame { aspect-ratio: 16/9; }
  .article-layout { grid-template-columns: 1fr; gap: 0; padding: 44px 24px 28px; }
  .toc { display: none; }
  .article-body { max-width: 100%; }
  .faq { padding: 72px 24px; }
  .final-cta { padding: 80px 24px; }
  .final-cta-paths { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* MOBILE */
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-logo-mark { font-size: 19px; }

  .breadcrumb { padding: 80px 20px 0; font-size: 11px; }

  .article-header { padding: 28px 20px 36px; }
  .article-header h1 { font-size: 28px; line-height: 1.12; }
  .article-intro { font-size: 15px; }
  .article-byline { font-size: 12px; gap: 8px; }
  .article-byline .dot { display: none; }

  .article-hero-img { padding: 0; }
  .article-hero-img .frame { aspect-ratio: 4/3; border-radius: 0; }

  .article-layout { padding: 32px 20px 20px; }
  .article-body h2 { font-size: 22px; margin-top: 40px; }
  .article-body h3 { font-size: 18px; }
  .article-body p { font-size: 15.5px; line-height: 1.7; }
  .lead-para { font-size: 17px !important; }
  .article-body ul.styled li { font-size: 15px; }

  .pullquote { padding: 6px 0 6px 18px; margin: 24px 0; }
  .pullquote p { font-size: 18px; }

  .comparison { margin: 28px -20px; border-radius: 0; border-left: none; border-right: none; }
  .comparison th, .comparison td { padding: 12px 14px; font-size: 13px; }
  .comparison thead th { font-size: 15px; }

  .inline-cta { padding: 26px 20px 24px; margin: 36px 0; }
  .inline-cta h3 { font-size: 21px; }
  .inline-cta p { font-size: 14px; }
  .inline-cta .btn-primary { padding: 15px 20px; font-size: 11px; }

  .verdict { padding: 20px 18px; }
  .verdict p { font-size: 15px; }

  /* FAQ mobile */
  .faq { padding: 52px 20px; }
  .faq-question { font-size: 15px; padding: 16px 0; gap: 14px; line-height: 1.4; }
  .faq-toggle { width: 26px; height: 26px; min-width: 26px; font-size: 13px; margin-top: 2px; }
  .faq-answer-inner { font-size: 14px; line-height: 1.65; }
  .faq-item.open .faq-answer-inner { padding: 0 0 18px 0; }

  .final-cta { padding: 52px 20px; }
  .final-cta-header { margin-bottom: 32px; }
  .final-cta-header h2 { font-size: 30px; }
  .final-cta-header p { font-size: 15px; }
  .cta-path { padding: 24px 20px; }
  .cta-path-title { font-size: 21px; }
  .cta-path-desc { font-size: 13.5px; }
  .cta-path-button { padding: 14px 18px; font-size: 11px; }

  footer { padding: 52px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-brand { font-size: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 10px; }

  .sticky-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* No-JS fallback */
.no-js .faq-answer { grid-template-rows: 1fr; }
.no-js .faq-answer-inner { padding: 0 0 22px 0; }
.no-js .faq-toggle { display: none; }
