/* prix.css — page tarifs */

<style>
    @import url('https://fonts.googleapis.com/css2?family=Bitter:wght@700;800;900&family=Nunito:wght@400;500;600;700;800&display=swap');

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

    :root {
      --cream:        #FDF8F3;
      --green-dark:   #0D3B11;
      --green-mint:   #73C698;
      --salmon:       #EA966C;
      --salmon-dark:  #d6824f;
      --green-light:  #EAF7EF;
      --green-mid:    #B8E5CC;
      --cream-dark:   #F0E8DE;
      --text:         #1a2e1a;
      --text-muted:   #5a7060;
      --radius:       16px;
      --shadow:       0 4px 24px rgba(13,59,17,.08);
      --shadow-lg:    0 12px 48px rgba(13,59,17,.14);
    }

    body {
      font-family: 'Nunito', sans-serif;
      color: var(--text);
      background: var(--cream);
      line-height: 1.65;
    }
    h1, h2 { font-family: 'Bitter', serif; font-weight: 800; }
    h3 { font-family: 'Nunito', sans-serif; font-weight: 800; }
    a { color: inherit; text-decoration: none; }

    .container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

    .btn {
      display: inline-flex; align-items: center; gap: 9px;
      padding: 14px 28px; border-radius: 12px;
      font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 700;
      cursor: pointer; border: none;
      transition: transform .15s, box-shadow .15s, background .15s;
      line-height: 1; width: 100%; justify-content: center;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
    .btn-salmon { background: var(--salmon); color: #fff; }
    .btn-salmon:hover { background: var(--salmon-dark); }
    .btn-green { background: var(--green-mint); color: var(--green-dark); }
    .btn-green:hover { background: #5db882; }
    .btn-outline {
      background: transparent; color: var(--green-dark);
      border: 2px solid var(--green-dark);
    }
    .btn-outline:hover { background: var(--green-light); box-shadow: none; }

    /* ── Nav ── */
    nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(253,248,243,.92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--cream-dark);
    }
    .nav-inner {
      display: flex; align-items: center;
      justify-content: space-between; height: 68px;
    }
    .nav-logo { display: flex; align-items: center; }
    .nav-logo svg { height: 36px; width: auto; }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a {
      font-size: .9rem; font-weight: 600;
      color: var(--text-muted); transition: color .15s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--green-dark); }

    /* ── Hero ── */
    .page-hero {
      padding: 80px 0 64px;
      text-align: center;
    }
    .page-hero h1 {
      font-size: clamp(2rem, 4.5vw, 3rem);
      color: var(--green-dark);
      line-height: 1.1;
    }
    .page-hero p {
      margin-top: 16px;
      font-size: 1.1rem;
      color: var(--text-muted);
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
    }
    .toggle-wrap {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-top: 32px;
      background: var(--cream-dark);
      padding: 5px;
      border-radius: 99px;
      font-size: .9rem;
      font-weight: 700;
      color: var(--text-muted);
    }
    .toggle-pill {
      padding: 6px 20px;
      border-radius: 99px;
      cursor: pointer;
      transition: background .2s, color .2s;
    }
    .toggle-pill.active {
      background: var(--green-dark);
      color: #fff;
    }
    .badge-save {
      background: var(--green-mint);
      color: var(--green-dark);
      font-size: .72rem;
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 99px;
      letter-spacing: .05em;
    }

    /* ── Plans grid ── */
    .plans-section { padding: 0 0 100px; }
    .plans-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }

    /* ── Plan card selected state ── */
    

    /* ── Add-ons column ── */
    .addon-cta-wrap .btn {
      font-size: .88rem;
      padding: 12px 18px;
    }
    .checkout-summary {
      font-size: .78rem;
      color: var(--text-muted);
      text-align: center;
      margin-top: 10px;
      line-height: 1.5;
    }
    .addon-nudge {
      display: none;
      background: #FEF2EC;
      border: 1.5px solid var(--salmon);
      border-radius: 10px;
      padding: 10px 12px;
      font-size: .79rem;
      color: var(--salmon-dark);
      font-weight: 600;
      margin-top: 10px;
      line-height: 1.5;
      cursor: pointer;
      transition: background .15s;
    }
    .addon-nudge:hover { background: #fde8d8; }
    .plan-card {
      background: #fff;
      border-radius: 24px;
      padding: 36px 32px;
      box-shadow: var(--shadow);
      border: 2px solid transparent;
      transition: transform .2s, box-shadow .2s;
      position: relative;
    }
    .plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .plan-card.featured {
      border-color: var(--green-mint);
      background: var(--green-dark);
      color: #fff;
      transform: translateY(-8px);
      box-shadow: 0 20px 60px rgba(13,59,17,.25);
    }
    .plan-card.featured:hover { transform: translateY(-12px); }

    .plan-badge {
      position: absolute;
      top: -14px; left: 50%; transform: translateX(-50%);
      background: var(--salmon);
      color: #fff;
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 99px;
      white-space: nowrap;
    }

    .plan-icon {
      width: 48px; height: 48px;
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .plan-icon.free { background: var(--green-light); color: var(--green-dark); }
    .plan-icon.premium { background: rgba(115,198,152,.15); color: var(--green-mint); }
    .plan-icon.plus { background: rgba(234,150,108,.15); color: var(--salmon); }

    .plan-name {
      font-family: 'Bitter', serif;
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--green-dark);
      margin-bottom: 6px;
    }
    .plan-card.featured .plan-name { color: #fff; }

    .plan-tagline {
      font-size: .9rem;
      color: var(--text-muted);
      margin-bottom: 24px;
      min-height: 2.8em;
    }
    .plan-card.featured .plan-tagline { color: rgba(255,255,255,.65); }

    .plan-price {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-bottom: 28px;
    }
    .price-amount {
      font-family: 'Bitter', serif;
      font-size: 2.8rem;
      font-weight: 900;
      color: var(--green-dark);
      line-height: 1;
    }
    .plan-card.featured .price-amount { color: #fff; }
    .price-period {
      font-size: .88rem;
      color: var(--text-muted);
      font-weight: 600;
    }
    .plan-card.featured .price-period { color: rgba(255,255,255,.55); }
    .price-annual {
      font-size: .78rem;
      color: var(--green-mint);
      font-weight: 700;
      margin-bottom: 28px;
      min-height: 1.2em;
    }

    .plan-divider {
      height: 1px;
      background: var(--cream-dark);
      margin: 24px 0;
    }
    .plan-card.featured .plan-divider { background: rgba(255,255,255,.12); }

    .plan-features { list-style: none; margin-bottom: 32px; }
    .plan-features li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: .92rem;
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .plan-features li .fi {
      flex-shrink: 0;
      width: 18px; height: 18px;
      margin-top: 1px;
    }
    .fi-check { color: var(--green-mint); }
    .fi-x { color: #ccc; }
    .plan-card.featured .fi-x { color: rgba(255,255,255,.25); }
    .plan-card.featured .plan-features li { color: rgba(255,255,255,.85); }

    .feature-muted { color: var(--text-muted); }
    .plan-card.featured .feature-muted { color: rgba(255,255,255,.55); }

    /* ── Token explainer ── */
    .token-section {
      background: var(--green-light);
      border-radius: 24px;
      padding: 52px 48px;
      margin: 0 0 100px;
    }
    .token-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .token-title {
      font-family: 'Bitter', serif;
      font-size: 1.7rem;
      font-weight: 800;
      color: var(--green-dark);
      margin-bottom: 14px;
    }
    .token-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; }
    .token-items { display: flex; flex-direction: column; gap: 14px; }
    .token-item {
      display: flex; gap: 14px; align-items: flex-start;
    }
    .token-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--green-mint);
      flex-shrink: 0;
      margin-top: 6px;
    }
    .token-item strong { display: block; font-weight: 700; font-size: .95rem; color: var(--green-dark); }
    .token-item span { font-size: .88rem; color: var(--text-muted); }

    .token-limits {
      background: #fff;
      border-radius: 18px;
      padding: 28px 32px;
      box-shadow: var(--shadow);
    }
    .token-limits h4 {
      font-family: 'Bitter', serif;
      font-size: 1rem;
      font-weight: 800;
      color: var(--green-dark);
      margin-bottom: 20px;
    }
    .limit-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid var(--cream-dark);
      font-size: .9rem;
    }
    .limit-row:last-child { border-bottom: none; }
    .limit-label { color: var(--text-muted); font-weight: 600; }
    .limit-val {
      font-weight: 800;
      color: var(--green-dark);
      background: var(--green-light);
      padding: 3px 12px;
      border-radius: 99px;
      font-size: .82rem;
    }
    .limit-val.salmon { background: #FEF2EC; color: var(--salmon-dark); }
    .limit-val.grey { background: var(--cream-dark); color: var(--text-muted); }

    /* ── FAQ ── */
    .faq-section { padding: 0 0 100px; }
    .section-header { text-align: center; margin-bottom: 52px; }
    .section-title {
      font-family: 'Bitter', serif;
      font-size: clamp(1.9rem, 4vw, 2.5rem);
      font-weight: 800;
      color: var(--green-dark);
    }
    .section-sub { margin-top: 12px; font-size: 1.05rem; color: var(--text-muted); }

    .faq-list { max-width: 720px; margin: 0 auto; }
    .faq-item {
      border-bottom: 1px solid var(--cream-dark);
      padding: 20px 0;
    }
    .faq-q {
      font-weight: 700;
      font-size: 1rem;
      color: var(--green-dark);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      user-select: none;
    }
    .faq-a {
      margin-top: 12px;
      font-size: .95rem;
      color: var(--text-muted);
      line-height: 1.7;
      display: none;
    }
    .faq-item.open .faq-a { display: block; }
    .faq-arrow {
      flex-shrink: 0;
      width: 20px; height: 20px;
      transition: transform .2s;
      color: var(--green-mint);
    }
    .faq-item.open .faq-arrow { transform: rotate(180deg); }

    /* ── CTA bottom ── */
    .cta-section {
      background: var(--green-dark);
      border-radius: 24px;
      padding: 64px 48px;
      text-align: center;
      margin-bottom: 80px;
    }
    .cta-section h2 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      color: #fff;
      margin-bottom: 14px;
    }
    .cta-section p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 32px; }
    .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-ghost {
      background: rgba(255,255,255,.12);
      color: #fff;
      border: 1.5px solid rgba(255,255,255,.25);
      width: auto;
    }
    .btn-ghost:hover { background: rgba(255,255,255,.22); box-shadow: none; }

    /* ── Footer ── */
    footer {
      border-top: 1px solid var(--cream-dark);
      padding: 40px 0;
    }
    .footer-inner {
      display: flex; align-items: center;
      justify-content: space-between; flex-wrap: wrap; gap: 20px;
    }
    .footer-logo { height: 32px; width: auto; opacity: .7; }
    .footer-links { display: flex; gap: 28px; }
    .footer-links a {
      font-size: .85rem; font-weight: 600;
      color: var(--text-muted); transition: color .15s;
    }
    .footer-links a:hover { color: var(--green-dark); }
    .footer-copy { font-size: .82rem; color: var(--text-muted); }

    /* ── Reveal ── */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s, transform .55s; }
    .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 900px) {
      .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
      .plan-card.featured { transform: none; }
      .token-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .nav-links { display: none; }
      .cta-section { padding: 48px 28px; }
      .token-section { padding: 36px 24px; }
    }

    /* ── Configurateur inline ── */
    .card-config {
      background: rgba(115,198,152,.09);
      border-radius: 14px;
      padding: 14px 16px;
      margin-bottom: 16px;
      border: 1.5px solid var(--green-mid);
    }
    .plan-card.featured .card-config {
      background: rgba(255,255,255,.07);
      border-color: rgba(255,255,255,.18);
    }
    .config-title {
      font-size: .7rem; font-weight: 800; letter-spacing: .07em;
      text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
    }
    .plan-card.featured .config-title { color: rgba(255,255,255,.45); }
    .config-row {
      display: flex; align-items: center; justify-content: space-between;
      gap: 8px; padding: 7px 0;
      border-bottom: 1px solid rgba(0,0,0,.05);
    }
    .plan-card.featured .config-row { border-color: rgba(255,255,255,.08); }
    .config-row:last-of-type { border-bottom: none; }
    .config-row-left { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
    .config-emoji { font-size: 1rem; flex-shrink: 0; }
    .config-label { font-size: .8rem; font-weight: 700; color: var(--text); line-height: 1.2; }
    .plan-card.featured .config-label { color: rgba(255,255,255,.9); }
    .config-sub { font-size: .7rem; color: var(--text-muted); margin-top: 1px; }
    .plan-card.featured .config-sub { color: rgba(255,255,255,.42); }
    .config-row-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
    .config-addon-price { font-size: .78rem; font-weight: 700; color: var(--green-dark); min-width: 54px; text-align: right; }
    .plan-card.featured .config-addon-price { color: var(--green-mint); }
    .qty-inline { display: flex; align-items: center; background: rgba(0,0,0,.07); border-radius: 8px; overflow: hidden; }
    .plan-card.featured .qty-inline { background: rgba(255,255,255,.14); }
    .qty-inline-btn {
      width: 26px; height: 26px; border: none; background: transparent;
      font-size: 1rem; font-weight: 700; color: var(--green-dark);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background .12s; line-height: 1;
    }
    .plan-card.featured .qty-inline-btn { color: #fff; }
    .qty-inline-btn:hover:not(:disabled) { background: rgba(0,0,0,.1); }
    .qty-inline-btn:disabled { opacity: .28; cursor: not-allowed; }
    .qty-inline-val {
      font-family: 'Bitter', serif; font-weight: 800; font-size: .88rem;
      color: var(--green-dark); min-width: 22px; text-align: center;
    }
    .plan-card.featured .qty-inline-val { color: #fff; }
    .config-nudge {
      font-size: .76rem; color: var(--salmon-dark);
      background: rgba(234,150,108,.13);
      border-radius: 8px; padding: 7px 10px; margin: 4px 0;
      line-height: 1.45; display: none;
    }
    .config-total-row {
      display: none; align-items: center; justify-content: space-between;
      padding-top: 9px; margin-top: 4px;
      border-top: 1.5px solid var(--green-mid);
      font-size: .83rem; color: var(--text-muted);
    }
    .plan-card.featured .config-total-row { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.55); }
    .config-total-row strong { font-family: 'Bitter', serif; font-size: 1rem; color: var(--green-dark); }
    .plan-card.featured .config-total-row strong { color: #fff; }
    .config-tokens-note { font-size: .68rem; color: var(--text-muted); font-style: italic; text-align: right; margin-top: -4px; padding-right: 2px; }
    .plan-card.featured .config-tokens-note { color: rgba(255,255,255,.38); }
  </style>
