/* MB Creative Studio — feuille de style principale */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
}

:root {
  --bg: #FAF8F5;
  --bg-alt: #F1EDE6;
  --paper: #FFFFFF;
  --ink: #0B1620;
  --text: #1E252B;
  --muted: #676B6E;
  --line: #E3DDD3;
  --placeholder: #E9E3D8;
  --focus: #2F5D86;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.eyebrow { font-size: .9rem; font-weight: 500; color: var(--muted); margin: 0 0 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 12px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: var(--bg);
  font: 500 .97rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: #1d2a36; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { opacity: .7; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav--right { justify-content: flex-end; }
.nav a { font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--text); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-name { display: none; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.menu-btn { display: none; justify-self: end; background: none; border: 0; padding: 10px 0 10px 10px; font: 500 .95rem var(--sans); color: var(--ink); cursor: pointer; align-items: center; gap: 10px; }
.menu-btn .bars { width: 22px; height: 12px; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn .bars::before { top: 1px; }
.menu-btn .bars::after { top: 9px; }
.menu-open .menu-btn .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 5px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1000px) {
  :root { --header-h: 64px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { display: block; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 32px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 49; overflow-y: auto; }
  .menu-open .mobile-nav { opacity: 1; visibility: visible; }
  .mobile-nav a { display: block; font-family: var(--serif); font-size: 2rem; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .mobile-meta { margin-top: 28px; color: var(--muted); font-size: .95rem; }
  .mobile-nav .mobile-meta a { font-family: var(--sans); font-size: .95rem; border: 0; padding: 4px 0; color: var(--text); }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-collage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); grid-template-rows: auto auto; gap: 12px; }
.hero-collage figure { margin: 0; overflow: hidden; background: var(--placeholder); min-width: 0; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .c1 { grid-row: 1 / span 2; }
.hero-collage .c2, .hero-collage .c3 { aspect-ratio: 3 / 2; align-self: stretch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; font-size: .92rem; color: var(--muted); }
.hero-meta a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.hero-meta a:hover { color: var(--ink); }
.hero-meta a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .55; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { order: -1; gap: 8px; }
}

/* Galerie en rangées justifiées */
.jgrid { display: flex; flex-wrap: wrap; gap: 8px; --row: 250px; }
.jgrid::after { content: ""; flex-grow: 999; }
.jgrid .ph {
  position: relative; display: block; overflow: hidden;
  flex-grow: var(--r); flex-basis: calc(var(--r) * var(--row));
  aspect-ratio: var(--r);
  background: var(--placeholder);
  cursor: zoom-in;
}
.jgrid .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.jgrid .ph:hover img { transform: scale(1.025); }
.jgrid .ph:focus-visible { outline-offset: -3px; outline-color: #fff; }
/* Accueil : là où l'ordre des photos remplit bien la grille, la dernière ligne s'étire aussi */
@media (min-width: 370px) and (max-width: 560px), (min-width: 1300px) { .jgrid--fit::after { display: none; } }
@media (max-width: 1100px) { .jgrid { --row: 210px; } }
@media (max-width: 700px) { .jgrid { --row: 150px; gap: 5px; } }
.grid-foot { margin-top: 40px; display: flex; justify-content: center; }

/* Tuiles univers */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--3 .tile { aspect-ratio: 4 / 3; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; background: var(--placeholder); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 20, .62), rgba(8, 14, 20, 0) 55%); }
.tile span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.tile small { display: block; font-family: var(--sans); font-size: .82rem; opacity: .85; margin-top: 2px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles, .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .tile { aspect-ratio: 3 / 4; } .tiles--3 .tile { aspect-ratio: 3 / 4; } .tiles--3 .tile:last-child { grid-column: span 2; aspect-ratio: 16 / 9; } .tile span { font-size: 1.2rem; left: 14px; bottom: 12px; } }

/* Présentation */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--placeholder); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-text h2 { margin-bottom: 18px; }
.about-text .signature { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--ink); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 1 / 1; max-width: 520px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--paper); border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.service .num { font-family: var(--serif); font-size: 1rem; color: var(--muted); margin-bottom: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--muted); flex: 1; }
.service .link-arrow { align-self: flex-start; margin-top: 12px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); margin-left: 10px; vertical-align: middle; font-family: var(--sans); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* Formulaire */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { font-size: 1rem; }
.contact-info dl { margin: 28px 0 0; display: grid; gap: 18px; }
.contact-info dt { font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
.contact-info dd { margin: 0; color: var(--ink); font-weight: 500; }
.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-info dd a:hover { border-color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 44px); }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 7px; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1620' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-size: .85rem; color: var(--muted); }
.form .consent a { color: var(--text); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* En-tête de page */
.page-hero { padding: clamp(48px, 8vw, 112px) 0 clamp(36px, 5vw, 64px); }
.page-hero h1 { margin-bottom: 18px; }

/* Portfolio */
.filters { position: sticky; top: var(--header-h); z-index: 30; background: rgba(250, 248, 245, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.filters-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); scrollbar-width: none; }
.filters-inner::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: 500 .92rem var(--sans); color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .count { opacity: .6; margin-left: 6px; font-size: .85em; }
.gallery-block { padding: clamp(48px, 7vw, 96px) 0 0; }
.gallery-block[hidden] { display: none; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.gallery-head h2 { margin: 0; }
.gallery-head p { margin: 6px 0 0; color: var(--muted); }
.gallery-head .meta { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.series-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.kicker { font-size: .88rem; color: var(--muted); font-weight: 500; margin-bottom: 6px; display: block; }
.portfolio-end { padding: var(--section) 0; }

/* Prestations */
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.anchors a { text-decoration: none; display: inline-flex; align-items: center; }
.approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.approach ul { list-style: none; padding: 0; margin: 0; }
.approach li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.approach li::before { content: "—"; color: var(--muted); }
.banner { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--placeholder); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.price-group { padding: clamp(56px, 7vw, 96px) 0 0; }
.price-group-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: end; margin-bottom: 32px; }
.price-group-head h2 { margin: 0; }
.price-group-head p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.card.is-featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.card .tag { position: absolute; top: -12px; left: 22px; background: var(--ink); color: var(--bg); font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card .price { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); line-height: 1.1; margin: 4px 0 18px; }
.card .price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-left: 4px; }
.card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; font-size: .95rem; }
.card li { padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--line); }
.card li:first-child { border-top: 0; }
.card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.card .btn { width: 100%; }
.prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; align-items: start; }
.print { margin: 0; }
.print .frame { background: var(--paper); border: 1px solid var(--line); padding: 14px; }
.print .frame div { overflow: hidden; background: var(--placeholder); }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print figcaption { margin-top: 10px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.note { font-size: .92rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .approach, .price-group-head { grid-template-columns: 1fr; } .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); } .banner { aspect-ratio: 3 / 2; } }

