/* aiautomod.com — mêmes couleurs que le bot et le tableau de bord */
:root {
  --bg: #0b0612;
  --panel: #140b20;
  --panel2: #1b1029;
  --line: #2c1d40;
  --text: #ece6f5;
  --muted: #a99bbd;
  --accent: #e484c8;
  --accent2: #6764d5;
  --peach: #f4b7ad;
  --ok: #3ccf8e;
  --off: #ef6a6a;
  --warn: #f3b33d;
  --radius: 14px;
  --grad: linear-gradient(90deg, #8f8cf0, var(--accent), var(--peach));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1100px 600px at 85% -10%, #2a1140 0%, transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: #f3a6dc; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 6, 18, .82); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 800;
         font-size: 19px; letter-spacing: .2px; }
.menu { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.menu a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.menu a:hover, .menu a[aria-current] { color: #fff; background: var(--panel2); }
.acts { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; padding: 6px 9px;
        border: 1px solid var(--line); border-radius: 8px; }
.lang:hover { color: #fff; border-color: var(--accent); }
@media (max-width: 760px) {
  .bar { gap: 8px 12px; padding-top: 10px; padding-bottom: 6px; }
  .menu { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; margin: 0 -6px; }
  .menu a { white-space: nowrap; font-size: 14px; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px;
       border-radius: 12px; font-weight: 700; color: #fff; text-decoration: none; border: 0;
       background: linear-gradient(90deg, var(--accent2), var(--accent)); box-shadow: 0 8px 24px rgba(228, 132, 200, .18); }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); }

/* Accueil */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--panel);
           border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.5px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 560px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* Démo : verdicts de l'IA */
.demo { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.demo-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.demo-head b { color: var(--text); }
.msg { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 10px 6px; border-top: 1px solid var(--line); }
.msg:first-of-type { border-top: 0; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.who { font-weight: 700; font-size: 15px; }
.txt { color: var(--text); }
.verdict { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 13px;
           padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); }
.v-joke { color: #ffd98a; background: rgba(243, 179, 61, .08); border-color: rgba(243, 179, 61, .35); }
.v-del { color: #ffb0b0; background: rgba(239, 106, 106, .08); border-color: rgba(239, 106, 106, .35); }
.demo-foot { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* Sections */
.sec { padding: 56px 0; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(27, 16, 41, .55) 18%, rgba(27, 16, 41, .55) 82%, transparent); }
.sec h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 10px; letter-spacing: -.3px; }
.sec .intro { color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.card h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { font-size: 24px; display: block; margin-bottom: 8px; }
.card a.more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px;
                border-radius: 50%; background: var(--grad); color: #1b0c2e; font-weight: 800; margin-bottom: 10px; }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.banner { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--line); margin-top: 28px; }
.endcta { text-align: center; padding: 56px 16px 72px; }
.endcta h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 10px; }
.endcta p { color: var(--muted); margin: 0 0 22px; }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 12px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.plan-hi { border-color: rgba(228, 132, 200, .55); box-shadow: 0 0 0 1px rgba(228, 132, 200, .25) inset; }
.plan h3 { margin: 0 0 4px; font-size: 19px; color: #fff; }
.price { font-size: 28px; font-weight: 800; margin: 0 0 12px; color: #fff; }
.price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 4px 0; font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 14px; color: var(--muted); }

/* Pages de doc */
.page { padding: 36px 16px 64px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .help-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.side { position: sticky; top: 84px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 14px 16px; }
@media (max-width: 900px) { .side { position: static; } }
.side h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 8px; }
.side ol { margin: 0; padding-left: 20px; }
.side li { margin: 3px 0; font-size: 15px; }
.side a { color: var(--text); text-decoration: none; }
.side a:hover, .side a[aria-current] { color: var(--accent); }
.side a[aria-current] { font-weight: 700; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.3px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; color: #fff; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; color: var(--accent); }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc code, .card code { background: #1f1330; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
                        font-size: 14px; overflow-wrap: anywhere; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc td, .doc th { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.tip, .box { border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 10px 16px;
             background: var(--panel); border-radius: 0 12px 12px 0; }
.box { border-left-width: 1px; border-radius: 12px; }
.lead-doc { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 18px;
      border-top: 1px solid var(--line); }
.pn a { display: flex; flex-direction: column; text-decoration: none; font-weight: 700; padding: 10px 14px;
        border: 1px solid var(--line); border-radius: 12px; background: var(--panel); max-width: 48%; }
.pn a span { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.pn-next { text-align: right; margin-left: auto; }
.nf { text-align: center; padding-top: 80px; }
.nf h1 { font-size: 64px; margin: 10px 0; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); background: #090510; padding: 40px 0 24px; margin-top: 20px; }
.cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }
.foot h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 4px 0 10px; }
.foot .cols a:not(.brand) { display: block; color: var(--text); text-decoration: none; font-size: 15px; margin: 6px 0; }
.foot .cols a:not(.brand):hover { color: var(--accent); }
.fbrand p { color: var(--muted); font-size: 14px; max-width: 320px; }
.copy { color: var(--muted); font-size: 13px; margin-top: 24px; }
.copy a { color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: rgba(228, 132, 200, .55); transform: translateY(-2px); }
a.card h3 { color: #fff; }
