/* =========================================================
   BEELY STUDIO — Page d'accueil
   Design tokens (variables Figma) + composants (BEM)
   Thème sombre & clair · Police Inter
   ========================================================= */

:root {
  /* ---- Couleurs de marque (indépendantes du thème) ---- */
  --color-primary: #1e69fe;
  --color-primary-t5: rgba(30, 105, 254, 0.21);
  --color-primary-t3: rgba(30, 105, 254, 0.53);
  --color-pink: #ff2d55;
  --color-badge: #112040;        /* pastille bleu nuit (hero) */
  --on-primary: #ffffff;         /* texte sur fond bleu/sombre */

  /* ---- Tokens thématiques (valeurs = THÈME SOMBRE par défaut) ---- */
  --color-d6: #0d0d0d;           /* fond de page */
  --color-d2: #1e1d1d;           /* surfaces : cartes, pastilles, inputs */
  --color-white: #ffffff;        /* texte principal */
  --color-w-t1: rgba(255, 255, 255, 0.84);
  --color-w-t3: rgba(255, 255, 255, 0.53);
  --color-w-t5: rgba(255, 255, 255, 0.21);
  --header-bg: rgba(13, 13, 13, 0.85);
  --menu-bg: rgba(20, 20, 22, 0.98);
  --orb-color: rgba(30, 105, 254, 0.30);
  --glow-opacity: 0.85;
  --logo-filter: none;           /* inversion des SVG blancs en thème clair */

  /* ---- Typographie ---- */
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --fs-2xs: 0.65rem;     /* 10.4 */
  --fs-xs: 0.78rem;      /* 12.5 */
  --fs-s: 0.9375rem;     /* 15   */
  --fs-m: 1.125rem;      /* 18   */
  --fs-l: 1.3125rem;     /* 21   */
  --fs-xl: 1.625rem;     /* 26   */
  --fs-2xl: 2rem;        /* 32   */
  --lh-head: 1.2;
  --lh-body: 1.55;
  --fs-h1: clamp(1.75rem, 1.35rem + 1.5vw, 2rem);
  --fs-h2: clamp(1.4rem, 1.15rem + 1vw, 1.625rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.5vw, 1.3125rem);

  /* ---- Espacements ---- */
  --space-4xs: 5px;
  --space-3xs: 5px;
  --space-2xs: 7px;
  --space-xs: 11px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 34px;
  --space-xl: 50px;
  --space-2xl: 72px;
  --space-3xl: 80px;
  --space-section: clamp(44px, 5.5vw, 76px);

  /* ---- Rayons ---- */
  --radius-2xs: 3.82px;
  --radius-xs: 6.18px;
  --radius-s: 10px;
  --radius-m: 16.18px;
  --radius-xl: 42.36px;
  --radius-full: 99999px;

  /* ---- Largeurs ---- */
  --width-m: 540px;
  --width-l: 810px;
  --width-xl: 1080px;
  --site-max: 1366px;
  --control-h: 38px;             /* hauteur commune boutons / toggle */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- THÈME CLAIR ---- */
[data-theme="light"] {
  --color-d6: #f4f5f7;
  --color-d2: #ffffff;
  --color-white: #14181f;        /* texte principal (sombre) */
  --color-w-t1: rgba(20, 24, 31, 0.84);
  --color-w-t3: rgba(20, 24, 31, 0.58);
  --color-w-t5: rgba(20, 24, 31, 0.12);
  --header-bg: rgba(244, 245, 247, 0.85);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --orb-color: rgba(30, 105, 254, 0.22);
  --glow-opacity: 0.4;
  --logo-filter: invert(1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-s);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-white);
  background: var(--color-d6);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   Boule de gradient animée (fond global)
   ========================================================= */
.bg-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 55vmax;
  height: 55vmax;
  z-index: -10;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orb-color) 0%, transparent 62%);
  filter: blur(40px);
  transform: translate(50vw, 30vh) translate(-50%, -50%);
  will-change: transform;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.container { width: 100%; max-width: var(--site-max); margin-inline: auto; }
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: var(--space-section);
  padding-inline: var(--space-m);
  position: relative;
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  max-width: var(--width-l);
  text-align: center;
}