/* Bandeau CTA */
.cta-band { background: var(--ink); color: var(--bg); padding: clamp(56px, 8vw, 104px) 0; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: rgba(250, 248, 245, .75); }
.cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn:hover { background: #fff; }
.cta-band .btn--ghost { background: transparent; color: var(--bg); }
.cta-band .btn--ghost:hover { background: var(--bg); color: var(--ink); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 8px; }
.cta-inner p { margin: 0; }

/* Pages de texte */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--ink); }
.prose .updated { color: var(--muted); font-size: .9rem; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 30em; }
.site-footer h4 { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 200; background: #0B0E11; display: none; color: #f3f1ed; touch-action: pan-y; }
.lb.is-open { display: block; }
.lb-stage { position: absolute; inset: 64px 72px 72px; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transition: opacity .25s; user-select: none; -webkit-user-drag: none; }
.lb-stage img.is-loaded { opacity: 1; }
.lb-btn { position: absolute; background: none; border: 0; color: inherit; cursor: pointer; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; opacity: .8; }
.lb-btn:hover { opacity: 1; }
.lb-btn svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lb-close { top: 8px; right: 10px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-bar { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; opacity: .8; }
.lb-top { position: absolute; left: 24px; top: 20px; font-size: .9rem; opacity: .8; }
.lb-spinner { position: absolute; width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.2); border-top-color: rgba(255,255,255,.8); border-radius: 50%; animation: spin .8s linear infinite; }
.lb-stage img.is-loaded + .lb-spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .lb-stage { inset: 56px 0 64px; } .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; } .lb-prev { left: auto; right: 64px; } .lb-bar { bottom: 22px; right: 140px; } }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Pages catégories */
.page-hero--cat .btn-row { margin-top: 28px; }
.gallery-solo { padding: 0 0 clamp(24px, 4vw, 48px); }
.gallery-end { height: clamp(24px, 4vw, 48px); }
.approach h3 { margin-top: 1.4em; }
.approach > div > h3:first-child { margin-top: 0; }
.approach li a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.approach li a:hover { border-color: var(--ink); }
.price-group-head p a, .note a { color: var(--ink); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 42em; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.agency-band { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 20px; padding: 24px clamp(22px, 3vw, 40px); background: var(--ink); color: var(--bg); text-decoration: none; }
.agency-band b { font-weight: 600; }
.agency-band .link-arrow { color: var(--bg); }
.agency-band:hover .link-arrow { opacity: .75; }
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats .stat:last-child { grid-column: 1 / -1; } }

