/* =====================================================================
   Sondicash — Feuille de style
   Mobile-first · police système · palette bleu / orange
   ===================================================================== */

/* ---------- Variables ---------- */
:root {
    --primary: #1a56db;
    --primary-dark: #1446b8;
    --primary-soft: #e8effc;
    --accent: #f59e0b;
    --accent-dark: #d48806;
    --accent-soft: #fef3c7;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-2: #475569;
    --muted: #64748b;
    --border: #e2e8f0;
    --success: #059669;
    --success-soft: #d1fae5;
    --danger: #dc2626;
    --danger-soft: #fee2e2;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
    --shadow-lg: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: .9em; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.accent { color: var(--accent-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-svg { flex: none; display: block; }
.logo-word { font-size: 1.32rem; font-weight: 800; letter-spacing: -.035em; color: var(--text); line-height: 1; }
.logo-word span { color: var(--accent-dark); }
.logo-mark {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; border-radius: 9px;
    background: var(--primary); color: var(--accent);
    font-weight: 800; font-size: 1rem;
}
.admin-tag {
    font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase;
    background: var(--text); color: #fff; padding: 2px 7px; border-radius: 6px; margin-left: 4px;
    vertical-align: middle;
}
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: .95rem; }
.main-nav a { color: var(--text-2); font-weight: 500; padding: 4px 0; }
.main-nav a.active { color: var(--primary); }
.main-nav a.btn { color: #fff; padding: 7px 14px; }
.main-nav .count {
    display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px;
    background: var(--accent); color: #fff; font-size: .75rem; text-align: center;
}
.nav-balance {
    background: var(--accent-soft); color: var(--accent-dark);
    font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: .9rem;
}
.inline-form { display: inline; margin: 0; }
.link-btn {
    background: none; border: 0; padding: 0; font: inherit;
    color: var(--muted); cursor: pointer; text-decoration: underline;
}
.link-btn:hover { color: var(--text); }

/* ---------- Contenu / pied ---------- */
.site-main { flex: 1; padding: 24px 0 48px; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); font-size: .875rem; color: var(--text-2); }
.footer-inner { padding-top: 28px; padding-bottom: 24px; display: grid; gap: 14px; }
.footer-inner p { margin: 0; }
.footer-brand { display: grid; gap: 8px; }
.footer-brand .logo-word { font-size: 1.15rem; }
.footer-ai { color: var(--text-2); max-width: 560px; line-height: 1.6; }
.footer-copy { padding-top: 10px; border-top: 1px solid var(--border); }

/* ---------- Cartes ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}
.card.narrow { max-width: 520px; margin: 24px auto; }
.card.empty { text-align: center; color: var(--muted); padding: 36px 20px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
    padding: 11px 18px; border-radius: var(--radius-sm);
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .15s, border-color .15s, transform .05s;
    text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(26, 86, 219, .35); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #1f1300; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #cbd5e1; background: #f1f5f9; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #047857; }
.btn-danger { background: var(--surface); color: var(--danger); border-color: #fecaca; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-disabled { background: #f1f5f9; color: var(--muted); cursor: not-allowed; }
.btn-sm { padding: 7px 12px; font-size: .85rem; }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Alertes ---------- */
.alert {
    padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px;
    border: 1px solid; font-size: .95rem;
}
.alert-success { background: var(--success-soft); border-color: #a7f3d0; color: #065f46; }
.alert-error { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.alert-info { background: var(--primary-soft); border-color: #c7d7f7; color: #1e3a8a; }

/* ---------- Formulaires ---------- */
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
    width: 100%; font: inherit; color: var(--text);
    padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm);
    background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 86, 219, .15);
}
.field-error { display: block; color: var(--danger); font-size: .85rem; margin-top: 5px; }
.field.checkbox label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.field.checkbox input { margin-top: 4px; width: 17px; height: 17px; flex: none; accent-color: var(--primary); }
.grid-2, .grid-3 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.grid-2.section { gap: 16px; }

/* ---------- Authentification ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 8px 0; }
.auth-card { width: 100%; max-width: 460px; padding: 28px 22px; }
.auth-card h1 { margin-bottom: 4px; }
.auth-card > .muted { margin-bottom: 22px; }
.auth-switch { text-align: center; margin: 18px 0 0; font-size: .95rem; color: var(--text-2); }
.icon-circle {
    width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.5rem;
    background: var(--primary-soft); color: var(--primary);
}
.otp-input {
    text-align: center; font-size: 1.9rem !important; letter-spacing: .5em;
    font-family: var(--mono); padding: 14px 0 14px .5em !important; font-weight: 700;
}
.resend-form { margin-top: 18px; }
.resend-form p { margin: 0; }

/* ---------- Accueil ---------- */
.hero { display: grid; gap: 32px; padding: 16px 0 24px; align-items: center; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--primary); background: var(--primary-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { font-size: 2.1rem; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-2); font-size: .92rem; }
.hero-points li::before { content: "✓"; color: var(--success); font-weight: 700; margin-right: 6px; }
.hero-card {
    background: linear-gradient(160deg, var(--primary) 0%, #133e9e 100%);
    border-radius: 20px; padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow-lg);
}
.mock-balance { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 18px; color: #fff; display: grid; gap: 4px; }
.mock-balance .label { font-size: .85rem; opacity: .8; }
.mock-balance .amount { font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.mock-balance .small { font-size: .8rem; opacity: .85; }
.progress { height: 6px; background: rgba(255, 255, 255, .2); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); }
.mock-survey { background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; }
.mock-survey .tag { grid-column: 1; justify-self: start; }
.mock-survey strong { grid-column: 1; font-size: .95rem; }
.mock-survey .reward { grid-column: 2; grid-row: 1 / 3; font-weight: 800; color: var(--accent-dark); }

.section { margin-top: 36px; }
.section-title { text-align: center; margin-bottom: 20px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h1, .section-head h2 { margin: 0; }
.steps { display: grid; gap: 14px; }
.step-num {
    display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
    background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; margin-bottom: 10px;
}
.step p { color: var(--text-2); margin: 0; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.brand {
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    padding: 8px 16px; font-weight: 600; color: var(--text-2); font-size: .92rem;
}
.cta-band {
    background: var(--text); color: #fff; border-radius: 20px; padding: 36px 20px; text-align: center;
}
.cta-band p { color: #cbd5e1; }

/* ---------- Tableau de bord ---------- */
.dash-top { display: grid; gap: 16px; }
.balance-card {
    background: linear-gradient(150deg, var(--primary) 0%, #133e9e 100%);
    color: #fff; border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    box-shadow: var(--shadow-lg);
}
.balance-label { font-size: .9rem; opacity: .85; font-weight: 500; }
.balance-amount {
    font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
    color: var(--accent); font-variant-numeric: tabular-nums;
}
.balance-progress { width: 100%; max-width: 320px; height: 8px; background: rgba(255, 255, 255, .2); border-radius: 4px; overflow: hidden; }
.balance-progress span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.balance-hint { font-size: .85rem; opacity: .9; }
.balance-card.compact .balance-amount { font-size: 2.6rem; }
.withdraw-head { margin-bottom: 20px; }

.stats-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.stat-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.stat-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: .82rem; color: var(--muted); }

/* Badge du compteur journalier */
.badge {
    display: inline-flex; white-space: nowrap; align-self: flex-start; align-items: center;
    font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 999px;
}
.badge-progress { background: var(--primary-soft); color: var(--primary); }
.badge-done { background: var(--accent-soft); color: var(--accent-dark); }

.filter-form { display: flex; gap: 8px; align-items: center; }
.filter-form select, .filter-form input { width: auto; min-width: 180px; padding: 8px 12px; }

/* Cartes de sondage */
.survey-grid { display: grid; gap: 14px; }
.survey-card { display: flex; flex-direction: column; gap: 4px; transition: box-shadow .15s, border-color .15s; }
.survey-card:hover { box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.survey-card h3 { margin: 6px 0 2px; }
.survey-card p { margin: 0; }
.survey-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.survey-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.tag {
    display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 6px;
    background: #f1f5f9; color: var(--text-2);
}
.tag-consommation { background: #fce7f3; color: #9d174d; }
.tag-technologie { background: #e0e7ff; color: #3730a3; }
.tag-alimentation { background: #dcfce7; color: #166534; }
.tag-sante { background: #ccfbf1; color: #115e59; }
.tag-voyage { background: #e0f2fe; color: #075985; }
.tag-loisirs { background: #f3e8ff; color: #6b21a8; }
.tag-opinion { background: #f1f5f9; color: #334155; }
.tag-media { background: #ffedd5; color: #9a3412; }
.tag-mode { background: #fae8ff; color: #86198f; }
.tag-sports { background: #fee2e2; color: #991b1b; }
.reward-pill {
    background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; font-size: .9rem;
    padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Page sondage ---------- */
.survey-page { max-width: 720px; margin: 0 auto; }
.back-link { display: inline-block; margin-bottom: 12px; font-size: .92rem; color: var(--text-2); }
.survey-head { margin-bottom: 16px; }
.survey-head h1 { margin: 10px 0 6px; }
.survey-head p { margin: 0 0 4px; }
.survey-form { display: grid; gap: 14px; }
.question { margin: 0; min-width: 0; }
.question legend { font-weight: 600; font-size: 1.02rem; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.question .options { clear: both; display: grid; gap: 8px; }
.q-num { display: inline-block; color: var(--primary); font-size: .8rem; font-weight: 700; margin-right: 6px; }
.option {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: border-color .12s, background-color .12s;
}
.option:hover { border-color: #94a3b8; }
.option input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--primary); }
.option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }

/* Écran de remerciement */
.thanks { padding: 36px 24px; }
.thanks-icon {
    width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
    display: grid; place-items: center; font-size: 2rem; font-weight: 800;
    background: var(--success-soft); color: var(--success);
}
.thanks-text { font-size: 1.2rem; }
.thanks-text strong { font-size: 1.5rem; }

/* ---------- Retrait ---------- */
.withdraw-grid { display: grid; gap: 16px; }
.withdraw-card h2 { display: flex; align-items: center; gap: 10px; }
.method-icon {
    display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
    font-weight: 800; font-size: 1rem;
}
.method-icon.paypal { background: var(--primary-soft); color: var(--primary); }
.method-icon.gift { background: var(--accent-soft); color: var(--accent-dark); }
.brand-picker, .amount-picker { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.amount-picker { grid-template-columns: repeat(4, 1fr); }
.brand-option, .amount-option { position: relative; cursor: pointer; }
.brand-option input, .amount-option input { position: absolute; opacity: 0; pointer-events: none; }
.brand-option span, .amount-option span {
    display: block; text-align: center; padding: 10px 6px; font-size: .88rem; font-weight: 600;
    border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .12s, background-color .12s;
}
.brand-option:hover span, .amount-option:hover span { border-color: #94a3b8; }
.brand-option input:checked + span, .amount-option input:checked + span {
    border-color: var(--accent); background: var(--accent-soft); color: #78350f;
}
.brand-option input:focus-visible + span, .amount-option input:focus-visible + span { outline: 3px solid rgba(245, 158, 11, .4); }
.amount-option.disabled { cursor: not-allowed; }
.amount-option.disabled span { color: #cbd5e1; background: #f8fafc; }

/* ---------- Tableaux ---------- */
.table-wrap { padding: 0; overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th {
    text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--muted); background: #f8fafc; padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.card > .table th { background: transparent; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.status-pending { background: var(--accent-soft); color: #92400e; }
.status-validated { background: var(--success-soft); color: #065f46; }
.status-rejected { background: var(--danger-soft); color: #991b1b; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* Tableaux en cartes sur mobile */
@media (max-width: 719px) {
    .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
    .table tr:last-child { border-bottom: 0; }
    .table td { border: 0; padding: 5px 14px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
    .table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .8rem; text-align: left; flex: none; }
    .table td[colspan] { justify-content: center; }
    .table td[colspan]::before { content: none; }
    .actions { justify-content: flex-end; }
}

/* ---------- Admin ---------- */
.admin-header { background: #0f172a; border-bottom-color: #0f172a; }
.admin-header .logo { color: #fff; }
.admin-header .logo-word { color: #fff; }
.admin-header .logo-word span { color: var(--accent); }
.admin-header .admin-tag { background: var(--accent); color: #1f1300; }
.admin-header .main-nav a { color: #cbd5e1; }
.admin-header .main-nav a.active { color: #fff; }
.admin-header .link-btn { color: #94a3b8; }
.admin-stats { margin-bottom: 8px; }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--text-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs a:hover { text-decoration: none; color: var(--text); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pagination a, .pagination span {
    display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px;
    border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: .9rem;
}
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.seed-log { background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 10px; white-space: pre-wrap; font-size: .85rem; }

/* ---------- Tablette ---------- */
@media (min-width: 720px) {
    h1 { font-size: 1.9rem; }
    .site-main { padding-top: 32px; }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .survey-grid { grid-template-columns: 1fr 1fr; }
    .withdraw-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .brand-picker { grid-template-columns: 1fr 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1.4fr; column-gap: 48px; }
    .footer-copy { grid-column: 1 / -1; }
    .auth-card { padding: 34px 32px; }
}

/* ---------- Bureau ---------- */
@media (min-width: 1000px) {
    .hero { grid-template-columns: 1.2fr 1fr; gap: 48px; padding-top: 32px; }
    .hero h1 { font-size: 3.1rem; }
    .dash-top { grid-template-columns: minmax(320px, 1fr) 1.4fr; align-items: stretch; }
    .dash-top .stats-grid { grid-template-columns: 1fr 1fr; }
    .dash-top .stats-grid .stat:last-child { grid-column: 1 / -1; }
    .balance-card { justify-content: center; }
    .balance-amount { font-size: 4rem; }
    .survey-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-stats { grid-template-columns: repeat(3, 1fr); }
}

/* Réduction des animations si demandé par le système */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}


/* =====================================================================
   Page d'accueil (v2)
   ===================================================================== */
.hero2 { display: grid; gap: 36px; padding: 12px 0 8px; align-items: center; }
.hero2 h1 { font-size: 2.2rem; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; }
.hero2 h1 .hl { color: var(--primary); }
.eyebrow-dark { background: rgba(255, 255, 255, .12); color: #fde68a; }

/* Aperçu de sondage façon téléphone */
.hero2-visual { position: relative; padding: 18px 0 48px; display: flex; justify-content: center; }
.hero2-visual::before {
    content: ""; position: absolute; inset: 0 6% 12% 6%; border-radius: 28px;
    background: radial-gradient(120% 90% at 30% 10%, #3b74ee 0%, var(--primary) 45%, #12399a 100%);
}
.phone {
    position: relative; width: 100%; max-width: 330px; background: #fff; border-radius: 22px;
    padding: 18px; box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .45); display: grid; gap: 9px; margin-top: 40px;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; }
.phone-q { font-weight: 700; margin: 6px 0 4px; font-size: .98rem; line-height: 1.35; }
.phone-q span { display: block; color: var(--primary); font-size: .75rem; font-weight: 700; margin-bottom: 4px; }
.phone-opt { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.phone-opt::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; }
.phone-opt.selected { border-color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.phone-opt.selected::before { border: 4px solid var(--primary); }
.phone-bar { height: 6px; background: #eef2f7; border-radius: 3px; overflow: hidden; margin-top: 4px; }
.phone-bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.toast {
    position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
    padding: 10px 14px 10px 10px; box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .35); font-size: .82rem; line-height: 1.25;
}
.toast strong { display: block; font-size: .88rem; }
.toast small { color: var(--muted); }
.toast-ico {
    width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none;
    background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.toast-ico.ai { background: var(--text); color: #fde68a; font-size: .75rem; }
.toast-gain { right: -8px; top: -14px; }
.toast-ai { left: 0; bottom: 6px; }

/* Bandeau de chiffres */
.stats-band {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 36px;
    background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.stats-band div { background: var(--surface); padding: 18px 14px; text-align: center; display: grid; gap: 2px; }
.stats-band strong { font-size: 1.35rem; letter-spacing: -.02em; color: var(--text); }
.stats-band span { font-size: .82rem; color: var(--muted); }

.section-intro { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.section-intro h2 { font-size: 1.6rem; letter-spacing: -.02em; }
.section-intro p { margin: 0; }
.home .section { margin-top: 64px; }

/* Bloc IA */
.ai-section {
    background: var(--text); color: #e2e8f0; border-radius: 22px; padding: 30px 22px;
    display: grid; gap: 28px; align-items: center;
}
.ai-section h2 { color: #fff; font-size: 1.6rem; letter-spacing: -.02em; }
.ai-section p { color: #cbd5e1; }
.ai-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ai-list li { padding-left: 28px; position: relative; color: #cbd5e1; font-size: .95rem; }
.ai-list li::before {
    content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px;
    background: var(--accent); color: #1f1300; font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.ai-list strong { color: #fff; }
.flow { display: grid; gap: 0; }
.flow-step {
    display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px; color: #fff; font-weight: 600; font-size: .95rem;
}
.flow-step.highlight { background: var(--accent); border-color: var(--accent); color: #1f1300; }
.flow-ico {
    width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none;
    background: var(--primary); color: #fff; font-size: .8rem; font-weight: 800;
}
.flow-step.highlight .flow-ico { background: #1f1300; color: var(--accent); }
.flow-arrow { width: 2px; height: 16px; background: rgba(255, 255, 255, .25); margin-left: 27px; }

/* Catégories */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-card {
    display: grid; justify-items: start; gap: 6px; padding: 16px; border-radius: var(--radius);
    border: 1px solid transparent; transition: transform .15s;
}
.cat-card:hover { transform: translateY(-2px); }
.cat-card strong { color: var(--text); font-size: .98rem; }
.cat-card span { font-size: .8rem; color: var(--text-2); }
.brand-main { background: var(--primary); color: #fff; border-color: var(--primary); }

/* FAQ */
.faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details { padding: 0; margin-bottom: 10px; }
.faq summary {
    cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    font-size: 1.3rem; color: var(--primary); font-weight: 500;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text-2); }

.cta-band { display: grid; justify-items: center; gap: 4px; }
.cta-band .logo-svg { margin-bottom: 8px; }
.cta-band h2 { font-size: 1.6rem; letter-spacing: -.02em; }

/* Mention IA dans les formulaires / sondages */
.ai-note {
    display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--text-2);
    background: #f1f5f9; border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 14px;
}
.ai-note b { color: var(--text); }
.ai-note .ai-chip { flex: none; background: var(--text); color: #fde68a; font-size: .68rem; font-weight: 800; border-radius: 6px; padding: 2px 6px; margin-top: 1px; }

@media (min-width: 720px) {
    .hero2 h1 { font-size: 2.6rem; }
    .stats-band { grid-template-columns: repeat(4, 1fr); }
    .cat-grid { grid-template-columns: repeat(5, 1fr); }
    .ai-section { padding: 44px 40px; }
}
@media (min-width: 1000px) {
    .hero2 { grid-template-columns: 1.25fr 1fr; gap: 48px; padding-top: 28px; }
    .hero2 h1 { font-size: 2.85rem; }
    .hero2 h1 br { display: block; }
    .ai-section { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}
@media (max-width: 479px) {
    .toast { position: relative; inset: auto; margin-top: 10px; }
    .phone { margin-top: 18px; }
    .hero2-visual { flex-direction: column; align-items: center; padding-bottom: 18px; }
    .hero2-visual::before { inset: 0 0 30% 0; }
}

/* Inscription réservée à Gmail */
.field-help { display: block; font-size: .82rem; color: var(--muted); margin-top: 5px; }
.gmail-only {
    display: flex; align-items: center; gap: 10px; margin: -8px 0 20px; padding: 10px 12px;
    background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-sm); font-size: .9rem; color: #7c2d12;
}
.g-badge {
    flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 1px solid #fed7aa; font-weight: 800; color: #ea4335; font-size: .9rem;
}
