:root {
  --forest: #1F3D2E;
  --forest-dark: #15291E;
  --gold: #C6A15B;
  --gold-dark: #A8853F;
  --ivory: #F7F3EA;
  --card: #FFFDF8;
  --ink: #2B2620;
  --sage: #7C9082;
  --brick: #A14B3D;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); }
a { text-decoration: none; }
.nav { position: sticky; top: 0; background: rgba(247, 243, 234, 0.92); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(31, 61, 46, 0.1); z-index: 10; }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--forest); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 500; }
.nav-login { border: 1.5px solid var(--forest); color: var(--forest) !important; padding: 8px 16px; border-radius: 999px; }
.hero { width: 100%; max-width: none; padding: 80px 0 60px; text-align: center; }
.hero-content { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.eyebrow, .section-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 12px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; color: var(--forest); margin: 0 0 20px; }
.hero h1 span { color: var(--gold-dark); }
.hero-sub { font-size: 17px; color: var(--sage); line-height: 1.6; margin: 0 0 32px; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { color: var(--ivory); }
.hero-content h1 span { color: var(--gold); }
.hero-content .hero-sub { color: rgba(247,243,234,0.85); }
.hero-content .btn-ghost { border-color: var(--ivory); color: var(--ivory) !important; background: rgba(31,61,46,0.25); }
.hero-content .btn-ghost:hover { background: rgba(247,243,234,0.15); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-content { position: relative; z-index: 1; }
.hero-carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-carousel-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroCarouselFade 16s infinite; }
.hero-carousel-slide:nth-child(1) { animation-delay: 0s; }
.hero-carousel-slide:nth-child(2) { animation-delay: 4s; }
.hero-carousel-slide:nth-child(3) { animation-delay: 8s; }
.hero-carousel-slide:nth-child(4) { animation-delay: 12s; }
.hero-carousel-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(31,61,46,0.72), rgba(31,61,46,0.72)); }
@keyframes heroCarouselFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide { animation: none; opacity: 0; }
  .hero-carousel-slide:first-child { opacity: 1; }
}
.btn-primary, .btn-ghost { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.btn-primary { background: var(--forest); color: var(--ivory) !important; transition: background-color .2s; }
.btn-primary:hover { background: var(--forest-dark); }
.btn-ghost { background: none; border: 1.5px solid var(--forest); color: var(--forest) !important; }
section { max-width: 1080px; margin: 0 auto; padding: 60px 24px; }
section > h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); color: var(--forest); margin: 0 0 40px; max-width: 640px; }
.section-eyebrow { text-align: left; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid rgba(31, 61, 46, 0.1); border-radius: 20px; padding: 24px 20px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--forest); font-weight: 700; font-family: var(--font-mono); margin-bottom: 14px; }
.step-card h3 { font-family: var(--font-display); font-size: 17px; color: var(--forest); margin: 0 0 8px; }
.step-card p { font-size: 14px; color: var(--sage); line-height: 1.5; margin: 0; }
.step-card { cursor: pointer; outline: none; position: relative; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; transition: border-color .2s, box-shadow .2s; z-index: 1; }
.step-card:hover, .step-card--open { border-color: var(--gold-dark); box-shadow: 0 12px 28px rgba(31,61,46,0.14); z-index: 5; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.step-icon { width: 48px; height: 48px; margin-bottom: 14px; }
.step-desc { position: absolute; top: 100%; left: -1px; right: -1px; background: var(--card); border: 1px solid var(--gold-dark); border-top: none; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .2s ease; pointer-events: none; }
.step-desc p { margin: 0; padding: 0 20px 18px; }
.step-card:hover .step-desc, .step-card--open .step-desc { max-height: 220px; opacity: 1; pointer-events: auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-table-wrap { margin-top: 48px; overflow-x: auto; border-radius: 20px; border: 1px solid rgba(31,61,46,0.1); }
.pricing-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); min-width: 560px; }
.pricing-table thead th { background: var(--forest); color: var(--ivory); font-family: var(--font-display); font-size: 16px; font-weight: 600; padding: 18px 16px; text-align: center; }
.pricing-table thead th.pricing-table-feature { background: var(--forest-dark); }
.pricing-table thead th.pricing-table-featured { background: var(--gold-dark); }
.pricing-table tbody td { padding: 14px 16px; text-align: center; font-size: 14px; color: var(--ink); border-bottom: 1px solid rgba(31,61,46,0.08); }
.pricing-table tbody td.pricing-table-feature { text-align: left; color: var(--forest); font-weight: 600; }
.pricing-table tbody tr:nth-child(even) { background: rgba(31,61,46,0.035); }
.pricing-table tbody tr:nth-child(even) td:nth-child(3) { background: rgba(198,161,91,0.12); }
.pricing-table tbody tr:nth-child(odd) td:nth-child(3) { background: rgba(198,161,91,0.06); }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.feature { background: var(--card); border: 1px solid rgba(31,61,46,0.1); border-radius: 20px; padding: 24px 20px; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: var(--gold-dark); box-shadow: 0 8px 24px rgba(31,61,46,0.1); }
.feature-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.feature h3 { font-family: var(--font-display); font-size: 17px; color: var(--forest); margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--sage); line-height: 1.5; margin: 0; }
.pricing-note { color: var(--sage); font-size: 15px; margin: -20px 0 36px; max-width: 620px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card { background: var(--card); border: 1px solid rgba(31, 61, 46, 0.1); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.pricing-card.featured { border-color: var(--gold); border-width: 2px; }
.pricing-badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: var(--forest); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pricing-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--forest); margin: 8px 0 0; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--forest); margin: 0; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.pricing-card li { font-size: 14px; color: var(--ink); padding-left: 18px; position: relative; }
.pricing-card li::before { content: "—"; position: absolute; left: 0; color: var(--gold-dark); }
.pricing-card a { margin-top: auto; text-align: center; }
.contact { text-align: center; max-width: 640px; }
.contact h2 { margin: 0 auto 16px; }
.contact p { color: var(--sage); font-size: 15px; margin: 0 0 24px; }
.site-footer { border-top: 1px solid rgba(31, 61, 46, 0.1); padding: 28px 24px 60px; max-width: 1080px; margin: 0 auto; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; color: var(--sage); font-size: 13px; }
.site-footer a { color: var(--sage); }
.pricing-table-tabs { display: none; }
@media (max-width: 800px) {
  .nav-links { gap: 16px; }
  .steps-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-table-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
  .pricing-table-tab { flex: 1; padding: 10px 0; border-radius: 999px; border: 1px solid rgba(31,61,46,0.15); background: var(--card); color: var(--forest); font-family: var(--font-body); font-weight: 600; font-size: 13px; cursor: pointer; }
  .pricing-table-tab--active { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
  .pricing-table-wrap { overflow-x: visible; border: none; }
  .pricing-table { min-width: 0; }
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody { display: block; width: 100%; }
  .pricing-table tr { display: flex; align-items: stretch; width: 100%; margin-bottom: 8px; border: 1px solid rgba(31,61,46,0.12); border-radius: 12px; overflow: hidden; }
  .pricing-table td { display: flex; align-items: center; padding: 12px 14px; font-size: 14px; }
  .pricing-table td.pricing-table-feature { flex: 1; background: var(--card); color: var(--forest); font-weight: 600; text-align: left; }
  .pricing-table td[data-plan] { flex: 0 0 96px; width: 96px; box-sizing: border-box; justify-content: center; text-align: center; font-weight: 700; font-size: 13px; color: var(--forest); background: rgba(198,161,91,0.14); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pricing-table-wrap[data-active-plan="Essentiel"] td[data-plan]:not([data-plan="Essentiel"]) { display: none; }
  .pricing-table-wrap[data-active-plan="Premium"] td[data-plan]:not([data-plan="Premium"]) { display: none; }
  .pricing-table-wrap[data-active-plan="Prestige"] td[data-plan]:not([data-plan="Prestige"]) { display: none; }
}