/* Diaporama d'accueil */
.hero-slides { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 540px; max-height: 1080px; background: #0B0E11; overflow: hidden; color: #fff; }
.hs-track { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6.5s ease-out; }
.hs-slide.is-active { opacity: 1; z-index: 1; }
.hs-slide.is-active img { transform: scale(1); }
.hs-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to right, rgba(8, 12, 16, .55) 0%, rgba(8, 12, 16, .2) 45%, rgba(8, 12, 16, 0) 65%), linear-gradient(to top, rgba(8, 12, 16, .8) 0%, rgba(8, 12, 16, .4) 40%, rgba(8, 12, 16, 0) 70%); }
.hs-content h1, .hs-content .lead, .hs-content .eyebrow { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hs-content { position: absolute; left: 0; right: 0; bottom: clamp(56px, 9vh, 104px); z-index: 3; }
.hs-content .eyebrow { color: rgba(255, 255, 255, .82); }
.hs-content h1 { color: #fff; max-width: 11em; margin-bottom: 16px; }
.hs-content .lead { color: rgba(255, 255, 255, .9); max-width: 34em; margin-bottom: 28px; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--bg); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.hs-controls { position: absolute; right: var(--gutter); bottom: 22px; z-index: 4; display: flex; align-items: center; gap: 2px; }
.hs-dot { width: 30px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hs-dot span { display: block; width: 22px; height: 2px; background: rgba(255, 255, 255, .45); transition: background .3s; }
.hs-dot[aria-current="true"] span { background: #fff; }
.hs-dot:hover span { background: rgba(255, 255, 255, .8); }
.hs-pause { width: 34px; height: 34px; margin-left: 8px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hs-pause svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.hs-pause .i-play { display: none; fill: currentColor; stroke: none; }
.hs-pause[aria-pressed="true"] .i-pause { display: none; }
.hs-pause[aria-pressed="true"] .i-play { display: block; }
.hero-meta-bar { border-bottom: 1px solid var(--line); }
.hero-meta-bar .hero-meta { margin: 0; padding-top: 18px; padding-bottom: 18px; justify-content: center; }
@media (max-width: 700px) {
  .hero-slides { min-height: 480px; height: calc(88svh - var(--header-h)); }
  .hs-content { bottom: 64px; }
  .hs-shade { background: linear-gradient(to top, rgba(8, 12, 16, .88) 0%, rgba(8, 12, 16, .62) 48%, rgba(8, 12, 16, .15) 78%, rgba(8, 12, 16, 0) 100%); }
  .hs-controls { left: var(--gutter); right: auto; bottom: 16px; }
  .hs-dot { width: 24px; }
  .hs-dot span { width: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide img { transform: none !important; } }
