/* MLiD. — style.css — basé sur le design MAO. v2.0 */

/* Police Jost hébergée localement (aucun appel à Google Fonts) — police variable 200 à 700 */
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ── */
:root {
  --font:  'Jost', sans-serif;
  --black: #000;
  --white: #fff;
  --grey:  #666;
  --light: #f2f2f2;
  --nav-h: 52px;
  --max:   1280px;
  --pad:   clamp(24px, 5vw, 72px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
sup { font-size: .6em; }

/* ── Layout ── */
.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.pt-nav { padding-top: var(--nav-h); }
hr.rule { display: none; }

/* ─────────────────────────────────────
   HEADER / NAV
───────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--black);
  z-index: 100;
}
#header .page-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo img { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--black);
  transition: opacity .2s;
}
.nav-links a:hover { opacity: .4; }
.nav-links a.active {
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
}
.nav-spacer { flex: 1; }
.nav-cta {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
  flex-shrink: 0;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .4; }

/* Burger */
#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
#burger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--black);
  transition: transform .25s, opacity .25s;
}
#burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 40px var(--pad);
  border-top: 1px solid var(--black);
  flex-direction: column;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 300;
  letter-spacing: -.02em;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  transition: opacity .2s;
}
#mobile-nav a:first-child { border-top: 1px solid rgba(0,0,0,.1); }
#mobile-nav a:hover { opacity: .4; }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.s-hero {
  padding: clamp(80px, 11vw, 160px) 0 clamp(56px, 7vw, 100px);
}
.hero-location {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
}
.s-hero h1 {
  font-size: clamp(52px, 9vw, 148px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.03em;
}
.hero-domains {
  margin-top: clamp(32px, 3.5vw, 56px);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ─────────────────────────────────────
   SECTION UTILS
───────────────────────────────────── */
.s-section {
  padding: clamp(48px, 6vw, 96px) 0;
}
.section-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 36px;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: -.02em;
}
.link-arrow {
  font-size: .78rem;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.link-arrow:hover { opacity: .4; }

/* ─────────────────────────────────────
   WORKS GRID (homepage preview)
───────────────────────────────────── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.work-item { overflow: hidden; background: var(--light); }
.work-item a { display: block; }
.work-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.work-item:hover .work-img { transform: scale(1.03); }
.work-caption {
  padding: 14px 0 6px;
  background: var(--white);
}
.work-client { font-size: .85rem; font-weight: 500; }
.work-type   { font-size: .72rem; color: var(--grey); margin-top: 2px; }

/* ─────────────────────────────────────
   DOMAINS LIST
───────────────────────────────────── */
.domains-list { width: 100%; }
.domain-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
}
.domain-name {
  font-size: clamp(18px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -.01em;
}
.domain-detail {
  font-size: .75rem;
  color: var(--grey);
  max-width: 40%;
  text-align: right;
}

/* ─────────────────────────────────────
   CTA SECTION
───────────────────────────────────── */
.s-cta {
  padding: clamp(80px, 10vw, 160px) 0;
}
.s-cta h2 {
  font-size: clamp(40px, 8vw, 132px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: .95;
  margin-bottom: 48px;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.btn-text:hover { opacity: .4; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
#site-footer {
  border-top: 1px solid var(--black);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { font-size: .95rem; font-weight: 700; }
.footer-nav  { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a {
  font-size: .72rem;
  color: var(--grey);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--black); }
.footer-copy { font-size: .72rem; color: var(--grey); }

/* ─────────────────────────────────────
   PAGE HEADER (inner pages)
───────────────────────────────────── */
.page-header {
  padding: clamp(60px, 8vw, 120px) 0 clamp(36px, 4vw, 64px);
}
.page-header h1 {
  font-size: clamp(36px, 5.5vw, 88px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.0;
}
.page-header .sub {
  margin-top: 20px;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--grey);
  max-width: 64ch;
  line-height: 1.65;
}

/* ─────────────────────────────────────
   TRAVAUX FILTER + GRID
───────────────────────────────────── */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.wf-btn {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  background: none;
  color: var(--grey);
  transition: background .15s, color .15s;
}
.wf-btn:hover { background: var(--light); color: var(--black); }
.wf-btn.active { background: var(--black); color: var(--white); }

.travaux-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.travaux-item {
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.travaux-item.wide { grid-column: 1 / -1; }
.travaux-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.travaux-item.wide .travaux-img { aspect-ratio: 21/9; }
.travaux-item:hover .travaux-img { transform: scale(1.02); }
.travaux-caption {
  padding: 14px var(--pad) 14px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
.travaux-client { font-size: .88rem; font-weight: 500; }
.travaux-sector { font-size: .72rem; color: var(--grey); margin-top: 2px; }
.travaux-delivs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.travaux-deliv {
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,.2);
  padding: 2px 8px;
  color: var(--grey);
}

/* ─────────────────────────────────────
   STUDIO / AGENCE PAGE
───────────────────────────────────── */
.studio-lead {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: clamp(48px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--black);
}
.studio-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 4px;
}
.studio-lead h1,
.studio-lead h2 {
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin-top: 12px;
}
/* h1 semantique de la page Studio : garde l'aspect du libelle de section */
.studio-lead h1.section-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 36px;
}
.studio-body p {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
}
.studio-body p:last-child { margin-bottom: 0; }

.studio-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: clamp(36px, 4.5vw, 72px) 0;
  align-items: start;
}
.studio-section-title {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.studio-section-body {
  font-size: .88rem;
  color: var(--grey);
  line-height: 1.75;
}
.studio-section-body p + p { margin-top: 12px; }
.studio-section-body a {
  color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,.3);
  padding-bottom: 1px;
}

.studio-quote {
  font-size: clamp(26px, 4.5vw, 68px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.05;
  padding: clamp(64px, 8vw, 128px) 0;
}
.studio-quote-sig {
  display: block;
  font-size: .78rem;
  color: var(--grey);
  margin-top: 24px;
  letter-spacing: .04em;
}

/* Stats grid */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: clamp(28px, 3vw, 48px) clamp(20px, 2.5vw, 40px);
}
.stat-num {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 200;
  letter-spacing: -.04em;
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-desc {
  font-size: .78rem;
  color: var(--grey);
  line-height: 1.55;
}

/* Clients logos */
.clients-section {
  padding: clamp(48px, 5vw, 80px) 0;
}
.clients-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 36px;
}
.client-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.client-names span {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 300;
  color: var(--grey);
  padding: 10px 0;
  width: 25%;
  letter-spacing: .01em;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px;
}
.client-cell {
  background: var(--light);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.client-cell img {
  max-height: 32px;
  width: auto;
  filter: invert(1);
  opacity: .85;
}

/* ─────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: clamp(48px, 6vw, 96px) 0;
}
.contact-info-item { margin-bottom: 40px; }
.contact-info-label {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.contact-info-val {
  font-size: .9rem;
  line-height: 1.65;
}
.contact-info-val a {
  border-bottom: 1px solid rgba(0,0,0,.25);
  padding-bottom: 1px;
}

/* ─────────────────────────────────────
   FORMS
───────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.form-field { margin-bottom: 44px; }
.form-field label {
  display: block;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding: 12px 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  background: transparent;
  outline: none;
  color: var(--black);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--black); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #ccc; }
.form-field select { cursor: pointer; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 40px;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.form-submit:hover { opacity: .7; }
.form-submit:disabled { opacity: .35; cursor: default; }
.form-notice {
  font-size: .72rem;
  color: var(--grey);
  margin-top: 16px;
  line-height: 1.5;
}
.form-success {
  display: none;
  padding: 16px 0;
  font-size: .88rem;
  color: var(--black);
}
.form-error {
  display: none;
  padding: 10px 0;
  font-size: .8rem;
  color: #b00;
}

/* File upload (candidatures) */
.upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--black);
  padding: 14px 20px;
  cursor: pointer;
  font-size: .8rem;
  color: var(--grey);
  transition: background .15s;
}
.upload-label:hover { background: var(--light); }
.upload-label input[type="file"] { display: none; }

/* ─────────────────────────────────────
   BLOG
───────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 56px 32px;
  padding: clamp(48px, 5vw, 80px) 0;
}
.blog-card { display: block; }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  transition: opacity .3s;
}
.blog-card:hover .blog-card-img { opacity: .88; }
.blog-card-cat {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.blog-card-title {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: .82rem;
  color: var(--grey);
  line-height: 1.65;
}
.blog-card-read {
  margin-top: 10px;
  font-size: .72rem;
  color: var(--grey);
}

/* ─────────────────────────────────────
   LEGAL / MENTIONS
───────────────────────────────────── */
.legal-body {
  max-width: 720px;
  padding: clamp(48px, 6vw, 96px) 0 80px;
}
.legal-body h2 {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 40px 0 12px;
  color: var(--black);
}
.legal-body p, .legal-body li {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--grey);
}
.legal-body a {
  color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,.25);
  padding-bottom: 1px;
}
.legal-body ul { padding-left: 20px; }
.legal-body ul li { list-style: disc; }

