/* AGEC Ready — landing (agecready.com). Tokens repris du design system du plugin
   (assets/css/agec-design-tokens.css, ADR 0010) — gardés synchrones à la main.
   Polices : pile système (pas de Google Fonts → RGPD/CNIL + perf). Manrope/Inter chargeables
   en self-host plus tard si besoin. Zéro JS, zéro tracker tiers. */
:root {
	--agec-green-900: #0B3D2A;
	--agec-green-800: #0E5234;
	--agec-green-700: #0F6B3F;
	--agec-green-100: #DCF0E4;
	--agec-green-50:  #EEF7F1;
	--agec-ink-900: #13211B;
	--agec-ink-700: #2E3A34;
	--agec-ink-500: #5A655E;
	--agec-ink-300: #C9D2CD;
	--agec-ink-100: #E7ECE9;
	--agec-paper-50: #F6F8F7;
	--agec-white: #FFFFFF;
	--agec-gold-800: #73490E;
	--agec-gold-700: #8A5A12;
	--agec-gold-100: #F7EEDD;

	--agec-font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--agec-font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--agec-radius-sm: 8px;
	--agec-radius-md: 12px;
	--agec-radius-lg: 16px;
	--agec-radius-pill: 999px;
	--agec-shadow-sm: 0 1px 2px rgba(8, 41, 28, 0.06);
	--agec-shadow-md: 0 4px 14px rgba(8, 41, 28, 0.08);
	--agec-shadow-lg: 0 12px 32px rgba(8, 41, 28, 0.12);
	--agec-focus: 0 0 0 2px var(--agec-white), 0 0 0 4px var(--agec-green-700);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--agec-font-ui);
	color: var(--agec-ink-700);
	background: var(--agec-white);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--agec-font-display); color: var(--agec-ink-900); line-height: 1.18; }

a { color: var(--agec-green-700); }
a:focus-visible, .btn:focus-visible { outline: none; box-shadow: var(--agec-focus); border-radius: var(--agec-radius-sm); }

.wrap { width: min(1080px, 92vw); margin-inline: auto; }

.skip-link {
	position: absolute; left: -999px; top: 0;
	background: var(--agec-ink-900); color: var(--agec-white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--agec-ink-100); background: var(--agec-white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--agec-font-display); font-weight: 800; color: var(--agec-ink-900); text-decoration: none; font-size: 18px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--agec-ink-700); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--agec-green-700); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border-radius: var(--agec-radius-sm);
	font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn--primary { background: var(--agec-green-700); color: var(--agec-white); }
.btn--primary:hover { background: var(--agec-green-800); }
.btn--ghost { background: var(--agec-white); color: var(--agec-green-700); border-color: var(--agec-ink-300); }
.btn--ghost:hover { border-color: var(--agec-green-700); }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 17px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--agec-green-50), var(--agec-white)); padding: 72px 0 56px; }
.hero__eyebrow { display: inline-block; background: var(--agec-green-100); color: var(--agec-green-900); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: var(--agec-radius-pill); }
.hero h1 { font-size: clamp(32px, 5vw, 50px); margin: 18px 0 14px; max-width: 18ch; }
.hero__lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--agec-ink-700); max-width: 60ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--agec-ink-500); }

/* Sections */
section { padding: 64px 0; }
.section__head { max-width: 62ch; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 12px; }
.section__head p { font-size: 18px; color: var(--agec-ink-500); margin: 0; }
.muted-band { background: var(--agec-paper-50); }

/* Feature grid */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--agec-white); border: 1px solid var(--agec-ink-100); border-radius: var(--agec-radius-md); padding: 26px; box-shadow: var(--agec-shadow-sm); }
.card__icon { width: 40px; height: 40px; border-radius: var(--agec-radius-sm); background: var(--agec-green-100); color: var(--agec-green-800); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--agec-ink-700); }
.card--premium { border-color: var(--agec-gold-100); }
.card--premium .card__icon { background: var(--agec-gold-100); color: var(--agec-gold-800); }
.tag-premium { display: inline-block; margin-bottom: 10px; background: var(--agec-gold-100); color: var(--agec-gold-800); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--agec-radius-pill); }

/* Pricing */
.pricing { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--agec-white); border: 1px solid var(--agec-ink-300); border-radius: var(--agec-radius-lg); padding: 28px; }
.plan--featured { border-color: var(--agec-green-700); box-shadow: var(--agec-shadow-md); position: relative; }
.plan__badge { position: absolute; top: -13px; left: 28px; background: var(--agec-green-700); color: var(--agec-white); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--agec-radius-pill); }
.plan h3 { font-size: 20px; margin: 0 0 6px; }
.plan__price { font-family: var(--agec-font-display); font-size: 38px; font-weight: 800; color: var(--agec-ink-900); }
.plan__price span { font-size: 15px; font-weight: 500; color: var(--agec-ink-500); }
.plan__sub { color: var(--agec-ink-500); font-size: 14px; margin: 4px 0 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--agec-green-700); font-weight: 800; }
.plan .btn { margin-top: auto; }
.founder { margin-top: 28px; background: var(--agec-gold-100); border: 1px solid #E7D3A6; border-radius: var(--agec-radius-md); padding: 18px 22px; color: var(--agec-gold-800); }
.founder strong { color: var(--agec-gold-800); }

/* FAQ */
.faq details { border: 1px solid var(--agec-ink-100); border-radius: var(--agec-radius-md); padding: 4px 20px; margin-bottom: 12px; background: var(--agec-white); }
.faq summary { font-family: var(--agec-font-display); font-weight: 700; color: var(--agec-ink-900); cursor: pointer; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--agec-green-700); }
.faq p { margin: 0 0 16px; }

/* CTA band */
.cta-band { background: var(--agec-green-900); color: var(--agec-paper-50); text-align: center; }
.cta-band h2 { color: var(--agec-white); }
.cta-band p { color: var(--agec-green-100); max-width: 56ch; margin-inline: auto; }
.cta-band .btn--primary { background: var(--agec-white); color: var(--agec-green-900); }
.cta-band .btn--primary:hover { background: var(--agec-green-100); }

/* Footer */
.site-footer { border-top: 1px solid var(--agec-ink-100); padding: 40px 0; color: var(--agec-ink-500); font-size: 14px; }
.site-footer a { color: var(--agec-ink-700); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 720px) {
	.nav { display: none; }
	.hero { padding: 48px 0 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