/* =========================================================
   Typographie
   ========================================================= */
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-head); }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: var(--lh-head); }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-head); }
.t-m { font-size: var(--fs-m); font-weight: 700; line-height: var(--lh-head); }
.accent { color: var(--color-primary); }
.lead { color: var(--color-w-t3); font-size: var(--fs-s); }
.muted { color: var(--color-w-t3); }

/* =========================================================
   Composants partagés
   ========================================================= */

/* ---- Pastilles ---- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xs) var(--space-m);
  background: var(--color-d2);
  border: 1px solid var(--color-w-t5);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: var(--lh-body);
  white-space: nowrap;
}
.pill-duo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  padding: var(--space-3xs);
  background: var(--color-d2);
  border: 1px solid var(--color-w-t5);
  border-radius: var(--radius-xs);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.pill-duo__tag {
  background: var(--color-badge);
  color: #fff;
  padding: 2px var(--space-2xs);
  border-radius: var(--radius-xs);
}
.pill-duo__text { padding-right: var(--space-3xs); }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  height: var(--control-h);
  padding: 0 var(--space-s);
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--color-primary); color: var(--on-primary); }
.btn--primary:hover { background: #357bff; }
.btn--dark { background: #1e1d1d; color: #fff; border-color: rgba(255,255,255,0.08); }
.btn--dark:hover { background: #2a2828; }
.btn--outline { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--outline:hover { background: var(--color-white); color: var(--color-d6); }

/* ---- Lien fléché ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-s);
  font-weight: 600;
  transition: gap 0.2s var(--ease);
}
.link-arrow img { width: 16px; height: 16px; filter: var(--logo-filter); }
.link-arrow:hover { gap: var(--space-s); }

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: flex-start; gap: 4.2px; }
.logo__word { width: 72px; height: 24.72px; filter: var(--logo-filter); }
.logo__mark { width: 12.82px; height: 23.69px; }

/* ---- Bascule de thème ---- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-h);
  height: var(--control-h);
  flex: 0 0 auto;
  border-radius: var(--radius-s);
  background: var(--color-d2);
  border: 1px solid var(--color-w-t5);
  color: var(--color-white);
  transition: background-color 0.2s var(--ease);
}
.theme-toggle:hover { background: var(--color-primary-t5); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--space-xs) var(--space-m);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-w-t5);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); }
.site-header__left { display: flex; align-items: center; gap: var(--space-l); }
.site-nav { display: flex; align-items: center; gap: var(--space-m); }
.site-nav__link { font-size: var(--fs-s); font-weight: 500; color: var(--color-white); transition: color 0.2s var(--ease); }
.site-nav__link:hover { color: var(--color-primary); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-xs); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle__bar { width: 24px; height: 2px; background: var(--color-white); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: var(--space-section) var(--space-m);
}
.hero__glow {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 88%);
  height: auto;
  z-index: -2;
  pointer-events: none;
  opacity: var(--glow-opacity);
}
.hero__floats {
  position: absolute;
  inset: 0;
  z-index: -1;
  max-width: var(--site-max);
  margin-inline: auto;
  pointer-events: none;
}
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--color-primary-t5);
}
.hero__float img { width: auto; height: auto; max-height: 60px; }
.hero__float--google { background: transparent; }
.hero__float--google img { width: 120px; height: 120px; max-height: none; }
.hero__float--1 { top: 16%; left: 0; }
.hero__float--2 { bottom: 14%; left: 7%; }
.hero__float--3 { top: 16%; right: 0; }
.hero__float--4 { bottom: 14%; right: 7%; }

.hero__content { display: flex; flex-direction: column; align-items: center; gap: var(--space-m); max-width: var(--width-l); text-align: center; }
.hero__title { font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-head); }
.hero__lead { max-width: var(--width-l); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); justify-content: center; }

/* =========================================================
   LOGOS (marquee clients)
   ========================================================= */
