/* SmartSolutions — feuille de style commune FR/EN */
:root {
  --ink: #0A0D1F;
  --ink-2: #12163A;
  --ink-3: #1B2050;
  --paper: #FFFFFF;
  --mist: #F4F5FB;
  --line: #E3E5F0;
  --text: #1A1D33;
  --muted: #5B6080;
  --on-dark: #E8EAF6;
  --on-dark-muted: #A3A8C8;
  --cyan: #00A0F8;
  --violet: #7050C0;
  --magenta: #E00088;
  --grad: linear-gradient(115deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(18, 22, 58, .25);
  --max: 1180px;
  --font-title: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--text); background: var(--paper); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; letter-spacing: -.02em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(10, 13, 31, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 38px; width: auto; }
.brand-name { font-family: var(--font-title); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 3px; }
.lang a, .lang span { padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; opacity: 1; }
.lang span { background: #fff; color: var(--ink); }
.nav .btn { opacity: 1; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: transform .3s, opacity .3s; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: var(--font-body); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(112, 80, 192, .7); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(224, 0, 136, .55); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-small { padding: 9px 18px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: 150px 0 110px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -360px; background: radial-gradient(circle, rgba(112,80,192,.45), transparent 62%); }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; left: -320px; bottom: -420px; background: radial-gradient(circle, rgba(0,160,248,.30), transparent 62%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; margin-bottom: 24px; }
.hero p.lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 580px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.orbit.o2 { inset: 14%; border-style: dashed; border-color: rgba(255,255,255,.12); animation: spin 60s linear infinite; }
.orbit.o3 { inset: 30%; background: radial-gradient(circle, rgba(112,80,192,.35), transparent 70%); border: 0; }
.hero-visual .mark { position: absolute; inset: 33%; width: 34%; height: auto; margin: auto; filter: drop-shadow(0 10px 40px rgba(224,0,136,.35)); }
.chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 16px; background: rgba(27, 32, 80, .82); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); border-radius: 14px; font-size: .88rem; font-weight: 600; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
.chip.c1 { top: 6%; left: 2%; }
.chip.c2 { top: 26%; right: -4%; animation-delay: -1.5s; }
.chip.c3 { bottom: 22%; left: -6%; animation-delay: -3s; }
.chip.c4 { bottom: 4%; right: 6%; animation-delay: -4.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Bandeau atouts ---------- */
.assets { background: var(--ink-2); color: var(--on-dark); }
.assets .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.asset { padding: 30px 26px; border-left: 1px solid rgba(255,255,255,.07); }
.asset:first-child { border-left: 0; }
.asset strong { display: block; font-family: var(--font-title); font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.asset span { font-size: .9rem; color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.alt { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .eyebrow { color: var(--violet); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 36px; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 24px; }
.service-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service > p { color: var(--muted); margin-bottom: 20px; }
.service ul { list-style: none; display: grid; gap: 9px; }
.service li { position: relative; padding-left: 24px; font-size: .96rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--grad); }

/* Pourquoi nous */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.why-panel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.4; background: var(--ink); display: grid; place-items: center; }
.why-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(0,160,248,.35), transparent 55%), radial-gradient(circle at 75% 80%, rgba(224,0,136,.35), transparent 55%); }
.why-panel::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.why-panel img { position: relative; width: 42%; filter: drop-shadow(0 20px 50px rgba(112,80,192,.6)); margin-bottom: 60px; }
.why-panel figcaption { position: absolute; z-index: 1; left: 44px; right: 44px; bottom: 44px; color: #fff; font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; line-height: 1.35; }
.why-list { display: grid; gap: 30px; margin-top: 10px; }
.why-item { display: grid; grid-template-columns: 46px 1fr; gap: 20px; }
.why-num { font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--violet); }
.why-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: .98rem; }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-title); font-weight: 700; font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offer { display: flex; flex-direction: column; border-radius: var(--radius); padding: 38px 32px; background: var(--paper); border: 1px solid var(--line); }
.offer.featured { background: var(--ink); color: var(--on-dark); border: 0; position: relative; box-shadow: 0 30px 60px -25px rgba(112,80,192,.6); }
.offer.featured::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.offer-tag { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.offer.featured .offer-tag { color: #C9A8FF; }
.offer h3 { font-size: 1.7rem; margin-bottom: 10px; }
.offer.featured h3 { color: #fff; }
.offer > p { color: var(--muted); font-size: .97rem; margin-bottom: 26px; min-height: 3.2em; }
.offer.featured > p { color: var(--on-dark-muted); }
.offer ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.offer li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; }
.offer li svg { width: 18px; height: 18px; margin-top: 4px; stroke: var(--violet); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.offer.featured li svg { stroke: #C9A8FF; }
.offer .btn { justify-content: center; }
.offer .btn-line { border: 1.5px solid var(--line); color: var(--text); }
.offer .btn-line:hover { border-color: var(--violet); color: var(--violet); }
.offers-note { text-align: center; color: var(--muted); margin-top: 34px; font-size: .95rem; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 800px; height: 800px; left: -360px; top: -300px; background: radial-gradient(circle, rgba(112,80,192,.3), transparent 62%); }
.contact .wrap { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact .section-head { margin-bottom: 40px; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: var(--on-dark-muted); }
.contact .section-head .eyebrow { color: var(--on-dark-muted); }
.coords { list-style: none; display: grid; gap: 22px; }
.coords li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; }
.coords .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; }
.coords .ico svg { width: 20px; height: 20px; stroke: #C9A8FF; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.coords small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-muted); }
.coords a, .coords address { color: #fff; text-decoration: none; font-style: normal; font-weight: 600; }
.coords a:hover { text-decoration: underline; }
.form { background: var(--paper); color: var(--text); border-radius: 22px; padding: 42px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form h3 { font-size: 1.4rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: .97rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--mist); color: var(--text); transition: border-color .2s, background .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.alert { padding: 14px 18px; border-radius: 11px; margin-bottom: 20px; font-weight: 600; font-size: .95rem; display: none; }
.alert.ok { background: #E7F8EF; color: #0F6B3B; }
.alert.err { background: #FDECEF; color: #A3123A; }
.alert.show { display: block; }

/* Pied de page */
.footer { background: #06081A; color: var(--on-dark-muted); padding: 70px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer .brand { margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .85rem; }

/* Page légale */
.legal { padding: 150px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 2.4rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.page-top { background: var(--ink); height: 72px; position: absolute; inset: 0 0 auto; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .orbit.o2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .why, .contact .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .assets .wrap { grid-template-columns: repeat(2, 1fr); }
  .asset:nth-child(3) { border-left: 0; }
  .asset { border-top: 1px solid rgba(255,255,255,.07); }
  .why-panel { aspect-ratio: 16/10; } .why-panel img { width: 26%; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,13,31,.97); padding: 10px 16px 24px; transform: translateY(-120%); transition: transform .35s; }
  .nav.open { transform: none; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav .lang { align-self: flex-start; margin: 16px 0; }
  .nav .btn { justify-content: center; }
  .header.menu-open { background: rgba(10,13,31,.97); }
  .header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .burger span:nth-child(2) { opacity: 0; }
  .header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .hero { padding: 120px 0 80px; }
  .service, .offer { padding: 30px 24px; }
  .steps, .assets .wrap { grid-template-columns: 1fr; }
  .asset { border-left: 0; }
  .form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .chip { font-size: .78rem; padding: 8px 12px; }
  .chip.c2 { right: 0; }
  .chip.c3 { left: 0; }
}
