/* ==========================================================================
   REEL IN - feuille de style commune (v5, theme clair)
   Une seule feuille pour toutes les pages : accueil, applications, villas,
   etude de cas, blog, mentions legales. Les regles propres a une page sont
   regroupees en fin de fichier, par page.
   ========================================================================== */

/* ═══ POLICES AUTO-HEBERGEES (aucune requete vers Google) ═══ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══ JETONS ═══ */
:root {
  /* Fonds */
  --bg:        #ffffff;
  --bg-alt:    #f5f7fc;
  --bg-card:   #ffffff;
  --bg-dark:   #0f0f23;
  --bg-dark-2: #17172e;
  /* Texte */
  --text:   #0f0f23;
  --text-2: #4e4e66;
  --text-3: #7f7f98;
  /* Accent (bleu de la marque) et degrade des titres */
  --accent:       #3366ff;
  --accent-hover: #2452e0;
  --accent-soft:  rgba(51,102,255,0.10);
  --accent-line:  rgba(51,102,255,0.28);
  --violet: #8a4dff;
  --pink:   #ff3d8a;
  --green:  #16a34a;
  --red:    #e5484d;
  --grad: linear-gradient(92deg, #3366ff 0%, #8a4dff 48%, #ff3d8a 100%);
  /* Bordures et ombres */
  --border:        rgba(15,15,35,0.08);
  --border-strong: rgba(15,15,35,0.16);
  --shadow-sm: 0 1px 2px rgba(15,15,35,0.04), 0 10px 28px -14px rgba(15,15,35,0.12);
  --shadow-md: 0 2px 4px rgba(15,15,35,0.04), 0 22px 50px -20px rgba(15,15,35,0.22);
  --shadow-lg: 0 40px 90px -34px rgba(15,15,35,0.32);
  --glow:      0 20px 50px -18px rgba(51,102,255,0.38);
  /* Typo */
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Mise en page */
  --max: 1240px;
  --radius-card: 24px;
  --radius-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* clip plutot que hidden : ne cree pas de conteneur de defilement,
     donc n'affecte pas les elements fixes */
  overflow-x: clip;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #f1f2f7; }
::-webkit-scrollbar-thumb { background: #cfd2e0; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #b8bccf; }

img { max-width: 100%; display: block; }

/* ═══ CONFORT TACTILE ═══ */
a, button, select, summary, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ═══ ACCESSIBILITE CLAVIER ═══ */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
a:focus-visible, button:focus-visible { box-shadow: 0 0 0 4px rgba(51,102,255,0.20); }
.f-in:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip:focus { left: 20px; }

/* ═══ TYPO ═══ */
.display {
  text-wrap: balance;
  font-size: clamp(42px, 7.6vw, 86px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -2.6px;
  color: var(--text);
}
.h2 {
  text-wrap: balance;
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -1.9px;
  color: var(--text);
}
.h3 {
  text-wrap: balance;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.45px;
  line-height: 1.3;
  color: var(--text);
}
.muted { color: var(--text-2); }
.accent-txt { color: var(--accent); }

/* Titre en degrade : a poser sur un span en ligne (la deuxieme ligne
   d'un titre, en general). Sur un bloc, ajouter .grad-bloc. */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.grad-bloc { display: inline-block; padding-bottom: 0.12em; margin-bottom: -0.12em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ═══ BOUTONS (pilules) ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--ff); font-size: 15px; font-weight: 550; letter-spacing: -0.2px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(51,102,255,0.55); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 12px 30px -8px rgba(51,102,255,0.65); transform: translateY(-2px); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(51,102,255,0.55); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
/* Variante sur fond sombre */
.sombre .btn-ghost, .svc-wide .btn-ghost, .cta-bloc .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.sombre .btn-ghost:hover, .svc-wide .btn-ghost:hover, .cta-bloc .btn-ghost:hover { border-color: #fff; box-shadow: none; background: rgba(255,255,255,0.06); }

/* ═══ NAV ═══ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 24px;
  padding: 16px max(32px, env(safe-area-inset-right)) 16px max(32px, env(safe-area-inset-left));
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, padding 0.35s, box-shadow 0.35s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -22px rgba(15,15,35,0.25);
  padding: 11px max(32px, env(safe-area-inset-right)) 11px max(32px, env(safe-area-inset-left));
}
#nav-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; color: var(--text); }
#nav-logo svg { height: 26px; width: auto; display: block; }

#nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex-wrap: nowrap; }
#nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: -0.1px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
#nav-links a:hover { color: var(--accent); background: var(--accent-soft); }
#nav-links a.actif { color: var(--text); background: rgba(15,15,35,0.06); }
#nav-cta {
  background: var(--text) !important;
  color: #fff !important;
  font-weight: 550 !important;
  margin-left: 8px;
}
#nav-cta:hover { background: var(--accent) !important; }

#hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0; flex-shrink: 0;
}
#hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s, opacity 0.25s; }
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ MISE EN PAGE ═══ */
.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
}
section { padding: 116px 0; }
.alt { background: var(--bg-alt); }
.sombre { background: var(--bg-dark); color: #fff; }
.sombre .h2, .sombre .h3, .sombre .display { color: #fff; }
.sombre .muted { color: rgba(255,255,255,0.68); }

/* Filet en haut de section */
.rule { position: relative; }
.rule::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, 1100px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,15,35,0.14) 50%, transparent);
}
/* Texture pointillee + halo, tres discrets */
.tex { position: relative; }
.tex > .wrap { position: relative; z-index: 1; }
.tex::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,15,35,0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 50%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 52% at 50% 50%, #000 0%, transparent 74%);
}
.tex::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(94%, 980px); height: 78%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(51,102,255,0.08) 0%, transparent 66%);
}