.logos { gap: var(--space-xl); }
.logos__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); width: 100%; max-width: var(--site-max); }
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { display: flex; align-items: center; gap: var(--space-l); width: max-content; animation: marquee 45s linear infinite; }
.marquee__row--reverse { animation-direction: reverse; }
.marquee__row:hover { animation-play-state: paused; }
.marquee__logo { display: flex; align-items: center; justify-content: center; height: 56px; flex: 0 0 auto; }
.marquee__logo img { width: auto; height: 30px; max-width: none; opacity: 0.8; filter: var(--logo-filter); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   TARIFS
   ========================================================= */
.pricing__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); width: 100%; max-width: var(--site-max); }
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-m); width: 100%; align-items: stretch; }
.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  padding: var(--space-m);
  background: var(--color-d2);
  border: 1px solid var(--color-w-t5);
  border-radius: var(--radius-m);
}
.price-card--featured { background: var(--color-primary-t5); border-color: var(--color-primary-t3); }
.price-card__info { position: relative; display: flex; flex-direction: column; gap: var(--space-xs); }
.price-card__icon { width: 42px; height: 42px; filter: var(--logo-filter); }
.price-card__title { font-size: var(--fs-l); font-weight: 600; line-height: var(--lh-head); }
.price-card__desc { color: var(--color-w-t3); }
.price-card--featured .price-card__desc { color: var(--color-w-t1); }
.price-card__price { position: absolute; top: 0; right: 0; display: flex; align-items: baseline; gap: var(--space-xs); }
.price-card__price small { font-size: var(--fs-xs); color: var(--color-w-t3); font-weight: 400; }
.price-card--featured .price-card__price small { color: var(--color-w-t1); }
.price-card__price b { font-size: var(--fs-xl); font-weight: 700; }
.price-features { display: flex; flex-direction: column; gap: var(--space-s); }
.price-features--cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.price-feature { display: flex; align-items: flex-start; gap: var(--space-xs); }
.price-feature img { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; filter: var(--logo-filter); }
.price-card--featured .price-feature { color: var(--color-w-t1); }
.price-feature--highlight { font-weight: 700; text-decoration: underline; }
.price-card__cta { margin-top: auto; align-self: flex-start; }

/* =========================================================
   PROCESS (méthodologie)
   ========================================================= */
