/* /audit-gratuit — Landing AAARRR #1 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fb 100%);
    color: #111827;
    line-height: 1.5;
}
a { color: #6366f1; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.ag-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px; background: #fff; border-bottom: 1px solid #e5e7eb;
}
.ag-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #111827; font-size: 1.15rem; }
.ag-logo img { height: 28px; width: auto; }
.ag-nav { display: flex; gap: 12px; align-items: center; }
.ag-nav a { font-size: 0.9rem; font-weight: 500; color: #374151; }
.ag-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; cursor: pointer; border: none; transition: all 0.15s; text-decoration: none !important; }
.ag-btn-outline { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.ag-btn-outline:hover { background: #f3f4f6; border-color: #9ca3af; }
.ag-btn-primary { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: #fff; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35); }
.ag-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45); }
.ag-btn-lg { padding: 14px 24px; font-size: 1rem; width: 100%; }
.ag-btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }

/* Main */
.ag-main { max-width: 780px; margin: 0 auto; padding: 48px 20px; }

/* Hero */
.ag-hero { text-align: center; }
.ag-badge { display: inline-block; background: #ede9fe; color: #6d28d9; padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; }
.ag-hero h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.ag-highlight { background: linear-gradient(90deg, #6366f1, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ag-lede { font-size: 1.05rem; color: #4b5563; max-width: 620px; margin: 0 auto 36px; }

/* Form */
.ag-form { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid #e5e7eb; text-align: left; }
.ag-field { margin-bottom: 18px; position: relative; }
.ag-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: #374151; }
.ag-field input { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border 0.15s, box-shadow 0.15s; }
.ag-field input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.ag-field-hint { margin-top: 6px; font-size: 0.78rem; color: #9ca3af; }
.ag-hint { margin-top: 8px; font-size: 0.85rem; color: #059669; font-weight: 500; }
.ag-cgu { text-align: center; margin-top: 12px; font-size: 0.75rem; color: #9ca3af; }

/* Autocomplete */
.ag-suggestions {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-top: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); max-height: 280px; overflow-y: auto;
}
.ag-suggestion { padding: 11px 14px; cursor: pointer; font-size: 0.9rem; border-bottom: 1px solid #f3f4f6; }
.ag-suggestion:last-child { border-bottom: none; }
.ag-suggestion:hover, .ag-suggestion.active { background: #f3f4f6; }

/* Result */
.ag-result { margin-top: 32px; }
.ag-score-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); text-align: center; border: 1px solid #e5e7eb; }
.ag-score-label { font-size: 0.85rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.ag-score-value { font-size: 4.5rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.ag-score-subtitle { color: #6b7280; font-size: 1rem; margin-bottom: 20px; }
.ag-score-gauge { height: 8px; background: #f3f4f6; border-radius: 4px; overflow: hidden; margin: 12px auto 24px; max-width: 360px; }
.ag-score-gauge-fill { height: 100%; border-radius: 4px; transition: width 1s ease-out; }

.ag-checks { background: #fff; border-radius: 14px; padding: 24px; margin-top: 20px; border: 1px solid #e5e7eb; }
.ag-checks h3 { font-size: 1.15rem; margin-bottom: 18px; }
.ag-check-list { list-style: none; }
.ag-check-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; align-items: flex-start; }
.ag-check-item:last-child { border-bottom: none; }
.ag-check-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; }
.ag-check-icon.ok { background: #d1fae5; color: #047857; }
.ag-check-icon.ko { background: #fee2e2; color: #b91c1c; }
.ag-check-label { font-weight: 600; margin-bottom: 3px; font-size: 0.95rem; }
.ag-check-detail { color: #6b7280; font-size: 0.85rem; }

.ag-cta-unlock { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: #fff; padding: 28px; border-radius: 16px; margin-top: 24px; text-align: center; }
.ag-cta-unlock h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; }
.ag-cta-unlock p { opacity: 0.92; margin-bottom: 18px; font-size: 0.95rem; }
.ag-cta-unlock .ag-btn { background: #fff; color: #6366f1; font-weight: 700; padding: 14px 28px; font-size: 1rem; }
.ag-cta-unlock .ag-btn:hover { background: #f3f4f6; transform: translateY(-1px); }
.ag-cta-bullets { list-style: none; margin-top: 16px; font-size: 0.85rem; opacity: 0.95; }
.ag-cta-bullets li { padding: 4px 0; }

/* Proof */
.ag-proof { margin-top: 56px; }
.ag-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.ag-proof-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; text-align: center; }
.ag-proof-num { font-size: 1.8rem; font-weight: 800; color: #6366f1; }
.ag-proof-label { font-size: 0.82rem; color: #6b7280; margin-top: 4px; }

/* Features */
.ag-features { margin-top: 56px; }
.ag-features h2 { font-size: 1.5rem; margin-bottom: 20px; text-align: center; }
.ag-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.ag-feature { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px 18px; font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.ag-dot { font-size: 1.1rem; }

/* Error */
.ag-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.9rem; }

/* Footer */
.ag-footer { text-align: center; padding: 32px 20px; color: #9ca3af; font-size: 0.85rem; }

/* Mobile */
@media (max-width: 640px) {
    .ag-hero h1 { font-size: 1.75rem; }
    .ag-lede { font-size: 0.95rem; }
    .ag-score-value { font-size: 3.5rem; }
    .ag-main { padding: 28px 16px; }
    .ag-header { padding: 12px 16px; }
    .ag-nav a { font-size: 0.85rem; }
}