/* En-tete de section */
.sec-head { max-width: 780px; margin-bottom: 60px; }
.sec-head p { margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.sec-head.centre { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.centre .eyebrow { justify-content: center; }

/* Carte generique */
.carte {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.carte:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Fil d'Ariane */
.fil { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 13px; color: var(--text-3); margin-bottom: 26px; }
.fil a { color: var(--text-3); text-decoration: none; transition: color .2s; }
.fil a:hover { color: var(--accent); }
.fil span { opacity: .55; }
.fil .ici { color: var(--text-2); opacity: 1; }

/* ═══ HERO (accueil) : video en plein fond, voile clair ═══ */
#hero .display { font-size: clamp(40px, 5.2vw, 72px); }
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
  background: var(--bg);
}
.hero-fond {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  /* L'affiche est un fond CSS : visible sans JavaScript, et un seul fichier
     telecharge par type d'ecran (voir la media query telephone) */
  background: var(--bg-dark) url(/images/hero-poster.jpg) center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Voile blanc : opaque derriere le texte, plus leger a droite ou la video
   reste visible, et fondu en blanc en bas pour rejoindre le reste du site */
.hero-voile {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 68%, rgba(255,255,255,1) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.94) 36%, rgba(255,255,255,0.74) 56%, rgba(255,255,255,0.40) 78%, rgba(255,255,255,0.28) 100%);
}
.hero-grille {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(15,15,35,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,15,35,0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 30% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 30% 40%, #000 10%, transparent 72%);
}
/* Halos de couleur des pages interieures (pas de video) */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: ''; position: absolute;
  top: -18%; left: -12%; width: 760px; height: 760px;
  background: radial-gradient(circle at center, rgba(51,102,255,0.16) 0%, rgba(51,102,255,0.05) 40%, transparent 68%);
}
.hero-bg::after {
  content: ''; position: absolute;
  bottom: -30%; right: -10%; width: 820px; height: 820px;
  background: radial-gradient(circle at center, rgba(255,61,138,0.11) 0%, rgba(138,77,255,0.06) 42%, transparent 68%);
}
.hero-bg .hero-grille {
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 76%);
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center; width: 100%;
}
.hero-sub { margin-top: 26px; font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 540px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cote { display: flex; justify-content: flex-end; }

/* ═══ CARTE MESURE IA ═══ */
.meter {
  width: min(420px, 100%);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
}
.meter-head {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 20px;
}
.meter-head b { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2.4s infinite; }
.meter-row { margin-bottom: 16px; }
.meter-row:last-of-type { margin-bottom: 0; }
.meter-lbl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; font-size: 13px; color: var(--text-2); }
.meter-val {
  font-family: var(--ff-mono); font-weight: 600; font-size: 13.5px;
  font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1;
  min-width: 42px; text-align: right;
}
.meter-val.bad { color: var(--red); }
.meter-val.good { color: var(--accent); }
.meter-track { height: 7px; border-radius: 999px; background: rgba(15,15,35,0.07); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 999px; width: 0; }
.meter-fill.bad { background: var(--red); }
.meter-fill.good { background: var(--grad); }
.meter-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.meter-foot b { display: block; font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 750; letter-spacing: -1px; line-height: 1; color: var(--text); }
.meter-foot span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--text-2); }