.process { overflow: hidden; }
.process__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m); align-items: start; width: 100%; max-width: var(--site-max); position: relative; }
.process__glow { position: absolute; left: 6%; top: 22%; width: 380px; height: auto; z-index: 0; pointer-events: none; opacity: var(--glow-opacity); }
.process__intro { display: flex; flex-direction: column; gap: var(--space-xs); align-items: flex-start; max-width: var(--width-xl); position: sticky; top: 110px; z-index: 1; }
.process__intro .h2 { width: 100%; }
.process__paras { display: flex; flex-direction: column; gap: var(--space-s); color: var(--color-w-t3); }
.process__timeline { --fill: 0px; position: relative; display: grid; grid-template-columns: 56px 38px 1fr; column-gap: var(--space-m); row-gap: var(--space-2xl); }
.process__timeline::before,
.process__timeline::after { content: ""; position: absolute; left: calc(56px + var(--space-m) + 19px); width: 2px; transform: translateX(-1px); z-index: 0; border-radius: 2px; }
.process__timeline::before { top: 8px; bottom: 8px; background: var(--color-w-t5); }
.process__timeline::after { top: 8px; height: var(--fill); max-height: calc(100% - 16px); background: linear-gradient(180deg, var(--color-primary), #6ea0ff); box-shadow: 0 0 14px var(--color-primary); }
.process__num { font-size: var(--fs-xl); font-weight: 700; line-height: var(--lh-head); text-align: right; color: var(--color-w-t3); transition: color 0.4s var(--ease); }
.process__num.is-active { color: var(--color-white); }
.process__rail { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding-top: 8px; }
.process__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--color-w-t5); box-shadow: 0 0 0 5px var(--color-d6); transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.process__rail.is-active .process__dot { background: var(--color-primary); box-shadow: 0 0 0 5px var(--color-d6), 0 0 18px 3px var(--color-primary); transform: scale(1.3); }
.process__content { display: flex; flex-direction: column; gap: var(--space-s); min-width: 0; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
html.js .process__content { opacity: 0.4; transform: translateY(10px); }
html.js .process__content.is-active { opacity: 1; transform: none; }
.process__label { color: var(--color-primary); font-weight: 600; font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.04em; }
.process__step-title { font-size: var(--fs-l); font-weight: 700; line-height: var(--lh-head); }
.process__desc { color: var(--color-w-t3); }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); width: 100%; max-width: var(--site-max); }
.portfolio__filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); justify-content: center; }
.filter-btn { padding: var(--space-xs) var(--space-m); border-radius: var(--radius-s); background: var(--color-d2); border: 1px solid var(--color-w-t5); font-size: var(--fs-xs); font-weight: 600; transition: background-color 0.2s var(--ease); }
.filter-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--on-primary); }
.accordion { width: 100%; border-bottom: 1px solid var(--color-w-t5); }
.accordion-item { border-top: 1px solid var(--color-w-t5); }
.accordion-item__head { display: flex; align-items: center; gap: var(--space-xl); width: 100%; padding: var(--space-m) 0; text-align: left; }
.accordion-item__heading { display: flex; flex: 1 0 0; min-width: 0; gap: var(--space-xl); align-items: center; }
.accordion-item__name { font-weight: 700; font-size: var(--fs-s); width: 180px; flex: 0 0 auto; }
.accordion-item__sub { display: flex; flex: 1 0 0; gap: var(--space-xl); align-items: center; min-width: 0; }
.accordion-item__type { flex: 1 0 0; font-weight: 500; font-size: var(--fs-s); }
.accordion-item__tag { flex: 1 0 0; font-size: var(--fs-xs); color: var(--color-w-t3); }
.accordion-item__icon { width: 22px; height: 22px; flex: 0 0 22px; transition: transform 0.3s var(--ease); filter: var(--logo-filter); }
.accordion-item.is-open .accordion-item__icon { transform: rotate(135deg); }
.accordion-item__panel { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.accordion-item__content { display: flex; gap: var(--space-xl); align-items: flex-start; padding-bottom: var(--space-m); }
.accordion-item__desc { flex: 1 0 0; color: var(--color-w-t3); min-width: 0; }
.accordion-item__images { display: flex; gap: var(--space-m); align-items: center; justify-content: flex-end; }
.accordion-item__images img { border-radius: var(--radius-s); object-fit: cover; }
.accordion-item__img--wide { width: 470px; height: 264px; }
.accordion-item__img--square { width: 264px; height: 264px; }

/* =========================================================
   BLOG
   ========================================================= */
.blog__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); width: 100%; max-width: var(--site-max); }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); width: 100%; }
.blog-card { display: flex; flex-direction: column; }
.blog-card__image { position: relative; display: flex; align-items: flex-end; height: 300px; padding: var(--space-s); border-radius: var(--radius-m) var(--radius-m) 0 0; overflow: hidden; }
.blog-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.blog-card__tag { background: var(--color-d2); padding: var(--space-3xs) var(--space-2xs); border-radius: var(--radius-2xs); font-size: var(--fs-xs); font-weight: 500; }
.blog-card__body { display: flex; flex-direction: column; gap: var(--space-m); padding: var(--space-m); background: var(--color-d2); border: 1px solid var(--color-w-t5); border-top: 0; border-radius: 0 0 var(--radius-m) var(--radius-m); flex: 1 0 auto; }
.blog-card__info { display: flex; flex-direction: column; gap: var(--space-xs); }
.blog-card__excerpt { color: var(--color-w-t3); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { overflow: hidden; }
.faq__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-xl); width: 100%; max-width: var(--site-max); position: relative; }
.faq__glow { position: absolute; left: 6%; top: 18%; width: 380px; height: auto; z-index: 0; pointer-events: none; opacity: var(--glow-opacity); }
.faq__intro { display: flex; flex-direction: column; gap: var(--space-m); align-items: flex-start; flex: 1 0 0; max-width: var(--width-m); min-width: 0; position: relative; z-index: 1; }
.faq__list { display: flex; flex-direction: column; gap: var(--space-l); width: 660px; flex: 0 1 660px; position: relative; z-index: 1; }
.faq__item { display: flex; flex-direction: column; gap: var(--space-xs); }
.faq__q { font-size: var(--fs-m); font-weight: 700; line-height: var(--lh-head); }
.faq__a { color: var(--color-w-t3); }

