/* =========================================================
   MyCodeSolution – thème de l'accueil (FR / EN / ES)
   Chargé après style.css. Ne change ni les liens, ni les
   scripts : uniquement la mise en forme.
   ========================================================= */

:root {
  --ink: #14161b;        /* fond de page */
  --panel: #1c1f26;      /* surfaces */
  --panel-2: #22262e;    /* surfaces au survol */
  --line: #2c313b;       /* filets */
  --text: #eef0f4;
  --muted: #9aa1ad;
  --mint: #5ef0a8;       /* marque : fonds des boutons */
  --mint-text: #5ef0a8;  /* marque : textes et liens colorés */
  --soft-text: var(--soft-text);
  --line-strong: var(--line-strong);
  --header-bg: rgba(20, 22, 27, .82);
  --bar-bg: rgba(28,31,38,.92);
  --phone: #0a0b0e;
  --dots: rgba(255,255,255,.06);
  --glow: rgba(94,240,168,.10);
  --mint-ink: #0c2b1d;
  --amber: #ffc24b;      /* notes / étoiles uniquement */
  --radius-lg: 20px;
  --radius-md: 12px;
  --wrap: 1160px;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.cs-theme {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body.cs-theme *:not(i):not([class*="fa-"]) { font-family: inherit; }
body.cs-theme i[class*="fa-"] { font-style: normal; }
body.cs-theme h1, body.cs-theme h2, body.cs-theme h3,
body.cs-theme .stat-num, body.cs-theme .title-first-name, body.cs-theme .title-last-name { font-family: var(--display); }
body.cs-theme pre, body.cs-theme code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

body.cs-theme a:focus-visible, body.cs-theme button:focus-visible, body.cs-theme summary:focus-visible {
  outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px;
}

/* ---------- En-tête ---------- */
body.cs-theme #header {
  padding: 14px max(24px, calc((100vw - var(--wrap)) / 2));
  background: var(--header-bg);
  border: 0; border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
body.cs-theme .title-first-name { font-weight: 700; letter-spacing: -.02em; }
body.cs-theme .title-last-name { font-weight: 500; color: var(--muted); letter-spacing: -.02em; }
body.cs-theme .navbar-menu li a { font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: 0; }
body.cs-theme .navbar-menu li a:hover { color: var(--text); }
body.cs-theme .navbar-menu .active { color: var(--mint-text) !important; }
body.cs-theme .social-media li a, body.cs-theme .social-media li i { color: var(--muted); font-size: 13px; }
body.cs-theme .social-media li:hover a, body.cs-theme .social-media li:hover i { color: var(--text); }

/* ---------- Hero ---------- */
body.cs-theme #content-body {
  max-width: var(--wrap); margin: 0 auto;
  padding: 72px 24px 56px;
  background: transparent;
  gap: 48px; align-items: center;
}
body.cs-theme .body-part-1 { flex: 1.15; }
body.cs-theme .developer-intro { gap: 8px; }
body.cs-theme .developer-intro p {
  margin: 0; padding: 6px 12px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
}
body.cs-theme .developer-intro p a { color: var(--muted) !important; }
body.cs-theme .developer-intro p:hover { border-color: var(--mint); font-weight: 500; }
body.cs-theme .developer-intro p:hover a { color: var(--text) !important; }

body.cs-theme .body-title h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -.035em;
  padding: 28px 0 0; color: var(--text);
}
body.cs-theme .body-title .hero-sub {
  font-size: 1.15rem; line-height: 1.6; color: var(--muted);
  max-width: 34em; padding: 20px 0 28px;
}
body.cs-theme .body-title .hero-sub strong { color: var(--text); font-weight: 600; }
body.cs-theme .body-title a.hero-btn {
  padding: 15px 26px; border-radius: var(--radius-md);
  background: var(--mint); color: var(--mint-ink);
  font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 0 0 1px rgba(94, 240, 168, .4), 0 12px 32px -8px rgba(94, 240, 168, .45);
}
body.cs-theme .body-title a.hero-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(94,240,168,.6), 0 16px 36px -8px rgba(94,240,168,.55); }
body.cs-theme .body-title a.hero-link { color: var(--muted); font-weight: 500; }
body.cs-theme .body-title a.hero-link:hover { color: var(--text); }
body.cs-theme .body-title .store-rating { margin-top: 22px; padding: 0; }
body.cs-theme .body-title .store-rating a { color: var(--amber); font-weight: 600; font-size: 14px; padding: 0; margin: 0; }

