/* ============================================================
   PixelPerfect — Agence Web La Rochelle
   Palette : noir #121212 / blanc #fff / accent #ff5332
   Typo : Fraunces (titres) / Poppins (corps)
   ============================================================ */

:root {
  --black: #121212;
  --black-soft: #1a1a1a;
  --black-card: #1f1f1f;
  --white: #ffffff;
  --off-white: #f5f5f4;
  --grey: #979797;
  --grey-dark: #4f4f4f;
  --accent: #ff5332;
  --accent-dark: #e04327;

  --font-title: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --section-pad: clamp(5rem, 12vw, 9rem);
  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
em { font-style: italic; }

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-pad); }
.br-desktop { display: none; }
@media (min-width: 768px) { .br-desktop { display: block; } }

::selection { background: var(--accent); color: var(--white); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--white); /* fond blanc : l'animation Lottie est conçue pour */
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease-expo);
}
.preloader.is-done { transform: translateY(-100%); }
.preloader__lottie {
  width: clamp(180px, 40vw, 280px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* ============================================================
   CURSEUR PERSONNALISÉ
   ============================================================ */
.cursor, .cursor-follower {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  display: none;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-follower {
  width: 38px; height: 38px;
  border: 1.5px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              background 0.3s var(--ease-out), opacity 0.3s;
  display: none;
  align-items: center; justify-content: center;
  font-size: 0; color: var(--white);
}
.cursor-follower.is-hover { width: 64px; height: 64px; background: rgba(255, 83, 50, 0.12); }
.cursor-follower.is-view {
  width: 84px; height: 84px;
  background: var(--accent); border-color: var(--accent);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
}
.cursor-follower.is-view::after { content: 'VOIR'; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-follower { display: flex; }
  body { cursor: none; }
  a, button, summary, select { cursor: none; }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9000;
  width: 100%; height: 3px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding-block: 1.4rem;
  transition: padding 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.header.is-scrolled {
  padding-block: 0.8rem;
  background: rgba(245, 245, 244, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.07);
}
.header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 30px; width: auto;
  transition: transform 0.35s var(--ease-out);
}
.nav__logo:hover .nav__logo-img { transform: scale(1.04); }

.nav__menu { display: flex; align-items: center; gap: 2.2rem; }
.nav__link {
  font-size: 0.92rem; font-weight: 400;
  position: relative; padding-block: 0.3rem;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  font-size: 0.9rem; font-weight: 500;
  padding: 0.65rem 1.5rem;
  background: var(--black); color: var(--white);
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.nav__cta:hover { background: var(--accent); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  z-index: 1100;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--black);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, background 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative;
  padding-block: 8rem 6rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.hero__orb--1 {
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  background: radial-gradient(circle, rgba(255, 83, 50, 0.55), transparent 65%);
  top: -12%; right: -10%;
  animation: float 11s ease-in-out infinite;
}
.hero__orb--2 {
  width: 34vw; height: 34vw; min-width: 260px; min-height: 260px;
  background: radial-gradient(circle, rgba(18, 18, 18, 0.16), transparent 65%);
  bottom: -8%; left: -8%;
  animation: float 14s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 5%) scale(1.06); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18,18,18,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,18,18,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

.hero__kicker {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2.7rem, 8.5vw, 6.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero__italic { font-style: italic; color: var(--accent); font-weight: 400; }
.hero__dot { color: var(--accent); }

.hero__line { display: block; overflow: hidden; }
.hero__line-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease-expo);
}
.is-loaded .hero__line:nth-child(1) .hero__line-inner { transition-delay: 0.10s; }
.is-loaded .hero__line:nth-child(2) .hero__line-inner { transition-delay: 0.22s; }
.is-loaded .hero__line:nth-child(3) .hero__line-inner { transition-delay: 0.34s; }
.is-loaded .hero__line-inner { transform: translateY(0); }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%); opacity: 0;
  transition: transform 1s var(--ease-expo) 0.5s, opacity 0.8s 0.5s;
}
.is-loaded .reveal-line > span { transform: translateY(0); opacity: 1; }
.hero__actions > span { transition-delay: 0.65s; }

.hero__subtitle {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  color: var(--grey-dark);
  max-width: 620px;
  margin-bottom: 2.6rem;
}
.hero__actions span { display: inline-flex; gap: 1rem; flex-wrap: wrap; }

/* Personnage jetpack */
.hero__perso-wrap {
  position: absolute;
  right: clamp(1rem, 7vw, 9rem);
  bottom: 12vh;
  width: clamp(240px, 26vw, 430px);
  z-index: 1;
}
.hero__perso-float {
  position: relative;
  animation: persoFloat 5.5s ease-in-out infinite;
}
.hero__perso {
  width: 100%;
  position: relative; z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(18, 18, 18, 0.15));
}
@keyframes persoFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-22px) rotate(1.5deg); }
}