/* ═══ BANDEAU DEFILANT ═══ */
.ticker { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 15px 0; background: var(--bg); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: ticker 44s linear infinite; }
.ticker-track span { font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; letter-spacing: -0.1px; }
.ticker-track span b { color: var(--accent); font-weight: 650; }
.ticker-track i { color: var(--accent-line); font-style: normal; }

/* ═══ ENJEUX ═══ */
.enjeux-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }
.enjeux-txt p { font-size: 16.5px; line-height: 1.75; color: var(--text-2); margin-bottom: 20px; }
.enjeux-txt p:last-child { margin-bottom: 0; }
.enjeux-txt strong { color: var(--text); font-weight: 600; }
.enjeux-txt em { color: var(--accent); font-style: normal; font-weight: 550; }
.stats { display: flex; flex-direction: column; gap: 14px; }
.stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.stat:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat b { display: block; font-variant-numeric: tabular-nums; font-size: 38px; font-weight: 750; letter-spacing: -1.6px; line-height: 1; }
.stat span { display: block; margin-top: 9px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.stat span strong { color: var(--text); font-weight: 600; }

/* ═══ SERVICES (bento) ═══ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 32px; display: flex; flex-direction: column; gap: 13px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.svc:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 4px;
}
.svc-ico svg { width: 21px; height: 21px; }
.svc p { font-size: 15px; line-height: 1.66; color: var(--text-2); flex: 1; }
.svc-lien { margin-top: 2px; flex: 0 !important; }
.svc-lien a { color: var(--accent); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.svc-lien a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.chip { font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-2); background: rgba(15,15,35,0.04); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }
.chip.hi { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }

/* Carte large (offre villas) : sombre, sur toute la largeur du bento */
.svc-wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  background: var(--bg-dark); color: #fff;
  border-radius: var(--radius-card); padding: 44px 48px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.svc-wide::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 620px; height: 620px; pointer-events: none;
  background: radial-gradient(circle, rgba(51,102,255,0.32) 0%, rgba(138,77,255,0.14) 40%, transparent 68%);
}
.svc-wide > * { position: relative; z-index: 1; }
.svc-wide .eyebrow { color: #9db4ff; }
.svc-wide h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 750; letter-spacing: -1.2px; line-height: 1.08; color: #fff; }
.svc-wide p { margin-top: 16px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.74); max-width: 520px; }
.svc-wide .chips { margin-top: 18px; }
.svc-wide .chip { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.svc-wide .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══ METHODE ═══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.step:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600; margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

/* ═══ FAQ ═══ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq-side p { font-size: 16px; line-height: 1.75; color: var(--text-2); margin-top: 16px; }
.faq-side strong { color: var(--text); font-weight: 600; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--accent-line); box-shadow: var(--glow); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 21px 24px; background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: var(--ff); font-size: 16px; font-weight: 550; letter-spacing: -0.25px; line-height: 1.45; color: var(--text);
  -webkit-appearance: none; appearance: none;
}
.faq-q i {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 16px; line-height: 1; transition: transform 0.3s, background 0.3s, color 0.3s; margin-top: 1px;
}
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a { max-height: 560px; }
.faq-a p { padding: 0 24px 22px; font-size: 15px; line-height: 1.75; color: var(--text-2); }

/* ═══ REALISATIONS ═══ */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.work:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.work-img.ph { display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 40%, rgba(51,102,255,0.14) 0%, transparent 65%), var(--bg-alt); }
.work-img.ph::after { content: 'Visuel à venir'; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2,0,0.2,1); }
.work:hover .work-img img { transform: scale(1.045); }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.work-body h3 { font-size: 17px; }
.work-body p { font-size: 14px; line-height: 1.62; color: var(--text-2); flex: 1; }
.work-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--green); background: rgba(22,163,74,0.09); border: 1px solid rgba(22,163,74,0.24); padding: 5px 11px; border-radius: 999px; }
.badge.demo { color: var(--violet); background: rgba(138,77,255,0.09); border-color: rgba(138,77,255,0.28); }
.work-url { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); transition: color 0.2s; }
.work:hover .work-url { color: var(--accent-hover); }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; padding-top: 52px; border-top: 1px solid var(--border); }
.proof-item { text-align: center; padding: 0 12px; }
.proof-num { display: inline-block; font-size: clamp(38px, 5vw, 56px); font-weight: 750; line-height: 1.1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.proof-lbl { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); max-width: 230px; margin-left: auto; margin-right: auto; }