body.cs-theme .body-tail { padding: 40px 0 0; gap: 4px; }
body.cs-theme .body-tail .stat-num { font-size: 40px; line-height: 1; font-weight: 700; color: var(--text); }
body.cs-theme .body-tail p:not(.stat-num) { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.35; text-transform: none; padding: 0 32px 0 8px; }

/* Téléphone (Short YouTube) : l'élément marquant de la page */
body.cs-theme .body-part-2.hero-visual { flex: .85; padding: 0; }
body.cs-theme .hero-video {
  width: min(320px, 78vw);
  border-radius: 34px;
  border: 10px solid var(--phone);
  outline: 1px solid var(--line);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 14px rgba(94,240,168,.06), 0 0 120px -10px rgba(94,240,168,.22);
  transform: rotate(2.5deg);
  transition: transform .4s ease;
}
body.cs-theme .hero-visual:hover .hero-video { transform: rotate(0deg); }
body.cs-theme .hero-video-link { margin-top: 22px; font-size: 14px; color: var(--muted); }
body.cs-theme .hero-video-link:hover { color: var(--mint-text); }

/* ---------- Titres de section (communs) ---------- */
body.cs-theme .how-section h2,
body.cs-theme .ext-section h2,
body.cs-theme .faq-section h2,
body.cs-theme .testimonial-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.1; color: var(--text);
}

/* ---------- Comment ça marche : vraie séquence, donc numérotée ---------- */
body.cs-theme .how-section {
  max-width: var(--wrap); margin: 0 auto; padding: 72px 24px;
  border-top: 1px solid var(--line);
}
body.cs-theme .how-section h2 { text-align: left; margin-bottom: 36px; }
body.cs-theme .how-steps { max-width: none; gap: 0; grid-template-columns: repeat(3, 1fr); }
body.cs-theme .how-steps li {
  background: transparent; border: 0; border-radius: 0;
  border-top: 2px solid var(--line); padding: 22px 28px 0 0; position: relative;
}
body.cs-theme .how-steps li:first-child { border-top-color: var(--mint); }
body.cs-theme .how-steps li::before {
  width: auto; height: auto; background: none; border-radius: 0;
  color: var(--mint-text); font-family: var(--display); font-size: 15px; font-weight: 700; margin-bottom: 10px;
}
body.cs-theme .how-steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
body.cs-theme .how-steps p { color: var(--muted); font-size: 15.5px; }
body.cs-theme .how-cta { text-align: left; margin-top: 36px; }
body.cs-theme .how-cta a { background: transparent; color: var(--mint-text); border: 1px solid rgba(94,240,168,.5); border-radius: var(--radius-md); }
body.cs-theme .how-cta a:hover { background: rgba(94,240,168,.08); }

