:root {
    --primary-color: #5c6bc0;
    --primary-hover: #4a569d;
    --accent-color: #10b981;
    --bg-color: #f9fafb;
    --surface-color: #ffffff;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --danger-color: #dc2626;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }

/* Header / nav */
header { background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.logo-icon { background-color: var(--primary-color); color: white; padding: 5px 10px; border-radius: 8px; font-size: 1.2rem; }
nav { display: flex; align-items: center; gap: 1.2rem; }
nav a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s ease; position: relative; }
nav a:hover { color: var(--primary-color); }
nav a[aria-current="page"] { color: var(--primary-color); }
nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.15rem; height: 3px; background: var(--primary-color); border-radius: 2px 2px 0 0; }
.lang-switch { display: flex; gap: 6px; border: 1px solid var(--border-color); border-radius: 6px; padding: 2px; font-size: 0.85rem; }
.lang-switch a { padding: 4px 10px; border-radius: 4px; text-decoration: none; color: var(--text-light); font-weight: 600; }
.lang-switch a.active { background: var(--primary-color); color: white; }
.lang-switch a[aria-current="page"]::after { display: none; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 1.5rem; color: var(--text-color); line-height: 1; }
.burger:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; border-radius: 4px; }

.btn-primary { background-color: var(--primary-color); color: white; padding: 0.75rem 1.5rem; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; transition: background-color 0.3s ease; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-secondary { background-color: transparent; color: var(--primary-color); padding: 0.75rem 1.5rem; border: 1px solid var(--primary-color); border-radius: 6px; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--primary-color); color: white; }

