/* Styles de la maquette agent-admin/section-ia-donnees.html, repris tels quels. */
:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --ink: #0f1b2d;
    --muted: #4a5a73;
    --line: #d5deec;
    --accent: #1747c8; /* aplat d'accent clair (data) : réglé sur le pire empilement, badge translucide sur aplat, ≥ 4,5:1 — #4 */
    --accent-soft: #e6eeff;
    --ok: #0f9d6b;
    --ok-soft: #e0f5ec;
    --shadow: 0 8px 24px rgba(15, 27, 45, .08);
    --pub: #d9822b;
    --pub-soft: #fdf0e1;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --pub: #f0a45c;
      --pub-soft: #3a2a14;
      --bg: #0b1220;
      --card: #131d31;
      --ink: #eef3fb;
      --muted: #9fb0cc;
      --line: #263450;
      --accent: #6b95ff;
      --accent-soft: #1a2a52;
      --ok: #3ddba0;
      --ok-soft: #12332a;
      --shadow: 0 8px 24px rgba(0, 0, 0, .35);
    }
  }
  :root[data-theme="dark"] {
    --pub: #f0a45c;
    --pub-soft: #3a2a14;
    --bg: #0b1220;
    --card: #131d31;
    --ink: #eef3fb;
    --muted: #9fb0cc;
    --line: #263450;
    --accent: #6b95ff;
    --accent-soft: #1a2a52;
    --ok: #3ddba0;
    --ok-soft: #12332a;
    --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
  }

  .section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 16px;
  }

  .head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
  .eyebrow {
    display: inline-block;
    font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent); background: var(--accent-soft);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  }
  h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 16px; }
  .lead { font-size: 1.15rem; color: var(--muted); margin: 0; }

  /* Schéma */
  .flow {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    align-items: center;
    gap: 0;
  }
  .col { display: flex; flex-direction: column; gap: 10px; }
  .col-title {
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 4px; text-align: center;
  }
  .chip {
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 18px; font-size: 1.05rem; font-weight: 600;
    box-shadow: var(--shadow);
  }
  .chip.norm { border-left: 4px solid var(--accent); }

  .core {
    background: var(--accent); color: #fff; border-radius: 20px;
    padding: 28px 22px; text-align: center; box-shadow: var(--shadow);
  }
  :root[data-theme="dark"] .core { color: #08101f; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .core { color: #08101f; } }
  .core strong { display: block; font-size: 1.35rem; margin-bottom: 14px; }
  .badges { display: flex; flex-direction: column; gap: 8px; }
  .badge {
    background: rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px;
    font-size: 1rem; font-weight: 600;
  }
  :root[data-theme="dark"] .badge { background: rgba(8,16,31,.18); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge { background: rgba(8,16,31,.18); } }

  .core .cloud { display: block; width: 38px; height: 38px; margin: 0 auto 8px; }
  .core .cloud-label { font-size: .95rem; font-weight: 600; opacity: .9; margin: -8px 0 16px; }
  .badge.hl { background: #0f1b2d !important; color: #ffd166 !important; font-weight: 800; }
  .team .chip { background: var(--ok-soft); border-color: var(--ok); color: var(--ink); }

  .arrow { display: flex; justify-content: center; align-items: center; color: var(--accent); }
  .arrow svg { width: 36px; height: 36px; }

  /* Sorties : interne et public */
  .flow { align-items: stretch; }
  .flow > .col, .flow > .core { align-self: center; }
  .flow > .arrow { align-self: center; }
  .fork { display: flex; flex-direction: column; position: relative; }
  .fork .arrow { flex: 1; }
  .fork::before {
    content: ""; position: absolute; left: 6px; top: 25%; bottom: 25%;
    width: 3px; border-radius: 3px; background: var(--accent); opacity: .5;
  }
  .outs { display: flex; flex-direction: column; gap: 22px; }
  .group { display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .pub .chip { background: var(--pub-soft); border-color: var(--pub); }
  .chip small { display: block; margin-top: 4px; font-size: .9rem; font-weight: 500; color: var(--muted); }
  .team .chip.ai { background: var(--card); border: 2px solid var(--ok); }
  .pub .arrow-pub, .arrow-pub { color: var(--pub); }

  /* Réponse */
  .answer {
    margin: 40px auto 0; max-width: 640px; text-align: center;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 22px 24px; box-shadow: var(--shadow);
  }
  .answer .q { color: var(--muted); font-size: 1.05rem; margin: 0 0 8px; }
  .answer .a { font-size: 1.25rem; font-weight: 700; margin: 0; }
  .answer .src {
    display: inline-block; margin-top: 10px; font-size: .95rem; font-weight: 600;
    color: var(--ok); background: var(--ok-soft); padding: 4px 12px; border-radius: 999px;
  }

  /* Site web & GEO */
  .geo { margin-top: 56px; }
  .geo h3 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 24px; }
  .geo-chain { display: grid; grid-template-columns: 1fr 56px 1.3fr 56px 1fr; align-items: center; }
  .geo-node {
    border-radius: 16px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
    font-size: 1.2rem; font-weight: 700;
  }
  .geo-node small { display: block; margin-top: 8px; font-size: 1rem; font-weight: 500; opacity: .85; }
  .geo-base { background: var(--accent); color: #fff; }
  :root[data-theme="dark"] .geo-base { color: #08101f; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .geo-base { color: #08101f; } }
  .geo-site { background: var(--card); border: 2px solid var(--accent); }
  .geo-outs { display: grid; gap: 10px; }
  .geo-outs .chip { background: var(--pub-soft); border-color: var(--pub); }
  .geo-outs.int .chip { background: var(--ok-soft); border-color: var(--ok); }
  .geo-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
  .tag {
    background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 1.05rem;
    padding: 8px 18px; border-radius: 999px;
  }

  /* Pourquoi maintenant */
  .why { margin: 0 0 56px; }
  .why h3, .pros h3 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 24px; }
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .why-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 24px 22px; box-shadow: var(--shadow); text-align: center;
  }
  .why-card strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
  .why-card span { color: var(--muted); font-size: 1.05rem; }

  /* Ce que vous recevez */
  .give { margin-top: 56px; }
  .give h3 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 24px; }
  .give-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; align-items: start; }
  .give-card {
    --c: var(--accent); background: var(--card); border: 1px solid var(--line);
    border-top: 5px solid var(--c); border-radius: 16px; padding: 22px 22px 24px; box-shadow: var(--shadow);
  }
  .give-card.c2 { --c: var(--ok); }
  .give-card.c3 { --c: var(--pub); }
  .give-card h4 { margin: 0 0 14px; font-size: 1.2rem; }
  .give-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .give-card li { position: relative; padding-left: 26px; font-size: 1.05rem; }
  .give-card li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--c); }
  .give-note {
    margin: 20px auto 0; max-width: 560px; text-align: center; color: var(--muted); font-size: 1.05rem;
    background: var(--accent-soft); border-radius: 12px; padding: 12px 18px;
  }

  /* Avantages */
  .pros { margin-top: 56px; }
  .pros-lead { text-align: center; color: var(--muted); font-size: 1.1rem; margin: -10px 0 24px; }
  .pros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pros-item {
    position: relative; background: var(--ok-soft); border: 1px solid var(--ok); border-radius: 14px;
    padding: 20px 18px 20px 52px; font-size: 1.1rem; font-weight: 600;
  }
  .pros-item::before {
    content: "✓"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px;
    border-radius: 50%; background: var(--ok); color: #fff; font-size: .95rem; font-weight: 800;
    display: grid; place-items: center;
  }
  :root[data-theme="dark"] .pros-item::before { color: #08101f; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pros-item::before { color: #08101f; } }

  /* Souveraineté */
  .sov { margin-top: 56px; }
  .sov h3, .vs h3 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 24px; }
  .sov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .sov-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 96px;
    background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ok);
    border-radius: 14px; padding: 20px 16px; text-align: center;
    font-size: 1.15rem; font-weight: 700; box-shadow: var(--shadow);
  }

  .sov-item .eu { width: 54px; height: 36px; }

  /* Comparaison */
  .vs { margin-top: 56px; }
  .vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .vs-card {
    border-radius: 18px; padding: 24px 22px; border: 1px solid var(--line);
    background: var(--card); box-shadow: var(--shadow);
  }
  .vs-card h4 { margin: 0 0 16px; font-size: 1.15rem; }
  .vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .vs-card li { font-size: 1.1rem; padding-left: 28px; position: relative; }
  .vs-card li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
  .vs-other { color: var(--muted); }
  .vs-other h4 { color: var(--muted); }
  .vs-other li::before { content: "•"; color: var(--muted); }
  .vs-us { background: var(--accent); border-color: var(--accent); color: #fff; }
  :root[data-theme="dark"] .vs-us { color: #08101f; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vs-us { color: #08101f; } }
  .vs-us li::before { content: "✓"; }

  /* Méthode */
  .method { margin-top: 56px; }
  .method h3 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 28px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
  .step {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: 16px; padding: 28px 22px 24px; box-shadow: var(--shadow);
    font-size: 1.15rem; font-weight: 600; text-align: center;
  }
  .step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent); font-weight: 800;
    display: grid; place-items: center; border: 2px solid var(--card);
  }
  .step.key { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.04); }
  :root[data-theme="dark"] .step.key { color: #08101f; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step.key { color: #08101f; } }
  .step.key::before { background: #fff; color: var(--accent); }
  .step.key small { display: block; margin-top: 6px; font-size: .95rem; font-weight: 500; opacity: .9; }

  .cta { text-align: center; margin-top: 44px; }
  .cta .note { margin: 14px 0 0; color: var(--muted); font-size: 1rem; }
  .btn {
    display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
    font-weight: 700; font-size: 1.1rem; padding: 16px 32px; border-radius: 12px;
    box-shadow: var(--shadow);
  }
  :root[data-theme="dark"] .btn { color: #08101f; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #08101f; } }

  /* Mobile : le schéma passe à la verticale */
  @media (max-width: 860px) {
    .flow { grid-template-columns: 1fr; gap: 8px; }
    .arrow { padding: 4px 0; }
    .arrow svg { transform: rotate(90deg); }
    .flow > .col, .flow > .core, .flow > .arrow { align-self: stretch; }
    .fork { flex-direction: row; justify-content: center; }
    .fork::before { display: none; }
    .fork .arrow { flex: 0 0 auto; padding: 4px 28px; }
    .geo-chain { grid-template-columns: 1fr; gap: 8px; }
    .sov-grid { grid-template-columns: 1fr; }
    .why-grid, .pros-grid, .give-grid { grid-template-columns: 1fr; }
    .vs-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .step.key { transform: none; }
  }

/* --- Ajouts data-flexiweb-evo : en-tête, hero, mention « à venir », pied de page --- */
html { -webkit-text-size-adjust: 100%; }
a { color: inherit; }
.top { display: flex; align-items: center; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 14px 16px; }
.top .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.top .product { color: var(--muted); font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .lang { font-weight: 700; font-size: .9rem; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f1b2d 0%, #1747c8 100%); color: #fff; }
.hero .motif { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40rem; max-width: 48%; height: auto; opacity: .15; filter: invert(1); pointer-events: none; } /* .15 max : le motif passe sous h1 et .hero-sub vers 1000-1200 px ; pire pixel blanc → .hero-sub 4,87:1 (à .35 : 3,17) — #4 */
.hero-in { position: relative; max-width: 1120px; margin: 0 auto; padding: 72px 16px 80px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 0; max-width: 760px; }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 640px; margin: 20px 0 0; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-light, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 12px 28px; font-weight: 600; text-decoration: none; }
.btn-light { background: #fff; color: #0f1b2d; }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.reass { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; }
.reass li { display: flex; align-items: center; gap: 8px; }
.reass .tick { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.18); align-items: center; justify-content: center; font-size: .7rem; }

/* Pastille « À venir » : pilule PLEINE partout (fond --accent-soft, --card sur aplat ; encre d'accent). Jamais translucide : sur un aplat, une couche rgba plafonne sous 4,5:1 — #4. */
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; vertical-align: middle; background: var(--accent-soft); color: var(--accent); }
/* Sur un aplat d'accent (cœur, hero), le fond --accent-soft disparaîtrait : pilule --card. Sur carte blanche, --accent-soft garde la forme visible — #6. */
.core .soon, .hero .soon { background: var(--card); }

/* Souveraineté : un seul item visible (les autres sont retirés, #73) → une colonne centrée. */
.sov-grid { grid-template-columns: 1fr; justify-items: center; }

.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 28px 16px; text-align: center; color: var(--muted); font-size: .9rem; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 12px; }
.foot address { font-style: normal; }
.foot p { margin: 6px 0 0; }

@media (max-width: 860px) {
  .hero .motif { display: none; }
  .hero-in { padding: 48px 16px 56px; }
}