/* ---------- Nos 3 extensions ---------- */
body.cs-theme .ext-section { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--line); }
body.cs-theme .ext-kicker {
  background: none; color: var(--mint-text); padding: 0; margin-bottom: 10px;
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600;
}
body.cs-theme .ext-intro { color: var(--muted); font-size: 16.5px; max-width: 46em; }
body.cs-theme .ext-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
body.cs-theme .ext-card,
body.cs-theme .ext-card:nth-child(1),
body.cs-theme .ext-card:nth-child(2),
body.cs-theme .ext-card:nth-child(3) {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: none;
}
body.cs-theme .ext-card:nth-child(1) { background: linear-gradient(180deg, rgba(94,240,168,.07), transparent 40%), var(--panel); border-color: rgba(94,240,168,.35); }
body.cs-theme .ext-card:hover { transform: none; border-color: var(--line-strong); }
body.cs-theme .ext-card:nth-child(1):hover { border-color: rgba(94,240,168,.6); }
body.cs-theme .ext-icon img { width: 52px; height: 52px; border-radius: 13px; box-shadow: none; }
body.cs-theme .ext-tag { border-color: var(--line); color: var(--muted); font-size: 12px; }
body.cs-theme .ext-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
body.cs-theme .ext-card p { color: var(--muted); font-size: 15px; }
body.cs-theme .ext-feats li { color: var(--soft-text); font-size: 14px; }
body.cs-theme .ext-btn { border-radius: 10px; background: var(--mint); color: var(--mint-ink) !important; }
body.cs-theme .ext-card:not(:nth-child(1)) .ext-btn { background: transparent; color: var(--text) !important; border: 1px solid var(--line-strong); }
body.cs-theme .ext-card:not(:nth-child(1)) .ext-btn:hover { border-color: var(--text); filter: none; }
body.cs-theme .ext-link { color: var(--muted); }
body.cs-theme .ext-link:hover { color: var(--mint-text); }

/* ---------- Bloc "Solutions Coding" + tuto vidéo ---------- */
body.cs-theme #latest-works {
  max-width: var(--wrap); margin: 0 auto; min-height: 0;
  padding: 72px 24px; background: transparent; border-top: 1px solid var(--line);
  display: block;
}
body.cs-theme #latest-works .left-project {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; width: 100%;
}
body.cs-theme #latest-works .right-project,
body.cs-theme #latest-works .all-projects { display: none; }
body.cs-theme .latest-work-title h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; color: var(--text); margin-bottom: 6px; }
body.cs-theme .latest-work-title p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 14px; max-width: 36em; }
body.cs-theme .latest-work-title p:nth-of-type(1) { color: var(--mint-text); font-weight: 600; font-size: 15px; }
body.cs-theme .latest-work-title a { color: var(--text); text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 4px; }
body.cs-theme #latest-works .project-card-1 {
  min-width: 0; min-height: 0; max-height: none; margin: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px;
}
body.cs-theme #latest-works .project-card-1 .title { display: none; }
body.cs-theme .video-thumb { border-radius: 12px; box-shadow: none; }
body.cs-theme .video-play { background: rgba(20,22,27,.75); }
body.cs-theme .video-thumb:hover .video-play { background: var(--mint); color: var(--mint-ink); }

/* ---------- Solutions populaires ---------- */
body.cs-theme .pop-section { padding-top: 72px; padding-bottom: 72px; }
body.cs-theme .pop-list { grid-template-columns: repeat(5, 1fr); gap: 8px; }
body.cs-theme .pop-list a { background: transparent; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; color: var(--soft-text); padding: 12px 14px; }
body.cs-theme .pop-list a:hover { border-color: var(--mint); color: var(--text); background: rgba(94,240,168,.05); }

