:root {
    --emerald: #059669; --emerald-light: #34d399; --gold: #d4a574; --gold-light: #e8c9a0;
    --bg: #0a0f0d; --bg-2: #0d1a14; --bg-3: #132419;
    --surface: rgba(255,255,255,0.04); --surface-hover: rgba(255,255,255,0.07); --border: rgba(255,255,255,0.10);
    --text: #f5f5f4; --text-2: rgba(245,245,244,0.72); --text-3: rgba(245,245,244,0.5);
    --radius: 18px; --max: 1120px; --gutter: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Outfit', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--emerald); padding: 8px 14px; border-radius: 8px; z-index: 100; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,15,13,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: .01em; }
.logo { width: 36px; height: 36px; border-radius: 10px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font: inherit; font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--emerald), #047857); color: #fff; box-shadow: 0 8px 28px rgba(5,150,105,.28); }
.btn-primary:hover { background: linear-gradient(135deg, #0aa877, var(--emerald)); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-hover); border-color: rgba(255,255,255,.2); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Hero */
.hero { position: relative; padding: 110px 0 96px; text-align: center; background: radial-gradient(900px 480px at 50% -10%, rgba(5,150,105,.28), transparent 70%), radial-gradient(600px 400px at 90% 30%, rgba(212,165,116,.10), transparent 70%); }
.eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: var(--gold-light); background: var(--surface); margin-bottom: 26px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; max-width: 880px; margin: 0 auto 22px; }
h1 em { font-style: normal; background: linear-gradient(120deg, var(--emerald-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); max-width: 720px; margin: 0 auto 38px; font-weight: 300; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-flow { margin: 64px auto 0; max-width: 760px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.tool-chip { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-size: 15px; }
.tool-chip img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 2px; object-fit: contain; }
.flow-arrow { color: var(--emerald-light); font-size: 22px; }

/* Sections */
section { padding: 92px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--emerald-light); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -.015em; font-weight: 600; margin-bottom: 18px; max-width: 720px; }
.section-intro { color: var(--text-2); max-width: 680px; font-weight: 300; font-size: 19px; margin-bottom: 52px; }
.center { text-align: center; } .center h2, .center .section-intro { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: background .25s, border-color .25s, transform .25s; }
.card:hover { background: var(--surface-hover); border-color: rgba(52,211,153,.35); }
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-2); font-weight: 300; }
.diff-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.diff-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; color: var(--text-2); font-weight: 300; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th { color: var(--text); font-weight: 600; font-size: 20px; background: var(--surface-hover); }
.compare-table thead th:first-child { background: transparent; }
.compare-table tbody th { color: var(--text); font-weight: 500; width: 160px; white-space: nowrap; }
.compare-table td { color: var(--text-2); font-weight: 300; }
@media (max-width: 620px) {
    .compare-table { display: block; overflow-x: auto; }
}
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(5,150,105,.16); color: var(--emerald-light); }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.audience .tag { display: inline-block; font-size: 13px; color: var(--gold-light); border: 1px solid rgba(212,165,116,.35); border-radius: 999px; padding: 3px 12px; margin-bottom: 18px; }
.audience ul { list-style: none; margin: 20px 0 28px; display: grid; gap: 12px; }
.audience li { position: relative; padding-left: 28px; color: var(--text-2); font-weight: 300; }
.audience li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--emerald-light); border-bottom: 2px solid var(--emerald-light); transform: rotate(-45deg) scale(.9); }

