/* =========================================================
   CenterCloud — Feuille de styles partagée
   Design system : thème clair/sombre, méga-menu, multi-pages
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root[data-theme="dark"] {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #16161f;
  --card: #14141c;
  --panel: #14141c;
  --panel-shadow: 0 30px 70px rgba(0,0,0,.55);
  --border: #24242f;
  --border-hover: #34343f;
  --text: #f4f4f6;
  --text-muted: #9a9aab;
  --text-faint: #5c5c6b;
  --accent: #6c5ce7;
  --accent-2: #29a8e8;
  --accent-glow: rgba(108, 92, 231, .35);
  --nav-bg: rgba(10,10,15,.8);
  --logo-fill: rgba(255,255,255,.06);
}
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f6f6fb;
  --bg-3: #f0f0f7;
  --card: #ffffff;
  --panel: #ffffff;
  --panel-shadow: 0 24px 60px rgba(20,20,45,.14);
  --border: #e6e6ef;
  --border-hover: #d2d2e0;
  --text: #15151f;
  --text-muted: #5e5e72;
  --text-faint: #9a9aab;
  --accent: #6c5ce7;
  --accent-2: #0078b8;
  --accent-glow: rgba(108, 92, 231, .22);
  --nav-bg: rgba(255,255,255,.85);
  --logo-fill: rgba(108,92,231,.05);
}

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* =========================================================
   NAV
   ========================================================= */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .35s ease, border-color .35s ease, box-shadow .25s ease;
}
nav.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }

.logo {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--text);
  display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0;
}
.logo span { color: var(--accent-2); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; color: #fff;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav-links > li { position: relative; }
/* le méga-menu se centre sur la barre entière (nav), pas sur son <li> */
.nav-links > li.has-mega { position: static; }
.nav-links > li > a,
.nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  background: none; border: none; cursor: pointer;
  padding: .55rem .7rem; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover,
.nav-trigger:hover,
.nav-links > li > a.active,
.nav-trigger.active { color: var(--text); }
.nav-links > li > a.active,
.nav-trigger.active { background: var(--bg-2); }
.chev { transition: transform .25s ease; opacity: .8; }
.has-mega:hover .chev,
.has-dropdown:hover .chev,
.has-mega.open .chev,
.has-dropdown.open .chev { transform: rotate(180deg); }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--border-hover); color: var(--text); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.nav-cta {
  background: var(--accent); color: #fff;
  padding: .55rem 1.3rem; border-radius: 8px;
  font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }

.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}
.nav-burger .ico-close { display: none; }
body.nav-open .nav-burger .ico-open { display: none; }
body.nav-open .nav-burger .ico-close { display: block; }

/* =========================================================
   MEGA MENU
   ========================================================= */
.mega, .dropdown {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 200;
}
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1080px, calc(100vw - 2rem));
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--panel-shadow);
  padding: 1.8rem;
}
.has-mega:hover .mega,
.has-mega.open .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* hover bridge so the menu doesn't close in the gap */
.has-mega::after, .has-dropdown::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
}

.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
.mega-col h4 {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: .8rem;
}
.mega-col h4.mt { margin-top: 1.3rem; }
.mega-col a {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .55rem; margin: 0 -.55rem;
  color: var(--text-muted); font-size: .92rem; font-weight: 500;
  text-decoration: none; border-radius: 9px;
  transition: color .15s, background .15s;
}
.mega-col a:hover { color: var(--text); background: var(--bg-2); }