/* =========================================================
   CTA (contact)
   ========================================================= */
.cta { padding-bottom: clamp(80px, 13vw, 202.52px); }
.cta__inner { display: flex; align-items: flex-start; gap: var(--space-s); width: 100%; max-width: var(--site-max); }
.cta__intro { display: flex; flex: 1 0 0; flex-direction: column; gap: var(--space-m); min-width: 0; }
.cta__title { font-size: var(--fs-h2); font-weight: 700; line-height: var(--lh-head); }
.cta__text { color: var(--color-w-t3); max-width: 550px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.cta-form { display: flex; flex-direction: column; gap: var(--space-s); width: 520px; flex: 0 0 auto; }
.form-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}
[data-theme="light"] .form-card { box-shadow: 0 18px 40px rgba(20, 24, 31, 0.12); border: 1px solid rgba(29, 29, 29, 0.08); }
.form-row { display: flex; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 10px; flex: 1 0 0; min-width: 0; }
.form-field label { font-size: 16px; font-weight: 500; color: #1d1d1d; }
.form-field .req { color: #ff4040; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  background: #fff;
  color: #1d1d1d;
  border: 1px solid rgba(29, 29, 29, 0.15);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(29, 29, 29, 0.4); }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-t5); }
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.form-actions { display: flex; justify-content: flex-end; }
.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 8px 0 22px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-send:hover { transform: translateY(-2px); background: #357bff; box-shadow: 0 12px 28px var(--color-primary-t5); }
.btn-send__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--color-primary); flex: 0 0 auto; }
.btn-send__icon svg { width: 16px; height: 16px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { display: flex; flex-direction: column; align-items: center; gap: var(--space-l); padding: var(--space-section) var(--space-m); border-top: 1px solid var(--color-w-t5); }
.site-footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-l); width: 100%; max-width: var(--site-max); }
.site-footer__brand { display: flex; flex-direction: column; gap: var(--space-m); align-items: flex-start; flex: 1 0 0; max-width: var(--width-m); min-width: 0; }
.site-footer__desc { color: var(--color-w-t3); font-size: var(--fs-xs); }
.site-footer__social { display: inline-flex; padding: 8px; background: var(--color-primary-t5); border-radius: var(--radius-s); }
.site-footer__social img { width: 22px; height: 22px; filter: var(--logo-filter); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-m); font-size: var(--fs-xs); }
.footer-col__title { font-weight: 600; color: var(--color-white); }
.footer-col__links { display: flex; flex-direction: column; gap: var(--space-s); }
.footer-col__links a { color: var(--color-w-t3); transition: color 0.2s var(--ease); }
.footer-col__links a:hover { color: var(--color-white); }
.site-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: var(--space-l); width: 100%; max-width: var(--site-max); }
.site-footer__divider { width: 100%; height: 1px; background: var(--color-w-t5); }
.site-footer__copy { color: var(--color-w-t3); font-size: var(--fs-xs); }