.steps { counter-reset: s; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 28px; left: 32px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; background: linear-gradient(135deg, var(--emerald-light), var(--gold)); color: #06120c; }
.step { padding-top: 74px; }

.objects { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 15px; color: var(--text-2); }

.connectors { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 940px; margin: 0 auto 32px; } /* 5 cartes par ligne (9 connecteurs = 5 + 4) */
.connector { width: 170px; text-align: center; padding: 26px 16px; text-decoration:none; }
.compare-card { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; text-decoration: none; color: inherit; }
.compare-card h3 { font-size: 18px; margin: 0; }
.compare-logos { display: flex; align-items: center; gap: 12px; }
.compare-logos img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 3px; object-fit: contain; }
.compare-logos .vs { font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.connector img { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px; background: #fff; padding: 4px; object-fit: contain; }
.connector strong { font-weight: 500; font-size: 17px; }
.note { text-align: center; color: var(--text-2); font-weight: 300; max-width: 640px; margin: 0 auto; }

.cta { text-align: center; background: radial-gradient(700px 320px at 50% 0%, rgba(5,150,105,.25), transparent 70%); }
.cta-box { border: 1px solid var(--border); border-radius: 26px; padding: 64px 28px; background: var(--surface); }
.cta-box h2 { margin: 0 auto 16px; }
.cta-box p { color: var(--text-2); max-width: 560px; margin: 0 auto 32px; font-weight: 300; }

footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--text-3); font-size: 15px; }
footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-left: 20px; } footer a:first-child { margin-left: 0; } footer a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

@media (max-width: 860px) {
    .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; }
    .nav-links li:not(:last-child) { display: none; }
    section { padding: 68px 0; } .hero { padding: 72px 0 64px; }
    .card { padding: 26px; } .step::before { left: 26px; }
	.card.step h3{padding-left:45px;}
    .hero-flow .flow-arrow { display: none; }
}
@media (max-width: 520px) { :root { --gutter: 16px; } body { font-size: 16px; } .btn { width: 100%; } .hero-cta { flex-direction: column; } .connector { width: calc(50% - 10px); } footer a { display: inline-block; margin: 8px 16px 0 0; } }