.mega-foot { margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.mega-foot h4 {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: .85rem;
}
.mega-foot h4:not(:first-child) { margin-top: 1.2rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px;
  padding: .35rem .85rem; font-size: .8rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.tag:hover { border-color: var(--border-hover); color: var(--text); background: var(--bg-3); }

.badge {
  font-size: .58rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(0,120,184,.14);
  padding: .15rem .4rem; border-radius: 5px; margin-left: .3rem;
}

/* =========================================================
   DROPDOWN (petit)
   ========================================================= */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--panel-shadow); padding: .5rem;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .8rem; border-radius: 9px;
  color: var(--text-muted); font-size: .9rem; font-weight: 500; text-decoration: none;
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--bg-2); color: var(--text); }
.dropdown a svg { color: var(--accent); flex-shrink: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary {
  background: var(--accent); color: #fff; padding: .9rem 2rem; border-radius: 10px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }
.btn-ghost {
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  padding: .9rem 2rem; border-radius: 10px; font-size: .95rem; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.btn-ghost.small, .btn-primary.small { padding: .6rem 1.2rem; font-size: .85rem; }

/* =========================================================
   HERO (accueil)
   ========================================================= */
.hero { position: relative; padding: 7rem 0 5rem; text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(40px); z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow, .hero-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  border: 1px solid var(--border); border-radius: 100px;
  padding: .4rem 1rem; margin-bottom: 1.8rem; background: var(--bg-2);
}
.hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.08;
  letter-spacing: -0.03em; max-width: 900px; margin: 0 auto 1.5rem;
}
.grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 660px; margin: 0 auto 2.5rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 3.5rem; color: var(--text-faint); font-size: .82rem; letter-spacing: .04em; }
.trust-logos { display: flex; gap: 2.5rem; justify-content: center; align-items: center; margin-top: 1.2rem; flex-wrap: wrap; }
.trust-logo { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-faint); opacity: .8; }

/* =========================================================
   PAGE HERO (pages internes)
   ========================================================= */
.page-hero { position: relative; padding: 4.5rem 0 3rem; text-align: center; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(40px); z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1;
  letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 1.2rem;
}
.page-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.breadcrumb { font-size: .82rem; color: var(--text-faint); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-head.left { text-align: left; margin-left: 0; }
.section-tag { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.section-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; }
.bg-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* =========================================================
   SERVICES CARDS
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; transition: border-color .2s, transform .2s;
  text-decoration: none; color: inherit; display: block;
}
.svc:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(108,92,231,.12); display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.3rem;
}
.svc h3 { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 600; margin-bottom: .6rem; }
.svc p { color: var(--text-muted); font-size: .92rem; line-height: 1.65; margin-bottom: 1.2rem; }
.svc-price { font-family: 'Sora', sans-serif; font-size: .95rem; font-weight: 600; color: var(--accent-2); }

/* Detailed service block (services.html) */
.svc-detail {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.5rem 0; border-top: 1px solid var(--border); scroll-margin-top: 90px;
}
.svc-detail:first-of-type { border-top: none; }
.svc-detail.rev .svc-detail-media { order: -1; }
.svc-detail h3 { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin: .8rem 0 .8rem; }
.svc-detail p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; }
.svc-detail .svc-price { font-size: 1.05rem; margin-bottom: 1.2rem; }
.svc-detail-media {
  background: linear-gradient(135deg, var(--bg-3), var(--card));
  border: 1px solid var(--border); border-radius: 18px; padding: 2rem; min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.feature-list { list-style: none; display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--text); }
