:root {
  --bg: #080808;
  --surface: #101010;
  --surface-2: #171717;
  --text: #f7f7f4;
  --muted: #aaa9a5;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.22);
  --accent: #ff2948;
  --accent-2: #ff6a43;
  --max: 1220px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(255,41,72,.09), transparent 31rem),
    radial-gradient(circle at 3% 22%, rgba(255,106,67,.06), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -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, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: fixed; left: 1rem; top: .8rem; z-index: 10000; transform: translateY(-160%);
  padding: .7rem 1rem; border-radius: 999px; background: #fff; color: #000; font-weight: 700;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(255,84,108,.75); outline-offset: 3px; }

.section-shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.page-main { padding-top: 8rem; }
.eyebrow {
  margin: 0 0 .65rem; color: #ff8294; font-size: .74rem; font-weight: 800;
  letter-spacing: .19em; text-transform: uppercase;
}
h1,h2,h3,p { overflow-wrap: break-word; }
h1,h2,h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 6.5vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 4.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }
p { color: var(--muted); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.site-header.is-scrolled { background: rgba(8,8,8,.87); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-shell {
  width: min(calc(100% - 2rem), var(--max)); height: 76px; margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .72rem; margin-right: auto; min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span { display: grid; line-height: 1.12; }
.brand strong { font-size: .92rem; letter-spacing: .13em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: .67rem; margin-top: .22rem; }
.desktop-nav ul { list-style: none; display: flex; gap: .25rem; padding: 0; margin: 0; }
.desktop-nav a {
  display: block; padding: .55rem .75rem; border-radius: 999px; color: #cfceca;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 42px; padding: .5rem 1rem; border-radius: 999px;
  background: #fff; color: #0b0b0b; font-size: .78rem; font-weight: 800;
}
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #121212; color: #fff; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-panel { background: rgba(8,8,8,.98); border-bottom: 1px solid var(--line); }
.mobile-panel nav { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: .5rem 0 1.2rem; display: grid; }
.mobile-panel a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 700; }

.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.25rem;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 36px rgba(255,41,72,.2); }
.button-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.035); color: #fff; }
.text-link { display: inline-flex; gap: .5rem; align-items: center; color: #fff; font-size: .88rem; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero { min-height: 100svh; padding-top: 8rem; padding-bottom: 5rem; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(360px,.98fr); gap: clamp(2rem,6vw,6rem); align-items: center; }
.hero-copy h1 { max-width: 11ch; margin-bottom: 1.25rem; }
.hero-lead { max-width: 42rem; font-size: clamp(1rem,1.6vw,1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.cta-note { margin: .72rem 0 0; font-size: .78rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 2rem 0 0; }
.tag-list li { padding: .42rem .72rem; border: 1px solid var(--line); border-radius: 999px; color: #d4d3d0; font-size: .72rem; }
.hero-gallery { position: relative; min-height: 610px; }
.hero-shot { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #141414; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot .image-button { display: block; height: 100%; }
.hero-shot figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(0,0,0,.68); font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-shot-1 { left: 0; top: 3%; width: 52%; height: 79%; transform: rotate(-3deg); }
.hero-shot-2 { right: 0; top: 0; width: 53%; height: 45%; transform: rotate(3deg); }
.hero-shot-3 { right: 2%; bottom: 2%; width: 57%; height: 47%; transform: rotate(1deg); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0; max-width: 16ch; }
.section-heading p:not(.eyebrow) { max-width: 44rem; }
.showreel, .services, .projects, .process, .faq { padding-block: clamp(4rem,9vw,8rem); }
.video-poster { position: relative; overflow: hidden; min-height: 280px; border-radius: var(--radius); background: #111; border: 1px solid var(--line); }
.video-poster > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; aspect-ratio: 16/9; filter: brightness(.76); }
.video-poster > button { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg,transparent,rgba(0,0,0,.42)); color: #fff; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: .75rem; }
.video-poster > button span { display: grid; place-items: center; width: 72px; height: 72px; padding-left: 4px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.55); font-size: 1.2rem; backdrop-filter: blur(8px); }
.video-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.service-card { min-height: 290px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); display: flex; flex-direction: column; }
.service-card h3 { max-width: 12ch; }
.service-card p { margin-bottom: auto; }
.service-card a { margin-top: 2rem; font-size: .86rem; font-weight: 800; }
.about-strip { padding-block: clamp(5rem,10vw,9rem); background: #f0efe9; color: #101010; }
.about-strip p { color: #5c5b57; }
.about-strip .eyebrow { color: #b70d2d; }
.about-grid { display: grid; grid-template-columns: .45fr 1.55fr; gap: 3rem; }
.about-grid h2 { max-width: 16ch; }
.about-grid > div > p { max-width: 55rem; font-size: 1.05rem; }
.project-list { display: grid; gap: 1.2rem; }
.project-row { padding: 1.2rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: rgba(255,255,255,.025); display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: center; }
.project-copy { padding: 1rem; }
.project-copy h3 { font-size: clamp(2rem,4vw,3.5rem); }
.project-images { min-width: 0; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: .65rem; }
.project-images figure { margin: 0; overflow: hidden; min-height: 280px; border-radius: 16px; background: #141414; }
.project-images img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; cursor: zoom-in; }
.project-images figure:hover img { transform: scale(1.035); }
.process ol { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 0; margin: 0; }
.process li { min-height: 245px; padding: 1.35rem; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.process li > span { color: #ff7d91; font-size: .8rem; font-weight: 800; }
.process li div { margin-top: auto; }
.process li h3 { margin-bottom: .6rem; }
.final-cta { margin-block: 3rem 7rem; padding: clamp(2rem,6vw,5rem); border: 1px solid rgba(255,69,95,.32); border-radius: calc(var(--radius) + 12px); background: radial-gradient(circle at 100% 0,rgba(255,41,72,.22),transparent 45%),var(--surface); text-align: center; }
.final-cta h2 { max-width: 15ch; margin-inline: auto; }
.final-cta p:not(.eyebrow) { max-width: 43rem; margin-inline: auto; }
.final-cta .button { margin-top: 1rem; }

.page-hero { max-width: 980px; margin-left: max(1.25rem,calc((100% - var(--max))/2)); padding-top: 4rem; padding-bottom: 3rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero > p:not(.eyebrow) { max-width: 50rem; font-size: 1.08rem; }
.filters { position: sticky; top: 84px; z-index: 20; display: flex; flex-wrap: wrap; gap: .5rem; padding: .7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(12,12,12,.88); backdrop-filter: blur(15px); width: fit-content; max-width: 100%; }
.filter { border: 0; padding: .52rem .83rem; border-radius: 999px; color: #c8c7c4; background: transparent; cursor: pointer; font-size: .76rem; font-weight: 800; }
.filter:hover, .filter.active { color: #fff; background: linear-gradient(135deg,var(--accent),var(--accent-2)); }
.result-count { margin: 1rem 0 1.5rem; font-size: .8rem; }
.masonry { columns: 3 300px; column-gap: 1rem; }
.gallery-card { position: relative; break-inside: avoid; margin: 0 0 1rem; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gallery-card[hidden], .video-card[hidden] { display: none !important; }
.image-button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-card img { width: 100%; height: auto; transition: transform .38s ease, filter .38s ease; }
.gallery-card:hover img { transform: scale(1.025); filter: saturate(1.07); }
.gallery-card figcaption { position: absolute; left: .65rem; bottom: .65rem; padding: .3rem .58rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(0,0,0,.68); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.empty-message { padding: 3rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.video-section { padding-bottom: 4rem; }
.video-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1rem; }
.video-card { grid-column: span 6; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.video-card-vertical { grid-column: span 4; }
.video-card .video-poster { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 0; aspect-ratio: 16/9; }
.video-card-vertical .video-poster { aspect-ratio: 9/14; }
.video-card .video-poster > img { min-height: 0; aspect-ratio: inherit; }
.video-card-copy { padding: 1.15rem 1.25rem 1.35rem; }
.video-card-copy p { margin: 0 0 .4rem; color: #ff8193; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.video-card-copy h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; }

.pricing-note { display: flex; gap: 1rem; align-items: center; width: fit-content; margin-top: 1.5rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.pricing-note strong { color: #fff; white-space: nowrap; }
.pricing-note span { color: var(--muted); font-size: .84rem; }
.pricing-content { padding-bottom: 2rem; }
.price-section { padding-block: 3rem; border-top: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.price-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg,rgba(255,255,255,.052),rgba(255,255,255,.015)); display: flex; flex-direction: column; }
.price-name { margin: 0 0 .35rem; color: #fff; font-size: 1.05rem; font-weight: 800; }
.price-value { margin: 0; color: #ff8193; font-size: 1.45rem; font-weight: 800; }
.price-card ul { padding-left: 1.1rem; margin: 1.4rem 0; color: #d1d0cc; }
.price-card li + li { margin-top: .42rem; }
.price-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 1.2rem; }
.price-tags span { padding: .28rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; }
.faq-list { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.25rem 0; cursor: pointer; color: #fff; font-weight: 800; }
.faq details p { max-width: 50rem; margin-top: 0; padding-bottom: 1.2rem; }

.contact-layout { min-height: calc(100svh - 8rem); padding-block: 4rem 7rem; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem,6vw,6rem); align-items: start; }
.contact-intro { position: sticky; top: 7rem; }
.contact-intro h1 { font-size: clamp(2.7rem,5.5vw,5.4rem); }
.contact-intro > p:not(.eyebrow) { max-width: 35rem; }
.direct-contact { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.direct-contact a { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.direct-contact span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-form { padding: clamp(1.2rem,3vw,2rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 5px); background: rgba(255,255,255,.025); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .45rem; color: #efefec; font-size: .82rem; font-weight: 700; }
.contact-form label small { color: var(--muted); font-weight: 500; }
.form-full { grid-column: 1/-1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: #111; color: #fff; padding: .82rem .9rem; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(255,73,99,.75); box-shadow: 0 0 0 3px rgba(255,41,72,.12); }
.contact-form textarea { resize: vertical; min-height: 170px; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; margin: 1rem 0 1.25rem; color: var(--muted) !important; font-weight: 500 !important; }
.consent input { width: 18px; height: 18px; margin-top: .16rem; accent-color: var(--accent); }
.consent a { color: #fff; text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.form-note { margin: .8rem 0 0; font-size: .72rem; }
.feature-list { padding-left: 1.1rem; color: #d8d7d3; }
.feature-list li + li { margin-top: .45rem; }

.legal { max-width: 900px; padding-block: 4rem 8rem; }
.legal h1 { font-size: clamp(2.5rem,5vw,5rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.45rem; letter-spacing: -.015em; }
.legal a { color: #fff; text-decoration: underline; }
.legal-date { margin-top: 3rem; font-size: .8rem; }
.message-page { min-height: 80svh; padding-block: 10rem; display: grid; place-content: center; justify-items: start; }
.message-page h1 { max-width: 12ch; }

.site-footer { padding: 4rem max(1.25rem,calc((100% - var(--max))/2)) 1.2rem; border-top: 1px solid var(--line); background: #050505; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 3rem; padding-bottom: 3rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: .55rem; }
.footer-grid h2 { margin: 0 0 .3rem; color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid p { max-width: 33rem; }
.footer-grid a:not(.footer-brand) { color: #d7d6d2; font-size: .88rem; }
.footer-brand { font-size: 1.55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom { padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .75rem; }

.lightbox { width: min(96vw,1500px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #080808; color: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.8); }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox p { margin: 0; padding: .65rem 1rem; font-size: .78rem; }
.lightbox-close { position: absolute; z-index: 2; right: .7rem; top: .7rem; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; cursor: pointer; font-size: 1.55rem; }

@media (max-width: 980px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 10rem; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-gallery { min-height: 520px; max-width: 700px; width: 100%; margin-inline: auto; }
  .service-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .project-row, .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .process ol { grid-template-columns: 1fr 1fr; }
  .video-card, .video-card-vertical { grid-column: span 6; }
}

@media (max-width: 680px) {
  .section-shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .page-main { padding-top: 6.5rem; }
  .nav-shell { width: calc(100% - 1rem); height: 68px; }
  .brand small { display: none; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: auto; padding-top: 8.5rem; padding-bottom: 4rem; }
  .hero-gallery { min-height: 390px; }
  .hero-shot-1 { height: 76%; }
  .hero-shot-2 { height: 44%; }
  .hero-shot-3 { height: 45%; }
  .hero-actions .button { width: 100%; }
  .section-heading { display: grid; align-items: start; }
  .service-grid, .price-grid, .process ol, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 1rem; }
  .project-row { padding: .7rem; gap: .6rem; }
  .project-copy { padding: .8rem; }
  .project-images { grid-template-columns: 1.25fr .75fr; }
  .project-images figure { min-height: 215px; }
  .project-images figure:last-child { display: none; }
  .process li { min-height: 190px; }
  .filters { top: 74px; width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 16px; scrollbar-width: none; }
  .filter { white-space: nowrap; }
  .masonry { columns: 2 150px; column-gap: .6rem; }
  .gallery-card { margin-bottom: .6rem; border-radius: 13px; }
  .gallery-card figcaption { display: none; }
  .video-card, .video-card-vertical { grid-column: 1/-1; }
  .video-card-vertical .video-poster { aspect-ratio: 9/12; }
  .pricing-note { align-items: start; flex-direction: column; }
  .form-full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .lightbox { width: 100vw; max-height: 100vh; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.custom-section { padding-block: clamp(4rem,9vw,7rem); }
.custom-section-body { max-width: 56rem; }
.custom-section-body p { font-size: 1.05rem; }
.custom-section-body .button { margin-top: 1rem; }
.custom-section-light { color: #101010; background: #f0efe9; max-width: none; padding-left: max(1.25rem,calc((100% - var(--max))/2)); padding-right: max(1.25rem,calc((100% - var(--max))/2)); }
.custom-section-light .eyebrow { color: #b70d2d; }
.custom-section-accent { border: 1px solid color-mix(in srgb, var(--theme-accent) 45%, transparent); border-radius: calc(var(--radius) + 12px); background: radial-gradient(circle at 100% 0,color-mix(in srgb, var(--theme-accent) 22%, transparent),transparent 45%),var(--surface); }

/* ========================================================================== */
[hidden] { display: none !important; }

/* MR PROD — DIRECTION ARTISTIQUE PREMIUM 2026                                */
/* ========================================================================== */
:root {
  --bg: #0a0a09;
  --surface: #121210;
  --surface-2: #1a1916;
  --text: #f4f0e8;
  --muted: #aaa49a;
  --line: rgba(244,240,232,.13);
  --line-strong: rgba(244,240,232,.28);
  --accent: #b99a62;
  --accent-2: #e0c791;
  --theme-accent: #b99a62;
  --theme-accent-2: #e0c791;
  --theme-surface: #15130f;
  --max: 1320px;
  --radius: 4px;
  --shadow: 0 34px 90px rgba(0,0,0,.34);
}

body {
  background:
    linear-gradient(90deg, transparent 0 49.93%, rgba(255,255,255,.018) 50%, transparent 50.07%),
    radial-gradient(circle at 80% 5%, rgba(185,154,98,.09), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, .universe-signature strong, .other-universe strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
h1 { line-height: .98; }
h2 { line-height: 1; }
p { letter-spacing: .005em; }
::selection { background: var(--theme-accent); color: #080808; }
:focus-visible { outline-color: var(--theme-accent); }

.eyebrow {
  color: var(--theme-accent);
  font-size: .67rem;
  letter-spacing: .25em;
  font-weight: 700;
}
.site-header { transition: background .35s ease, border-color .35s ease, color .35s ease; }
.site-header.is-scrolled { background: rgba(10,10,9,.9); }
.nav-shell { height: 84px; }
.brand img { border-radius: 0; }
.brand strong { letter-spacing: .2em; font-size: .78rem; }
.brand small { letter-spacing: .08em; text-transform: uppercase; font-size: .57rem; }
.desktop-nav a { border-radius: 0; padding-inline: .62rem; font-size: .65rem; letter-spacing: .14em; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: transparent; color: var(--theme-accent); }
.desktop-nav a[aria-current="page"]::after { content: ""; display: block; height: 1px; margin-top: .35rem; background: currentColor; }
.nav-cta, .button { border-radius: 0; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.nav-cta { padding-inline: 1.2rem; background: var(--text); }
.button-primary { background: var(--theme-accent); color: #0a0a09; box-shadow: none; }
.button-primary:hover { background: var(--theme-accent-2); }
.button-ghost { background: transparent; }

.hero { min-height: 96svh; padding-top: 10rem; }
.hero-copy h1 { max-width: 10.5ch; font-size: clamp(3.4rem,7.7vw,7.8rem); }
.hero-lead { max-width: 38rem; }
.tag-list { gap: 0; border-top: 1px solid var(--line); }
.tag-list li { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: .8rem 1.1rem .8rem 0; margin-right: 1.1rem; text-transform: uppercase; letter-spacing: .12em; font-size: .61rem; }
.hero-shot { border-radius: 0; }
.hero-shot figcaption { border-radius: 0; background: rgba(7,7,7,.76); letter-spacing: .16em; }

.services { border-top: 1px solid var(--line); }
.service-grid { gap: 0; border: 1px solid var(--line); }
.service-card {
  position: relative;
  min-height: 430px;
  padding: 2rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
}
.service-card:last-child { border-right: 0; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .42; transition: opacity .4s ease, transform .6s ease; }
.service-card:hover::before { opacity: .7; transform: scale(1.035); }
.service-card.theme-real-estate::before { background: linear-gradient(135deg,#ede7dc,#bda77b 48%,#29251e); }
.service-card.theme-motorsport::before { background: linear-gradient(135deg,#080808 0 50%,#5b0e14 100%); }
.service-card.theme-event::before { background: linear-gradient(135deg,#080b12 0 50%,#123764 100%); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.86)); }
.service-card h3, .service-card p, .service-card a, .service-index { color: #fff; }
.service-card h3 { margin-top: auto; font-size: clamp(2rem,3vw,3.2rem); }
.service-card p:not(.service-index) { margin-bottom: 1.5rem; color: rgba(255,255,255,.72); }
.service-card a { margin-top: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .63rem; }
.service-index { margin: 0 0 auto; font-family: Georgia,serif; font-size: 1.3rem; opacity: .65; }

.showreel .video-poster { border-radius: 0; min-height: 0; aspect-ratio: 16/9; }
.showreel .video-poster > img { min-height: 0; }
.video-poster > button span { border-radius: 50%; }
.about-strip { background: #e9e3d8; }
.about-strip .eyebrow { color: #80653d; }
.about-strip h2 { color: #171511; }
.about-strip p { color: #5c554a; }

.project-list { gap: 2rem; }
.project-row { position: relative; border-radius: 0; overflow: hidden; background: #111; }
.project-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--theme-accent); }
.project-row.theme-real-estate { --theme-accent: #b99a62; }
.project-row.theme-motorsport { --theme-accent: #8f1720; }
.project-row.theme-event { --theme-accent: #245c9e; }
.project-images figure { border-radius: 0; }
.process li > span { color: var(--theme-accent); }
.final-cta { border-radius: 0; border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent); background: linear-gradient(135deg,rgba(185,154,98,.12),rgba(255,255,255,.015)); }

/* Category page foundations */
.universe-page { overflow: hidden; }
.universe-hero {
  min-height: 92svh;
  padding-top: 12rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: clamp(2rem,8vw,9rem);
  align-items: end;
  position: relative;
}
.universe-hero::before {
  content: "";
  position: absolute;
  width: min(54vw,760px);
  aspect-ratio: 1;
  right: -15%;
  top: 8%;
  border: 1px solid var(--line);
  transform: rotate(20deg);
  opacity: .55;
  pointer-events: none;
}
.universe-hero-copy { position: relative; z-index: 1; }
.universe-hero h1 { max-width: 11ch; font-size: clamp(3.3rem,7vw,7.4rem); }
.universe-hero-copy > p:not(.eyebrow) { max-width: 47rem; font-size: clamp(1rem,1.6vw,1.22rem); }
.universe-hero .button { margin-top: 1.5rem; }
.universe-signature { position: relative; z-index: 1; min-height: 230px; padding: 1.5rem; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.universe-signature span { color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; }
.universe-signature strong { max-width: 9ch; font-size: clamp(2rem,3.5vw,3.8rem); line-height: .98; }

.universe-intro { padding-block: clamp(4rem,9vw,8rem); display: grid; grid-template-columns: 1.5fr .5fr; gap: clamp(2rem,8vw,8rem); border-top: 1px solid var(--line); }
.universe-intro-text { margin: 0; max-width: 60rem; color: var(--text); font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.35rem,2.4vw,2.15rem); line-height: 1.45; }
.universe-intro ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.universe-intro li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; }

.portfolio-mixed { padding-block: clamp(5rem,10vw,9rem); }
.portfolio-mixed .section-heading > div { max-width: 56rem; }
.mixed-media-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: row; grid-auto-rows: 400px; gap: 1rem; }
.media-card { grid-column: span 4; min-height: 390px; margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--theme-surface); }
.media-card-wide { grid-column: span 8; }
.media-card-photo .image-button { width: 100%; height: 100%; min-height: inherit; padding: 0; border: 0; cursor: zoom-in; background: transparent; }
.media-card-photo img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.media-card-photo:hover img { transform: scale(1.025); }
.media-card-photo figcaption { position: absolute; inset: auto 0 0; padding: 2.6rem 1.1rem 1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; background: linear-gradient(transparent,rgba(0,0,0,.75)); pointer-events: none; }
.media-card-photo figcaption span, .media-video-copy span { color: var(--theme-accent-2); text-transform: uppercase; letter-spacing: .18em; font-size: .58rem; font-weight: 800; }
.media-card-photo figcaption small { max-width: 32rem; color: rgba(255,255,255,.72); text-align: right; font-size: .67rem; }
.media-card-video { display: flex; flex-direction: column; }
.media-card-video .video-poster { flex: 1; min-height: 310px; border: 0; border-radius: 0; }
.media-card-video .video-poster > img { min-height: inherit; }
.media-card-vertical { grid-column: span 4; }
.media-video-copy { padding: 1rem 1.15rem 1.25rem; border-top: 1px solid var(--line); }
.media-video-copy h2 { margin: .35rem 0 0; font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.portfolio-empty { padding: 3rem; border: 1px dashed var(--line); text-align: center; }

.other-universes { padding-block: clamp(5rem,10vw,9rem); border-top: 1px solid var(--line); }
.other-universes h2 { max-width: 12ch; }
.other-universe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.other-universe { min-height: 300px; padding: 1.5rem; display: flex; flex-direction: column; border: 1px solid var(--line); position: relative; overflow: hidden; color: #fff; }
.other-universe::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.75; }
.other-universe.theme-real-estate::before { background: linear-gradient(135deg,#d9d0bf,#8e754b 65%,#181511); }
.other-universe.theme-motorsport::before { background: linear-gradient(135deg,#090909,#6a1018); }
.other-universe.theme-event::before { background: linear-gradient(135deg,#07090d,#194578); }
.other-universe span { color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .13em; font-size: .6rem; }
.other-universe strong { margin-top: auto; font-size: clamp(2.4rem,4vw,4.5rem); }
.other-universe em { margin-top: 1rem; font-style: normal; font-size: .66rem; text-transform: uppercase; letter-spacing: .15em; }

/* Individual universe palettes */
body[data-theme="real-estate"] {
  --bg: #eee9df;
  --surface: #f7f3eb;
  --surface-2: #ded5c6;
  --text: #181611;
  --muted: #6c655a;
  --line: rgba(34,29,21,.15);
  --line-strong: rgba(34,29,21,.3);
  --theme-accent: #7c6134;
  --theme-accent-2: #d0b277;
  --theme-surface: #d8cdbd;
  color: var(--text);
  background:
    radial-gradient(ellipse at 15% 20%,rgba(255,255,255,.86),transparent 25%),
    repeating-linear-gradient(117deg,transparent 0 95px,rgba(96,83,64,.035) 96px,transparent 98px),
    #eee9df;
}
body[data-theme="real-estate"] p { color: var(--muted); }
body[data-theme="real-estate"] .site-header.is-scrolled { background: rgba(238,233,223,.92); }
body[data-theme="real-estate"] .desktop-nav a, body[data-theme="real-estate"] .brand, body[data-theme="real-estate"] .menu-toggle { color: #181611; }
body[data-theme="real-estate"] .nav-cta { background: #181611; color: #f7f3eb; }
body[data-theme="real-estate"] .brand img { filter: invert(1); }
body[data-theme="real-estate"] .mobile-panel { background: rgba(238,233,223,.98); }
body[data-theme="real-estate"] .button-primary { color: #fff; }
body[data-theme="real-estate"] .universe-hero::before { background: linear-gradient(120deg,rgba(255,255,255,.6),transparent 38%,rgba(155,122,66,.12)); box-shadow: 0 0 0 38px rgba(155,122,66,.035); }
body[data-theme="real-estate"] .media-card { box-shadow: 0 20px 60px rgba(61,51,36,.09); }
body[data-theme="real-estate"] .media-card-video { background: #171510; color: #f7f3eb; }
body[data-theme="real-estate"] .media-card-video h2 { color: #f7f3eb; }
body[data-theme="real-estate"] .site-footer { background: #ded5c6; color: #181611; }
body[data-theme="real-estate"] .footer-grid p, body[data-theme="real-estate"] .footer-grid a:not(.footer-brand), body[data-theme="real-estate"] .footer-bottom { color: #5b554b; }
body[data-theme="real-estate"] .final-cta { background: linear-gradient(135deg,rgba(155,122,66,.15),rgba(255,255,255,.35)); }

body[data-theme="motorsport"] {
  --bg: #060606;
  --surface: #101010;
  --surface-2: #181818;
  --text: #f2f0ec;
  --muted: #aaa6a0;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.26);
  --theme-accent: #9c1e28;
  --theme-accent-2: #d66469;
  --theme-surface: #111;
  background:
    linear-gradient(112deg,transparent 0 46%,rgba(135,17,25,.07) 46.1% 47%,transparent 47.1%),
    repeating-linear-gradient(90deg,transparent 0 79px,rgba(255,255,255,.014) 80px),
    #060606;
}
body[data-theme="motorsport"] .universe-hero::before { border-color: rgba(156,30,40,.55); transform: skewX(-14deg) rotate(16deg); }
body[data-theme="motorsport"] .button-primary { color: #fff; }
body[data-theme="motorsport"] .media-card { border-color: rgba(255,255,255,.15); }
body[data-theme="motorsport"] .universe-signature { background: linear-gradient(135deg,transparent,rgba(156,30,40,.16)); }
/* Le rouge sombre (--theme-accent) est lisible sur fond clair mais pas assez
   contrasté en texte sur ce fond quasi noir (2,5:1). On bascule les rôles de
   texte sur la variante claire, qui atteint 5,7:1 (AA). */
body[data-theme="motorsport"] .eyebrow,
body[data-theme="motorsport"] .desktop-nav a:hover,
body[data-theme="motorsport"] .desktop-nav a[aria-current="page"],
body[data-theme="motorsport"] .process li > span,
body[data-theme="motorsport"] .price-value {
  color: var(--theme-accent-2);
}

body[data-theme="event"] {
  --bg: #070910;
  --surface: #0d111b;
  --surface-2: #131b2b;
  --text: #f5f7fb;
  --muted: #a5adba;
  --line: rgba(222,232,247,.14);
  --line-strong: rgba(222,232,247,.28);
  --theme-accent: #4d82be;
  --theme-accent-2: #9cc7ef;
  --theme-surface: #0e1521;
  background:
    radial-gradient(circle at 75% 8%,rgba(39,92,153,.21),transparent 36rem),
    linear-gradient(135deg,#07080c,#0a1120 55%,#070910);
}
body[data-theme="event"] .universe-hero::before { border-color: rgba(77,130,190,.45); background: linear-gradient(135deg,transparent,rgba(77,130,190,.13)); }
body[data-theme="event"] .button-primary { color: #fff; }
body[data-theme="event"] .universe-signature { background: linear-gradient(135deg,rgba(255,255,255,.025),rgba(36,82,136,.16)); }

/* Graceful placeholders in the photo-free editor package. */
.hero-shot.is-missing, .project-images figure.is-missing, .image-button.is-missing, .media-card-photo.is-missing {
  background:
    linear-gradient(135deg,transparent 0 49.7%,var(--line) 50%,transparent 50.3%),
    linear-gradient(45deg,transparent 0 49.7%,var(--line) 50%,transparent 50.3%),
    var(--theme-surface);
}
.hero-shot.is-missing::after, .project-images figure.is-missing::after, .image-button.is-missing::after, .media-card-photo.is-missing::after {
  content: "PHOTO À AJOUTER";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  color: var(--muted);
  font-size: .58rem;
  letter-spacing: .2em;
  white-space: nowrap;
}
.image-button.is-missing { position: relative; display: block; min-height: 390px; }

@media (max-width: 1100px) {
  .desktop-nav a { padding-inline: .42rem; font-size: .58rem; }
  .nav-cta { display: none; }
  .media-card { grid-column: span 6; }
  .media-card-wide { grid-column: span 12; }
}
@media (max-width: 980px) {
  .service-card { min-height: 340px; }
  .universe-hero { grid-template-columns: 1fr; min-height: auto; }
  .universe-signature { min-height: 170px; max-width: 520px; }
  .universe-intro { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-shell { height: 70px; }
  .hero { padding-top: 8rem; }
  .hero-copy h1 { font-size: clamp(3rem,14vw,4.7rem); }
  .service-grid { border: 0; gap: .75rem; }
  .service-card { border: 1px solid var(--line); min-height: 380px; }
  .project-row { padding: .75rem; }
  .universe-hero { padding-top: 9rem; }
  .universe-hero h1 { font-size: clamp(3rem,14vw,4.9rem); }
  .mixed-media-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; }
  .media-card, .media-card-wide, .media-card-vertical { grid-column: 1; min-height: 360px; }
  .media-card-tall { min-height: 490px; }
  .other-universe-grid { grid-template-columns: 1fr; }
  .other-universe { min-height: 240px; }
  .media-card-photo figcaption small { display: none; }
}
.site-footer a.footer-secondary{opacity:.55;font-size:.88em;margin-top:.25rem}
.site-footer a.footer-secondary:hover{opacity:.9}

/* ========================================================================== */
/* Ajustements éditoriaux — titres, pages univers et tarifs                  */
/* ========================================================================== */

/* Une échelle typographique plus régulière sur tout le site. */
h1 { font-size: clamp(2.8rem, 5.4vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.8rem); }
.hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(3.15rem, 6.2vw, 6.35rem);
  line-height: .96;
}
.page-hero h1 { max-width: 14ch; font-size: clamp(2.8rem, 5vw, 5.25rem); }
.section-heading h2 { max-width: 18ch; }

/* Hero des trois univers : texte concis + trois photographies signatures. */
.niche-page { overflow: hidden; }
.niche-hero {
  min-height: min(850px, calc(100svh - 5rem));
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}
.niche-hero-copy { position: relative; z-index: 2; }
.niche-hero h1 {
  max-width: 12.5ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 4.8vw, 5.1rem);
  line-height: .98;
}
.niche-hero-lead {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}
.niche-values {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.8rem 0 1.6rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.niche-values li {
  margin-right: 1rem;
  padding: .78rem 1rem .78rem 0;
  border-right: 1px solid var(--line);
  color: var(--text);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.niche-star-gallery {
  position: relative;
  min-height: 610px;
  isolation: isolate;
}
.niche-star {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--theme-surface);
  box-shadow: var(--shadow);
}
.niche-star img { width: 100%; height: 100%; object-fit: cover; }
.niche-star .image-button { display: block; height: 100%; }
.niche-star figcaption {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  padding: .42rem .68rem;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8,8,8,.72);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.niche-star-1 { left: 0; top: 8%; width: 52%; height: 76%; transform: rotate(-3deg); z-index: 1; }
.niche-star-2 { right: 0; top: 0; width: 54%; height: 47%; transform: rotate(2.5deg); z-index: 2; }
.niche-star-3 { right: 3%; bottom: 1%; width: 57%; height: 47%; transform: rotate(1deg); z-index: 3; }
.niche-star.is-missing {
  background:
    linear-gradient(135deg,transparent 0 49.7%,var(--line) 50%,transparent 50.3%),
    linear-gradient(45deg,transparent 0 49.7%,var(--line) 50%,transparent 50.3%),
    var(--theme-surface);
}
.niche-star.is-missing::after {
  content: "PHOTO STAR À AJOUTER";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  color: var(--muted);
  font-size: .56rem;
  letter-spacing: .18em;
  white-space: nowrap;
}

/* Le long texte SEO n'est plus jeté sous le H1 : il devient un bloc éditorial. */
.niche-editorial {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.niche-editorial h2 { max-width: 12ch; margin: 0; }
.niche-editorial > p {
  max-width: 57rem;
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}
.portfolio-mixed { padding-block: clamp(5rem, 9vw, 8rem); }
.portfolio-mixed .section-heading { align-items: start; }
.portfolio-mixed .section-heading > p { margin-top: .15rem; line-height: 1.75; }
.media-video-copy h3 { margin: .35rem 0 0; font-family: inherit; font-size: 1rem; letter-spacing: 0; }

/* Grilles tarifaires réellement utilisées par le générateur. */
.pricing-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.price-card {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.price-name,
.price-value {
  color: var(--text);
}
.price-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 400;
  letter-spacing: -.025em;
}
.price-card ul { color: var(--muted); }
.price-card .button-ghost,
.pricing-more .text-link { color: var(--text); border-color: var(--line-strong); }
.niche-pricing .section-heading > p { max-width: 37rem; }
.pricing-more { margin: 1.4rem 0 0; }

body[data-theme="real-estate"] .price-card,
body[data-theme="real-estate"] .pricing-note {
  background: rgba(255,255,255,.44);
}
body[data-theme="real-estate"] .price-card .button-ghost,
body[data-theme="real-estate"] .pricing-more .text-link,
body[data-theme="real-estate"] .text-link { color: var(--text); }
body[data-theme="real-estate"] .pricing-note strong { color: var(--text); }

@media (max-width: 1080px) {
  .niche-hero { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .niche-hero h1 { font-size: clamp(3rem, 5.6vw, 4.7rem); }
  .niche-star-gallery { min-height: 520px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .niche-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }
  .niche-hero h1 { max-width: 13ch; }
  .niche-star-gallery { min-height: 520px; width: min(100%, 650px); margin-inline: auto; }
  .niche-editorial { grid-template-columns: 1fr; gap: 1.5rem; }
  .niche-editorial h2 { max-width: 15ch; }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(2.65rem, 12vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 9vw, 3.25rem); }
  .hero-copy h1 { font-size: clamp(3rem, 13.4vw, 4.55rem); }
  .niche-hero { padding-top: 2rem; padding-bottom: 4rem; }
  .niche-hero h1 { font-size: clamp(2.85rem, 12.2vw, 4.15rem); }
  .niche-values li { width: 100%; margin: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .niche-star-gallery { min-height: 410px; }
  .niche-star-1 { height: 74%; }
  .niche-star-2 { height: 45%; }
  .niche-star-3 { height: 45%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 15ch; }
}
/* Les montants reprennent exactement la couleur des sur-titres de leur thème. */
.price-value { color: var(--theme-accent); }

/* Finitions premium : curseur, transitions, ratios et lisibilité. */
html { background: #0a0a09; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { opacity: 1; animation: pageFadeIn .22s ease both; transition: opacity .22s ease; }
body.is-page-ready { opacity: 1; }
body.is-page-leaving { opacity: 0; }
.premium-cursor {
  position: fixed; left: 0; top: 0; z-index: 9999; width: 7px; height: 7px;
  border-radius: 50%; pointer-events: none; background: var(--theme-accent);
  transform: translate3d(-50%,-50%,0); opacity: 0; transition: opacity .18s ease, width .18s ease, height .18s ease;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--theme-accent) 38%, transparent);
}
.premium-cursor.is-visible { opacity: .82; }
.premium-cursor.is-active { width: 11px; height: 11px; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .premium-cursor { display: none; }
  body { opacity: 1; transition: none; }
}
.mixed-media-grid .media-card { min-height: 0; }
.other-universe { color: #fff; }
.other-universe strong { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.42); }
.other-universe em { color: rgba(255,255,255,.88); }
body[data-theme="real-estate"] .other-universe strong { color: #fff; }
body[data-theme="real-estate"] .other-universe em { color: rgba(255,255,255,.92); }
.niche-faq { padding-block: clamp(4.5rem,8vw,7rem); border-top: 1px solid var(--line); }
.niche-faq .faq-list { max-width: 58rem; }
.niche-faq details { border-bottom: 1px solid var(--line); }
.niche-faq details p { margin: 0 0 1.35rem; max-width: 52rem; }

/* ==========================================================================
   FINITIONS — entrée hero orchestrée, révélation au défilement, cohérence
   des courbes de transition. Ajouté sans modifier la charte existante.
   ========================================================================== */

/* Entrée du hero : un seul mouvement dirigé au chargement, pas d'effets épars. */
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy > *, .niche-hero-copy > * { animation: heroRise .8s cubic-bezier(.16,1,.3,1) both; }
.hero-copy > :nth-child(1), .niche-hero-copy > :nth-child(1) { animation-delay: .04s; }
.hero-copy > :nth-child(2), .niche-hero-copy > :nth-child(2) { animation-delay: .11s; }
.hero-copy > :nth-child(3), .niche-hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4), .niche-hero-copy > :nth-child(4) { animation-delay: .25s; }
.hero-copy > :nth-child(5), .niche-hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-copy > :nth-child(6), .niche-hero-copy > :nth-child(6) { animation-delay: .39s; }
@keyframes heroShotFade { from { opacity: 0; } to { opacity: 1; } }
.hero-shot, .niche-star { animation: heroShotFade .9s ease both; }
.hero-shot-2, .niche-star-2 { animation-delay: .12s; }
.hero-shot-3, .niche-star-3 { animation-delay: .22s; }

/* Révélation au défilement : la classe .reveal n'est posée que par le JS
   (progressive enhancement — si le script ne charge pas, tout reste visible). */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
.service-grid > .reveal:nth-child(2), .price-grid > .reveal:nth-child(2), .other-universe-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.service-grid > .reveal:nth-child(3), .price-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.process ol > .reveal:nth-child(2) { transition-delay: .06s; }
.process ol > .reveal:nth-child(3) { transition-delay: .12s; }
.process ol > .reveal:nth-child(4) { transition-delay: .18s; }
.mixed-media-grid > .reveal:nth-child(2), .video-grid > .reveal:nth-child(2) { transition-delay: .06s; }
.mixed-media-grid > .reveal:nth-child(3), .video-grid > .reveal:nth-child(3) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .niche-hero-copy > *, .hero-shot, .niche-star, .reveal, .reveal.is-revealed {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* Même signature d'accélération que les cartes médias, appliquée partout où
   une transition existait déjà avec un simple "ease". */
.button, .site-header, .gallery-card img, .project-images img, .text-link span {
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}

/* Les sous-titres visuels affichés sur chaque photo (hero, univers, portfolio)
   sont retirés partout : le texte alternatif (alt) reste présent pour le
   référencement et l'accessibilité, seul l'affichage visuel disparaît. */
.hero-shot figcaption,
.niche-star figcaption,
.media-card-photo figcaption,
.gallery-card figcaption {
  display: none;
}

/* =========================================================
   MOBILE — accueil : les photos d'abord, puis le texte.
   Un photographe doit montrer son travail dès le premier écran.
   ========================================================= */
@media (max-width: 680px) {
  .hero { padding-top: 5.6rem; gap: 1.6rem; }
  .hero-gallery { order: -1; min-height: 0; height: min(78vw, 330px); }
  .hero-copy h1 { font-size: clamp(2.5rem, 11.2vw, 3.6rem); }
}

/* =========================================================
   MOBILE — barre de contact rapide (Appeler / WhatsApp)
   ========================================================= */
.quick-contact { display: none; }
@media (max-width: 760px) {
  .quick-contact {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    padding: .6rem max(.75rem, env(safe-area-inset-left)) calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(10,10,9,.92); border-top: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .quick-contact a {
    min-height: 48px; display: flex; align-items: center; justify-content: center; gap: .55rem;
    border: 1px solid rgba(244,240,232,.28); color: #f4f0e8; font-weight: 700;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  }
  .quick-contact a.quick-whatsapp { background: var(--theme-accent, #b99a62); border-color: transparent; color: #0a0a09; }
  .quick-contact svg { width: 18px; height: 18px; flex: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-open .quick-contact, .lightbox[open] ~ .quick-contact { display: none; }
}

/* =========================================================
   AVIS CLIENTS (accueil + pages univers)
   Couleurs reprises du thème de la page (sombre ou clair).
   ========================================================= */
.testimonials { padding-block: clamp(4rem, 8vw, 7rem); }
.testimonials .section-heading { align-items: end; }
.testimonial-rating { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .9rem; color: var(--muted); }
.testimonial-rating > span, .testimonial-stars { color: var(--theme-accent, #b99a62); }
.testimonial-rating strong { color: var(--text); }
.testimonial-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.testimonial-card { margin: 0; padding: clamp(1.3rem, 2.5vw, 2rem); border: 1px solid var(--line); background: rgba(255,255,255,.025); display: flex; flex-direction: column; gap: 1.1rem; }
.testimonial-stars { letter-spacing: .2em; font-size: .85rem; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--text); }
.testimonial-card blockquote p::before { content: "« "; }
.testimonial-card blockquote p::after { content: " »"; }
.testimonial-card figcaption { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: .2rem; }
.testimonial-card figcaption strong { font-size: .9rem; color: var(--text); }
.testimonial-card figcaption span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.testimonials-single .testimonial-grid { grid-template-columns: minmax(0, 52rem); }
@media (max-width: 980px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* Bouton « Voir plus » sous les galeries longues */
.collapse-more { display: flex; justify-content: center; margin-top: 2rem; }
.collapse-more .button { min-width: min(100%, 320px); }
[data-collapse] > [hidden] { display: none !important; }

/* Mobile : menu plein écran opaque + zones tactiles d'au moins 44 px */
@media (max-width: 980px) {
  .mobile-panel { background: #080808; min-height: calc(100svh - 70px); }
  body[data-theme="real-estate"] .mobile-panel { background: #eee9df; }
}
@media (max-width: 760px) {
  .service-card a, .project-copy .text-link, .site-footer .footer-grid a, .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
}