/* Multi-pages */
.nav-links a.active { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--emerald-light); text-decoration: none; font-weight: 500; }
.link-arrow::after { content: "\2192"; transition: transform .2s; } .link-arrow:hover::after { transform: translateX(4px); }
.hero-sub { padding: 88px 0 72px; }
.hero-sub h1 { font-size: clamp(34px, 5vw, 52px); }
.feature-card { display: flex; flex-direction: column; } .feature-card .link-arrow { margin-top: auto; padding-top: 22px; }
.feature-card .icon { width: 54px; height: 54px; } .feature-card .icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 26px; }
.plans .card { text-align: center; } .plans .card .icon { margin: 0 auto 16px; } .plans .big { font-size: 34px; font-weight: 600; color: var(--gold-light); line-height: 1.2; margin-bottom: 8px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.audience .tag { display: inline-block; }
@media (max-width: 520px) { .cta-actions { flex-direction: column; } }
.brand, .btn-sm { white-space: nowrap; }
@media (max-width: 400px) { .brand { font-size: 18px; gap: 8px; } .nav .btn-sm { padding: 8px 12px; font-size: 14px; } .logo { width: 30px; height: 30px; } }

/* Bandeau cookies */
/* left+right+max-width+margin:auto est une combinaison ambiguë de la spec CSS ("over-constrained"), corrigée sur
   assure-squat.fr (bandeau débordant à droite sur mobile) : centrage sans ambiguïté via left:50%+translateX. */
.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 100; width: calc(100% - 32px); max-width: 1200px; box-sizing: border-box; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 22px; background: rgba(13,26,20,.96); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5); backdrop-filter: blur(12px); font-size: 15px; color: var(--text-2); }
.cookie-banner p { flex: 1 1 320px; } .cookie-banner strong { color: var(--text); font-weight: 500; } .cookie-banner a { color: var(--emerald-light); }
.cookie-actions { display: flex; gap: 10px; } .cookie-actions .btn { width: auto; color: var(--text); }
@media (max-width: 520px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

/* Sélecteur d'outils (migration / sauvegarde) */
.tool-picker { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 18px auto 0; max-width: 760px; }
.tool-picker-field { position: relative; text-align: left; }
.tool-picker-label { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.tool-picker-trigger { display: flex; align-items: center; gap: 10px; width: 210px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
.tool-picker-trigger:hover { background: var(--surface-hover); }
.tool-picker-trigger img { width: 26px; height: 26px; border-radius: 7px; background: #fff; padding: 2px; object-fit: contain; flex-shrink: 0; }
.tool-picker-trigger .tool-picker-placeholder { color: var(--text-3); }
.tool-picker-trigger .chev { margin-left: auto; width: 16px; height: 16px; stroke: var(--text-3); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform .2s; }
.tool-picker-field.open .chev { transform: rotate(180deg); }
.tool-picker-swap { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 4px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--emerald-light); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.tool-picker-swap:hover { background: var(--surface-hover); transform: rotate(180deg); }
.tool-picker .flow-arrow { padding-bottom: 12px; }
.tool-picker-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-2); box-shadow: 0 16px 40px rgba(0,0,0,.45); overflow: hidden; }
.tool-picker-field.open .tool-picker-menu { display: block; }
.tool-picker-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: none; background: none; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
.tool-picker-option:hover { background: var(--surface-hover); }
.tool-picker-option img { width: 24px; height: 24px; border-radius: 6px; background: #fff; padding: 2px; object-fit: contain; }
.tool-picker-option[hidden] { display: none; }
.tool-picker-submit { opacity: .45; pointer-events: none; }
.tool-picker-submit.ready { opacity: 1; pointer-events: auto; }
.tool-picker-examples { text-align: center; margin: 16px 0 32px; font-size: 14px; color: var(--text-3); }
.tool-picker-examples a { color: var(--emerald-light); text-decoration: none; margin: 0 6px; } .tool-picker-examples a:hover { text-decoration: underline; }
@media (max-width: 520px) { .tool-picker-trigger { width: 100%; } .tool-picker-field { width: 100%; } .tool-picker .flow-arrow { display: none; } .tool-picker-swap { margin: 0; transform: rotate(90deg); } .tool-picker-swap:hover { transform: rotate(270deg); } }

/* Page outil : badges + accordéon objets */
.tool-title { display: flex; align-items: center; justify-content: center; gap: 18px; }
.tool-title img { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 6px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 480px) { .tool-title { gap: 12px; } .tool-title img { width: 44px; height: 44px; } }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 34px; }
.badge-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; color: var(--text-2); }
.trust-row { justify-content: center; align-items: center; margin: 28px 0 0; }

.badge-pill svg { width: 15px; height: 15px; stroke: var(--emerald-light); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.object-list { display: flex; flex-direction: column; gap: 14px; }
.object-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.object-item[open] { background: var(--surface-hover); }
.object-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.object-item summary::-webkit-details-marker { display: none; }
.object-item summary .obj-head { display: flex; align-items: center; gap: 16px; width: 100%; }
.object-item summary .chev { margin-left: auto; width: 18px; height: 18px; stroke: var(--text-3); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; flex-shrink: 0; }
.object-item[open] summary .chev { transform: rotate(180deg); }
.object-item summary .obj-name { font-weight: 500; font-size: 18px; flex: 1; }
.object-item summary .obj-summary { display: block; color: var(--text-2); font-size: 15px; font-weight: 300; }
.object-item summary .mini-badges { display: flex; gap: 6px; flex-shrink: 0; }
.mini-badge { font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-3); white-space: nowrap; }
.mini-badge.on { color: var(--emerald-light); border-color: rgba(52,211,153,.35); }
.object-body { padding: 0 24px 24px; }
.object-body h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 500; margin: 14px 0 10px; }
.object-body ul { padding-left: 20px; color: var(--text-2); font-weight: 300; }
.object-body p { color: var(--text-2); font-weight: 300; }
.object-body li { margin-bottom: 6px; }
.object-body .limits { border-left: 2px solid var(--gold); padding-left: 14px; margin-top: 14px; }
.object-body .limits li { color: var(--text); }
@media (max-width: 620px) {
    .object-item summary .obj-head { flex-wrap: wrap; }
}
