/* ==========================================================================
   S&B DIGITAL — Feuille de styles
   1. Tokens (direction artistique)   5. Sections
   2. Base                            6. Composants de maquette
   3. Boutons & composants            7. Animations
   4. Header / navigation
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs */
  --blue: #1F4BFF;          /* bleu signature (cobalt électrique) */
  --blue-600: #1437D1;
  --blue-400: #5B8DEF;
  --blue-200: #9CC2FF;      /* accent clair, sur fond foncé */
  --ice: #F3F6FF;           /* fond teinté */
  --line: #E1E8F8;
  --navy: #0A1330;          /* « noir » de la marque : bleu nuit */
  --navy-700: #111C44;
  --black: #05070F;         /* noir pur, avec parcimonie (footer) */
  --ink: #0A1330;
  --muted: #55607D;
  --white: #fff;

  /* Typographies */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Formes & rythme */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(10, 19, 48, .04), 0 12px 32px -12px rgba(10, 19, 48, .14);
  --shadow-blue: 0 10px 28px -10px rgba(31, 75, 255, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  --gutter: 20px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .hero :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--blue-200); }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; background: currentColor; border-radius: 1.5px; transform: rotate(45deg); }
.eyebrow--light { color: var(--blue-200); }

/* ---------- 3. Boutons & composants ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { display: flex; align-items: baseline; gap: 7px; font-family: var(--font-display); font-size: 1.12rem; line-height: 1; }
.logo__text strong { font-weight: 700; letter-spacing: -.02em; }
.logo__text span { font-weight: 400; letter-spacing: .2em; font-size: .86em; color: var(--blue-200); }

/* ---------- 4. Header / navigation ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur le header
   lui-même en ferait le bloc conteneur du menu mobile (position: fixed). */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(10, 19, 48, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header.is-scrolled::before, .menu-open .header::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-toggle {
  position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 12px;
}
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0; background: var(--navy); padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav__list a {
  display: block; padding: 16px 0; color: var(--white); font: 600 1.5rem/1.2 var(--font-display); letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.nav__cta { align-self: flex-start; }

@media (min-width: 960px) {
  :root { --header-h: 76px; --gutter: 32px; }
  .nav-toggle { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; gap: 32px; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; overflow: visible; }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    padding: 10px 14px; border: 0; border-radius: 999px; font: 500 .94rem/1 var(--font-body); letter-spacing: 0;
    color: rgba(255, 255, 255, .74); transition: color .2s, background-color .2s;
  }
  .nav__list a:hover, .nav__list a.is-active { color: var(--white); }
  .nav__list a.is-active { background: rgba(255, 255, 255, .09); }
  .nav__cta { align-self: auto; }
}

/* ---------- 5. Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--ice); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.06rem; }
.section__head--left { margin-inline: 0; text-align: left; }
.section--dark .section__head > p:not(.eyebrow) { color: rgba(255, 255, 255, .7); }
@media (min-width: 960px) { .section { padding: 128px 0; } .section__head { margin-bottom: 64px; } }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); padding: calc(var(--header-h) + 48px) 0 72px; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(31, 75, 255, .5), transparent 70%),
    radial-gradient(45% 45% at 5% 100%, rgba(91, 141, 239, .22), transparent 70%);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 1.3rem + 4.8vw, 4.4rem); font-weight: 600; letter-spacing: -.035em; }
.hero__brand { display: block; margin-bottom: 14px; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); font-weight: 700; letter-spacing: .22em; color: var(--white); opacity: .92; }
.hero__title em { font-style: normal; color: transparent; background: linear-gradient(95deg, var(--blue-200), #fff 70%); -webkit-background-clip: text; background-clip: text; }
.hero__lead { margin-top: 22px; max-width: 34rem; font-size: 1.1rem; color: rgba(255, 255, 255, .74); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: .9rem; color: rgba(255, 255, 255, .62); }
.hero__tags li { display: flex; align-items: center; gap: 9px; }
.hero__tags li::before { content: ''; width: 5px; height: 5px; border-radius: 1px; background: var(--blue-200); transform: rotate(45deg); }

.hero__visual { position: relative; max-width: 560px; width: 100%; margin-inline: auto; padding: 0 20px 28px 0; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }
@media (min-width: 960px) {
  .hero { padding: calc(var(--header-h) + 84px) 0 120px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .hero__visual { margin-right: 0; }
}

/* Services */
.services { display: grid; gap: 18px; }
.service {
  padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.service:not(.service--featured):hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D6F7; }
.service h3 { margin: 22px 0 10px; }
.service p { color: var(--muted); }
.service__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ice); color: var(--blue); }
.service__icon svg { width: 24px; height: 24px; }
.service--featured {
  position: relative; overflow: hidden; display: grid; gap: 32px; padding: 34px 30px; border: 0; color: var(--white);
  background: radial-gradient(90% 120% at 100% 0%, var(--blue) 0%, transparent 60%), var(--navy);
}
.service--featured h3 { margin: 18px 0 14px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: -.025em; }
.service--featured p { color: rgba(255, 255, 255, .76); max-width: 32rem; font-size: 1.05rem; }
.service--featured .btn { margin-top: 28px; }
.service__tag { display: inline-block; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-200); }
.service__points { display: grid; gap: 12px; align-content: center; }
.service__points li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); font-weight: 500; font-size: .96rem; }
.service__points svg { width: 20px; height: 20px; flex: none; color: var(--blue-200); }
@media (min-width: 720px) {
  .services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .service--featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; padding: 52px; align-items: center; }
}