/* Paupière du clin d'œil, calée sur l'œil droit du personnage */
.perso__wink {
  position: absolute;
  left: 30.1%; top: 13.4%;
  width: 3.6%;
  z-index: 3;
  transform: rotate(-6deg);
  opacity: 0;
  transition: opacity 0.07s ease;
  pointer-events: none;
}
.perso__wink.is-winking { opacity: 1; }

/* Bouffées de fumée émises au scroll */
.perso__smoke {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.perso__smoke span {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

/* Flammes découpées de l'illustration, animées indépendamment.
   Le calque est dilaté de 18 px autour du dessin : l'amplitude doit
   rester petite pour que le trou du calque corps soit toujours couvert. */
.hero__perso-flames {
  position: absolute; inset: 0;
  width: 100%;
  z-index: 1;
  transform-origin: 63% 38%; /* naissance des flammes, sous la tuyère */
  animation: flameFlicker 0.38s ease-in-out infinite alternate;
  will-change: transform, filter;
}
@keyframes flameFlicker {
  from { transform: scale(1, 1) rotate(0.1deg); filter: brightness(1); }
  to   { transform: scale(0.994, 1.016) rotate(-0.35deg); filter: brightness(1.09) saturate(1.08); }
}

/* Nappe de fumée basse du hero (jusqu'à hauteur des CTA) */
.hero__smoke-bed {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__smoke-bed span {
  position: absolute;
  border-radius: 50%;
  filter: blur(9px);
  will-change: transform, opacity;
}
.hero__content { position: relative; z-index: 2; }

/* Chip Google Partner */
.hero__google {
  display: inline-block;
  margin-top: 2.2rem;
}
.hero__google > span {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.88rem; color: var(--grey-dark);
  padding: 0.55rem 1.2rem 0.55rem 0.6rem;
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.1);
  border-radius: 100px;
  box-shadow: 0 6px 20px -10px rgba(18,18,18,0.2);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.hero__google:hover > span {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -10px rgba(18,18,18,0.28);
}
.hero__google strong { font-weight: 600; color: var(--black); }
.hero__google-g {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 700; font-size: 1rem; color: var(--white);
  background: conic-gradient(#ea4335 0 25%, #fbbc05 25% 50%, #34a853 50% 75%, #4285f4 75% 100%);
}

/* Indicateur de scroll : flèche + SCROLL, centré en bas du hero */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 2.4rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.45rem;
  z-index: 2;
}
.hero__scroll-arrow {
  font-size: 1.5rem; color: var(--accent);
  animation: bounce 2s infinite; /* rebond doux */
}
.hero__scroll-label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--grey-dark);
}
@keyframes bounce {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-weight: 500; font-size: 0.95rem;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: background 0.35s var(--ease-out), color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
  will-change: transform;
}
.btn--primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(255, 83, 50, 0.6);
}
.btn--primary:hover {
  background: var(--black);
  box-shadow: 0 14px 34px -12px rgba(18, 18, 18, 0.5);
}
.btn--ghost { border-color: var(--black); color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--ghost.btn--light { border-color: var(--white); color: var(--white); }
.btn--ghost.btn--light:hover { background: var(--white); color: var(--black); }
.btn--full { width: 100%; border: none; cursor: pointer; font-family: var(--font-body); }

/* CTA du formulaire : section sombre → hover clair (évite le noir sur noir) */
.contact__form .btn--primary:hover {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding-block: 1.3rem;
  background: var(--black); color: var(--white);
  transform: rotate(-1.2deg) scale(1.02);
}
.marquee--partners {
  background: transparent; color: var(--black);
  transform: none;
  border-block: 1px solid rgba(18, 18, 18, 0.1);
  margin-top: 2rem;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track--reverse { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-style: normal; margin-inline: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Marquee de logos partenaires */
.marquee--logos {
  padding-block: 1.8rem;
  background: var(--white);
}
.marquee__logos {
  display: inline-flex; align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-right: clamp(2.5rem, 6vw, 4.5rem);
}
.marquee__logos img {
  height: clamp(29px, 3.9vw, 41px);
  width: auto;
  mix-blend-mode: multiply; /* fond blanc du jpg fondu dans le bandeau */
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.35s, opacity 0.35s, transform 0.35s var(--ease-out);
}
.marquee__logos img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

/* ============================================================
   SECTIONS — têtes communes
   ============================================================ */
.section__tag {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section__tag--light { color: var(--accent); }
.section__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.015em;
}
.section__title em { color: var(--accent); font-weight: 400; }
.section__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.section--dark {
  background: var(--black); color: var(--white);
  border-radius: clamp(1.5rem, 4vw, 3rem);
  margin-inline: clamp(0.5rem, 1.5vw, 1.25rem);
}

/* ============================================================
   MANIFESTE + STATS
   ============================================================ */
.manifesto__text {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.35;
  max-width: 980px;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}
.manifesto__text .word {
  display: inline-block;
  opacity: 0.14;
  transition: opacity 0.5s ease;
}
.manifesto__text .word.is-visible { opacity: 1; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem 2rem;
}
.stats__item { border-top: 2px solid var(--black); padding-top: 1.4rem; }
.stats__number {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500; line-height: 1;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.stats__label { font-size: 0.92rem; color: var(--grey-dark); }

/* ============================================================
   SERVICES — lignes dépliantes
   ============================================================ */
.services__list { border-top: 1px solid rgba(18,18,18,0.14); }
.service { border-bottom: 1px solid rgba(18,18,18,0.14); }
.service__head {
  display: flex; align-items: center; gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.6rem, 3.5vw, 2.4rem);
  position: relative;
  transition: padding-left 0.45s var(--ease-out);
}
.service:hover .service__head,
.service.is-open .service__head { padding-left: clamp(0.8rem, 2vw, 1.6rem); }
.service__head::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.45s var(--ease-out);
}
.service:hover .service__head::before,
.service.is-open .service__head::before { transform: scaleY(1); }

.service__num {
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent);
}
.service__name {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(1.5rem, 4.4vw, 2.8rem);
  flex: 1;
  transition: transform 0.45s var(--ease-out);
}
.service:hover .service__name { transform: translateX(6px); }
.service__icon {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--grey);
  transition: transform 0.5s var(--ease-out), color 0.3s;
}
.service.is-open .service__icon { transform: rotate(360deg); color: var(--accent); }