/* ═══ CONTACT ═══ */
.ct-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 68px; align-items: start; }
.ct-side p { font-size: 16.5px; line-height: 1.7; color: var(--text-2); margin-top: 20px; }
.ct-links { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.ct-link {
  display: flex; align-items: center; gap: 14px; padding: 15px 20px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card);
  color: var(--text-2); text-decoration: none; font-size: 15px; box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.ct-link:hover { border-color: var(--border-strong); color: var(--text); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ct-link i { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-link svg { width: 17px; height: 17px; }

form { display: flex; flex-direction: column; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-grp { display: flex; flex-direction: column; gap: 8px; }
.f-grp label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.f-in {
  background: #fff; border: 1px solid var(--border-strong); border-radius: 13px; padding: 14px 17px;
  color: var(--text); font-family: var(--ff);
  font-size: 16px; /* 16px minimum : en dessous, Safari zoome au focus */
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none;
}
.f-in:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.f-in::placeholder { color: #a5a5b8; }
textarea.f-in { resize: vertical; min-height: 120px; line-height: 1.6; }
select.f-in {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234e4e66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}

/* ═══ BLOC D'APPEL (fin de page) ═══ */
.cta-bloc {
  position: relative; overflow: hidden;
  padding: 60px 48px; text-align: center;
  border-radius: var(--radius-card);
  background: var(--bg-dark); color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-bloc::before {
  content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(51,102,255,0.34) 0%, rgba(255,61,138,0.10) 45%, transparent 70%);
}
.cta-bloc > * { position: relative; z-index: 1; }
.cta-bloc h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 750; letter-spacing: -1.3px; line-height: 1.08; color: #fff; text-wrap: balance; }
.cta-bloc p { margin: 16px auto 30px; max-width: 560px; color: rgba(255,255,255,0.74); font-size: 16px; line-height: 1.7; }
.cta-bloc .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ PIED DE PAGE (sombre) ═══ */
footer { background: var(--bg-dark); color: #fff; padding: 64px 0 max(40px, env(safe-area-inset-bottom)); }
.ft-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.ft-brand { max-width: 320px; color: #fff; }
.ft-brand svg { height: 24px; width: auto; margin-bottom: 16px; }
.ft-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.62); }
.ft-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.ft-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.82); text-decoration: none; padding: 5px 0; transition: color 0.2s; }
.ft-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,0.5); }
.ft-bot a { color: inherit; text-decoration: none; }
.ft-bot a:hover { color: #fff; }

/* ═══ ANIMATIONS ═══ */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.anim { opacity: 0; animation: up 0.75s cubic-bezier(0.2,0.7,0.3,1) forwards; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.34s; }

/* Apparitions au defilement :
   1) par defaut, tout est visible ;
   2) navigateurs recents : CSS natif via animation-timeline ;
   3) anciens : repli IntersectionObserver (classe .js-rv sur <html>). */
@keyframes apparait { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  /* Plages calees sur « entry » : toujours atteignables, meme en bas de page. */
  .rv { animation: apparait linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .rv.r1 { animation-range: entry 8% entry 78%; }
  .rv.r2 { animation-range: entry 16% entry 86%; }
  .rv.r3 { animation-range: entry 24% entry 94%; }
}
@supports not (animation-timeline: view()) {
  .js-rv .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.3,1); }
  .js-rv .rv.in { opacity: 1; transform: none; }
  .js-rv .rv.r1 { transition-delay: 0.07s; }
  .js-rv .rv.r2 { transition-delay: 0.14s; }
  .js-rv .rv.r3 { transition-delay: 0.21s; }
}

/* ═══ EN-TETE DE PAGE INTERIEURE ═══ */
.page-hero { position: relative; padding: 156px 0 76px; overflow: hidden; }
.page-hero .hero-bg::before { top: -30%; left: -10%; }
.page-hero .hero-bg::after { bottom: -60%; right: -12%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .hero-sub { max-width: 640px; }
.page-hero-grid .display { font-size: clamp(40px, 5.2vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

/* ═══ MAQUETTES (telephone et navigateur, en pur CSS) ═══
   Tout est exprime en em : la taille de police est fixee en cqw, donc la
   maquette entiere se met a l'echelle de la largeur de son conteneur. */
.mock-phone { container-type: inline-size; width: 300px; max-width: 100%; margin: 0 auto; }
/* Les unites cqw ne s'appliquent pas au conteneur lui-meme : le cadre est un enfant */
.mp-cadre {
  font-size: 3.67cqw; padding: 1.09em; border-radius: 3.63em;
  background: #0f0f23; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.08);
}
.mp-screen { border-radius: 2.7em; overflow: hidden; background: #fbf8f2; color: #1f1d1a; line-height: 1.4; }
.mp-top { display: flex; justify-content: space-between; align-items: baseline; padding: 1.8em 1.6em .7em; }
.mp-top span { font-family: Georgia, 'Times New Roman', serif; font-size: 1.36em; letter-spacing: 0.02em; }
.mp-top b { font-size: .9em; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8378; font-weight: 600; }
.mp-mois { display: flex; justify-content: space-between; align-items: center; padding: .5em 1.6em .9em; font-weight: 600; font-size: 1.09em; }
.mp-mois i { font-style: normal; color: #8a8378; font-size: 1.2em; }
.mp-jours { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 1.1em; font-size: .82em; color: #8a8378; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.mp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .27em; padding: .55em 1.1em 1.1em; }
.mp-grid span {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: .72em; font-size: .95em; font-variant-numeric: tabular-nums; position: relative; background: #fff;
  border: 1px solid rgba(31,29,26,0.06);
}
.mp-grid span.vide { background: transparent; border-color: transparent; }
.mp-grid span.res { background: #e5edea; color: #29594e; border-color: transparent; }
.mp-grid span.res::after { content: ''; position: absolute; left: .55em; right: .55em; bottom: .36em; height: .27em; border-radius: 2px; background: #2f8f7a; }
.mp-grid span.blk { background: #efece6; color: #9a938a; border-color: transparent; text-decoration: line-through; }
.mp-grid span.sel { background: #1f1d1a; color: #fff; border-color: transparent; }
.mp-grid span.fete::before { content: ''; position: absolute; top: .36em; right: .36em; width: .45em; height: .45em; border-radius: 50%; background: #c98a3a; }
.mp-bar { margin: 0 1.1em 1.1em; padding: .9em 1.1em; border-radius: 1.27em; background: #1f1d1a; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: .7em; }
.mp-bar small { font-size: .9em; color: rgba(255,255,255,0.7); display: block; }
.mp-bar b { font-size: 1em; font-weight: 600; display: block; }
.mp-bar em { font-style: normal; font-size: .9em; font-weight: 600; padding: .55em .9em; border-radius: 999px; background: #2f8f7a; white-space: nowrap; }
.mp-nav { display: grid; grid-template-columns: repeat(4, 1fr); padding: .7em .9em 1.3em; border-top: 1px solid rgba(31,29,26,0.08); font-size: .82em; text-align: center; color: #8a8378; }
.mp-nav span { position: relative; padding-top: 1.5em; }
.mp-nav span::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.3em; height: 1em; border-radius: .33em; background: #d8d3c9; }
.mp-nav span.on { color: #1f1d1a; font-weight: 600; }
.mp-nav span.on::before { background: #2f8f7a; }
.mp-nav span b { position: absolute; top: -.45em; right: 1.1em; min-width: 1.55em; height: 1.55em; border-radius: 999px; background: #c9553a; color: #fff; font-size: .9em; display: flex; align-items: center; justify-content: center; }

.mock-browser { container-type: inline-size; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mb-bar { display: flex; align-items: center; gap: 1cqw; padding: 1.7cqw 2.3cqw; background: #f1f2f7; border-bottom: 1px solid var(--border); font-size: 1.85cqw; }
.mb-bar i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #d5d7e2; }
.mb-bar span { margin-left: 1.6cqw; flex: 1; text-align: center; font-family: var(--ff-mono); color: var(--text-3); background: #fff; border-radius: 1cqw; padding: .6cqw 1.6cqw; }
.mb-hero {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; font-size: 2.2cqw;
  background:
    radial-gradient(ellipse 70% 60% at 30% 80%, rgba(47,143,122,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.5) 0%, transparent 60%),
    linear-gradient(180deg, #bfe3ea 0%, #7cc6d3 35%, #2f9e9a 60%, #e9dcc3 61%, #f2e7d3 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 1.7em 2em;
}
.mb-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 60%; height: 2px; background: rgba(255,255,255,0.35); }
.mb-nav { display: flex; justify-content: space-between; align-items: center; gap: 1em; font-size: .8em; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.25); white-space: nowrap; overflow: hidden; }
.mb-nav span { display: flex; gap: 1.2em; overflow: hidden; }
.mb-nav b { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; font-size: 1.3em; letter-spacing: 0.08em; }
.mb-titre { font-family: Georgia, 'Times New Roman', serif; font-size: 3.1em; font-weight: 500; line-height: 1.05; text-shadow: 0 2px 14px rgba(0,0,0,0.25); text-wrap: balance; max-width: 16ch; }
.mb-titre small { display: block; font-family: var(--ff); font-size: .3em; letter-spacing: 0.14em; text-transform: uppercase; margin-top: .7em; opacity: 0.92; }
.mb-search { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .5em; background: rgba(255,255,255,0.94); border-radius: 1em; padding: .55em; color: #5b564d; font-size: .85em; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35); }
.mb-search span { padding: .6em .9em; border-right: 1px solid rgba(31,29,26,0.1); white-space: nowrap; overflow: hidden; }
.mb-search span:nth-child(3) { border-right: none; }
.mb-search span b { display: block; font-size: .8em; letter-spacing: 0.1em; text-transform: uppercase; color: #9a938a; font-weight: 600; }
.mb-search em { font-style: normal; background: #1f1d1a; color: #fff; padding: .6em 1.3em; border-radius: .7em; align-self: center; font-weight: 600; white-space: nowrap; }

/* ═══ PAGE APPLICATIONS ═══ */
.app-case { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; padding: 62px 0; border-top: 1px solid var(--border); }
.app-case:nth-child(even) .app-visu { order: 2; }
.app-visu { position: relative; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.app-visu img { width: 100%; height: auto; display: block; }
.app-txt h3 { font-size: 27px; font-weight: 750; letter-spacing: -.8px; margin-bottom: 6px; color: var(--text); }
.app-role { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.app-txt p { font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.app-txt p + p { margin-top: 13px; }
.app-txt strong { color: var(--text); font-weight: 600; }
.app-meta { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; font-size: 14px; }
.app-meta dt { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; padding-top: 3px; }
.app-meta dd { margin: 0; color: var(--text-2); }
.etat { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); background: #fff; }
.etat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.etat.live { color: var(--green); border-color: rgba(22,163,74,.3); }
.etat.live::before { background: var(--green); }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.type-c { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s, transform .3s; }
.type-c:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.type-c h3 { font-size: 19px; font-weight: 650; letter-spacing: -.3px; margin-bottom: 11px; color: var(--text); }
.type-c p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.type-c .quand { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-3); }
.type-c .quand b { color: var(--accent); font-weight: 600; }

/* ═══ PAGE VILLAS et ETUDE DE CAS ═══ */
.blocs-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bloc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s, transform .3s; }
.bloc:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.bloc .svc-ico { margin-bottom: 16px; }
.bloc h3 { font-size: 18px; font-weight: 650; letter-spacing: -.35px; margin-bottom: 10px; color: var(--text); }
.bloc p { font-size: 14.5px; line-height: 1.68; color: var(--text-2); }
.bloc ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.bloc li { margin-bottom: 5px; }

.args { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.args-liste { display: flex; flex-direction: column; gap: 14px; }
.arg { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 22px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.arg .svc-ico { width: 44px; height: 44px; margin: 0; }
.arg h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -.3px; margin-bottom: 5px; color: var(--text); }
.arg p { font-size: 14.5px; line-height: 1.62; color: var(--text-2); }

.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.demo-visu { position: relative; padding: 0 70px 60px 0; }
.demo-visu .mock-browser { width: 100%; }
.demo-visu .mock-phone { position: absolute; right: 0; bottom: 0; width: 210px; margin: 0; }
.cle {
  margin-top: 26px; padding: 22px 24px; border-radius: var(--radius-sm);
  background: var(--bg-dark); color: #fff; box-shadow: var(--shadow-md);
}
.cle h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.cle dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14.5px; }
.cle dt { color: rgba(255,255,255,0.6); }
.cle dd { margin: 0; font-family: var(--ff-mono); font-size: 13.5px; }
.cle dd code { font-family: inherit; background: rgba(255,255,255,0.08); padding: 3px 8px; border-radius: 6px; user-select: all; }
.cle p { margin-top: 14px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.68); }
.cle p a { color: #fff; }

.recap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recap-item { padding: 26px; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.recap-item b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.recap-item p, .recap-item li { font-size: 14.5px; line-height: 1.66; color: var(--text-2); }
.recap-item ul { padding-left: 18px; margin-top: 6px; }
.recap-item li { margin-bottom: 4px; }
.recap-item strong { color: var(--text); font-weight: 600; }

.prose { max-width: 780px; }
.prose p { font-size: 16.5px; line-height: 1.78; color: var(--text-2); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-bottom: 8px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 750; letter-spacing: -0.9px; line-height: 1.15; color: var(--text); margin: 44px 0 16px; }
.prose h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.4px; color: var(--text); margin: 30px 0 10px; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.note { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 15px; line-height: 1.65; color: var(--text-2); }
.note strong { color: var(--text); }

/* ═══ BLOG ═══ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s, box-shadow .3s;
}
.post:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,0,.2,1); }
.post:hover .post-cover img { transform: scale(1.04); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.post-meta .tag { font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .02em; }
.post-body h2, .post-body h3 { font-size: 19px; font-weight: 650; letter-spacing: -.45px; line-height: 1.3; color: var(--text); text-wrap: balance; }
.post-body p { font-size: 14.5px; line-height: 1.62; color: var(--text-2); flex: 1; }
.post-lire { font-size: 14px; font-weight: 550; color: var(--accent); margin-top: 4px; }

.article-hero { padding: 150px 0 40px; }
.article-hero .wrap { max-width: 860px; }
.article-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 750; letter-spacing: -1.8px; line-height: 1.06; text-wrap: balance; color: var(--text); }
.article-hero .chapo { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; font-size: 14px; color: var(--text-3); }
.article-meta .auteur { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 500; }
.article-meta .auteur i { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.article-cover { max-width: 860px; margin: 34px auto 0; padding: 0 32px; }
.article-cover img { border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.article-body { padding: 44px 0 100px; }
.article-body .wrap { max-width: 860px; }
.article-body .prose { max-width: none; }
.article-body .reponse-courte { margin: 0 0 34px; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); border-left: 4px solid var(--accent); }
.article-body .reponse-courte b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.article-body .reponse-courte p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.article-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.article-foot .liens { display: flex; gap: 10px; flex-wrap: wrap; }
.article-foot .liens a { font-size: 14px; font-weight: 550; color: var(--accent); text-decoration: none; padding: 9px 16px; border: 1px solid var(--accent-line); border-radius: 999px; background: #fff; }
.article-foot .liens a:hover { background: var(--accent-soft); }
.suite { margin-top: 56px; }
.suite h2 { font-size: 22px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 18px; color: var(--text); }
.suite .posts { grid-template-columns: repeat(2, 1fr); }

/* ═══ MENTIONS LEGALES ═══ */
.legal { padding: 150px 0 90px; }
.legal h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 750; letter-spacing: -1.8px; line-height: 1.08; text-wrap: balance; color: var(--text); }
.legal .maj { margin-top: 14px; font-size: 13px; color: var(--text-3); font-family: var(--ff-mono); }
.legal .chapeau { margin-top: 26px; font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 760px; }
.legal article { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--border); max-width: 820px; }
.legal h2 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; font-weight: 650; letter-spacing: -0.4px; margin-bottom: 18px; color: var(--text); }
.legal h2 span { color: var(--accent); font-family: var(--ff-mono); font-size: 13px; font-weight: 600; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.78; color: var(--text-2); text-wrap: pretty; }
.legal p + p { margin-top: 14px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal ul { margin: 14px 0 0 18px; }
.legal li { margin-bottom: 9px; }
.legal dl { display: grid; grid-template-columns: 190px 1fr; gap: 12px 26px; }
.legal dt { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; padding-top: 4px; }
.legal dd { font-size: 15.5px; color: var(--text-2); margin: 0; line-height: 1.6; }
.legal dd strong { color: var(--text); }
.encadre { margin-top: 22px; padding: 20px 24px; border: 1px solid var(--accent-line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); }
.encadre p { font-size: 15px; }
.retour { display: inline-flex; align-items: center; gap: 9px; margin-top: 56px; padding: 13px 26px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 550; transition: border-color 0.25s, box-shadow .25s; background: #fff; }
.retour:hover { border-color: var(--text); box-shadow: var(--shadow-sm); }

/* ═══ CARROUSEL EMPILE (telephone uniquement) ═══ */
.carrousel-pastilles { display: none; justify-content: center; align-items: center; gap: 4px; margin-top: 10px; }
.carrousel-pastilles button { width: 30px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; cursor: pointer; }
.carrousel-pastilles button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(15,15,35,0.18); transition: background 0.28s, width 0.28s; }
.carrousel-pastilles button[aria-current="true"]::before { width: 22px; background: var(--accent); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1180px) {
  #navbar { padding: 14px max(22px, env(safe-area-inset-right)) 14px max(22px, env(safe-area-inset-left)); }
  #navbar.scrolled { padding: 11px max(22px, env(safe-area-inset-right)) 11px max(22px, env(safe-area-inset-left)); }
  #hamburger { display: flex; }
  #nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 24px 50px -20px rgba(15,15,35,0.3);
    padding: 8px 14px 16px;
  }
  #nav-links.open { display: flex; }
  #navbar.menu-ouvert { background: rgba(255,255,255,0.98); border-bottom-color: transparent; }
  #nav-links a { padding: 15px 12px; min-height: 44px; display: flex; align-items: center; border-radius: 12px; font-size: 16px; }
  #nav-cta { margin-left: 0; margin-top: 8px; justify-content: center; border-radius: 999px !important; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-cote { justify-content: flex-start; }
  .hero-voile {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.90) 45%, rgba(255,255,255,0.62) 72%, rgba(255,255,255,1) 100%);
  }
  .enjeux-grid, .faq-grid, .ct-grid, .args, .demo, .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-wide { grid-template-columns: 1fr; padding: 36px; }
  .svc-wide .mock-phone { margin: 0 auto; }
  .work-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .blocs-4 { grid-template-columns: repeat(2, 1fr); }
  .recap { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .types { grid-template-columns: 1fr; }
  .app-case { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .app-case:nth-child(even) .app-visu { order: 0; }
}
@media (max-width: 760px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  section { padding: 84px 0; }
  #hero { padding: 116px 0 70px; min-height: 0; }
  .hero-fond { background-image: url(/images/hero-poster-mobile.jpg); }
  .meter { width: 100%; padding: 22px; }
  .page-hero { padding: 122px 0 56px; }
  .svc-grid, .steps, .work-grid, .posts, .blocs-4, .suite .posts { grid-template-columns: 1fr; }
  .svc { padding: 28px; }
  .svc-wide { padding: 30px 24px; gap: 28px; }
  .proof { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; margin-top: 44px; }
  .proof-lbl { max-width: none; }
  .f-row { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; gap: 30px; }
  .ft-brand { max-width: none; width: 100%; }
  .display { letter-spacing: -1.6px; }
  .h2 { letter-spacing: -1.2px; }
  .cta-bloc { padding: 42px 24px; }
  .app-meta { grid-template-columns: 1fr; gap: 2px 0; }
  .app-meta dt { margin-top: 12px; }
  .legal { padding: 118px 0 70px; }
  .legal dl { grid-template-columns: 1fr; gap: 3px 0; }
  .legal dt { margin-top: 14px; }
  .demo-visu { padding: 0 24px 110px 0; }
  .demo-visu .mock-phone { width: 150px; right: 0; bottom: 0; }
  .cle dl { grid-template-columns: 1fr; gap: 4px; }
  .cle dt { margin-top: 8px; }
  .article-hero { padding: 116px 0 30px; }
  .article-cover { padding: 0 20px; }
  .arg { grid-template-columns: 40px 1fr; padding: 18px; }

  /* Carrousel empile */
  .est-carrousel { position: relative; display: block; overflow: visible; padding: 0; margin: 16px 0 20px; }
  .est-carrousel > * {
    position: absolute; top: 0; left: 12%; width: 76%; margin: 0;
    transition: transform 0.46s cubic-bezier(0.2,0.7,0.3,1), opacity 0.34s ease;
    will-change: transform;
  }
  .est-carrousel.est-mesure { visibility: hidden; }
  .est-carrousel.est-mesure > * { position: relative; top: auto; left: auto; width: 76%; margin: 0 auto; transform: none !important; opacity: 1 !important; transition: none; }
  .est-carrousel > .est-active { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
  .est-carrousel > .rv, .js-rv .est-carrousel > .rv {
    animation: none !important; opacity: 1;
    transition: transform 0.46s cubic-bezier(0.2,0.7,0.3,1), opacity 0.34s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .anim, .rv { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-video { display: none; }
}