/* Réalisations */
.projects { display: grid; gap: 22px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project__media { position: relative; padding: 26px 26px 0; background: linear-gradient(160deg, #E4ECFF, #F6F8FF); overflow: hidden; }
.project__media .browser { border-radius: 12px 12px 0 0; box-shadow: 0 20px 40px -18px rgba(10, 19, 48, .35); transition: transform .5s var(--ease); transform-origin: bottom; }
.project:hover .project__media .browser { transform: translateY(-6px) scale(1.015); }
.project__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project__badge { position: absolute; top: 14px; right: 14px; padding: 5px 11px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project__body { padding: 24px 26px 28px; }
.project__type { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.project__body h3 { margin: 8px 0; font-size: 1.25rem; }
.project__body p:not(.project__type) { color: var(--muted); font-size: .96rem; }
.project__link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--blue); }
.project--next { display: grid; place-items: center; text-align: center; padding: 40px 28px; background: none; border: 1.5px dashed #B9C8EE; min-height: 260px; }
.project--next:hover { transform: none; box-shadow: none; }
.project--next p { margin: 10px 0 22px; color: var(--muted); }
@media (min-width: 720px) { .projects { grid-template-columns: repeat(2, 1fr); } }

/* À propos */
.about { display: grid; gap: 40px; }
.about .section__head { margin-bottom: 0; }
.about .btn { margin-top: 30px; }
.values li { display: flex; gap: 22px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.values li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.values span { font: 600 .85rem/1.7 var(--font-display); color: var(--blue-200); letter-spacing: .08em; }
.values p { margin-top: 6px; color: rgba(255, 255, 255, .68); font-size: .98rem; }
@media (min-width: 960px) {
  .about { grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: start; }
  .about .section__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Avis */
.reviews { display: grid; gap: 18px; }
.review { margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.stars { display: flex; gap: 3px; margin-bottom: 18px; }
.stars svg { width: 20px; height: 20px; fill: none; stroke: #C3CEE8; stroke-width: 1.5; stroke-linejoin: round; }
.stars svg.on { fill: var(--blue); stroke: var(--blue); }
.review blockquote { margin: 0 0 24px; font-size: 1.04rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong, .review figcaption small { display: block; line-height: 1.35; }
.review figcaption small { color: var(--muted); }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ice); color: var(--blue); font: 600 1rem var(--font-display); }
.review--empty { border-style: dashed; border-color: #C3CEE8; background: #FBFCFF; }
.review--empty p { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.review__ghost { display: flex; align-items: center; gap: 12px; }
.review__ghost span { width: 42px; height: 42px; border-radius: 50%; background: #E9EEFB; }
.review__ghost i { display: block; height: 9px; border-radius: 9px; background: #E9EEFB; width: 110px; }
.review__ghost i + i { width: 70px; margin-top: 8px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

/* Contact */
.contact { display: grid; gap: 40px; }
.contact__info > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.06rem; max-width: 30rem; }
.callcards { display: grid; gap: 12px; margin-top: 32px; }
.callcard {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--navy); color: var(--white); border-radius: var(--r);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.callcard:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(10, 19, 48, .6); }
.callcard__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .1); font: 600 1.1rem var(--font-display); color: var(--blue-200); }
.callcard__txt { flex: 1; }
.callcard__txt small { display: block; font-size: .82rem; color: rgba(255, 255, 255, .62); line-height: 1.3; }
.callcard__txt strong { font: 600 1.22rem/1.3 var(--font-display); letter-spacing: .01em; }
.callcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); transition: transform .3s var(--ease); }
.callcard:hover .callcard__icon { transform: rotate(-12deg) scale(1.06); }
.callcard__icon svg { width: 20px; height: 20px; }

.form { display: grid; gap: 16px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #F8FAFF; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2355607D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field :is(input, select, textarea):focus { outline: 0; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 75, 255, .14); }
.field [aria-invalid="true"] { border-color: #D6336C; }
.form__status { min-height: 1.4em; font-size: .92rem; text-align: center; }
.form__status[data-type="success"] { color: #12734A; }
.form__status[data-type="error"] { color: #B4234F; }
@media (min-width: 600px) { .form { padding: 36px; } .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact { grid-template-columns: .85fr 1fr; gap: 72px; align-items: start; } }

/* Footer */
.footer { background: var(--black); color: rgba(255, 255, 255, .68); padding: 56px 0 96px; font-size: .95rem; }
.footer__inner { display: grid; gap: 32px; }
.footer__tagline { margin-top: 14px; }
.footer__nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer a:not(.logo):hover { color: var(--white); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
@media (min-width: 720px) { .footer { padding-bottom: 40px; } .footer__inner { grid-template-columns: 1.6fr 1fr 1fr; } }

/* Barre d'appel mobile */
.callbar {
  position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; background: rgba(10, 19, 48, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px;
  box-shadow: 0 16px 40px -12px rgba(5, 7, 15, .6);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.callbar.is-visible { transform: none; }
.menu-open .callbar { transform: translateY(140%); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; color: var(--white); font-weight: 600; font-size: .92rem; }
.callbar a:first-child { background: var(--blue); }
.callbar a:last-child { background: rgba(255, 255, 255, .1); }
.callbar svg { width: 17px; height: 17px; }
@media (min-width: 720px) { .callbar { display: none; } }

/* ---------- 6. Composants de maquette (aperçus de sites) ---------- */
.browser { background: var(--white); border-radius: 14px; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF2FB; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #C6D1EA; }
.browser__bar span { margin-left: 10px; flex: 1; max-width: 190px; height: 17px; border-radius: 9px; background: var(--white); font-size: 9.5px; line-height: 17px; color: #8A96B4; text-align: center; }
.browser__body { --accent: var(--blue); }

.mock-nav { display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.mock-nav b { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); margin-right: auto; }
.mock-nav span { width: 26px; height: 5px; border-radius: 5px; background: #D9E1F3; }
.mock-nav u { width: 40px; height: 16px; border-radius: 16px; background: var(--navy); }
.mock-line { display: block; height: 9px; border-radius: 9px; background: #DCE4F5; margin-bottom: 8px; }
.mock-line--xs { width: 30%; height: 6px; background: var(--accent); opacity: .55; }
.mock-line--lg { width: 92%; height: 14px; background: var(--navy); }
.mock-line--md { width: 70%; height: 14px; background: var(--navy); }
.mock-line--sm { width: 80%; height: 6px; }
.mock-btn { display: block; width: 74px; height: 22px; margin-top: 14px; border-radius: 22px; background: var(--accent); }
.mock-img { border-radius: 10px; background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)); min-height: 90px; }
.mock-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding: 14px 16px 18px; align-items: center; }
.mock-hero .mock-img { min-height: 130px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 18px; }
.mock-cards span { height: 46px; border-radius: 9px; background: #F0F4FD; border: 1px solid #E3EAF8; }

.browser--hero { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; min-width: 108px; padding: 22px 11px 14px; background: var(--white);
  border: 4px solid var(--navy-700); border-radius: 22px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); --accent: var(--blue);
}
.phone__notch { position: absolute; top: 7px; left: 50%; width: 34%; height: 5px; margin-left: -17%; border-radius: 5px; background: #D9E1F3; }
.phone .mock-img { min-height: 64px; margin-top: 10px; }
.phone .mock-btn { width: 100%; height: 18px; margin-top: 10px; }
.phone .mock-line--lg { height: 10px; }

.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--navy); font-size: .8rem; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.chip svg { width: 15px; height: 15px; color: var(--blue); }
.chip__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }
.chip--a { top: -20px; right: 14%; }
.chip--b { bottom: 6px; left: -8px; }
@media (min-width: 600px) { .chip--b { left: -22px; bottom: 60px; } }

/* Mini-aperçus des cartes projet */
.mini { aspect-ratio: 16 / 10; overflow: hidden; }
.mini__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 8px 16px 16px; align-items: center; }
.mini--b { background: var(--navy); }
.mini--b .mock-line--lg, .mini--b .mock-line--md { background: var(--white); }
.mini--b .mock-nav span, .mini--b .mock-cards span { background: rgba(255, 255, 255, .1); border-color: transparent; }
.mini--b .mock-nav u, .mini--b .mock-nav b, .mini--b .mock-btn { background: var(--blue-400); }
.mini--b .mock-img { background: linear-gradient(140deg, var(--blue), var(--blue-200)); }
.mini--c .mini__hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.mini--c .mini__hero > div:first-child { width: 72%; display: grid; justify-items: center; }
.mini--c .mock-img { display: none; }
.mini--c .mock-cards span { height: 56px; }

/* ---------- 7. Animations ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.phone { animation: float 7s ease-in-out infinite; }
.chip--a { animation: float 6s ease-in-out -2s infinite; }
.chip--b { animation: float 8s ease-in-out -4s infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