.service__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease-expo), padding 0.5s;
}
.service.is-open .service__body { max-height: 380px; padding-bottom: 2.4rem; }
.service__body p { max-width: 640px; color: var(--grey-dark); margin-bottom: 1.2rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service__tags li {
  font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(18,18,18,0.2);
  border-radius: 100px;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process__steps {
  position: relative;
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  padding-left: clamp(2.6rem, 6vw, 3.4rem);
}
.process__line {
  position: absolute; left: 17px; top: 8px; bottom: 8px;
  width: 2px; background: rgba(255,255,255,0.14);
}
.process__line-fill {
  display: block; width: 100%; height: 0;
  background: var(--accent);
  transition: height 0.15s linear;
}
.process__step { position: relative; max-width: 560px; }
.process__num {
  position: absolute; left: calc(-1 * clamp(2.6rem, 6vw, 3.4rem)); top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--black); color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-weight: 600; font-size: 0.9rem;
}
.process__step h3 {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.process__step p { color: rgba(255,255,255,0.62); font-size: 0.98rem; }

/* ============================================================
   CO-FONDATEURS
   ============================================================ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.team__card {
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 1.5rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.team__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(18,18,18,0.25);
}
.team__photo-wrap {
  width: clamp(110px, 14vw, 150px); height: clamp(110px, 14vw, 150px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  margin-bottom: 1.6rem;
  position: relative;
}
.team__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.team__card:hover .team__photo { transform: scale(1.08); }
.team__quote p {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 1.4rem;
}
.team__name {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 600;
}
.team__role { font-size: 0.88rem; color: var(--grey-dark); }

/* ============================================================
   CONNECTEURS & AUTOMATISATION
   ============================================================ */
.connectors__intro {
  margin-top: 1rem;
  max-width: 640px;
  color: var(--grey-dark);
}
.connectors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.connectors__card {
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 1.2rem;
  padding: 2rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.3s;
}
.connectors__card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 83, 50, 0.4);
  box-shadow: 0 24px 48px -26px rgba(18,18,18,0.25);
}
.connectors__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 1rem;
  background: rgba(255, 83, 50, 0.1);
  color: var(--accent);
  font-size: 1.4rem; font-weight: 600;
  margin-bottom: 1.2rem;
}
.connectors__card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem; font-weight: 500;
  margin-bottom: 0.5rem;
}
.connectors__card p { font-size: 0.95rem; color: var(--grey-dark); }
.connectors__card--google { text-align: left; }
.connectors__google-img {
  width: min(100%, 300px);
  border-radius: 0.8rem;
  margin-bottom: 1.2rem;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials__placeholder {
  border: 1.5px dashed rgba(18,18,18,0.25);
  border-radius: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: var(--grey-dark);
}
.testimonials__stars {
  display: block;
  font-size: 1.6rem; letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__item {
  border-bottom: 1px solid rgba(18,18,18,0.14);
}
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.5rem;
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__plus {
  position: relative;
  flex: 0 0 34px; height: 34px;
  border: 1.5px solid rgba(18,18,18,0.25);
  border-radius: 50%;
  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s;
}
.faq__plus::before, .faq__plus::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.35s var(--ease-out); }
.faq__item[open] .faq__plus {
  background: var(--accent); border-color: var(--accent);
  color: var(--white);
  transform: rotate(180deg);
}
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p {
  padding-bottom: 1.6rem;
  color: var(--grey-dark);
  max-width: 660px;
}
.faq__answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__intro { color: rgba(255,255,255,0.65); margin-top: 1rem; max-width: 560px; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__field { position: relative; margin-bottom: 1.4rem; }
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 300;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0.8rem;
  padding: 1.1rem 1.2rem;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
}
.form__field select { color: rgba(255,255,255,0.75); }
.form__field select option { color: var(--black); }
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.form__field label {
  position: absolute; left: 1.2rem; top: 1.1rem;
  font-size: 0.95rem; color: rgba(255,255,255,0.5);
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), font-size 0.3s, color 0.3s;
  transform-origin: left top;
}
.form__field input:focus + label,
.form__field input:not(:placeholder-shown) + label,
.form__field textarea:focus + label,
.form__field textarea:not(:placeholder-shown) + label {
  transform: translateY(-2.15rem);
  font-size: 0.75rem;
  color: var(--accent);
}
.form__status { margin-top: 1rem; font-size: 0.9rem; color: #9be29b; min-height: 1.4em; }
.form__status--error { color: var(--accent); }

/* Champ piège anti-spam : hors écran, invisible pour les visiteurs */
.form__field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__consent {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 1.6rem; cursor: pointer;
  font-size: 0.82rem; line-height: 1.5; color: rgba(255,255,255,0.65);
}
.form__consent input[type="checkbox"] {
  flex-shrink: 0; width: 1.05rem; height: 1.05rem; margin-top: 0.15rem;
  accent-color: var(--accent); cursor: pointer;
}

.contact__card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
}
.contact__card h3 {
  font-family: var(--font-title); font-weight: 500;
  font-size: 1.35rem; margin-bottom: 0.6rem;
}
.contact__card p { color: rgba(255,255,255,0.62); font-size: 0.95rem; margin-bottom: 1.4rem; }
.contact__infos { color: rgba(255,255,255,0.72); font-size: 0.95rem; line-height: 1.9; }
.contact__infos strong { color: var(--white); }
.contact__infos a { color: var(--accent); }