/* ─────────────────────────────────────
   ETHIQUE
───────────────────────────────────── */
.ethique-intro {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 68ch;
  padding: clamp(48px, 6vw, 96px) 0;
}
.ethique-items { padding: clamp(32px, 4vw, 64px) 0; }
.ethique-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 32px 0;
}
.ethique-num {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 3px;
}
.ethique-text h3 {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  margin-bottom: 10px;
}
.ethique-text p {
  font-size: .85rem;
  color: var(--grey);
  line-height: 1.75;
}

/* ─────────────────────────────────────
   BRIEF PAGE
───────────────────────────────────── */
.brief-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) 0 80px;
}
.brief-intro {
  margin-bottom: 56px;
  padding-bottom: 56px;
}
.brief-intro h1 {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.brief-intro p {
  font-size: .88rem;
  color: var(--grey);
  max-width: 56ch;
  line-height: 1.7;
}

/* ─────────────────────────────────────
   NEWSLETTER STRIP (optionnel)
───────────────────────────────────── */
.newsletter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(36px, 4vw, 64px) 0;
  border-top: 1px solid var(--black);
}
.newsletter-strip p {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 300;
}
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  border: 1px solid var(--black);
  border-right: none;
  padding: 11px 18px;
  font-family: var(--font);
  font-size: .82rem;
  outline: none;
  width: 240px;
  background: transparent;
}
.newsletter-form button {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 11px 22px;
  cursor: pointer;
  border: 1px solid var(--black);
  transition: opacity .2s;
}
.newsletter-form button:hover { opacity: .7; }
.newsletter-msg { font-size: .8rem; color: var(--grey); }

