/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --white:   #ffffff;
  --accent:  #FF4419;
  --gray:    #f5f4f1;
  --muted:   #888;
  --border:  #e5e5e3;
  --f-display: 'Archivo Black', sans-serif;
  --f-body:    'Inter', sans-serif;
  --max:  1440px;
  --pad:  clamp(1.25rem, 4vw, 3.5rem);
}

/* ── BASE ───────────────────────────────────────────── */
body {
  font-family: var(--f-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── LABEL / BADGE ──────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: flex-start;
  gap: .45rem;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: .3em;
}

/* ── REVEAL ANIMATIONS — progressive enhancement ────── */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(.25,1,.3,1), transform 1.1s cubic-bezier(.25,1,.3,1);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-delay-1 { transition-delay: .15s; }
.js .reveal-delay-2 { transition-delay: .3s; }
.js .reveal-delay-3 { transition-delay: .45s; }
.js .reveal-delay-4 { transition-delay: .6s; }

.js .reveal-step {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(.25,1,.3,1), transform 1.2s cubic-bezier(.25,1,.3,1);
}
.js .reveal-step.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-step-2 { transition-delay: .35s; }
.js .reveal-step-3 { transition-delay: .7s; }

/* ════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.01em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.nav__links a { color: var(--black); transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .6rem 1.35rem;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.hero {
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}
.hero__left { display: flex; flex-direction: column; gap: 2rem; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  line-height: .97;
  letter-spacing: -.04em;
  color: var(--black);
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: #555;
  max-width: 480px;
  font-weight: 300;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-primary .arrow {
  display: inline-block;
  width: 22px; height: 22px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero__phone {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--muted);
  transition: color .2s;
}
.hero__phone:hover { color: var(--accent); }

/* Hero right — icon composition */
.hero__right { position: relative; height: 460px; }
.icon-grid {
  position: relative;
  width: 100%;
  height: 100%;
}
.icon-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.icon-card:hover { transform: scale(1.06) rotate(0deg) !important; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.icon-card svg { display: block; }

.ic1 { width:110px; height:110px; top: 10px; left: 20px; transform: rotate(-4deg); background: #fef9f7; border-color: #f5d9d0; }
.ic2 { width:130px; height:130px; top: 0; left: 150px; transform: rotate(3deg); background: var(--gray); }
.ic3 { width:90px; height:90px; top: 10px; right: 30px; transform: rotate(-6deg); background: #f0f0ff; border-color: #ddddf8; }
.ic4 { width:150px; height:150px; top: 140px; left: 0; transform: rotate(2deg); background: var(--gray); }
.ic5 { width:100px; height:100px; top: 150px; left: 170px; transform: rotate(-3deg); background: var(--accent); border-color: var(--accent); }
.ic5 svg { color: white; }
.ic6 { width:120px; height:120px; top: 140px; right: 10px; transform: rotate(5deg); background: var(--gray); }
.ic7 { width:120px; height:120px; bottom: 20px; left: 60px; transform: rotate(-2deg); background: var(--black); border-color: var(--black); }
.ic7 svg { color: white; }
.ic8 { width:100px; height:100px; bottom: 10px; right: 60px; transform: rotate(4deg); background: #f9fef0; border-color: #ddf0bb; }

/* ════════════════════════════════════════════════════
   MARQUEE
════════════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--white);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════
   MANIFESTE
════════════════════════════════════════════════════ */
.manifeste { padding: 120px 0; }
.manifeste__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
.manifeste__aside { padding-top: .3rem; }
.manifeste__aside p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.manifeste__text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.manifeste__text span { color: var(--accent); }

/* Stats row */
.stats {
  display: flex;
  gap: 4rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.75rem;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat__num sup {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}
.stat__label {
  margin-top: .4rem;
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ════════════════════════════════════════════════════
   PROCESSUS
════════════════════════════════════════════════════ */
.processus {
  padding: 100px 0;
  background: var(--gray);
}
.processus__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.processus__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.step {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-top: 2px solid var(--black);
  position: relative;
}
.step + .step {
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
}
.step__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 5rem;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--border);
  margin-bottom: 1.5rem;
  transition: color .3s;
}
.step:hover .step__num { color: var(--accent); }
.step__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.step__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.step__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  font-weight: 300;
}

/* ════════════════════════════════════════════════════
   PORTFOLIO & LIGHTBOX (ADAPTATIVE FULLSCREEN)
════════════════════════════════════════════════════ */
.portfolio { padding: 120px 0; }
.portfolio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}
.portfolio__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1;
}
.portfolio__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gray);
  aspect-ratio: 1 / 1;
  margin: 0;
}
.portfolio-item picture, 
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-item img {
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-item__cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10,10,10,.85) 0%, transparent 100%);
  color: var(--white);
  transform: translateY(4px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.portfolio-item:hover .portfolio-item__cap { opacity: 1; transform: translateY(0); }
.portfolio-item__tag {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}
.portfolio-item__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Lightbox Modal */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}
#lightbox.is-active {
  display: flex;
}
.lb-controls {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 1010;
}
.lb-controls button {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s, transform .2s, border-color .2s;
}
.lb-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}
.lb-figure {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: default;
  margin: 0;
}
#lb-img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .3s ease-out;
}
#lb-caption {
  font-family: var(--f-body);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-align: center;
}

/* ════════════════════════════════════════════════════
   POURQUOI
════════════════════════════════════════════════════ */
.pourquoi {
  padding: 100px 0;
  background: var(--black);
  color: var(--white);
}
.pourquoi__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.pourquoi__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.pourquoi__title span { color: var(--accent); }
.pourquoi__right { display: flex; flex-direction: column; gap: 2rem; }
.pourquoi__item {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pourquoi__item h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}
.pourquoi__item p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  font-weight: 300;
}
.pourquoi__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  margin-top: 1rem;
  transition: opacity .2s, transform .15s;
}
.pourquoi__cta:hover { opacity: .88; transform: translateY(-2px); }

/* ════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════ */
.contact { padding: 130px 0 110px; }
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.contact__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -.05em;
  line-height: .96;
  max-width: 900px;
}
.contact__title span { color: var(--accent); }
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -.02em;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: .75rem 1.75rem;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.contact__link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.contact__link .icon-wrap {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.contact__link:hover .icon-wrap { background: rgba(255,255,255,.25); }
.contact__note {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact__portfolio {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.contact__portfolio:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.footer__logo span { color: var(--accent); }
.footer__copy { font-size: 1rem; color: var(--muted); }

/* ════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════ */
.faq-item { border-top: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-family: var(--f-body);
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .25s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
details[open] .faq-q { color: var(--accent); }
.faq-a {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  font-weight: 300;
  margin-top: .85rem;
  max-width: 680px;
}
.faq-a strong { color: var(--black); font-weight: 500; }
.faq-a code { font-size: 1rem; background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 4px; }
/* Annule l'écarteur visuel à gauche quand collé à une parenthèse */
.faq-a code:first-of-type {
  margin-left: -0.2em;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .manifeste__inner { grid-template-columns: 1fr; gap: 2rem; }
  .pourquoi__inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; padding-left: 0; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 48px; }
  .stats { gap: 2rem; flex-wrap: wrap; }
  .contact__title { font-size: clamp(2.5rem, 11vw, 5rem); }
}

/* ── PARALLAX ──────────────────────────────────────── */
[data-parallax] { will-change: transform; }

/* ── BACK TO TOP ────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s, border-color .2s, color .2s;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
#back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}