/* ============================================================
   PAGES INTERNES (ressources, mentions légales, trust)
   ============================================================ */
.page-hero {
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.page-hero h1 em { color: var(--accent); font-weight: 400; }
.page-hero__intro {
  margin-top: 1.2rem;
  max-width: 640px;
  color: var(--grey-dark);
  font-size: 1.05rem;
}

/* prose : contenus longs (mentions légales, trust) */
.prose { max-width: 780px; }
.prose h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18,18,18,0.12);
}
.prose h3 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  margin: 2rem 0 0.7rem;
}
.prose h4 {
  font-size: 1.02rem; font-weight: 600;
  margin: 1.6rem 0 0.5rem;
}
.prose p { margin-bottom: 1rem; color: #333; }
.prose ul { margin: 0 0 1rem 1.2rem; list-style: disc; color: #333; }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose .prose__date { font-size: 0.85rem; color: var(--grey); }

/* fiche d'identité (mentions légales) */
.prose dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.prose dt { font-weight: 600; }
.prose dd { color: #333; }

/* Feed LinkedIn */
.linkedin-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.linkedin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.linkedin-card {
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.linkedin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -24px rgba(18,18,18,0.28);
}
.linkedin-card iframe {
  display: block;
  width: 100%; height: 480px;
  border: 0;
}
.linkedin-placeholder {
  border: 1.5px dashed rgba(18,18,18,0.25);
  border-radius: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: var(--grey-dark);
}
.linkedin-placeholder strong { color: var(--black); }
.btn--linkedin {
  background: #0a66c2; color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(10, 102, 194, 0.55);
}
.btn--linkedin:hover { background: var(--black); }

/* ============================================================
   ARTICLES / RESSOURCES
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.1);
  border-radius: 1rem;
  padding: 1.8rem;
  text-decoration: none;
  color: var(--black);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,83,50,0.35);
  box-shadow: 0 22px 44px -24px rgba(18,18,18,0.28);
}
.article-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255,83,50,0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.article-card__title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}
.article-card__excerpt {
  font-size: 0.92rem;
  color: var(--grey-dark);
  margin-bottom: 1.3rem;
  flex-grow: 1;
}
.article-card__more {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}
.article-card:hover .article-card__more { text-decoration: underline; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--grey-dark);
  margin-bottom: 1.4rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--grey); }
.breadcrumb a { color: var(--grey-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--accent); }

/* ---------- Méta article ---------- */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
  font-size: 0.85rem; color: var(--grey-dark);
  margin-top: 1.2rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Encadré / points clés ---------- */
.prose .keypoints {
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-radius: 0 0.8rem 0.8rem 0;
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
}
.prose .keypoints > strong { display: block; margin-bottom: 0.6rem; }
.prose .keypoints ul { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.prose .faq { margin-top: 1rem; }
.prose .faq details {
  border: 1px solid rgba(18,18,18,0.1);
  border-radius: 0.8rem;
  padding: 0.4rem 1.2rem;
  margin-bottom: 0.8rem;
  background: var(--white);
}
.prose .faq summary {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.8rem 0;
  list-style: none;
}
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.prose .faq details[open] summary::after { content: "–"; }
.prose .faq details p:last-child { margin-bottom: 0.9rem; }

/* ---------- Tableau de données (articles) ---------- */
.prose .table-wrap {
  overflow-x: auto;
  margin: 1.8rem 0;
  background: var(--white);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 0.8rem;
  box-shadow: 0 22px 44px -24px rgba(18,18,18,0.18);
}
.prose .data-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: #333;
}
.prose .data-table th,
.prose .data-table td {
  padding: 0.65rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(18,18,18,0.06);
}
.prose .data-table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255,83,50,0.06);
}
.prose .data-table tbody th {
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}
.prose .data-table tbody tr:last-child th,
.prose .data-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Visuel d'en-tête d'article ---------- */
.article-hero {
  padding-top: 0;
}
.article-hero__media {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
}
.article-hero__media img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 460px);
  object-fit: cover;
  object-position: center;
  border-radius: 1.25rem;
  border: 1px solid rgba(18,18,18,0.08);
  box-shadow: 0 30px 60px -30px rgba(18,18,18,0.35);
}
.article-hero__media img.is-contain {
  object-fit: contain;
  background: var(--white);
  padding: clamp(1rem, 3vw, 2.5rem);
}

