/* LE WARDA MAG — page de vérification du coupon et espace partenaire */
:root { --pt-ink: #111614; --pt-muted: #5f6663; --pt-line: #e3e5e4; --pt-green: #2f6b3a; --pt-green-soft: #dcefe0; --pt-dark: #24302b; --pt-red: #b3261e; --pt-red-soft: #fbe4e2; --pt-soft: #f2f3f2; }
* { box-sizing: border-box; }
body.cv-page, body.pt { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--pt-ink); background: #fafafa; font-size: 16px; line-height: 1.45; }
a { color: var(--pt-green); }

/* Coupon */
.cv { max-width: 520px; margin: 0 auto; padding: 14px 16px 26px; background: #fcfcfc; min-height: 100vh; }
.cv-head { background: linear-gradient(180deg, #4a5550 0, var(--pt-dark) 26%); color: #fff; border-radius: 16px; padding: 18px 20px 20px; text-align: center; }
.cv-head h1 { font-size: 30px; line-height: 1.15; margin: 12px 0 8px; font-weight: 700; letter-spacing: .01em; }
.cv-head p { margin: 0; font-size: 18px; }
.cv-brand { font-size: 26px; font-weight: 700; }
.cv-brand-lg { font-size: 30px; }
.cv-sub { font-size: 20px; margin-top: 6px; }
.cv-tag { display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(76, 175, 80, .16); color: #63c267; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.cv-center { text-align: center; padding: 18px 8px; border-bottom: 1px solid var(--pt-line); }
.cv-pill { display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.cv-pill-ok { background: var(--pt-green-soft); color: var(--pt-green); }
.cv-pill-used { background: #e7e8e7; color: #454b48; }
.cv-pill-ko { background: var(--pt-red-soft); color: var(--pt-red); }
.cv-big { font-size: 36px; font-weight: 700; margin-top: 8px; line-height: 1.2; }
.cv-green, .cv-ok { color: var(--pt-green); }
.cv-used { color: #454b48; }
.cv-ko { color: var(--pt-red); }
.cv-title { font-size: 21px; font-weight: 700; margin-top: 4px; }
.cv-muted { color: var(--pt-muted); margin: 6px 0 0; }
.cv-section { padding: 20px 0 8px; border-bottom: 1px solid var(--pt-line); }
.cv-h { font-size: 19px; font-weight: 700; margin: 0 0 12px; letter-spacing: .01em; }
.cv-h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.cv-partner { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cv-contact { list-style: none; margin: 0 0 8px; padding: 0; }
.cv-contact li { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; overflow-wrap: anywhere; }
.cv-contact i { color: #565c59; font-size: 19px; }
.cv-contact a { color: inherit; text-decoration: none; }
.cv-table { width: 100%; border-collapse: collapse; }
.cv-table td, .cv-table th { padding: 10px 0; text-align: left; border-top: 1px solid var(--pt-line); vertical-align: top; }
.cv-table tr:first-child th { border-top: 0; }
.cv-table td:first-child, .cv-table th:first-child { width: 46%; padding-right: 10px; }
.cv-conditions { margin: 14px 0 8px; font-size: 14px; color: var(--pt-muted); }
.cv-conditions summary { font-weight: 600; cursor: pointer; color: var(--pt-ink); }
.cv-conditions ul { margin: 8px 0 0; padding-left: 18px; }
.cv-box { background: var(--pt-soft); border-radius: 14px; padding: 18px; text-align: center; margin-top: 18px; }
.cv-box-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.cv-box-status { font-size: 24px; font-weight: 700; margin-top: 4px; }
.cv-shield { font-size: 30px; color: var(--pt-green); display: block; margin-bottom: 6px; }
.cv-alert { padding: 12px 14px; border-radius: 10px; margin-top: 14px; font-weight: 500; }
.cv-alert-ok { background: var(--pt-green-soft); color: #1f4d29; }
.cv-alert-ko { background: var(--pt-red-soft); color: var(--pt-red); }
.cv-form { margin-top: 18px; padding: 18px; border: 1px solid var(--pt-line); border-radius: 14px; background: #fff; }
.cv-form label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 5px; }
.cv-form input[type=password], .cv-form input[type=text] { width: 100%; padding: 12px; border: 1px solid #c9cdcb; border-radius: 10px; font: inherit; }
.cv-form label.cv-check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.cv-hint { font-size: 13px; color: var(--pt-muted); margin: 6px 0 0; }
.cv-btn { display: flex; width: 100%; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; padding: 14px; border: 0; border-radius: 12px; background: var(--pt-green); color: #fff; font: 600 17px Inter, system-ui, sans-serif; cursor: pointer; }
.cv-foot { text-align: center; color: var(--pt-muted); margin-top: 18px; font-size: 14px; }

/* Espace partenaire */
.pt-top { background: var(--pt-dark); color: #fff; }
.pt-top-in { max-width: 1120px; margin: 0 auto; padding: 12px 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.pt-top img { height: 34px; width: auto; display: block; }
.pt-name { font-size: 13px; opacity: .85; }
.pt-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; align-items: center; }
.pt-nav a, .pt-nav button { color: #fff; text-decoration: none; padding: 7px 11px; border-radius: 8px; font: 500 14px Inter, system-ui, sans-serif; background: none; border: 0; cursor: pointer; }
.pt-nav a.on, .pt-nav a:hover, .pt-nav button:hover { background: rgba(255, 255, 255, .13); }
.pt-nav form { margin: 0; }
.pt-main { max-width: 1120px; margin: 0 auto; padding: 22px 18px 50px; }
.pt-main h1 { font-size: 24px; margin: 0; }
.pt-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pt-filters input, .pt-filters select, .pt-field input, .pt-field textarea { padding: 9px 11px; border: 1px solid #c9cdcb; border-radius: 9px; font: inherit; background: #fff; }
.pt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.pt-kpi { background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; padding: 14px 16px; }
.pt-kpi b { display: block; font-size: 27px; line-height: 1.15; }
.pt-kpi span { color: var(--pt-muted); font-size: 13.5px; }
.pt-kpi small { display: block; font-size: 12.5px; color: var(--pt-muted); margin-top: 3px; }
.pt-card { background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.pt-card h2 { font-size: 17px; margin: 0 0 12px; }
.pt-wrap { overflow-x: auto; }
.pt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pt-table th, .pt-table td { padding: 10px 8px; text-align: left; border-top: 1px solid var(--pt-line); white-space: nowrap; }
.pt-table tr:first-child th { border-top: 0; color: var(--pt-muted); font-weight: 600; font-size: 13px; }
.pt-table td.wrap { white-space: normal; min-width: 170px; }
.pt-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.pt-b-issued { background: #e6eefb; color: #1c4f9c; }
.pt-b-used { background: var(--pt-green-soft); color: var(--pt-green); }
.pt-b-expired { background: #efefef; color: #555; }
.pt-b-cancelled { background: var(--pt-red-soft); color: var(--pt-red); }
.pt-btn { display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border: 0; border-radius: 9px; background: var(--pt-green); color: #fff; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.pt-btn-light { background: #e9ebea; color: var(--pt-ink); }
.pt-btn-danger { background: var(--pt-red); }
.pt-note { font-size: 13.5px; color: var(--pt-muted); margin: 10px 0 0; }
.pt-field { margin-bottom: 12px; }
.pt-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.pt-field input[type=text], .pt-field input[type=email], .pt-field input[type=password], .pt-field textarea { width: 100%; max-width: 460px; }
.pt-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.pt-alert { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; }
.pt-alert-ok { background: var(--pt-green-soft); color: #1f4d29; }
.pt-alert-ko { background: var(--pt-red-soft); color: var(--pt-red); }
.pt-pager { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.pt-login { max-width: 400px; margin: 7vh auto; padding: 0 16px; }
.pt-login img { display: block; height: 52px; margin: 0 auto 14px; }
.pt-login h1 { font-size: 20px; text-align: center; margin: 0 0 16px; }
.up { color: var(--pt-green); }
.down { color: var(--pt-red); }
@media print { .pt-top, .pt-filters, .pt-noprint { display: none !important; } body.pt { background: #fff; } .pt-card, .pt-kpi { border-color: #bbb; } }

/* Carte membre */
.mc-page { max-width: 460px; margin: 0 auto; padding: 24px 16px; }
.mc { border-radius: 18px; color: #fff; background: linear-gradient(145deg, #1f3a2e, #17231e); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); overflow: hidden; }
.mc-premium { background: linear-gradient(145deg, #2b2415, #0f0d08); }
.mc-top { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; align-items: center; padding: 16px 18px 6px; }
.mc-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #e6c677; }
.mc-plan { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(230, 198, 119, .18); color: #f1d893; }
.mc-body { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 10px 18px 14px; }
.mc-info { min-width: 0; font-size: 15px; }
.mc-name { font-size: 20px; font-weight: 700; margin-bottom: 10px; overflow-wrap: anywhere; }
.mc-label { font-size: 11.5px; opacity: .72; margin-top: 8px; }
.mc-no { font-weight: 700; letter-spacing: .04em; }
.mc-qr { flex: 0 0 118px; width: 118px; height: 118px; background: #fff; border-radius: 10px; padding: 6px; }
.mc-qr svg { display: block; width: 100%; height: 100%; }
.mc-foot { padding: 10px 18px; font-size: 13.5px; background: rgba(255, 255, 255, .07); }
.mc-st-active { color: #8fe09a; }
.mc-st-expired, .mc-st-suspended { color: #ff9c94; }
