/* ================================================
   TOKENS
   ================================================ */
:root {
  --ink:           #080808;
  --body:          #363636;
  --body-mid:      #5a5a5a;
  --mute-soft:     #ababab;
  --hairline:      #d8d8d8;
  --canvas:        #ffffff;

  --accent-purple: #7a3dff;
  --accent-pink:   #ed52cb;
  --accent-blue:   #3b89ff;
  --accent-orange: #ff6b00;
  --accent-green:  #00d722;
  --accent-red:    #ee1d36;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-full: 9999px;

  --shadow-form: 0 30px 18px rgba(0,0,0,.04),
                 0 13px 13px rgba(0,0,0,.06),
                 0 3px 7px rgba(0,0,0,.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"] {
  list-style: none;
}

::selection {
  background: var(--ink);
  color: #fff;
}

/* ================================================
   LAYOUT — container & section paddings
   ================================================ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

#top          { padding: 96px 0 88px; }
#services     { padding: 24px 0 96px; }
#smm          { padding: 24px 0 96px; }
#realisations { padding: 88px 0; }
#contact      { padding: 96px 0; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.btn:hover { opacity: 0.82; }

.btn--primary   { background: var(--ink);    color: #fff;          border-color: var(--ink); }
.btn--secondary { background: var(--canvas); color: var(--ink);    border-color: var(--hairline); }
.btn--white     { background: #fff;          color: var(--ink);    border-color: #fff; }

.btn--sm     { height: 40px; padding: 0 20px; }
.btn--lg     { height: 48px; padding: 0 24px; }
.btn--submit { width: 100%; height: 48px; margin-top: 20px; }

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.4px;
}
/* marque réelle (monogramme 2J) — remplace l'ancienne puce texte */
.nav-logo__mark {
  height: 26px;
  width: auto;
  display: block;
}

.nav-logo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease;
}
.nav-menu__link:hover { color: var(--ink); }

/* ================================================
   HERO
   ================================================ */
.hero__inner { text-align: center; }

.hero__title {
  font-size: 80px;
  line-height: 83.2px;
  letter-spacing: -1.6px;
  font-weight: 600;
  max-width: 15ch;
  margin: 0 auto;
  text-wrap: balance;
}

.hero__sub {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: var(--body);
  max-width: 48ch;
  margin: 28px auto 0;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.accent-bar {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 64px;
}
.accent-bar span {
  width: 64px;
  height: 6px;
  border-radius: var(--radius-full);
}

/* ================================================
   EYEBROW & SECTION LABELS
   ================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-mid);
  margin-bottom: 28px;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.section-label {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-mid);
  margin-bottom: 14px;
}
.section-label--on-dark { color: var(--mute-soft); }

.section-title {
  font-size: 44.8px;
  line-height: 46.6px;
  letter-spacing: -0.5px;
  font-weight: 600;
  max-width: 20ch;
}
.section-title--on-dark { color: #fff; }

.section-lead {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: var(--body);
  max-width: 54ch;
  margin-top: 18px;
}

/* ================================================
   CARDS
   ================================================ */
.cards {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px;
}
.card--sm { padding: 28px; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 20px;
  flex-shrink: 0;
}

.card__title {
  font-size: 24px;
  line-height: 31.2px;
  font-weight: 500;
  margin-top: 24px;
  letter-spacing: -0.2px;
}
.card__title--sm {
  font-size: 20px;
  line-height: 26px;
  margin-top: 22px;
}

.card__body {
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: -0.16px;
  color: var(--body);
  margin-top: 10px;
}
.card__body--sm {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.12px;
  margin-top: 8px;
}

/* ================================================
   PLATFORMS
   ================================================ */
.platforms {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.platforms__label {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body-mid);
}
.platforms__list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
}

/* ================================================
   DARK SECTION (Réalisations)
   ================================================ */
.section--dark {
  background: #080808;
  color: #fff;
}

.project-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-md);
  padding: 32px;
}