/* ---------- Figures inline dans le contenu ---------- */
.prose figure { margin: 2rem 0; }
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgba(18,18,18,0.1);
}
.prose figure.figure--portrait img {
  max-width: 300px;
  margin-inline: auto;
}
.prose figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--grey-dark);
  text-align: center;
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 3.5rem 0 2.5rem; text-align: center; }
.footer__logo { display: inline-block; }
.footer__logo-img { height: 34px; width: auto; margin-inline: auto; }
.footer__meta { margin-top: 0.8rem; font-size: 0.85rem; color: var(--grey-dark); }
.footer__links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin-top: 1.1rem;
}
.footer__links a {
  font-size: 0.85rem; color: var(--grey-dark);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--accent); }
.footer__copy { margin-top: 0.9rem; font-size: 0.8rem; color: var(--grey); }

/* ============================================================
   REVEALS AU SCROLL
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-expo);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
/* stagger léger sur les grilles */
.stats .reveal-up:nth-child(2), .process__step:nth-child(3) { transition-delay: 0.1s; }
.stats .reveal-up:nth-child(3), .process__step:nth-child(4) { transition-delay: 0.2s; }
.stats .reveal-up:nth-child(4), .process__step:nth-child(5) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__perso-wrap { width: clamp(200px, 24vw, 300px); bottom: 8vh; }
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .team__grid, .connectors__grid { grid-template-columns: 1fr; }

  /* le personnage rejoint le flux sous le contenu */
  .hero { padding-bottom: 3rem; flex-direction: column; justify-content: center; }
  .hero__perso-wrap {
    position: static;
    width: min(58vw, 300px);
    margin: 2.5rem auto 0;
  }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 0;
    height: 100vh; height: 100dvh;
    z-index: 1090;
    background: var(--black); color: var(--white);
    flex-direction: column; justify-content: center; gap: 1.8rem;
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.7s var(--ease-expo);
  }
  .nav__menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav__menu .nav__link { font-size: 1.5rem; font-family: var(--font-title); }
  .nav__menu .nav__cta { font-size: 1.1rem; padding: 0.9rem 2.2rem; background: var(--accent); }
  .nav__toggle.is-open span { background: var(--white); }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

  /* Menu ouvert : le header ne doit plus créer de « containing block ».
     Son transform (masquage au scroll) et son backdrop-filter (au scroll)
     capturaient le position:fixed du menu → fond absent + menu coupé. */
  body.menu-open .header { transform: none !important; }
  body.menu-open .header.is-scrolled {
    background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }

  .form__row { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
  .service__head { flex-wrap: wrap; gap: 0.8rem 1.2rem; }
  .service__num { flex-basis: 100%; }
}

/* ============================================================
   ACCESSIBILITÉ — mouvement réduit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__line-inner, .reveal-line > span, .reveal-up { transform: none; opacity: 1; }
  .manifesto__text .word { opacity: 1; }
}
