:root {
  --ink: #231f20;
  --ink-soft: #343032;
  --gold: #cc9217;
  --gold-light: #e5bd65;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(35, 31, 32, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --shadow: 0 30px 80px rgba(20, 17, 18, 0.16);
  --container: 1180px;
  --marquee-height: 58px;
  --marquee-gap: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 250, 247, .94);
  box-shadow: 0 8px 30px rgba(35, 31, 32, .08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { width: 156px; overflow: hidden; display: block; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 13px 18px; background: var(--ink); color: var(--white); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px 0; transition: transform .2s ease; }

.hero {
  position: relative;
  min-height: 850px;
  padding: 150px 0 calc(var(--marquee-height) + var(--marquee-gap));
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(204, 146, 23, .15), transparent 27%),
    linear-gradient(135deg, #fbfaf7 0%, #f3eee4 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; min-height: 620px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; }
.eyebrow > span { width: 34px; height: 2px; background: var(--gold); }
.eyebrow--dark { color: var(--ink); }
.hero h1, .section-heading h2, .process h2, .agency h2, .contact h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(3.2rem, 6.1vw, 6.3rem); max-width: 760px; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 0; font-size: 1.18rem; color: #5e585a; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button--gold { background: var(--gold); color: var(--ink); box-shadow: 0 16px 30px rgba(204,146,23,.24); }
.button--gold:hover { background: #dba11f; box-shadow: 0 20px 35px rgba(204,146,23,.34); }
.button--dark { background: var(--ink); color: var(--white); }
.button--full { width: 100%; }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 55px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; gap: 3px; }
.hero-proof strong { font-family: "Manrope", sans-serif; font-size: 1.12rem; }
.hero-proof span { color: #766e70; font-size: .82rem; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.visual-frame {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: .87;
  background: var(--ink);
  border-radius: 32px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.visual-topbar { display: flex; gap: 7px; }
.visual-topbar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.visual-content { height: 100%; display: grid; align-content: center; padding: 30px; color: var(--white); }
.visual-kem { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(5rem, 9vw, 8rem); letter-spacing: -.12em; line-height: .8; }
.visual-kem span { display: inline-grid; place-items: center; position: relative; color: var(--white); }
.visual-kem span::after { content: ""; position: absolute; width: 72%; height: 12%; background: var(--gold); }
.visual-content p { margin: 26px 0 0; color: rgba(255,255,255,.72); letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.visual-card { position: absolute; width: 190px; padding: 20px; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,.2); border-radius: 18px; transform: rotate(-2deg); }
.visual-card small { display: block; margin-bottom: 11px; font-size: .65rem; letter-spacing: .14em; color: #827a7c; }
.visual-card strong { font-family: "Manrope", sans-serif; line-height: 1.15; }
.visual-card--one { top: 60px; right: -45px; }
.visual-card--two { left: -55px; bottom: 55px; background: var(--gold); }
.visual-stamp { position: absolute; right: -18px; bottom: -30px; width: 105px; height: 105px; display: grid; place-items: center; text-align: center; border-radius: 50%; color: var(--white); background: var(--ink); border: 2px solid var(--gold); font: 700 .72rem/1.3 "Manrope", sans-serif; letter-spacing: .12em; transform: rotate(11deg); }

.marquee { position: absolute; left: 0; right: 0; bottom: 0; min-height: var(--marquee-height); overflow: hidden; background: var(--gold); border-block: 1px solid rgba(35,31,32,.2); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 17px 0; animation: marquee 24s linear infinite; font-family: "Manrope", sans-serif; font-size: .82rem; font-weight: 800; letter-spacing: .13em; }
.marquee-track i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .55fr; gap: 80px; align-items: end; margin-bottom: 62px; }
.section-heading h2 { max-width: 820px; font-size: clamp(2.5rem, 4.3vw, 4.6rem); }
.section-heading > p { margin: 0 0 7px; color: #6f686a; }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 365px; display: flex; flex-direction: column; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s ease, transform .3s ease; }
.service-card:hover { z-index: 2; background: var(--cream); transform: translateY(-6px); }
.service-number { color: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .1em; }
.service-card h3 { margin: 48px 0 18px; font: 700 1.6rem/1.12 "Manrope", sans-serif; }
.service-card p { margin: 0; color: #716a6c; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 35px; }
.service-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 600; }

.section--dark { background: var(--ink); color: var(--white); }
.section-heading--light > p { color: rgba(255,255,255,.6); }
.projects-list { display: grid; gap: 28px; }
.project-card { min-height: 510px; display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border-radius: var(--radius-lg); }
.project-copy { display: flex; flex-direction: column; padding: 48px; color: var(--white); }
.project-index { margin-bottom: auto; font: 700 .85rem "Manrope", sans-serif; opacity: .65; }
.project-type { margin: 60px 0 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; opacity: .75; }
.project-copy h3 { margin: 0 0 18px; font: 800 clamp(2rem, 4vw, 3.9rem)/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.project-copy > p:not(.project-type) { max-width: 440px; margin: 0; opacity: .8; }
.project-label { width: fit-content; margin-top: 28px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .75rem; }
.project--green { background: #214d42; }
.project--burgundy { background: #721e35; }
.project--sand { background: #a77555; }
.project-art { position: relative; min-height: 510px; display: grid; place-items: center; background: rgba(255,255,255,.08); overflow: hidden; }
.project-art::before, .project-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.project-art::before { width: 360px; height: 360px; right: -80px; top: -80px; }
.project-art::after { width: 240px; height: 240px; left: 30px; bottom: -100px; }
.project-browser { position: relative; z-index: 2; width: 72%; aspect-ratio: 1.25; padding: 22px; background: #f8f5ef; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.28); transform: rotate(-4deg) translateX(-15px); }
.browser-bar { display: flex; gap: 5px; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c8c3bc; }
.browser-logo { margin-top: 30px; font: 800 2.6rem "Manrope", sans-serif; color: var(--ink); }
.browser-title { width: 68%; height: 18px; margin-top: 14px; border-radius: 8px; background: var(--ink); }
.browser-line { width: 48%; height: 8px; margin-top: 12px; border-radius: 8px; background: #c8c3bc; }
.browser-button { width: 92px; height: 25px; margin-top: 18px; border-radius: 999px; background: var(--gold); }
.browser-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 30px; }
.browser-cards span { aspect-ratio: 1.1; border-radius: 8px; background: #dfdad2; }
.project-phone { position: absolute; z-index: 3; right: 7%; bottom: -45px; width: 165px; height: 340px; padding: 28px 18px; background: var(--ink); border: 8px solid #171415; border-radius: 32px; box-shadow: 0 24px 50px rgba(0,0,0,.35); transform: rotate(7deg); }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 55px; height: 13px; border-radius: 99px; background: #0b090a; transform: translateX(-50%); }
.phone-mark { margin-top: 25px; font: 800 2.1rem "Manrope", sans-serif; color: var(--gold); }
.phone-line { width: 85%; height: 9px; margin-top: 22px; border-radius: 8px; background: rgba(255,255,255,.9); }
.phone-line--short { width: 58%; margin-top: 8px; opacity: .45; }
.phone-button { width: 78px; height: 24px; margin-top: 24px; border-radius: 999px; background: var(--gold); }

.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.process-intro { position: sticky; top: 140px; }
.process h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.process-intro > p:not(.eyebrow) { margin: 25px 0 30px; color: #6d6668; max-width: 510px; }
.process-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-steps li > span { color: var(--gold); font: 800 .78rem "Manrope", sans-serif; }
.process-steps h3 { margin: 0 0 9px; font: 700 1.55rem "Manrope", sans-serif; }
.process-steps p { margin: 0; color: #71696c; }

.agency { background: var(--paper); }
.agency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.agency-visual { position: relative; min-height: 610px; overflow: hidden; padding: 50px; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); }
.agency-word { position: absolute; top: 80px; left: 38px; font: 800 clamp(6rem, 13vw, 12rem)/.8 "Manrope", sans-serif; letter-spacing: -.12em; }
.agency-square { position: absolute; }
.agency-square--gold { width: 170px; height: 170px; right: 65px; top: 180px; background: var(--gold); }
.agency-square--outline { width: 210px; height: 210px; right: 18px; top: 225px; border: 2px solid rgba(255,255,255,.4); }
.agency-visual p { position: absolute; left: 50px; bottom: 48px; margin: 0; font: 600 1.05rem/1.5 "Manrope", sans-serif; }
.agency h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.agency-copy > p:not(.eyebrow) { margin: 24px 0 0; color: #6d6668; font-size: 1.05rem; }
.agency-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.agency-values div { display: flex; flex-direction: column; gap: 5px; }
.agency-values strong { font-family: "Manrope", sans-serif; }
.agency-values span { color: #827a7c; font-size: .78rem; }

.contact { padding: 120px 0; background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(2.8rem, 5vw, 5.3rem); }
.contact-copy > p:not(.eyebrow) { margin: 28px 0; max-width: 560px; color: rgba(255,255,255,.65); }
.contact-email { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid var(--gold); color: var(--gold-light); font-weight: 700; }
.contact-panel { padding: 38px; background: var(--white); color: var(--ink); border-radius: var(--radius-md); }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: .82rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #faf9f6; color: var(--ink); padding: 14px 15px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(204,146,23,.14); }
.consent { grid-template-columns: 18px 1fr !important; align-items: start; font-weight: 500 !important; color: #726b6d; }
.consent input { width: 17px; height: 17px; margin: 3px 0 0; padding: 0; accent-color: var(--gold); }
.honeypot { position: absolute; left: -10000px; opacity: 0; }
.form-message { margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; font-size: .9rem; }
.form-message--success { background: #e6f5ea; color: #215b31; }
.form-message--error { background: #fde9e8; color: #81251f; }

.site-footer { padding: 68px 0 25px; background: #171415; color: var(--white); border-top: 1px solid rgba(255,255,255,.09); }
.footer-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; padding-bottom: 48px; }
.footer-brand img { width: 145px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.55); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: var(--gold-light); font: 700 .82rem "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.42); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 20px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .main-nav { gap: 18px; }
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 500px; }
  .visual-card--one { right: -10px; }
  .visual-card--two { left: -10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { grid-template-columns: .9fr 1.1fr; }
  .process-grid, .agency-grid, .contact-grid { gap: 55px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 78px; }
  .brand { width: 128px; }
  .menu-toggle { display: block; position: relative; z-index: 110; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 35px;
    background: var(--paper);
    font: 700 1.6rem "Manrope", sans-serif;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-cta { font-size: 1rem; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero { min-height: auto; padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-copy { padding-top: 25px; }
  .hero-visual { min-height: 580px; }
  .visual-frame { width: min(88%, 470px); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 650px; }
  .project-card { grid-template-columns: 1fr; }
  .project-copy { min-height: 370px; }
  .process-grid, .agency-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .agency-visual { min-height: 520px; }
  .contact-copy { margin-bottom: 15px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { --marquee-gap: 48px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-proof { grid-template-columns: 1fr; gap: 13px; }
  .hero-proof div { flex-direction: row; justify-content: space-between; gap: 20px; }
  .hero-visual { min-height: 460px; }
  .visual-frame { width: 94%; border-radius: 24px; }
  .visual-card { width: 155px; padding: 15px; }
  .visual-card--one { top: 52px; right: -2px; }
  .visual-card--two { left: -2px; bottom: 38px; }
  .visual-stamp { width: 85px; height: 85px; right: 0; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .process h2, .agency h2 { font-size: 2.65rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; padding: 28px; }
  .project-card { border-radius: 24px; }
  .project-copy { padding: 32px 27px; }
  .project-art { min-height: 410px; }
  .project-browser { width: 86%; }
  .project-phone { width: 125px; height: 265px; right: 3%; }
  .agency-visual { min-height: 440px; padding: 30px; }
  .agency-word { top: 75px; left: 24px; font-size: 6.5rem; }
  .agency-square--gold { width: 130px; height: 130px; right: 35px; top: 170px; }
  .agency-square--outline { width: 155px; height: 155px; right: 14px; top: 205px; }
  .agency-visual p { left: 28px; bottom: 30px; }
  .agency-values { grid-template-columns: 1fr; }
  .contact { padding: 82px 0; }
  .contact h2 { font-size: 3.15rem; }
  .contact-panel { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

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

/* Images des projets */

.project-browser {
    padding: 12px;
    overflow: hidden;
}

.browser-screen {
    width: 100%;
    height: calc(100% - 18px);
    margin-top: 10px;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
}

.browser-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.project-phone {
    padding: 27px 7px 7px;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
}

.phone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}