/* ---------- Tuto (onglets) ---------- */
body.cs-theme #introduction {
  max-width: var(--wrap); margin: 0 auto; min-height: 0;
  padding: 72px 24px; background: transparent; border-top: 1px solid var(--line);
  gap: 48px; align-items: flex-start;
}
body.cs-theme .cards { min-width: 0; flex: 0 0 340px; gap: 8px; }
body.cs-theme .design-card {
  max-width: none; min-height: 0; margin: 0; padding: 18px 20px;
  background: transparent; border: 1px solid var(--line); border-radius: 14px; box-shadow: none;
}
body.cs-theme .design-card:hover { background: var(--panel); box-shadow: none; }
body.cs-theme .design-card.active { background: var(--panel); border-color: rgba(94,240,168,.55); }
body.cs-theme .design-card.active p { color: var(--muted); font-weight: 500; }
body.cs-theme .design-card div h3 { font-size: 17px; font-weight: 600; }
body.cs-theme .design-card div i { color: var(--muted); }
body.cs-theme .design-card.active div i { color: var(--mint-text); }
body.cs-theme .design-card p { font-weight: 500; color: var(--muted); margin: 6px 0 10px; }
body.cs-theme .design-card a { color: var(--mint-text); font-size: 14px; font-weight: 600; }
body.cs-theme .introduction-text { padding-right: 0; flex: 1; min-width: 0; }
body.cs-theme .introduction-text p:nth-child(1) { color: var(--mint-text); font-size: 15px; font-weight: 600; }
body.cs-theme .introduction-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; margin: 8px 0 10px; }
body.cs-theme .introduction-text h4 { font-family: var(--body); font-style: normal; font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 14px; }
body.cs-theme .introduction-text p { color: var(--muted); font-size: 16.5px; font-weight: 400; line-height: 1.75; }

/* ---------- FAQ ---------- */
body.cs-theme .faq-section { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--line); }
body.cs-theme .faq-list { max-width: 820px; }
body.cs-theme .faq-item { background: transparent; border-radius: 0; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
body.cs-theme .faq-item summary { font-size: 18px; font-weight: 600; }
body.cs-theme .faq-item summary::after { color: var(--muted); }
body.cs-theme .faq-item[open] summary::after { color: var(--mint-text); }
body.cs-theme .faq-item p { color: var(--muted); }

/* ---------- Avis ---------- */
body.cs-theme #testimonial {
  max-width: var(--wrap); margin: 0 auto; min-height: 0; padding: 72px 24px 56px;
  background: transparent; border-top: 1px solid var(--line);
}
body.cs-theme .testimonial-title { text-align: left; margin-bottom: 24px; }
body.cs-theme .testimonial-title p { color: var(--muted); }
body.cs-theme .testimonial-card {
  max-width: 820px; margin: 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: none;
}
body.cs-theme .testimonial-card h4 { font-size: 19px; line-height: 1.6; font-weight: 500; color: var(--text); }
body.cs-theme .star-rating i { color: var(--amber); }
body.cs-theme .star-rating p { color: var(--muted); }
body.cs-theme #legal-disclaimer { background: var(--ink) !important; border-top: 1px solid var(--line); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  body.cs-theme #content-body { padding: 36px 16px 32px; gap: 32px; }
  body.cs-theme .body-part-2.hero-visual { flex: none; width: 100%; }
  body.cs-theme .hero-video { transform: none; width: min(280px, 76vw); }
  body.cs-theme .how-section, body.cs-theme .ext-section, body.cs-theme #latest-works,
  body.cs-theme #introduction, body.cs-theme .faq-section, body.cs-theme #testimonial { padding: 48px 16px; }
  body.cs-theme .how-steps { grid-template-columns: 1fr; gap: 24px; }
  body.cs-theme .ext-grid { grid-template-columns: 1fr; }
  body.cs-theme #latest-works .left-project { grid-template-columns: 1fr; gap: 28px; }
  body.cs-theme .pop-list { grid-template-columns: repeat(2, 1fr); }
  body.cs-theme #introduction { flex-direction: column; }
  body.cs-theme .cards { flex: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.cs-theme *, body.cs-theme *::before { transition: none !important; animation: none !important; }
  body.cs-theme .hero-video { transform: none; }
}

/* Ajustements après relecture */
body.cs-theme .body-title h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); max-width: 13em; }
body.cs-theme .testimonial-title { display: block; }
body.cs-theme .testimonial-title p { margin-top: 8px; font-size: 16px; }
body.cs-theme .testimonial-card .star-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
body.cs-theme .testimonial-card > i:last-child, body.cs-theme #testimonial ~ i { display: none; }
@media (max-width: 900px) {
  body.cs-theme .body-tail { flex-wrap: nowrap; }
  body.cs-theme .body-tail .stat-num { font-size: 30px; }
  body.cs-theme .body-tail p:not(.stat-num) { font-size: 12px; padding: 0 14px 0 6px; }
}