/* =========================================================
   Apparition au scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__row { animation: none; }
  html.js .process__content { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .process__inner { grid-template-columns: 1fr; gap: var(--space-l); }
  .process__intro { position: static; }
  .process__glow { display: none; }
  .faq__inner { flex-direction: column; gap: var(--space-l); }
  .faq__list { width: 100%; flex-basis: auto; }
  .faq__intro { max-width: none; }
  .cta__inner { flex-direction: column; }
  .cta-form { width: 100%; }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .accordion-item__content { flex-direction: column; gap: var(--space-m); }
  .accordion-item__images { width: 100%; justify-content: flex-start; }
  .accordion-item__img--wide { width: auto; height: auto; flex: 2 1 0; min-width: 0; aspect-ratio: 16 / 9; }
  .accordion-item__img--square { width: auto; height: auto; flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-header__actions .btn--dark { display: none; }
  .site-nav {
    position: absolute; top: 100%; right: var(--space-m);
    flex-direction: column; align-items: stretch; gap: var(--space-s);
    width: min(280px, 80vw); padding: var(--space-m);
    background: var(--menu-bg); border: 1px solid var(--color-w-t5); border-radius: var(--radius-m);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .site-header__actions .btn--primary { display: none; }
  .hero__floats { display: none; }
  .hero__glow { width: 130%; top: -4%; }
  .blog__grid { grid-template-columns: 1fr; }
  .price-features--cols { grid-template-columns: 1fr; }
  .accordion-item__head { gap: var(--space-m); }
  .accordion-item__sub { display: none; }
  .accordion-item__name { width: auto; flex: 1 0 0; }
  .accordion-item__images { flex-direction: column; }
  .accordion-item__img--wide, .accordion-item__img--square { width: 100%; flex: none; }
  .form-row { flex-direction: column; }
  .site-footer__top { flex-direction: column; gap: var(--space-l); }
}

/* =========================================================
   ANIMATIONS (inspiration Webflow)
   ========================================================= */

/* Variantes de révélation au scroll */
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(0.94); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Entrée animée du hero au chargement */
html.js .hero__content > * { opacity: 0; transform: translateY(26px); }
.hero-in .hero__content > * { animation: heroIn 0.8s var(--ease) forwards; }
.hero-in .hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-in .hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-in .hero__content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-in .hero__content > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Logos tech flottants (mouvement continu) */
.hero__float { transition: scale 0.3s var(--ease); }
.hero__float--1 { animation: floaty 6s ease-in-out infinite; }
.hero__float--2 { animation: floaty 7s ease-in-out -1s infinite; }
.hero__float--3 { animation: floaty 6.5s ease-in-out -2s infinite; }
.hero__float--4 { animation: floaty 7.5s ease-in-out -0.6s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Survol des cartes */
.price-card { position: relative; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.price-card:hover { transform: translateY(-6px); border-color: var(--color-primary-t3); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28); }
[data-theme="light"] .price-card:hover { box-shadow: 0 24px 50px rgba(20, 24, 31, 0.12); }

/* Liseré bleu animé autour de la carte */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-m);
  padding: 1.6px;
  background: conic-gradient(from var(--angle), transparent 0deg, transparent 250deg, var(--color-primary) 310deg, #9dc0ff 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.price-card > * { position: relative; z-index: 2; }
.price-card:hover::before,
.price-card--featured::before { opacity: 1; animation: borderSpin 4s linear infinite; }
@keyframes borderSpin { to { --angle: 360deg; } }

.blog-card { transition: transform 0.35s var(--ease); }
.blog-card:hover { transform: translateY(-6px); }
.blog-card__image img { transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__image img { transform: scale(1.06); }

.accordion-item__images img { transition: transform 0.5s var(--ease); }
.accordion-item__images img:hover { transform: scale(1.03); }

.filter-btn { transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.filter-btn:hover { transform: translateY(-2px); }

.site-footer__social { transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
.site-footer__social:hover { transform: translateY(-3px) scale(1.05); }

/* Soulignement animé des liens de navigation */
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s var(--ease);
}
.site-nav__link:hover::after { width: 100%; }

/* Barre de progression du scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), #6ea0ff);
  z-index: 60;
  transition: width 0.1s linear;
}

/* Boutons magnétiques (suivi du curseur en JS) */
.btn, .theme-toggle { will-change: transform; }

@media (max-width: 900px) {
  .site-nav__link::after { display: none; }
}
