/* ===========================================================
   AUGMENTUM — Feuille de style globale
   IA pour les TPE — Design moderne, rapide, responsive
   =========================================================== */

:root {
  --navy: #0b1437;
  --navy-2: #131d4d;
  --indigo: #4f46e5;
  --indigo-2: #6366f1;
  --violet: #7c3aed;
  --accent: #22d3ee;
  --accent-warm: #fbbf24;
  --ink: #1a2238;
  --muted: #5b6478;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-dark: #0b1437;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow: 0 10px 30px rgba(16,24,40,.10);
  --shadow-lg: 0 24px 60px rgba(16,24,40,.18);
  --grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #22d3ee 120%);
  --grad-soft: linear-gradient(120deg, rgba(79,70,229,.10), rgba(124,58,237,.08));
  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--indigo); background: var(--grad-soft);
  border: 1px solid rgba(79,70,229,.18); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.on-dark { color: #c7d2fe; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.section { padding: 88px 0; }
.section.tight { padding: 60px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: #d7dcf0; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 52px; }
.section-head.center { text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: .2s ease; text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(79,70,229,.32); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(79,70,229,.42); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c7c9d6; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid;
  place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 6px 16px rgba(79,70,229,.35);
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; padding: 9px 14px; border-radius: 10px; transition: .15s; }
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; color: var(--navy); }
.nav-links a.active { color: var(--indigo); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .25s; }
.hero { position: relative; overflow: hidden; background: var(--bg-dark); color: #cdd4f0; padding: 96px 0 92px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 85% 10%, rgba(124,58,237,.45), transparent 60%),
              radial-gradient(50% 50% at 10% 90%, rgba(34,211,238,.30), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg,#a5b4fc,#22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #b7c0e6; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 22px 34px; color: #93a0cf; font-size: .92rem; }
.hero-trust b { color: #fff; font-size: 1.35rem; display: block; letter-spacing: -.02em; }
.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.chat-line { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.chat-line .av { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.chat-line .av.bot { background: var(--grad); color: #fff; }
.chat-line .av.user { background: rgba(255,255,255,.14); color: #fff; }
.chat-bubble { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 13px; font-size: .92rem; color: #dfe4f7; }
.logos { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; opacity: .8; }
.logos .pill { font-weight: 700; color: var(--muted); border: 1px dashed var(--line); padding: 8px 18px; border-radius: 999px; font-size: .9rem; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: .2s ease; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8dbe8; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--indigo); margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .95rem; }
.step .num { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg,#a5b4fc,#22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: #9aa6d4; font-size: .96rem; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li { position: relative; padding: 9px 0 9px 34px; color: var(--ink); border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 999px;
  background: var(--grad-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { border-radius: 20px; min-height: 320px; background: var(--grad); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.split .visual .glass { position: absolute; inset: 24px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.split .visual .bar { height: 12px; border-radius: 7px; background: rgba(255,255,255,.55); }
.split .visual .bar.s { width: 55%; } .split .visual .bar.m { width: 80%; } .split .visual .bar.l { width: 95%; }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price.featured { border-color: var(--indigo); box-shadow: var(--shadow); position: relative; transform: translateY(-6px); }
.price.featured::before {
  content: "Le plus choisi"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}
.price h3 { font-size: 1.2rem; }
.price .desc { color: var(--muted); font-size: .95rem; min-height: 44px; }
.price .amount { font-size: 2.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; margin: 8px 0 0; }
.price .amount small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price ul { list-style: none; margin: 20px 0 26px; padding: 0; }
.price ul li { padding: 8px 0 8px 28px; position: relative; font-size: .96rem; color: var(--ink); }
.price ul li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price .btn { margin-top: auto; justify-content: center; }
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: var(--grad); color: #fff; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 26px; }
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--indigo); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--navy); font-size: .96rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.contact-info { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--indigo); display: grid; place-items: center; flex: none; }
.contact-info .item h4 { margin: 0 0 2px; color: var(--navy); font-size: 1rem; }
.contact-info .item p, .contact-info .item a { margin: 0; color: var(--muted); }
.site-footer { background: var(--bg-dark); color: #aab3da; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #93a0cf; font-size: .95rem; }
.site-footer h5 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #aab3da; font-size: .96rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #7d89b8; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.note { font-size: .85rem; color: var(--muted); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--violet); background: rgba(124,58,237,.1); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
  .grid-2, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .price.featured { transform: none; }
  .cta-band { padding: 40px 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