/* Passe apple-design / taste-skill : pas d'inclinaison, retour immédiat au clic, survols discrets */
body.cs-theme .hero-video, body.cs-theme .hero-visual:hover .hero-video { transform: none; }
body.cs-theme a.hero-btn, body.cs-theme .ext-btn, body.cs-theme .how-cta a, body.cs-theme .pop-list a, body.cs-theme .design-card {
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, border-color .18s, background-color .18s;
}
body.cs-theme a.hero-btn:active, body.cs-theme .ext-btn:active, body.cs-theme .how-cta a:active, body.cs-theme .pop-list a:active { transform: scale(.97); transition-duration: .08s; }
body.cs-theme .ext-card { transition: transform .2s ease, border-color .2s ease; }
body.cs-theme .ext-card:hover, body.cs-theme .pop-list a:hover { transform: translateY(-2px); }
body.cs-theme .body-tail p:not(.stat-num) { letter-spacing: .01em; }
body.cs-theme .ext-card p, body.cs-theme .how-steps p, body.cs-theme .ext-intro { letter-spacing: .005em; }
@media (prefers-reduced-transparency: reduce) { body.cs-theme #header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) { body.cs-theme { --muted: #c4c9d2; --line: #4a505c; } }
@media (prefers-reduced-motion: reduce) { body.cs-theme .ext-card:hover, body.cs-theme .pop-list a:hover { transform: none; } }

/* ===== Passe impeccable (craft floor) ===== */
/* Pas d'étiquette au-dessus des titres */
body.cs-theme .ext-kicker,
body.cs-theme .introduction-text > p:first-child,
body.cs-theme .developer-intro { display: none; }
body.cs-theme .body-title h1 { padding-top: 0; }
/* Pas de gabarit "gros chiffre + petit libellé" : le 29 langages est déjà dans l'accroche */
body.cs-theme .body-tail { display: none; }
/* Profondeur : ombres décalées et floues, plus de halo coloré */
body.cs-theme .hero-video { box-shadow: 0 30px 60px -18px rgba(0,0,0,.75), 0 12px 24px -12px rgba(0,0,0,.6); }
body.cs-theme .body-title a.hero-btn { box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
body.cs-theme .body-title a.hero-btn:hover { box-shadow: 0 14px 28px -10px rgba(0,0,0,.7); }
body.cs-theme .ext-card:nth-child(1) { background: var(--panel); }
/* Surfaces du navigateur aux couleurs du site */
body.cs-theme ::selection { background: var(--mint); color: var(--mint-ink); }
body.cs-theme { caret-color: var(--mint); scrollbar-color: var(--line-strong) var(--ink); }
body.cs-theme ::-webkit-scrollbar-thumb { background: var(--line-strong); }
body.cs-theme ::-webkit-scrollbar-thumb:hover { background: #4a515e; }
body.cs-theme a { text-underline-offset: 4px; }
/* Titres équilibrés, mesure du texte */
body.cs-theme h1, body.cs-theme h2, body.cs-theme h3 { text-wrap: balance; }
body.cs-theme p { text-wrap: pretty; }
body.cs-theme .introduction-text p, body.cs-theme .faq-item p { max-width: 70ch; }

/* ===== Conversion : icônes, bouton d'en-tête, hero, barre collante ===== */
/* Icônes (Telegram, GitHub, e-mail, Chrome…) : Font Awesome 6 via cdnjs, toujours visibles */
body.cs-theme .social-media { gap: 6px; }
body.cs-theme .social-media li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; transition: background-color .15s; }
body.cs-theme .social-media li:hover { background: var(--panel); }
body.cs-theme .social-media li i { font-size: 15px; width: 16px; text-align: center; }
body.cs-theme .social-media li:nth-child(1):hover i { color: #29a9eb; }
body.cs-theme .social-media li:nth-child(2):hover i { color: #fff; }
body.cs-theme .social-media li:nth-child(3):hover i { color: var(--mint-text); }
body.cs-theme .social-media li a i { margin-right: 6px; }

body.cs-theme a.header-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 14px;
  padding: 9px 16px; border-radius: 10px;
  background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), filter .18s;
}
body.cs-theme a.header-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
body.cs-theme a.header-cta:active { transform: scale(.97); }
body.cs-theme #header > div:last-of-type { display: flex; align-items: center; }

/* Hero : projecteur discret derrière le téléphone et trame de points, pour la profondeur */
body.cs-theme #content-body { position: relative; isolation: isolate; }
body.cs-theme #content-body::before {
  content: ""; position: absolute; z-index: -1; inset: -40px -10vw 0;
  background:
    radial-gradient(600px 420px at 78% 42%, var(--glow), transparent 70%),
    radial-gradient(circle at 1px 1px, var(--dots) 1px, transparent 0) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
          mask-image: linear-gradient(180deg, #000 60%, transparent);
  pointer-events: none;
}
body.cs-theme .body-title a.hero-btn { padding: 17px 30px; font-size: 1.1rem; gap: 12px; }
body.cs-theme .body-title a.hero-btn i { font-size: 1.25em; }
body.cs-theme .body-title .store-rating a { display: inline-flex; align-items: center; gap: 8px; }

/* Boutons des cartes : icône Chrome bien visible */
body.cs-theme .ext-btn i, body.cs-theme .how-cta a i { font-size: 1.1em; }

/* Barre d'installation collante, apparaît quand le hero sort de l'écran */
.sticky-install {
  position: fixed; z-index: 50; left: 50%; bottom: 18px;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 12px; border-radius: 16px;
  background: var(--bar-bg); border: 1px solid var(--line, #2c313b);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s;
  font-family: "Figtree", system-ui, sans-serif;
}
.sticky-install.is-visible { transform: translate(-50%, 0); opacity: 1; }
.sticky-install img { border-radius: 9px; display: block; }
.sticky-install-rate { color: var(--amber, #ffc24b); font-weight: 600; font-size: 14px; white-space: nowrap; }
.sticky-install a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px;
  background: #5ef0a8; color: #0c2b1d; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.sticky-install a:active { transform: scale(.97); }

@media (max-width: 900px) {
  body.cs-theme a.header-cta { display: none; }
  .sticky-install { left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); justify-content: space-between; }
  .sticky-install.is-visible { transform: translateY(0); }
  .sticky-install a { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .sticky-install { transition: opacity .2s; } }
@media (prefers-reduced-transparency: reduce) { .sticky-install { background: #1c1f26; backdrop-filter: none; } }

/* En-tête : une seule ligne, pas de retour à la ligne */
body.cs-theme #header { flex-wrap: nowrap; gap: 16px; }
body.cs-theme .navbar-menu { gap: 2px; flex-wrap: nowrap; }
body.cs-theme .navbar-menu li { margin: 0; padding: 0 9px; }
body.cs-theme .navbar-menu li a, body.cs-theme .social-media li a, body.cs-theme a.header-cta { white-space: nowrap; }
body.cs-theme .title-first-name, body.cs-theme .title-last-name { white-space: nowrap; }
@media (max-width: 1320px) {
  body.cs-theme .social-media li a { font-size: 0; }          /* icônes seules */
  body.cs-theme .social-media li a i { font-size: 15px; margin: 0; }
  body.cs-theme .social-media li { padding: 8px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  body.cs-theme .navbar-menu li { padding: 0 6px; }
  body.cs-theme .navbar-menu li a { font-size: 13px; }
}
@media (max-width: 900px) {
  body.cs-theme #header { flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .sticky-install-rate { display: none; }
  .sticky-install { gap: 10px; }
}
.sticky-install a { min-width: 0; }

body.cs-theme .social-media li:nth-child(4):hover i { color: #ff0033; }
@media (max-width: 900px) {
  body.cs-theme #content-body { flex-direction: column; align-items: stretch; }
  body.cs-theme .body-part-1, body.cs-theme .body-part-2.hero-visual { flex: none; width: 100%; }
}


/* ===== Mode clair ===== */
html[data-theme="light"] body.cs-theme {
  --ink: #f6f7f9; --panel: #ffffff; --panel-2: #f0f2f5; --line: #e2e5ea; --line-strong: #cfd4dc;
  --text: #14161b; --muted: #5a6270; --soft-text: #2b2f37;
  --mint: #4fe39c; --mint-text: #0a8a52; --mint-ink: #08291a; --amber: #b7791f;
  --header-bg: rgba(246,247,249,.85); --bar-bg: rgba(255,255,255,.94); --phone: #1b1d22;
  --dots: rgba(20,22,27,.07); --glow: rgba(15,169,104,.10);
}
html[data-theme="light"] body.cs-theme .design-card div,
html[data-theme="light"] body.cs-theme .design-card div h3 { color: var(--text); }
html[data-theme="light"] body.cs-theme .title-first-name { color: var(--text); }
html[data-theme="light"] body.cs-theme .ext-card:nth-child(1) { border-color: rgba(10,138,82,.45); }
html[data-theme="light"] body.cs-theme .sticky-install a { background: var(--mint); color: var(--mint-ink); }
html[data-theme="light"] body.cs-theme .video-play { background: rgba(255,255,255,.85); color: var(--text); }
html[data-theme="light"] body.cs-theme .social-media li:nth-child(2):hover i { color: #000; }
html[data-theme="light"] body.cs-theme .hero-video { box-shadow: 0 30px 60px -22px rgba(20,22,27,.35), 0 10px 20px -12px rgba(20,22,27,.25); }
html[data-theme="light"] body.cs-theme a.hero-btn, html[data-theme="light"] body.cs-theme a.header-cta { box-shadow: 0 8px 20px -10px rgba(10,138,82,.55); }
html[data-theme="light"] body.cs-theme .ext-btn { color: var(--mint-ink) !important; }
html[data-theme="light"] body.cs-theme .ext-card:not(:nth-child(1)) .ext-btn { color: var(--text) !important; }
html[data-theme="light"] body.cs-theme ::selection { background: var(--mint); color: var(--mint-ink); }

/* ===== Langue + thème dans l'en-tête ===== */
.site-tools { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line, #2c313b); background: var(--panel, #1c1f26); }
.lang-switch a { padding: 5px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted, #9aa1ad); text-decoration: none; letter-spacing: .02em; }
.lang-switch a:hover { color: var(--text, #eef0f4); }
.lang-switch a[aria-current="true"] { background: var(--ink, #14161b); color: var(--text, #eef0f4); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line, #2c313b); background: var(--panel, #1c1f26); color: var(--text, #eef0f4); font-size: 15px; transition: transform .15s; }
.theme-toggle:hover { border-color: var(--line-strong, #3a404c); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle .fa-sun { display: none; }
html[data-theme="light"] .theme-toggle .fa-sun { display: inline; }
html[data-theme="light"] .theme-toggle .fa-moon { display: none; }
@media (max-width: 900px) { .site-tools { margin: 6px 0 0; } }
html[data-theme="light"] body.cs-theme :is(h1, h2, h3, h4, h5, strong, b, summary, .ext-card h3, .how-steps h3, .faq-item summary, .introduction-text h2, .ext-intro strong) { color: var(--text); }
html[data-theme="light"] body.cs-theme .latest-work-title p:nth-of-type(1),
html[data-theme="light"] body.cs-theme .introduction-text > p:first-child { color: var(--mint-text); }