.feature-list .check, .about-points .check {
  width: 22px; height: 22px; border-radius: 6px; background: rgba(0,120,184,.14);
  color: var(--accent-2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.big-mark { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 3.2rem; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* =========================================================
   STACK / TECH
   ========================================================= */
.pill-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 2.5rem; }
.pill { background: var(--card); border: 1px solid var(--border); border-radius: 100px; padding: .6rem 1.3rem; font-size: .88rem; font-weight: 500; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.tech { background: var(--card); padding: 1.5rem 1rem; text-align: center; font-size: .82rem; color: var(--text-muted); font-weight: 500; transition: background .2s; }
.tech:hover { background: var(--bg-3); color: var(--text); }
.tech-ico { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: .5rem; line-height: 1; }

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tl-num { width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700; color: var(--accent-2); margin-bottom: 1.2rem; }
.tl-step h3 { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.tl-step p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* Vertical method steps (methode.html) */
.method-steps { max-width: 820px; margin: 0 auto; display: grid; gap: 1.2rem; }
.method-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 2rem;
  transition: border-color .2s, transform .2s;
}
.method-step:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.method-step .m-num {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem;
}
.method-step h3 { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.method-step p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.method-step .m-deliver { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-size: .78rem; color: var(--text-muted); background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px; padding: .3rem .8rem; }

/* =========================================================
   CASES / RÉALISATIONS
   ========================================================= */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cases.three { grid-template-columns: repeat(3, 1fr); }
.case { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
.case::after { content: ''; position: absolute; top: 0; right: 0; width: 140px; height: 140px; background: radial-gradient(circle at top right, var(--accent-glow) 0%, transparent 70%); opacity: .5; }
.case:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.case-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: rgba(0,120,184,.12); padding: .3rem .8rem; border-radius: 100px; margin-bottom: 1.2rem; }
.case h3 { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 600; margin-bottom: .6rem; }
.case p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; margin-bottom: 1.5rem; }
.case-metric { display: flex; align-items: baseline; gap: .6rem; }
.case-metric .num { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 800; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case-metric .lbl { font-size: .82rem; color: var(--text-faint); }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats-band .num { font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 800; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stats-band .lbl { color: var(--text-muted); font-size: .9rem; margin-top: .6rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.quote p { color: var(--text); font-size: .98rem; line-height: 1.7; margin-bottom: 1.5rem; }
.quote .stars { color: var(--accent-2); margin-bottom: 1rem; letter-spacing: 2px; }
.quote-author { display: flex; align-items: center; gap: .8rem; }
.quote-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem; }
.quote-author .who { font-family: 'Sora', sans-serif; font-weight: 600; font-size: .9rem; }
.quote-author .role { color: var(--text-faint); font-size: .8rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-text h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 1.2rem; }
.about-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.about-points { list-style: none; margin-top: 1.5rem; display: grid; gap: .9rem; }
.about-points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); font-size: .95rem; }
.about-visual { background: linear-gradient(135deg, var(--bg-3), var(--card)); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.stat-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-mini .num { font-family: 'Sora', sans-serif; font-size: 2.2rem; font-weight: 800; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-mini .lbl { color: var(--text-muted); font-size: .85rem; margin-top: .5rem; }

/* Value cards */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.value .v-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(0,120,184,.14); color: var(--accent-2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.value h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.value p { color: var(--text-muted); font-size: .92rem; line-height: 1.65; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem; display: flex; flex-direction: column; position: relative; transition: border-color .2s, transform .2s; }
.price-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 18px 50px var(--accent-glow); }
.price-card .pc-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .9rem; border-radius: 100px; white-space: nowrap; }
.price-card h3 { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: .4rem; }
.price-card .pc-desc { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.4rem; min-height: 2.6em; }
.price-card .pc-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.1rem; letter-spacing: -.02em; margin-bottom: .3rem; }
.price-card .pc-price small { font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500; color: var(--text-faint); }
.price-card .pc-from { font-size: .8rem; color: var(--text-faint); margin-bottom: 1.6rem; }
.price-card ul { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.price-card ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--text); }
.price-card ul li svg { color: var(--accent-2); flex-shrink: 0; margin-top: 3px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: .8rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: var(--text); font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .faq-ico { flex-shrink: 0; transition: transform .25s; color: var(--accent-2); }
.faq-item.open .faq-q .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.5rem 1.3rem; color: var(--text-muted); line-height: 1.7; font-size: .95rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .5rem; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  padding: .8rem 1rem; color: var(--text); font-family: 'Inter', sans-serif; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .8rem; color: var(--text-faint); margin-top: 1rem; }
.form-success { display: none; background: rgba(0,120,184,.12); border: 1px solid var(--accent-2); color: var(--text); border-radius: 12px; padding: 1.2rem 1.4rem; margin-bottom: 1.4rem; font-size: .92rem; }
.form-success.show { display: block; }

.contact-aside { display: grid; gap: 1.2rem; }
.contact-box { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.8rem; }
.contact-box h3 { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 1.1rem; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line .ci { width: 38px; height: 38px; border-radius: 10px; background: rgba(108,92,231,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line .ct-lbl { font-size: .78rem; color: var(--text-faint); }
.contact-line .ct-val { font-size: .95rem; color: var(--text); text-decoration: none; font-weight: 500; }
.contact-line a.ct-val:hover { color: var(--accent-2); }
.steps-list { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.steps-list li { display: flex; gap: .9rem; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.steps-list li::before { counter-increment: step; content: counter(step); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--border); color: var(--accent-2); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .82rem; display: flex; align-items: center; justify-content: center; }

/* =========================================================
   CTA
   ========================================================= */
.cta-section { padding: 6rem 0; }
.cta-box { background: linear-gradient(135deg, var(--bg-3) 0%, var(--card) 100%); border: 1px solid var(--border); border-radius: 24px; padding: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 500px; height: 400px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%); filter: blur(30px); }
.cta-box > * { position: relative; }
.cta-box h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.cta-box p { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; max-width: 280px; }
.footer-loc { color: var(--text-faint); font-size: .82rem; margin-bottom: 1.1rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: color .2s, border-color .2s; }
.footer-social a:hover { color: var(--text); border-color: var(--border-hover); }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--text-muted); font-size: .9rem; text-decoration: none; padding: .35rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.footer-meta { color: var(--text-faint); font-size: .82rem; }
.footer-meta a { color: var(--text-muted); text-decoration: none; }
.footer-meta a:hover { color: var(--text); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow, .hero h1, .hero-desc, .hero-actions, .hero-trust,
.page-hero .breadcrumb, .page-hero h1, .page-hero p { animation: fadeUp .7s ease both; }
.hero h1 { animation-delay: .08s; }
.hero-desc { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }
.hero-trust { animation-delay: .32s; }
.page-hero h1 { animation-delay: .08s; }
.page-hero p { animation-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 1rem 1.5rem 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links > li { border-bottom: 1px solid var(--border); position: static; }
  .nav-links > li > a, .nav-trigger { width: 100%; justify-content: space-between; padding: 1.1rem .2rem; font-size: 1rem; border-radius: 0; }
  .nav-links > li > a.active, .nav-trigger.active { background: none; }

  .mega, .dropdown {
    position: static; transform: none; width: auto; min-width: 0;
    background: transparent; border: none; box-shadow: none; padding: 0 0 1.2rem;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .has-mega.open .mega, .has-dropdown.open .dropdown { display: block; }
  .mega-cols { grid-template-columns: 1fr; gap: 1rem; }
  .mega-foot { margin-top: 1rem; padding-top: 1rem; }
  .has-mega::after, .has-dropdown::after { display: none; }
}

@media (max-width: 880px) {
  .services-grid, .cases, .cases.three, .timeline, .about-grid,
  .values-grid, .quotes, .pricing, .contact-grid { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-detail.rev .svc-detail-media { order: 0; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-box { padding: 2.5rem 1.5rem; }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .method-step { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 1.25rem; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 4.5rem 0 3.5rem; }
}

/* =========================================================
   ANIMATIONS (build React)
   ========================================================= */
/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.from-left  { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.zoom       { transform: scale(.95); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Compteurs */
.count { font-variant-numeric: tabular-nums; }

/* Hero — halo flottant animé + spot qui suit la souris */
.hero::before { animation: heroFloat 16s ease-in-out infinite; }
@keyframes heroFloat {
  0%,100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
  50%     { transform: translateX(-50%) translateY(34px) scale(1.14); opacity: .82; }
}
.hero-spot {
  position: absolute; top: 0; left: 0; width: 360px; height: 360px;
  margin: -180px 0 0 -180px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(28px); opacity: .55; pointer-events: none; z-index: 0;
  transform: translate(50vw, 220px); transition: transform .25s ease-out;
}

/* Micro-interaction : lueur qui suit la souris sur les cartes */
.glow { position: relative; }
.glow-fx {
  position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 65%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.glow:hover .glow-fx { opacity: 1; }
.glow > *:not(.glow-fx) { position: relative; z-index: 1; }

/* Header compact au scroll */
nav.scrolled .nav-inner { height: 58px; }

/* Liens actifs SPA (soulignement accent) */
.nav-links > li > a.active, .nav-trigger.active { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before { animation: none !important; }
  .hero-spot { display: none; }
}

/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */
/* Anneau de focus clavier (visible uniquement au clavier) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .nav-trigger:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 6px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }

/* Lien d'évitement (skip to content) */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 300;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  font-size: .9rem; font-weight: 500; text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Cibles tactiles ≥ 42px */
.theme-toggle, .nav-burger { width: 42px; height: 42px; }
.nav-cta { padding-top: .7rem; padding-bottom: .7rem; }
