/* =====================================================================
   Effatix — site public (accueil, logiciels, téléchargements, pages légales)
   Polices hébergées sur le site (aucun appel à Google Fonts)
   ===================================================================== */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/outfit-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/outfit-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(fonts/dm-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --ink: #0A1628;
    --ink-2: #12233D;
    --ink-3: #1B3152;
    --blue: #2563EB;
    --blue-l: #60A5FA;
    --green: #06D6A0;
    --amber: #F59E0B;
    --paper: #F7F9FC;
    --white: #FFFFFF;
    --text: #0F1B2D;
    --muted: #5B6B82;
    --line: #E3E9F2;
    --grad: linear-gradient(135deg, #2563EB 0%, #06D6A0 100%);
    --r: 14px;
    --r-lg: 22px;
    --shadow: 0 1px 2px rgba(10,22,40,.06), 0 10px 30px -12px rgba(10,22,40,.18);
    --head: 'Outfit', system-ui, sans-serif;
    --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; letter-spacing: -.015em; color: inherit; }
.si { flex-shrink: 0; vertical-align: middle; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 2px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); padding: 13px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(37,99,235,.7); }
.btn-primary:hover { background: #1D4FD8; box-shadow: 0 10px 26px -8px rgba(37,99,235,.8); }
.btn-green { background: var(--green); color: #04241A; }
.btn-green:hover { background: #05C493; }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(127,140,160,.35); }
.btn-ghost:hover { border-color: currentColor; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.linklike { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-align: left; }
.linklike:hover { text-decoration: underline; }

/* ---------- En-tête ---------- */
.announce { background: var(--grad); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(10,22,40,.92); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); color: #fff; }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 22px var(--head); letter-spacing: -.02em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; background: rgba(255,255,255,.07); }
.nav-links .nav-login { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 8px; }
@media (max-width: 980px) {
    .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; margin: 0; max-height: calc(100dvh - 68px); overflow-y: auto; }
    .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
    .nav-links a { padding: 14px 10px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
    .nav-actions { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
}
@media (max-width: 420px) { .nav-actions .btn span { display: none; } .nav-actions .btn { padding: 10px; } }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(800px 420px at 85% 10%, rgba(37,99,235,.35), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(6,214,160,.18), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.75); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; list-style: none; color: rgba(255,255,255,.7); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .si { color: var(--green); }

/* Vitrine du logiciel mis en avant */
.showcase { position: relative; }
.sc-window { background: linear-gradient(180deg, #13284A, #0E1E38); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.sc-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sc-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.sc-bar span { margin-left: 10px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.sc-shot { aspect-ratio: 16 / 10; background: #0B1730 center / cover no-repeat; display: grid; place-items: center; }
.sc-shot img { width: 100%; height: 100%; object-fit: cover; }
.sc-placeholder { width: 100%; height: 100%; padding: 22px; display: grid; grid-template-columns: 1fr 2.2fr; gap: 14px; }
.sc-placeholder .col { display: grid; gap: 10px; align-content: start; }
.sc-placeholder .blk { border-radius: 8px; background: rgba(255,255,255,.06); height: 14px; }
.sc-placeholder .blk.tall { height: 120px; background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(6,214,160,.2)); }
.sc-placeholder .blk.mid { height: 60px; }
.sc-card { position: absolute; left: -28px; bottom: -34px; display: flex; align-items: center; gap: 14px; background: #fff; color: var(--text); border-radius: 16px; padding: 14px 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); max-width: 340px; }
.sc-card .pc-logo { width: 46px; height: 46px; font-size: 20px; }
.sc-card strong { display: block; font: 600 16px var(--head); }
.sc-card small { color: var(--muted); font-size: 13px; }
.sc-card .btn { margin-left: auto; }
@media (max-width: 980px) {
    .hero { padding: 48px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .sc-card { left: 12px; right: 12px; bottom: -40px; max-width: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.section-dark .sec-head p { color: rgba(255,255,255,.7); }
.sec-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-row .sec-head { margin-bottom: 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } .sec-head p { font-size: 16.5px; } }

/* ---------- Cartes logiciels ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CDD8EA; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.pc-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 24px var(--head); overflow: hidden; flex-shrink: 0; }
.pc-logo img { width: 100%; height: 100%; object-fit: cover; }
.pc-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; font: 600 12px var(--body); padding: 4px 9px; border-radius: 999px; background: #EEF3FB; color: #31476B; white-space: nowrap; }
.tag-trial { background: #E2F9F1; color: #05775A; }
.tag-free { background: #E6F0FF; color: #1D4FD8; }
.tag-beta { background: #FFF4DD; color: #9A5B00; }
.tag-demo { background: #EEF0FF; color: #4338CA; }
.tag-ver { background: #F1F4F8; color: #475569; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.product-card h3 { font-size: 22px; font-weight: 600; }
.product-card h3 a { color: inherit; text-decoration: none; }
.pc-cat { color: var(--blue); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.pc-tag { color: var(--muted); margin: 10px 0 16px; flex-grow: 1; }
.pc-plats { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #475569; font-size: 13px; margin-bottom: 18px; }
.pc-plats span { display: inline-flex; align-items: center; gap: 5px; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pc-soon { font-size: 14px; color: var(--muted); font-weight: 600; padding: 9px 0; }
.empty-catalog { text-align: center; background: #fff; border: 1px dashed #C9D5E6; border-radius: var(--r-lg); padding: 48px 24px; color: var(--muted); }
.empty-catalog h3 { color: var(--text); font-size: 22px; margin-bottom: 8px; }
.empty-catalog .btn { margin-top: 18px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; list-style: none; }
.steps li { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-lg); padding: 28px 26px 26px; }
.steps li::before { counter-increment: st; content: counter(st, decimal-leading-zero); font: 700 15px var(--head); color: var(--green); display: block; margin-bottom: 16px; letter-spacing: .05em; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: #fff; padding: 30px 28px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EEF3FF; color: var(--blue); margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Entreprise ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-grid p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.quote { border-left: 3px solid var(--green); padding: 4px 0 4px 20px; font: 500 20px/1.5 var(--head); color: var(--text); margin-top: 26px; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.value .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--green); flex-shrink: 0; }
.value h3 { font-size: 17px; margin-bottom: 2px; }
.value p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Dernières versions ---------- */
.releases { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.release { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.release:last-child { border-bottom: 0; }
.release:hover { background: #F8FAFD; }
.release .pc-logo { width: 40px; height: 40px; font-size: 17px; border-radius: 10px; }
.release strong { font-family: var(--head); font-weight: 600; font-size: 16.5px; }
.release small { display: block; color: var(--muted); font-size: 13.5px; }
.release .r-date { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .release { grid-template-columns: 40px 1fr auto; } .release .r-date { display: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font: 600 16.5px var(--head); padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding-bottom: 18px; }
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.support-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .2s; }
.support-card:hover { transform: translateY(-3px); }
.support-card .si { color: var(--green); }
.support-card h3 { font-size: 19px; }
.support-card p { color: rgba(255,255,255,.7); font-size: 15px; }
@media (max-width: 860px) { .faq, .support-cards { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-line { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; color: inherit; text-decoration: none; }
.contact-line .si { color: var(--blue); }
.contact-line small { display: block; color: var(--muted); font-size: 13px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .field input[type=text], .field input[type=email], .field select, .field textarea { width: 100%; font: 16px var(--body); padding: 12px 14px; border: 1px solid #CBD5E3; border-radius: 10px; background: #fff; color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #334155; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.notice { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 15px; }
.notice.success { background: #E2F9F1; color: #05664D; }
.notice.error { background: #FDECEC; color: #A3261F; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid, .form-row { grid-template-columns: 1fr; } .form-row { gap: 0; } }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: var(--grad); border-radius: 28px; padding: 52px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); max-width: 620px; }
.cta-band p { opacity: .9; margin-top: 8px; max-width: 620px; }
.cta-band .btn { background: #fff; color: var(--ink); }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; border-radius: 20px; } }

/* ---------- Catalogue ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 44px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 90% 0%, rgba(37,99,235,.35), transparent 60%); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 10px 0 12px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 18px; max-width: 700px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin: -28px 0 32px; position: relative; box-shadow: var(--shadow); }
.filters .search { flex: 1 1 240px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; color: var(--muted); }
.filters .search input { border: 0; outline: none; font: 16px var(--body); padding: 11px 0; width: 100%; background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 500 14px var(--body); cursor: pointer; color: #334155; display: inline-flex; gap: 6px; align-items: center; }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.no-result { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Page logiciel ---------- */
.prod-hero { background: var(--ink); color: #fff; padding: 44px 0 56px; position: relative; overflow: hidden; isolation: isolate; }
.prod-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 380px at 85% 0%, rgba(37,99,235,.38), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(6,214,160,.16), transparent 60%); }
.prod-head { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; margin-top: 22px; }
.prod-id { display: flex; gap: 20px; align-items: center; }
.prod-id .pc-logo { width: 84px; height: 84px; border-radius: 20px; font-size: 36px; }
.prod-id h1 { font-size: clamp(32px, 4.4vw, 50px); }
.prod-id .pc-cat { color: var(--green); }
.prod-lead { font-size: 19px; color: rgba(255,255,255,.78); margin: 22px 0; max-width: 640px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-tags .tag { background: rgba(255,255,255,.1); color: #fff; }
.dl-box { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.dl-box h2 { font-size: 19px; margin-bottom: 4px; }
.dl-box > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.dl-list { display: grid; gap: 8px; }
.dl-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.dl-item.mine { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.dl-item .pi { width: 34px; height: 34px; border-radius: 9px; background: #EEF3FB; color: #31476B; display: grid; place-items: center; }
.dl-item strong { font-size: 15px; display: block; }
.dl-item small { color: var(--muted); font-size: 12.5px; }
.dl-item .mine-label { color: var(--blue); font-weight: 600; }
.dl-meta { margin-top: 14px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.dl-meta a { color: var(--blue); }
.dl-buy { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.dl-buy .btn { flex: 1; }
.prod-body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prod-nav { position: sticky; top: 68px; z-index: 50; background: rgba(247,249,252,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.prod-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.prod-nav a { padding: 14px 14px; font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.prod-nav a:hover { color: var(--text); border-color: var(--line); }
.prose h2 { font-size: 28px; margin: 0 0 16px; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.prose p, .prose li { color: #334155; font-size: 16.5px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 6px; }
.prose section { margin-bottom: 56px; scroll-margin-top: 130px; }
.feat-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; }
.feat-list li { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 !important; }
.feat-list .si { color: var(--green); margin-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery button { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0; cursor: zoom-in; background: #fff; aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.req-box, .side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-box { position: sticky; top: 130px; }
.side-box h3 { font-size: 17px; margin-bottom: 12px; }
.side-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14.5px; }
.side-box dt { color: var(--muted); }
.side-box dd { font-weight: 600; text-align: right; }
.hash { font-family: ui-monospace, Menlo, monospace; font-size: 12px; word-break: break-all; background: #F1F4F8; border-radius: 8px; padding: 8px 10px; color: #334155; display: block; margin-top: 6px; }
.changelog { white-space: normal; }
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(5,10,20,.92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 90dvh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 980px) {
    .prod-head, .prod-body { grid-template-columns: 1fr; gap: 32px; }
    .side-box { position: static; }
    .feat-list { grid-template-columns: 1fr; }
}

/* Fenêtre de téléchargement */
.dl-modal { border: 0; padding: 0; border-radius: 20px; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); overscroll-behavior: contain; }
.dl-modal::backdrop { background: rgba(5,10,20,.6); backdrop-filter: blur(3px); }
.dl-modal form { padding: 26px; }
.dl-modal h2 { font-size: 22px; margin-bottom: 4px; }
.dl-modal .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.dl-modal .close { position: absolute; top: 14px; right: 14px; background: #F1F4F8; border: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.dl-modal .btn-primary { width: 100%; margin-top: 6px; }
html.modal-open, html.modal-open body { overflow: hidden; }

/* Page de remerciement */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; padding: 80px 0; }
.thanks .ok { width: 72px; height: 72px; border-radius: 50%; background: #E2F9F1; color: #05775A; display: grid; place-items: center; margin: 0 auto 22px; }
.thanks h1 { font-size: 34px; margin-bottom: 10px; }
.thanks p { color: var(--muted); font-size: 17px; margin-bottom: 10px; }
.thanks .box { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin: 28px 0; }
.thanks .box h2 { font-size: 18px; margin-bottom: 10px; }
.thanks .box ol { padding-left: 20px; color: #334155; }
.thanks .box li { margin-bottom: 6px; }

/* ---------- Pages légales ---------- */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 56px 0 96px; align-items: start; }
.legal-nav { position: sticky; top: 92px; display: grid; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: 10px; color: #334155; text-decoration: none; font-weight: 500; font-size: 15px; }
.legal-nav a:hover { background: #fff; }
.legal-nav a[aria-current] { background: var(--ink); color: #fff; }
.legal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 44px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: #334155; font-size: 16px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: #F6F8FB; font-weight: 600; }
.legal .todo { background: #FFF4DD; color: #8A5300; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.legal-table-wrap { overflow-x: auto; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; } .legal-nav { position: static; display: flex; overflow-x: auto; } .legal-nav a { white-space: nowrap; } .legal { padding: 26px 20px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.foot-brand p { margin-top: 14px; max-width: 300px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-social a { color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a, .site-footer .linklike { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; font-size: 13.5px; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Bandeau cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1400; max-width: 980px; margin-inline: auto; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(10,22,40,.45); padding: 20px 22px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.cookie-main { display: flex; gap: 22px; align-items: center; }
.cookie-text h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cookie-text h2 .si { color: var(--amber); }
.cookie-text p { font-size: 14px; color: #475569; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 16px; font-size: 14.5px; }
.cookie-custom { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; display: grid; gap: 10px; }
.cookie-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: #F6F8FB; border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.cookie-row small { display: block; color: var(--muted); font-size: 13px; }
.cookie-row input { width: 20px; height: 20px; accent-color: var(--blue); }
@media (max-width: 760px) {
    .cookie-main { flex-direction: column; align-items: stretch; gap: 14px; }
    /* « Tout refuser » et « Tout accepter » côte à côte, même taille */
    .cookie-main .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-main .cookie-actions [data-cookie=custom] { grid-column: 1 / -1; order: 3; }
    .cookie-custom .cookie-actions .btn { width: 100%; }
}

/* Animation douce à l'apparition */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
    .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Vidéo de présentation ---------- */
.vid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.vid-title { font-size: clamp(22px, 2.6vw, 28px); }
.vid-langs { display: flex; gap: 6px; }
.vid-langs button { font: 600 14px var(--body); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.vid-langs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.section-dark .vid-langs button { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.section-dark .vid-langs button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.vid-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #08142A; box-shadow: 0 30px 70px -30px rgba(10,22,40,.6); }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(135deg, #13284A, #0B1730); display: grid; place-items: center; }
.vid-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s; }
.vid-poster:hover img { transform: scale(1.02); filter: brightness(.85); }
.vid-fallback { color: rgba(255,255,255,.85); font: 700 clamp(24px, 4vw, 40px) var(--head); }
.vid-play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--blue); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .2s; }
.vid-play svg { margin-left: 4px; }
.vid-poster:hover .vid-play, .vid-poster:focus-visible .vid-play { transform: scale(1.08); }
.vid-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px 16px 10px; font-size: 12px; color: rgba(255,255,255,.85); background: linear-gradient(transparent, rgba(5,10,20,.75)); pointer-events: none; }
.vid-note a { color: #fff; pointer-events: auto; }
.vid-frame.playing .vid-note { display: none; }
.tag-vid { background: #FDECEC; color: #B42318; }
.video-section .vid { max-width: 980px; margin: 0 auto; }
.prod-video-btn { margin-top: 18px; }
@media (max-width: 600px) { .vid-play { width: 62px; height: 62px; } .vid-note { font-size: 11px; padding-top: 16px; } }
.legal-wrap > * { min-width: 0; }