.project-card__visual {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #1a1a1a 0 12px, #161616 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card__placeholder {
  font-family: Inconsolata, monospace;
  font-size: 13px;
  color: #6a6a6a;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0 16px;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12.8px;
  font-weight: 600;
  color: #fff;
  background: #ed52cb;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.project-card__title {
  font-size: 32px;
  line-height: 41.6px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.project-card__desc {
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: -0.16px;
  color: #ababab;
  margin-top: 14px;
}

.project-card__content .btn--white {
  margin-top: 28px;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.contact-title { max-width: none; }

.contact-info__text {
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: -0.16px;
  color: var(--body);
  margin-top: 18px;
  max-width: 34ch;
}

.contact-info__email {
  display: inline-block;
  font-size: 24px;
  line-height: 31.2px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-top: 32px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.15s ease;
}
.contact-info__email:hover { opacity: 0.65; }

.contact-info__social { margin-top: 28px; }

.contact-info__ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease;
}
.contact-info__ig:hover { color: var(--ink); }

.contact-info__ig-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ================================================
   CONTACT FORM
   ================================================ */
.contact-form {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-form);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-label--message { margin-top: 0; }

.form-input,
.form-textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--ink);
}
.form-input {
  height: 44px;
  padding: 0 16px;
}
.form-textarea {
  padding: 12px 16px;
  resize: vertical;
  min-height: 120px;
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--accent-red);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
}
.footer__tagline {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.14px;
  color: var(--body-mid);
  margin-top: 14px;
  max-width: 34ch;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer__nav-title {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}
.footer__nav a {
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
  transition: color 0.15s ease;
}
.footer__nav a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.footer__ig {
  font-size: 14px;
  color: var(--body-mid);
  transition: color 0.15s ease;
}
.footer__ig:hover { color: var(--ink); }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.footer__logo-mark {
  height: 22px;
  width: auto;
  display: block;
}

.footer__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.footer__copy {
  font-size: 14px;
  color: var(--body-mid);
}

/* ================================================
   ACTIVE NAV STATE
   ================================================ */
.nav-menu__link.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ================================================
   PAGE HEADER (pages intérieures)
   ================================================ */
.page-header {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--hairline);
}
.page-header--dark {
  background: #080808;
  color: #fff;
  border-bottom-color: #2a2a2a;
}
.page-header__title {
  font-size: 56px;
  line-height: 58.24px;
  font-weight: 600;
  letter-spacing: -0.6px;
  max-width: 22ch;
  margin-top: 12px;
}
.page-header__lead {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: var(--body);
  max-width: 54ch;
  margin-top: 18px;
}
.page-header__lead--on-dark { color: #ababab; }

/* ================================================
   CONTENT SECTION (pages intérieures)
   ================================================ */
.content-section {
  padding: 80px 0;
}
.content-section + .content-section {
  border-top: 1px solid var(--hairline);
}

/* ================================================
   PAGE CTA (bas des pages services)
   ================================================ */
.page-cta {
  border-top: 1px solid var(--hairline);
  padding: 80px 0;
}
.page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.page-cta__title {
  font-size: 32px;
  line-height: 41.6px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.page-cta__sub {
  font-size: 16px;
  line-height: 25.6px;
  color: var(--body);
  margin-top: 6px;
}

/* ================================================
   HOME — aperçu des services
   ================================================ */
.home-services {
  padding: 72px 0 96px;
  border-top: 1px solid var(--hairline);
}
.home-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.home-service-card {
  display: block;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 40px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-service-card:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.home-service-card__num {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-mid);
}
.home-service-card__title {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-top: 16px;
  color: var(--ink);
}
.home-service-card__desc {
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: -0.16px;
  color: var(--body);
  margin-top: 10px;
}
.home-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 28px;
  color: var(--ink);
}

/* ================================================
   PROCESSUS (page site-web)
   ================================================ */
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.process__step {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px;
}
.process__step-num {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--body-mid);
  margin-bottom: 20px;
}
.process__step-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.process__step-desc {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.12px;
  color: var(--body);
  margin-top: 8px;
}

/* ================================================
   RÉALISATIONS — CTA bas de page
   ================================================ */
.realisations-cta {
  padding: 96px 0;
  text-align: center;
}
.realisations-cta__title {
  font-size: 44.8px;
  line-height: 46.6px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.realisations-cta__sub {
  font-size: 18px;
  line-height: 28px;
  color: var(--body);
  margin-top: 16px;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.realisations-cta .btn {
  margin-top: 40px;
}

/* ================================================
   NAV — sous-menu Services
   ================================================ */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-group__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  color: var(--body);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.15s ease;
}
.nav-group:hover .nav-group__toggle,
.nav-group:focus-within .nav-group__toggle { color: var(--ink); }
.nav-group:hover .nav-group__toggle { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 272px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0,0,0,.08), 0 3px 7px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
/* pont invisible : garde le survol entre le lien et le panneau */
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-submenu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-submenu__link:hover        { background: #f5f5f5; color: var(--ink); }
.nav-submenu__link.is-active    { background: #f5f5f5; color: var(--ink); }
.nav-submenu__num {
  font-family: Inconsolata, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--body-mid);
}

/* ================================================
   HOME — bandeau de preuve
   ================================================ */
.proof { padding: 0 0 72px; }
.proof__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.proof__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof__stat-num {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1.2px;
}
.proof__stat-label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: var(--body-mid);
  max-width: 26ch;
}
.proof__clients {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.proof__clients-label {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--body-mid);
}
.proof__clients-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.proof__clients-list li {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--body-mid);
}