/* Hero */
.hero { padding: 6rem 5%; text-align: center; background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%); border-bottom: 1px solid var(--border-color); }
.hero h1 { font-size: 3rem; color: var(--text-color); margin-bottom: 1.5rem; line-height: 1.2; }
.hero h1 span { color: var(--primary-color); }
.hero p { font-size: 1.25rem; color: var(--text-light); max-width: 800px; margin: 0 auto 2.5rem auto; }
.hero-badges { display: flex; gap: 12px; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; font-size: 0.9rem; }
.badge-privacy { background-color: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.badge-fr { background-color: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-rgpd { background-color: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Page banner (titre des sous-pages) */
.page-banner { padding: 3.5rem 5% 2.5rem; text-align: center; background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%); border-bottom: 1px solid var(--border-color); }
.page-banner h1 { font-size: 2.4rem; color: var(--text-color); margin-bottom: 0.8rem; line-height: 1.2; }
.page-banner h1 span { color: var(--primary-color); }
.page-banner p { font-size: 1.1rem; color: var(--text-light); max-width: 800px; margin: 0 auto; }

/* Features */
.features { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.25rem; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 700px; margin: 0 auto 3.5rem auto; font-size: 1.05rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background-color: var(--surface-color); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.05); border: 1px solid var(--border-color); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* Modes (local vs cloud) */
.modes { background: var(--surface-color); padding: 5rem 5%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.modes .container { max-width: 1100px; margin: 0 auto; }
.modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
.mode-card { background: var(--bg-color); border-radius: 12px; padding: 2rem; border-top: 4px solid var(--primary-color); }
.mode-card.cloud { border-top-color: #7c3aed; }
.mode-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 8px; }
.mode-card .tagline { color: var(--text-light); margin-bottom: 1.2rem; font-size: 0.95rem; }
.mode-card ul { list-style: none; padding: 0; }
.mode-card li { padding: 0.4rem 0; padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.mode-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }
.mode-card li.warn::before { content: "⚠"; color: #d97706; }
.mode-card .plan { margin-top: 1rem; padding: 0.5rem 1rem; background: rgba(92,107,192,0.1); border-radius: 6px; font-size: 0.88rem; font-weight: 600; color: var(--primary-color); }
.mode-card.cloud .plan { background: rgba(124,58,237,0.1); color: #7c3aed; }

/* How it works */
.how-it-works { background: var(--bg-color); padding: 5rem 5%; }
.how-it-works .container { max-width: 1100px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 2rem; }
.step { text-align: center; padding: 1.5rem; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary-color); color: white; font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem; }
.step p { color: var(--text-light); font-size: 0.95rem; }

/* Generic tables (5 modes, comparatif) */
.modes-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: var(--surface-color); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.04); }
.modes-table th, .modes-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.modes-table th { background: #f3f4f6; font-weight: 600; }
.modes-table tr:last-child td { border-bottom: none; }

/* Use cases */
.use-cases { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
.use-case-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.use-case-item { background: var(--surface-color); padding: 2rem; border-radius: 8px; border-left: 4px solid var(--primary-color); box-shadow: 0 2px 4px rgba(0,0,0,.02); }
.use-case-item h3 { color: var(--primary-color); margin-bottom: 10px; }

/* Contact form */
.contact { background: var(--surface-color); padding: 5rem 5%; border-top: 1px solid var(--border-color); }
.contact .container { max-width: 700px; margin: 0 auto; }
.contact form { display: grid; gap: 1rem; margin-top: 2rem; background: var(--bg-color); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-color); }
.contact label { font-weight: 600; font-size: 0.95rem; }
.contact input, .contact select, .contact textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; font-family: inherit; font-size: 1rem; background: white; color: var(--text-color); }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(92,107,192,0.2); }
.contact textarea { resize: vertical; min-height: 140px; }
.contact .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact button { background: var(--primary-color); color: white; padding: 0.85rem; border: none; border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .3s ease; }
.contact button:hover:not(:disabled) { background: var(--primary-hover); }
.contact button:disabled { opacity: 0.6; cursor: not-allowed; }
.contact .honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-msg { padding: 0.85rem 1rem; border-radius: 6px; font-size: 0.95rem; display: none; }
.form-msg.success { background: #d1fae5; color: #065f46; display: block; }
.form-msg.error { background: #fee2e2; color: var(--danger-color); display: block; }

/* Screenshots */
.screenshots { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.screenshot { background: var(--surface-color); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 4px 6px -1px rgba(0,0,0,.05); transition: transform .3s ease; }
.screenshot:hover { transform: translateY(-4px); }
.screenshot-img { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-weight: 600; font-size: 0.95rem; text-align: center; padding: 1rem; border-bottom: 1px solid var(--border-color); }
.screenshot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screenshot-caption { padding: 1.2rem; }
.screenshot-caption h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.screenshot-caption p { color: var(--text-light); font-size: 0.9rem; }

/* Pricing */
.pricing { background: var(--bg-color); padding: 5rem 5%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.pricing .container { max-width: 1100px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.price-card { background: var(--surface-color); border-radius: 12px; padding: 2rem; border: 1px solid var(--border-color); display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--primary-color); border-width: 2px; box-shadow: 0 10px 25px -5px rgba(92,107,192,0.2); }
.price-card.featured::before { content: "Recommandé"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: white; padding: 0.25rem 0.9rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.price-card .price-tag { font-size: 2.2rem; font-weight: 700; color: var(--primary-color); margin: 1rem 0 0.2rem; }
.price-card .price-tag small { font-size: 0.9rem; color: var(--text-light); font-weight: 500; }
.price-card .price-desc { color: var(--text-light); font-size: 0.92rem; margin-bottom: 1.5rem; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 1.5rem; flex-grow: 1; }
.price-card li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; font-size: 0.93rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }
.price-card .btn-primary, .price-card .btn-secondary { text-align: center; }
.pricing-note { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-top: 2rem; }

/* FAQ */
.faq { padding: 5rem 5%; max-width: 850px; margin: 0 auto; }
.faq details { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 0.75rem; padding: 0; overflow: hidden; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: 0 4px 6px -1px rgba(0,0,0,.05); }
.faq summary { padding: 1.1rem 1.4rem; cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary-color); font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.4rem 1.2rem; color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }
.faq details > div p + p { margin-top: 0.6rem; }

/* Comparatif (NotebookLM etc.) */
.comparatif { padding: 4rem 5%; max-width: 1000px; margin: 0 auto; }
.comparatif h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; color: var(--text-color); }
.comparatif h2:first-of-type { margin-top: 0; }
.comparatif p { color: var(--text-color); margin-bottom: 1rem; }
.comparatif .lead { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2.5rem; background: var(--surface-color); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.04); border: 1px solid var(--border-color); }
.compare-table th, .compare-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.compare-table th { background: #f3f4f6; font-weight: 600; }
.compare-table th:first-child { width: 28%; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--accent-color); font-weight: 600; }
.compare-table .no  { color: var(--danger-color); font-weight: 600; }
.verdict { background: var(--surface-color); border-left: 4px solid var(--primary-color); padding: 1.5rem 1.5rem 1.5rem 1.8rem; border-radius: 0 8px 8px 0; margin: 2rem 0; box-shadow: 0 2px 4px rgba(0,0,0,.04); }
.verdict h3 { color: var(--primary-color); margin-bottom: 0.5rem; }

/* CTA blocks */
.cta-block { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 2.5rem; text-align: center; margin: 3rem auto; max-width: 800px; }
.cta-block h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.cta-block p { color: var(--text-light); margin-bottom: 1.5rem; }

/* Footer */
footer { background-color: #111827; color: #d1d5db; padding: 3rem 5% 1.5rem; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: white; margin-bottom: 1rem; font-size: 1rem; }
.footer-col a { display: block; color: #9ca3af; text-decoration: none; margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-col a:hover { color: white; }
.footer-col p { color: #9ca3af; font-size: 0.9rem; line-height: 1.7; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid #374151; text-align: center; color: #6b7280; font-size: 0.85rem; }

@media (max-width: 860px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }
    .page-banner h1 { font-size: 1.7rem; }
    .contact .form-row { grid-template-columns: 1fr; }

    .burger { display: block; }
    nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface-color); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); box-shadow: 0 8px 16px rgba(0,0,0,0.08); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
    nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    nav a { padding: 0.85rem 5%; border-bottom: 1px solid var(--border-color); }
    nav a:last-child { border-bottom: none; }
    nav a[aria-current="page"]::after { display: none; }
    nav a[aria-current="page"] { background: rgba(92,107,192,0.08); }
    .lang-switch { margin: 0.5rem 5%; align-self: flex-start; }
    nav .btn-primary { margin: 0.75rem 5%; text-align: center; }

    .compare-table { display: block; overflow-x: auto; }
}