/* ─────────────────────────────────────
   COOKIE BANNER
───────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--white);
  padding: 16px var(--pad);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 300;
  font-size: .78rem;
}
#cookie-banner.show { display: flex; }
#cookie-banner p { opacity: .7; max-width: 60ch; }
#cookie-banner a { color: inherit; opacity: .7; border-bottom: 1px solid rgba(255,255,255,.4); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  font-family: var(--font);
  font-size: .72rem;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .04em;
}
.cookie-accept { background: var(--white); color: var(--black); border: none; }
.cookie-decline { background: none; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.cookie-accept:hover, .cookie-decline:hover { opacity: .8; }

/* ─────────────────────────────────────
   FADE-UP ANIMATION
───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 768px) {
  #burger      { display: flex; }
  .nav-links   { display: none; }
  .nav-cta     { display: none; }

  .works-grid,
  .travaux-grid { grid-template-columns: 1fr; }

  .domain-detail   { display: none; }
  .section-header  { flex-direction: column; align-items: flex-start; gap: 12px; }
  .studio-lead,
  .studio-section  { grid-template-columns: 1fr; gap: 24px; }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap    { grid-template-columns: 1fr; gap: 40px; }
  .form-row        { grid-template-columns: 1fr; }
  .newsletter-strip { flex-direction: column; align-items: flex-start; }
  .newsletter-form input { width: 180px; }
  .ethique-item    { grid-template-columns: 1fr; gap: 8px; }
  .ethique-num     { margin-bottom: 0; }
  .clients-grid    { grid-template-columns: repeat(3, 1fr); }
  #cookie-banner   { flex-direction: column; align-items: flex-start; }

  .travaux-caption { padding: 12px var(--pad); }
  .travaux-item.wide .travaux-img { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═════════════════════════════════════
   MLiD — compléments
═════════════════════════════════════ */
.page-header .section-label { margin-bottom: 20px; }
.lead {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  max-width: 64ch;
  margin-bottom: 40px;
}
.note { font-size: .72rem; color: var(--grey); margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wide-img { width: 100%; height: auto; }

/* Domaines */
.domain-item { border-top: 1px solid rgba(0,0,0,.08); }
.domains-list .domain-item:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
a.domain-item { transition: opacity .2s; }
a.domain-item:hover { opacity: .45; }

/* Bloc image + texte */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px) 0;
}
.split.reverse .split-img { order: 2; }
.split-img { background: var(--light); overflow: hidden; }
.split-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .7s ease;
}
.split-img:hover img { transform: scale(1.02); }
.split-text h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.split-text .section-label { margin-bottom: 14px; }
.split-text p { font-size: .92rem; color: var(--grey); line-height: 1.75; }
.split-text p + p { margin-top: 12px; }
.split-text .link-arrow { color: var(--black); }
.dash-list li {
  font-size: .92rem;
  color: var(--grey);
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.dash-list li::before { content: "— "; color: var(--black); }
.split-text p + .dash-list { margin-top: 16px; }

/* Tarifs */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.price-card {
  display: block;
  background: var(--light);
  padding: clamp(28px, 3vw, 48px);
  transition: background .2s, color .2s;
}
.price-card:hover { background: var(--black); color: var(--white); }
.price-card:hover .price-detail,
.price-card:hover .price-name { color: rgba(255,255,255,.7); }
.price-name {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
}
.price-amount {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 200;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 24px 0 16px;
}
.price-amount span { font-size: .8rem; font-weight: 400; letter-spacing: .02em; }
.price-detail { font-size: .82rem; color: var(--grey); line-height: 1.6; }
.link-arrow-static { font-size: .78rem; color: var(--grey); letter-spacing: .03em; }

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.step { background: var(--light); padding: clamp(28px, 3vw, 48px); }
.step-num { font-size: .65rem; letter-spacing: .16em; color: var(--grey); }
.step h2, .step h3 {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 300;
  letter-spacing: -.01em;
  margin: 18px 0 10px;
}
.step p { font-size: .85rem; color: var(--grey); line-height: 1.7; }

/* FAQ */
.faq details { border-top: 1px solid rgba(0,0,0,.1); }
.faq details:last-child { border-bottom: 1px solid rgba(0,0,0,.1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 200; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  font-size: .9rem;
  color: var(--grey);
  line-height: 1.75;
  max-width: 68ch;
  padding-bottom: 24px;
}

/* Icônes domotique */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.icon-cell {
  background: var(--light);
  padding: 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}
.icon-cell img { width: 44px; height: 44px; object-fit: contain; filter: grayscale(1); }

/* Statistiques à 3 colonnes */
.stats-row.stats-3 { grid-template-columns: repeat(3, 1fr); }

/* Références */
a.travaux-item { display: block; }
.travaux-desc { font-size: .8rem; color: var(--grey); line-height: 1.6; margin-top: 8px; max-width: 60ch; }

/* Article */
.article { max-width: 820px; padding-block: clamp(48px, 6vw, 96px) 40px; }
.article h1 {
  font-size: clamp(30px, 4.5vw, 64px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 40px;
}
.article .section-label a:hover { color: var(--black); }
.article-body { font-size: .98rem; line-height: 1.8; }
.article-body p, .article-body ul, .article-body ol, .article-body pre { margin-bottom: 18px; }
.article-body h2, .article-body h3, .article-body h4 {
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 36px 0 14px;
}
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.25rem; }
.article-body h4 { font-size: 1.05rem; }
.article-body ul { padding-left: 20px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; margin-left: 20px; }
.article-body img { margin: 12px 0; height: auto; border: 1px solid rgba(0,0,0,.08); }
.article-body a { border-bottom: 1px solid rgba(0,0,0,.3); }
.article-body pre, .article-body code { font-size: .85rem; background: var(--light); }
.article-body pre { padding: 16px; overflow-x: auto; }
.article-back { margin-top: 48px; }

/* Mentions */
.legal-body h2.legal-part {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 300;
  letter-spacing: -.02em;
  text-transform: none;
  margin-top: 72px;
}
.legal-body p + p { margin-top: 10px; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-img { order: 0; }
  .price-grid, .steps { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row.stats-3 { grid-template-columns: 1fr; }
  .domain-detail { display: block; max-width: 50%; }
}

/* Correctifs */
.nav-links a { white-space: nowrap; }
.nav-links { gap: 24px; }
.stats-row .stat-cell { padding-left: 0; }
@media (max-width: 1000px) and (min-width: 769px) { .nav-links { gap: 16px; } .nav-cta { display: none; } }
@media (max-width: 1180px) and (min-width: 1001px) { .nav-links { gap: 18px; } }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .steps.steps-4 { grid-template-columns: 1fr; } }
/* Offre « diagnostic IA offert » */
.offer-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid var(--black); padding: clamp(28px, 4vw, 56px); }
.offer-box h2 { font-size: clamp(22px, 2.6vw, 36px); font-weight: 300; letter-spacing: -.01em; margin: 8px 0 12px; }
.offer-box p { color: var(--grey); max-width: 620px; line-height: 1.7; }
.offer-box .btn-offer { white-space: nowrap; border-bottom: 1px solid var(--black); padding-bottom: 2px; font-size: .9rem; }
@media (max-width: 768px) { .offer-box { flex-direction: column; align-items: flex-start; } }
/* Les attributs width/height des images servent au navigateur à réserver la place ; la taille réelle reste pilotée par le CSS */
img[width][height] { height: auto; }
.note.note-spaced { margin-top: 24px; }
.step h2 { line-height: 1.3; }