/* ================================================
   HOME — grille 4 offres & note
   ================================================ */
.home-services__grid--4 .home-service-card { padding: 32px; }
.home-services__note {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: var(--body-mid);
  margin-top: 28px;
}
.home-services__note a {
  color: var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================
   HOME — aperçu des réalisations (sombre)
   ================================================ */
.home-work { padding: 88px 0; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.work-grid--3 { grid-template-columns: repeat(3, 1fr); }

.work-card {
  display: block;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.work-card:hover {
  border-color: #4a4a4a;
  background: #151515;
}
.work-card__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #fff;
}
.work-card__desc {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: var(--mute-soft);
  margin-top: 8px;
}
.home-work__cta { margin-top: 40px; }

/* ================================================
   SERVICES — liste des offres
   ================================================ */
.offers {
  display: flex;
  flex-direction: column;
}
.offer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--hairline);
}
.offer:last-child { border-bottom: 1px solid var(--hairline); }
.offer__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.offer__num {
  font-family: Inconsolata, monospace;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}
.offer__rule {
  display: block;
  width: 48px;
  height: 6px;
  border-radius: var(--radius-full);
}
.offer__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.offer__desc {
  font-size: 17px;
  line-height: 27px;
  letter-spacing: -0.17px;
  color: var(--body);
  margin-top: 12px;
  max-width: 62ch;
}
.offer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.offer__list li {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
}
.offer__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.offer__link:hover { opacity: 0.7; }

/* ================================================
   SERVICES — chaîne (comment ça s'emboîte)
   ================================================ */
.chain {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.chain__step {
  flex: 1 1 180px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 20px;
}
.chain__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  font-family: Inconsolata, monospace;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.chain__text {
  font-size: 15px;
  line-height: 23px;
  letter-spacing: -0.15px;
  color: var(--body);
  margin-top: 14px;
}
.chain__arrow {
  align-self: center;
  font-size: 18px;
  color: var(--body-mid);
}

/* ================================================
   ENCARTS — callout & note tarifaire
   ================================================ */
.callout,
.quote-note {
  background: #fafafa;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 40px;
}
.callout__title,
.quote-note__title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-top: 12px;
  max-width: 24ch;
}
.callout__text,
.quote-note__text {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.16px;
  color: var(--body);
  margin-top: 14px;
  max-width: 72ch;
}
.callout .btn,
.quote-note .btn { margin-top: 28px; }

/* ================================================
   OUTILS MÉTIER — automatisation (sombre)
   ================================================ */
.automation { padding: 88px 0; }
.section-lead--on-dark { color: var(--mute-soft); }

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.flow__step {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-md);
  padding: 28px;
}
.flow__num {
  font-family: Inconsolata, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--mute-soft);
}
.flow__title {
  font-size: 19px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #fff;
  margin-top: 14px;
}
.flow__desc {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: var(--mute-soft);
  margin-top: 8px;
}
.automation__note {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.16px;
  color: #fff;
  margin-top: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-green);
  max-width: 70ch;
}

/* ================================================
   À PROPOS — qui est derrière
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.about-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
}
.about-portrait__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-top: 20px;
}
.about-portrait__role {
  font-size: 14px;
  line-height: 21px;
  color: var(--body-mid);
  margin-top: 6px;
}
.about-text {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.16px;
  color: var(--body);
  margin-top: 16px;
  max-width: 66ch;
}

/* ================================================
   À PROPOS — engagements (sombre)
   ================================================ */
.guarantees { padding: 88px 0; }
.guarantees__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.guarantee__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--accent-green);
  color: #080808;
  font-size: 15px;
  font-weight: 600;
}
.guarantee__title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #fff;
}
.guarantee__desc {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.15px;
  color: var(--mute-soft);
  margin-top: 6px;
}

/* ================================================
   À PROPOS — informations légales
   ================================================ */
.legal {
  margin-top: 36px;
  border-top: 1px solid var(--hairline);
}
.legal__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.legal dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--body-mid);
}
.legal dd {
  font-size: 16px;
  letter-spacing: -0.16px;
  color: var(--ink);
}
.legal dd a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================
   RÉALISATIONS — variantes de carte projet
   ================================================ */
