/* ── Variables ───────────────────────────────────────────────────── */
:root {
  --white:   #ffffff;
  --light:   #f5f5f5;
  --dark:    #111111;
  --accent:  #FF5C00;
  --gray:    #888888;
  --border:  #e8e8e8;

  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --site-pad: 3rem;
  --nav-h: 64px;
}

/* ── Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ── Preloader ───────────────────────────────────────────────────── */
.preloader {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
}

.preloader__bar {
  position: absolute;
  top: calc(38% - 1px);
  left: calc(var(--site-pad) + 3rem);
  right: var(--site-pad);
  height: 2px;
  background: linear-gradient(to right, var(--accent) var(--p, 0%), rgba(0,0,0,0.1) var(--p, 0%));
}

.preloader__counter {
  position: absolute;
  top: 38%;
  left: var(--site-pad);
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dark);
  letter-spacing: 0.05em;
}

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 100;
  background: rgba(245, 245, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.nav__logo {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav__hamburger {
  width: 32px; height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Nav Overlay ─────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 1rem 1.5rem;
  background: var(--dark);
  border-radius: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 0 var(--site-pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay__top {
  height: var(--nav-h);
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  flex-shrink: 0;
}

.nav-overlay__logo {
  display: flex;
  align-items: center;
}

.nav-overlay__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-overlay__close {
  width: 32px; height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-overlay__close span {
  display: block;
  height: 1.5px;
  background: var(--white);
}

.nav-overlay__close span:first-child { transform: rotate(45deg) translate(0, 1px); }
.nav-overlay__close span:last-child  { transform: rotate(-45deg) translate(0, -1px); }

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  margin-bottom: auto;
  padding: 0 var(--site-pad);
  padding-bottom: 3rem;
}

.nav-overlay__link {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.nav-overlay__link:hover { color: var(--accent); }

.nav-overlay__link span {
  font-size: 0.875rem;
  font-weight: 400;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.nav-overlay__bottom {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 var(--site-pad);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}

.nav-overlay__cta {
  position: absolute;
  bottom: 1.5rem;
  left: var(--site-pad);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  display: block;
  transition: transform 0.2s ease;
}

.nav-overlay__cta:hover { transform: translateX(5px); }

.hero__cta {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.hero__cta:hover { transform: translateX(5px); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 2rem);
}

.hero__title-wrap {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--border);
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--dark);
}

.hero__subtitle {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--gray);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Floating images */
.hero__float {
  position: absolute;
  /* pas de overflow ni border-radius ici — juste le point d'ancrage scroll */
}

.hero__float__inner {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  will-change: transform;
}

.hero__float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hauteurs calculées sur le ratio exact de chaque screenshot */
/* float-1 = Les 3 Moustiquaires  ratio 1.393 */
.hero__float--1 { width: 220px; height: 158px; top: 18%; left: 8%; }
/* float-2 = So Clean Pro         ratio 1.394 */
.hero__float--2 { width: 210px; height: 151px; top: 12%; right: 20%; }
/* float-3 = BinPro               ratio 1.441 */
.hero__float--3 { width: 170px; height: 118px; bottom: 22%; left: 6%; }
/* float-4 = Desert Ride Agafay   ratio 1.600 */
.hero__float--4 { width: 200px; height: 125px; bottom: 8%; right: 22%; }
/* float-5 = Fares Taxi           ratio 1.970 */
.hero__float--5 { width: 185px; height: 94px; top: 50%; right: 6%; transform: translateY(-50%); }

/* ── Services ────────────────────────────────────────────────────── */
.services {
  background: var(--light);
  padding: 6rem var(--site-pad);
}

.services__title {
  font-size: clamp(1.25rem, 2.8vw, 2.78rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.services__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.services__item:last-child { border-bottom: 1px solid var(--border); }

.services__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.services__name {
  font-size: clamp(1rem, 1.75vw, 1.72rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.services__tags {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.services__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  font-weight: 500;
}

.services__left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services__right {
  display: flex;
  flex-direction: column;
}

.services__price {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 1rem;
}

.services__price strong {
  color: var(--accent);
  font-weight: 600;
}

.services__desc {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 480px;
}

/* ── Manifesto ───────────────────────────────────────────────────── */
.manifesto {
  padding: 8rem var(--site-pad);
  max-width: 1100px;
  margin-inline: auto;
}

.manifesto__text {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: #d0d0d0;
}

/* ── Projets section ─────────────────────────────────────────────── */
.projets-section {
  padding: 0 0 6rem;
}

.projets-section__header {
  padding: 0 var(--site-pad) 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.projets-section__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.projets-section__sub {
  font-size: 0.875rem;
  color: var(--gray);
  max-width: 300px;
  line-height: 1.6;
  text-align: right;
}

.projet-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1.5rem var(--site-pad);
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  gap: 2rem;
}

.projet-row:last-child { border-bottom: 1px solid var(--border); }
.projet-row:hover { background: var(--light); }

.projet-row__left { display: flex; flex-direction: column; gap: 0.4rem; }

.projet-row__name {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.projet-row__meta {
  font-size: 0.8125rem;
  color: var(--gray);
  font-family: var(--font-mono);
}

.projet-row__thumb {
  width: 180px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.projet-row__thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.projet-row:hover .projet-row__thumb img { transform: scale(1.05); }

/* ── Footer CTA ──────────────────────────────────────────────────── */
.footer-cta {
  display: block;
  padding: 6rem var(--site-pad);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.footer-cta__title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--dark);
  display: inline-block;
  background-image: linear-gradient(to top, var(--accent) 0%, var(--accent) 100%);
  background-size: 100% 0%;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.55s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s;
}

.footer-cta__title span { color: var(--accent); }

.footer-cta:hover .footer-cta__title {
  background-size: 100% 100%;
  color: var(--white);
}

.footer-cta:hover .footer-cta__title span { color: var(--white); }

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  margin: 1rem 1.5rem;
  background: rgba(245, 245, 245, 0.85);
  border-radius: 8px;
  overflow: hidden;
}

.footer {
  padding: 3rem var(--site-pad);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer__col-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--accent); }

.footer__bottom {
  padding: 1.5rem var(--site-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--gray);
  font-family: var(--font-mono);
}

/* ── Page hero (inner pages) ─────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) var(--site-pad) 4rem;
}

.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 800px;
}

.page-hero__sub {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--gray);
  max-width: 480px;
  line-height: 1.7;
}

/* ── About ───────────────────────────────────────────────────────── */
.about-intro {
  padding: 4rem var(--site-pad) 6rem;
  max-width: 820px;
}

.about-intro__text {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.75;
  color: var(--gray);
}

.about-intro__text strong { color: var(--dark); }

.about-table {
  padding: 0 var(--site-pad) 6rem;
}

.about-table__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2rem;
}

.about-table__grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.about-table__head,
.about-table__row {
  display: contents;
}

.about-table__head > span,
.about-table__row > span {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.about-table__head > span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ── Services page ───────────────────────────────────────────────── */
.offres {
  padding: 0 var(--site-pad) 6rem;
}

.offre-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}

.offre-card:hover { border-color: var(--accent); }

.offre-card__name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.offre-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.offre-card__price sup {
  font-size: 1rem;
  font-weight: 500;
  vertical-align: top;
  margin-top: 0.5rem;
  display: inline-block;
}

.offre-card__desc {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.offre-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offre-card__list li {
  font-size: 0.875rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offre-card__list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 3rem;
  transition: background 0.2s, transform 0.2s;
}

.whatsapp-cta:hover {
  background: #e04e00;
  transform: translateY(-2px);
}

/* ── Projet page ─────────────────────────────────────────────────── */

.projet-info {
  padding: 3rem var(--site-pad) 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.projet-info__name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.projet-info__sub {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
}

.projet-info__year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.projet-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.projet-info__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--dark);
}

.projet-info__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}

.projet-info__link:hover { background: #e04e00; }

/* ── Legal ───────────────────────────────────────────────────────── */
.legal-content {
  padding: calc(var(--nav-h) + 4rem) var(--site-pad) 6rem;
  max-width: 780px;
  margin-inline: auto;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-content strong { color: var(--dark); }

hr.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Page hero label alias ───────────────────────────────────────── */
.page-hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* ── About editorial ─────────────────────────────────────────────── */
.about-editorial {
  padding: calc(var(--nav-h) + 5rem) var(--site-pad) 8rem 1.5rem;
}

.about-editorial__text {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.45;
  color: var(--dark);
  max-width: 75%;
}

.about-editorial__photos {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 7rem;
  gap: 2rem;
}

.about-editorial__photo--left {
  width: 28%;
  height: 34vh;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.about-editorial__photo--right {
  width: 46%;
  height: 56vh;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.about-editorial__photo--left img,
.about-editorial__photo--right img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── About lettre ────────────────────────────────────────────────── */
.about-letter {
  padding: 6rem var(--site-pad) 8rem;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.about-letter__text {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.85;
  color: #d0d0d0;
  margin-bottom: 4rem;
}

.about-letter__sig-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.sig-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.signature-svg {
  width: clamp(220px, 38vw, 420px);
  height: auto;
  color: var(--dark);
  pointer-events: none;
  overflow: visible;
}

.sig-stroke {
  fill: none;
  stroke-linecap: round;
}

.sig-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d0d0d0;
  margin-bottom: 0.75rem;
}

/* ── About expertise table ───────────────────────────────────────── */
.about-expertise {
  padding: 0 var(--site-pad) 8rem;
}

.about-expertise__header {
  padding-bottom: 4rem;
}

.about-expertise__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.about-expertise__title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--dark);
}

.about-expertise__head,
.about-expertise__row {
  display: grid;
  grid-template-columns: 1fr 2.5fr 2rem;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  align-items: center;
}

.about-expertise__row:last-child { border-bottom: 1px solid var(--border); }

.about-expertise__head span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.about-expertise__row span:first-child {
  font-size: clamp(1.125rem, 1.75vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.about-expertise__row span:nth-child(2) {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

.about-expertise__row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-align: right;
}

/* ── About (inner page) ──────────────────────────────────────────── */
.about {
  padding: 0 var(--site-pad) 6rem;
}

.about__block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.about__block:last-child { border-bottom: 1px solid var(--border); }

.about__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  padding-top: 0.25rem;
}

.about__heading {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about__text {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ── Process (services page) ────────────────────────────────────── */
.process {
  padding: 6rem var(--site-pad) 8rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

.process__title {
  font-size: clamp(1.25rem, 2.8vw, 2.78rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.process__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.process__label {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.process__text {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ── Touch devices — no hover effects ───────────────────────────── */
@media (hover: none) {
  .projet-row:hover { background: transparent; }
  .projet-row:hover .projet-row__thumb img { transform: none; }
  .footer-cta:hover .footer-cta__title { background-size: 100% 0; color: var(--dark); }
  .footer-cta:hover .footer-cta__title span { color: var(--accent); }
  .nav-overlay__link:hover { color: var(--white); }
  .offre-card:hover { border-color: var(--border); }
}

/* ── Offres (services page) ──────────────────────────────────────── */
.offres__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.offres__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offre-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.2s;
}

.offre-card:hover { border-color: var(--accent); }

.offre-card--featured {
  border-color: var(--accent);
  background: var(--light);
}

.offre-card__top { display: flex; flex-direction: column; gap: 0.5rem; }

.offre-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.offre-card__price {
  font-size: 0.9375rem;
  color: var(--gray);
}

.offre-card__price strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.offre-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.offre-card__list li {
  font-size: 0.875rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.offre-card__list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.offre-card__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--dark);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
  text-align: center;
  margin-top: auto;
}

.offre-card__btn:hover,
.offre-card--featured .offre-card__btn {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ── WhatsApp CTA section ────────────────────────────────────────── */
.whatsapp-cta {
  padding: 4rem var(--site-pad);
  background: var(--light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.whatsapp-cta__text {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 600px;
}

.whatsapp-cta__btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.whatsapp-cta__btn:hover {
  background: #e04e00;
  transform: translateY(-2px);
}

/* ── Projet detail page ──────────────────────────────────────────── */
.projet-cover {
  width: 100%;
  padding: calc(var(--nav-h) + 3rem) var(--site-pad) 5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 2.5rem;
  justify-content: center;
  align-items: flex-end;
}

.projet-cover__img {
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.projet-cover__img img {
  display: block;
  max-width: 260px;
  max-height: 360px;
  width: auto;
  height: auto;
  border-radius: 8px;
}

.projet-info {
  padding: 4rem var(--site-pad);
}

.projet-info__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.projet-info__left { display: flex; flex-direction: column; gap: 1rem; }
.projet-info__right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }

.projet-info__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.projet-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.projet-info__year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
}

.projet-info__btn {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  transition: transform 0.2s ease;
}

.projet-info__btn:hover { transform: translateX(5px); }

.projet-info__desc {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projet-info__desc p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ── Legal lists ─────────────────────────────────────────────────── */
.legal-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.legal-content ul li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Projets section full (no header) ───────────────────────────── */
.projets-section--full {
  padding: 0 0 6rem;
}

/* ── Utilities ───────────────────────────────────────────────────── */
.container {
  max-width: 1440px;
  margin-inline: auto;
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  :root { --site-pad: 2rem; }

  .services__item { grid-template-columns: 1fr; }
  .projet-info { grid-template-columns: 1fr; gap: 0; }
  .projet-info__top { grid-template-columns: 1fr auto; }
  .projet-info__right { align-items: flex-end; }
  .footer { grid-template-columns: 1fr 1fr; }
  .about-table__grid { grid-template-columns: 1fr 1fr; }
  .about-table__row > span:last-child { display: none; }
  .offres__grid { grid-template-columns: 1fr; }
  .about__block { grid-template-columns: 50px 1fr; gap: 1.5rem; }

  /* About editorial — tablet */
  .about-editorial { padding: calc(var(--nav-h) + 3.5rem) var(--site-pad) 5rem; }
  .about-editorial__text { max-width: 100%; }
  .about-editorial__photo--left { width: 32%; }
  .about-editorial__photo--right { width: 60%; }

  /* Page hero inner — tablet */
  .page-hero { padding: calc(var(--nav-h) + 3rem) var(--site-pad) 3rem; }

  /* Projet info — tablet */
  .projet-info { padding: 3rem var(--site-pad); }

  /* Hero floats — évite le chevauchement avec le titre sur tablette */
  .hero__float--5 { top: 72%; right: 5%; }
  .hero__float--2 { top: 8%; right: 5%; }
}

@media (max-width: 767px) {
  :root { --site-pad: 1.25rem; }

  /* ── Hero (homepage) ─── */
  .hero { min-height: 100vh; padding: 34vh var(--site-pad) 6vh; align-items: flex-start; justify-content: flex-start; }
  .hero__title-wrap { margin: 0 auto; text-align: center; }
  .hero__title { font-size: 2.6rem; }
  .hero__subtitle { max-width: 100%; margin-inline: auto; margin-top: 0.625rem; }
  .hero__float--1 { width: 100px; height: 63px;  top: 20%;    left: 4%; }
  .hero__float--2 { width: 100px; height: 63px;  top: 16%;    right: 4%; }
  .hero__float--3 { width: 96px;  height: 60px;  bottom: 15%; left: 4%; }
  .hero__float--4 { width: 88px;  height: 55px;  bottom: 6%;  right: 22%; }
  .hero__float--5 { width: 88px;  height: 55px;  top: 73%;    right: 4%; transform: none; }

  /* ── Nav overlay ─── */
  .nav-overlay { inset: 1rem 1.5rem; border-radius: 12px; padding: 0 0 var(--site-pad); }
  .nav-overlay__top { height: var(--nav-h); padding: 0 1.5rem; }
  .nav-overlay__links { padding: 0 1.5rem; padding-bottom: 3rem; }
  .nav-overlay__link { font-size: clamp(2rem, 8vw, 3rem); }
  .nav-overlay__cta { position: static; text-align: center; margin-top: 2rem; font-size: 1.25rem; }
  .nav-overlay__bottom { justify-content: center; }

  /* ── Page hero (pages internes) ─── */
  .page-hero { padding: calc(var(--nav-h) + 2rem) var(--site-pad) 2.5rem; }
  .page-hero__title { font-size: clamp(2rem, 10vw, 3.5rem); }

  /* ── About editorial ─── */
  .about-editorial { padding: calc(var(--nav-h) + 2rem) var(--site-pad) 3rem; }
  .about-editorial__text { max-width: 100%; font-size: clamp(1.1rem, 4.5vw, 1.5rem); }
  .about-editorial__photos { flex-direction: column; margin-top: 2rem; gap: 0.75rem; }
  .about-editorial__photo--left,
  .about-editorial__photo--right { width: 100%; height: 56vw; flex-shrink: 1; }

  /* ── About letter ─── */
  .about-letter { padding: 3rem var(--site-pad); }
  .signature-svg { width: min(86vw, 340px); }

  /* ── Services ─── */
  .services { padding: 3rem var(--site-pad); }
  .services__item { grid-template-columns: 1fr; padding: 2rem 0; gap: 1rem; }
  .services__tags { flex-direction: row; flex-wrap: wrap; gap: 0.3rem 0.6rem; }

  /* ── Manifesto ─── */
  .manifesto { padding: 3rem var(--site-pad); }

  /* ── Process ─── */
  .process { padding: 3rem var(--site-pad); }
  .process__steps { grid-template-columns: 1fr; gap: 2rem; }

  /* ── Projets liste ─── */
  .projets-section { padding-bottom: 3rem; }
  .projets-section__header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .projets-section__sub { text-align: left; }
  .projet-row { padding: 1.1rem var(--site-pad); gap: 1rem; }
  .projet-row__thumb { width: 72px; height: 50px; }

  /* ── Projet cover ─── */
  .projet-cover { gap: 2rem 1.5rem; }
  .projet-cover__img img { max-width: 180px; max-height: 260px; }

  /* ── Projet info ─── */
  .projet-info { padding: 2.5rem var(--site-pad); grid-template-columns: 1fr; gap: 0; }
  .projet-info__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .projet-info__top { grid-template-columns: 1fr; gap: 0; margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
  .projet-info__right { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .projet-info__tags { margin-bottom: 0; }
  .projet-info__year { margin-bottom: 0; }

  /* ── Legal ─── */
  .legal-content { padding: calc(var(--nav-h) + 2rem) var(--site-pad) 3rem; }
  .legal-content h1 { margin-bottom: 2rem; }

  /* ── Footer ─── */
  footer { margin: 0.75rem; }
  .footer { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem var(--site-pad); }
  .footer__bottom { font-size: 0.6875rem; padding: 1.25rem var(--site-pad); }
  .footer-cta { padding: 3rem var(--site-pad); }
  .footer-cta__title { font-size: clamp(2rem, 10vw, 3.5rem); }
}