.project-card--reverse .project-card__visual  { order: 2; }
.project-card--reverse .project-card__content { order: 1; }

.project-card__visual { position: relative; }

/* captures réelles */
.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.project-card__mobile--filled {
  overflow: hidden;
  background: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .55);
}
.project-card__mobile--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.project-card__mobile {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 84px;
  aspect-ratio: 440 / 952;   /* ratio réel des captures téléphone */
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  background: repeating-linear-gradient(135deg, #121212 0 10px, #0e0e0e 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* le libellé « desktop » se décale pour ne pas passer sous la vignette mobile */
.project-card__visual > .project-card__placeholder { padding: 0 104px 0 16px; }

.project-card__mobile .project-card__placeholder {
  font-size: 10px;
  padding: 0 4px;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pill--on-dark {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
  border-color: #2a2a2a;
  color: var(--mute-soft);
}

/* ================================================
   FORMULAIRE — sélecteur d'offre
   ================================================ */
.contact-form > .form-label + .form-label { margin-top: 16px; }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5a5a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ================================================
   RESPONSIVE — tablet (≤ 900px)
   ================================================ */
@media (max-width: 900px) {
  .hero__title {
    font-size: clamp(40px, 8vw, 64px);
    line-height: 1.05;
    letter-spacing: -1px;
  }

  .section-title {
    font-size: 36px;
    line-height: 38px;
  }

  .cards--3,
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services__grid  { grid-template-columns: 1fr; }
  .process__steps       { grid-template-columns: 1fr; }

  .page-header__title {
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.05;
  }

  .page-cta__inner { flex-direction: column; align-items: flex-start; }

  .project-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Mobile nav */
  .nav-hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 32px 24px;
    /* opaque : le panneau est haut (4 sous-entrées) et doit rester lisible
       par-dessus le hero */
    background: #fff;
    border-bottom: 1px solid var(--hairline);
    gap: 0;
  }
  .nav-menu.is-open { display: flex; }

  .nav-menu__link {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-menu__link:last-of-type { border-bottom: none; }

  .nav-menu__cta {
    margin-top: 16px;
    align-self: flex-start;
  }

  /* Nav mobile — groupe Services dépliable */
  .nav-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-group .nav-menu__link {
    width: auto;
    border-bottom: none;
  }
  .nav-group__toggle {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
  .nav-group:hover .nav-group__toggle { transform: none; }
  .nav-group__toggle[aria-expanded="true"] { transform: rotate(180deg); }

  .nav-submenu {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0 0 12px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-submenu::before { display: none; }
  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu { transform: none; }
  .nav-submenu.is-open { display: flex; }
  .nav-submenu__link {
    padding: 11px 12px;
    font-size: 15px;
  }

  /* Grilles */
  .proof__stats     { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .work-grid        { grid-template-columns: 1fr; }
  .flow             { grid-template-columns: repeat(2, 1fr); }
  .guarantees__list { grid-template-columns: 1fr; gap: 24px; }

  .offer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offer__aside {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .offer__title { font-size: 28px; line-height: 36px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__row { grid-template-columns: 1fr; gap: 4px; }

  .chain__arrow { display: none; }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ================================================
   RESPONSIVE — mobile (≤ 540px)
   ================================================ */
@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .nav { padding: 14px 20px; }

  #top          { padding: 64px 0 56px; }
  #services,
  #smm          { padding: 16px 0 64px; }
  #realisations { padding: 64px 0; }
  #contact      { padding: 64px 0; }
  .footer       { padding: 32px 0; }

  .hero__sub { font-size: 17px; line-height: 27px; }

  .cards--3,
  .cards--4 { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-label + .form-label { margin-top: 16px; }
  .form-row { margin-bottom: 16px; }

  .accent-bar span { width: 44px; }

  .contact-grid { gap: 40px; }

  .proof            { padding-bottom: 56px; }
  .proof__stats     { grid-template-columns: 1fr; gap: 24px; }
  .proof__stat-num  { font-size: 38px; }
  .proof__clients   { gap: 14px; }
  .proof__clients-list { gap: 18px; }

  .flow             { grid-template-columns: 1fr; }
  .home-work,
  .automation,
  .guarantees       { padding: 64px 0; }

  .callout,
  .quote-note       { padding: 28px; }
  .callout__title,
  .quote-note__title { font-size: 24px; line-height: 31px; }

  .offer            { padding: 32px 0; }
  .offer__num       { font-size: 32px; }

  .project-card__mobile { width: 58px; right: 12px; bottom: 12px; }

  .footer__cols     { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer__brand    { grid-column: auto; }
}
