:root {
  --bg: #070708;
  --panel: #101013;
  --panel-2: #17171b;
  --ink: #f2f2f4;
  --muted: #9a9da8;
  --red: #e5232b;
  --silver: #d9dbe0;
  --line: #232329;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 84px;
  display: flex; align-items: center; padding: 0 5vw;
  border-bottom: 1px solid transparent; transition: .3s;
}
.nav.scrolled { height: 68px; background: #070708eb; backdrop-filter: blur(15px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-name {
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 17px;
  letter-spacing: .08em; line-height: 1.15; text-transform: uppercase;
}
.brand-name b { display: block; font-size: 10px; font-weight: 700; letter-spacing: .38em; color: var(--red); }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: 13px; color: #a8abb5; }
.nav nav > a:hover { color: var(--ink); }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-weight: 600; }
.nav-cta { border: 1px solid #34353d; padding: 12px 18px; color: var(--ink) !important; }
.nav-cta span, .btn span { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; }

/* ---------- Typo commune ---------- */
.kicker, .section-number {
  font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .22em; color: #9ca0ab; text-transform: uppercase;
}
.kicker { display: flex; gap: 12px; align-items: center; justify-content: inherit; }
.kicker > span { width: 24px; height: 1px; background: var(--red); }
h1, h2 {
  font-family: Manrope, sans-serif; letter-spacing: -.045em; line-height: 1.02;
  margin: 22px 0; font-weight: 500;
}
h1 { font-size: clamp(46px, 5.5vw, 92px); }
h2 { font-size: clamp(32px, 3.6vw, 56px); }
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--red), var(--silver));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-family: Manrope, sans-serif; font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; font-size: 20px; }
p { line-height: 1.65; }
section { padding: 110px 5vw; }
.section-intro { max-width: 720px; color: var(--muted); font-size: 17px; }

/* ---------- Boutons ---------- */
.btn { padding: 16px 26px; font-size: 15px; }
.btn.primary { background: linear-gradient(100deg, #551114, #2b0b0d); border: 1px solid #b3272e; }
.btn.primary:hover { filter: brightness(1.2); }
.text-link { font-weight: 600; font-size: 14px; color: #a8abb5; }
.text-link:hover { color: var(--ink); }
.text-link span { color: var(--red); }

/* ---------- Shots (visuels moteur) ---------- */
.shot { display: block; position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.shot img { width: 100%; height: auto; }
.shot.pano { aspect-ratio: 1920 / 720; }
.shot.pano img { height: 100%; object-fit: cover; }
.shot.pending { background:
  radial-gradient(ellipse at 20% 80%, #451114cc 0, transparent 55%),
  radial-gradient(ellipse at 80% 20%, #26262ccc 0, transparent 55%),
  var(--panel-2);
}
.pending-label { display: none; }
.shot.pending .pending-label {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
  font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .25em; color: #7d808c; text-align: center; padding: 0 20px;
}
.shot-caption { color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; padding: 150px 5vw 44px; text-align: center;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero:after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 62% 50% at 50% 42%, #070708b3 0, transparent 100%),
    linear-gradient(180deg, #070708f2 0%, #070708ad 24%, #07070875 46%, #07070882 72%, #070708 97%);
}
.hero > *:not(.hero-bg) { position: relative; z-index: 2; }
.hero-copy { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { text-shadow: 0 2px 34px #000000cc, 0 1px 4px #00000080; }
.hero-intro { max-width: 780px; color: #c9cbd4; font-size: 17px; text-shadow: 0 1px 18px #000000e6, 0 1px 3px #000000a6; }
.hero-actions { display: flex; gap: 34px; align-items: center; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 10px; margin: 34px 0 0;
  border: 1px solid #ffffff2b; border-radius: 999px; padding: 10px 18px;
  background: #07070859; backdrop-filter: blur(10px);
  font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #e3e4ea;
}
.hero-proof > span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-stats {
  list-style: none; padding: 0; max-width: 1100px; margin: 58px auto 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; width: 100%;
}
.hero-stats li { border: 1px solid #ffffff1f; background: #0d0d1066; backdrop-filter: blur(10px); padding: 18px 10px; border-radius: 12px; }
.hero-stats b { display: block; font-family: Manrope, sans-serif; font-size: 17px; letter-spacing: -.02em; }
.hero-stats span { font-size: 12px; color: var(--muted); }

/* ---------- Temps réel ---------- */
.realtime { max-width: 1100px; margin: 0 auto; }
.data-chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.data-chips li {
  border: 1px solid var(--line); background: var(--panel); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; color: #c6c8d0;
}
.data-chips li:last-child { border-style: dashed; color: var(--muted); }

/* ---------- Thèmes ---------- */
.themes-section { background: linear-gradient(180deg, transparent, #0c0c0f 12%, #0c0c0f 88%, transparent); }
.themes-head { max-width: 1100px; margin: 0 auto 60px; }
.theme-card { max-width: 1250px; margin: 0 auto; }
.theme-card .theme-copy { padding: 26px 6px 0; }
.theme-tag {
  font-family: Manrope, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .25em;
  color: var(--red); border: 1px solid #5c1d21; border-radius: 999px; padding: 6px 12px; display: inline-block;
}
.theme-card h3 { font-size: 26px; margin: 14px 0 8px; }
.theme-card p { color: var(--muted); margin: 0; max-width: 820px; }
.theme-card.feature { margin-bottom: 70px; }

.etat-stage { position: relative; }
.etat-stage .shot { display: none; }
.etat-stage .shot.is-active { display: block; }
.etat-tabs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.etat-tabs button {
  font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); background: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: .2s;
}
.etat-tabs button:hover { color: var(--ink); }
.etat-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--red); background: #e5232b14; }

.theme-grid {
  max-width: 1250px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 46px 30px;
}
.theme-grid .theme-card h3 { font-size: 22px; }

.more-themes { max-width: 1250px; margin: 70px auto 0; border-top: 1px solid var(--line); padding-top: 34px; }
.more-themes > p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.more-themes ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.more-themes li { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--panel); }
.more-themes b { font-family: Manrope, sans-serif; display: block; font-size: 15px; }
.more-themes span { font-size: 12px; color: var(--muted); }

.themes-cta {
  max-width: 1250px; margin: 70px auto 0; text-align: center;
  border: 1px solid var(--line); border-radius: 16px; padding: 46px 24px;
  background: radial-gradient(circle at 50% 130%, #400f13 0, transparent 60%), var(--panel);
}
.themes-cta p { font-family: Manrope, sans-serif; font-size: 22px; letter-spacing: -.02em; margin: 0 0 24px; }
.themes-cta b { background: linear-gradient(100deg, var(--red), var(--silver)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Éditeur ---------- */
.editor-head { max-width: 1100px; margin: 0 auto 50px; }
.editor-shots { max-width: 1250px; margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.editor-shots .shot { aspect-ratio: 16 / 9; }
.editor-features {
  max-width: 1250px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.editor-features article { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 24px; }
.editor-features h3 { font-size: 16px; }
.editor-features p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- Technique ---------- */
.tech-section { background: linear-gradient(180deg, transparent, #0c0c0f 15%, #0c0c0f 85%, transparent); }
.tech-head { max-width: 1100px; margin: 0 auto 50px; }
.tech-grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-grid article { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 28px; position: relative; overflow: hidden; }
.tech-grid article > span {
  position: absolute; top: 14px; right: 18px;
  font-family: Manrope, sans-serif; font-size: 34px; font-weight: 700; letter-spacing: -.04em;
  color: #ffffff0d;
}
.tech-grid h3 { font-size: 18px; }
.tech-grid p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Histoire ---------- */
.story-head { max-width: 1100px; margin: 0 auto 50px; }
.story-steps {
  max-width: 1250px; margin: 0 auto; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step;
}
.story-steps li { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.story-steps li:before {
  content: ''; position: absolute; top: -1px; left: 0; width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--red), var(--silver));
}
.story-steps span { font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700; color: var(--red); }
.story-steps h3 { margin: 12px 0 8px; font-size: 18px; }
.story-steps p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-section { max-width: 900px; margin: 0 auto; }
.faq-list { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 4px; position: relative;
  font-family: Manrope, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 22px; font-weight: 400; transition: .2s;
}
.faq-list details[open] summary:after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0 0 24px; padding-right: 40px; }

/* ---------- Contact ---------- */
.contact {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(circle at 50% 120%, #400f13 0, transparent 55%);
}
.contact p { max-width: 560px; color: var(--muted); }
.contact .btn { margin-top: 12px; }
.contact small { margin-top: 16px; color: #7d808c; font-size: 12px; }

/* ---------- Pages internes ---------- */
.breadcrumb {
  font-family: Manrope, sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; color: #7d808c; margin-bottom: 26px;
}
.breadcrumb a { color: #9a9da8; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: #5f626e; margin: 0 8px; }
.gallery { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gallery .shot.wide { grid-column: 1 / -1; }
.compteur-copy { max-width: 1100px; margin: 54px auto 0; }
.compteur-copy p { color: var(--muted); max-width: 820px; }
.also { max-width: 1250px; margin: 70px auto 0; border-top: 1px solid var(--line); padding-top: 30px; }
.also > p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.also ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.also a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--panel); font-family: Manrope, sans-serif; font-weight: 600; font-size: 15px; }
.also a:hover { border-color: var(--red); }
.also a span { color: var(--red); margin-left: 8px; }
.hub-grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px 30px; }
.hub-grid .theme-card h2 { font-size: 24px; margin: 14px 0 8px; line-height: 1.2; letter-spacing: -.02em; }
.hub-grid .theme-card h2 a:hover { color: var(--red); }
.hub-grid .card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: #a8abb5; }
.hub-grid .card-link:hover { color: var(--ink); }
.hub-grid .card-link span { color: var(--red); }
@media (max-width: 780px) { .gallery, .hub-grid { grid-template-columns: 1fr; } }

.page-hero { max-width: 1100px; margin: 0 auto; padding: 190px 5vw 0; }
.page-hero h1 { font-size: clamp(36px, 4.3vw, 64px); }
.section-intro a, .faq-list a, .story-steps a { color: var(--ink); border-bottom: 1px solid var(--red); }
.section-more { max-width: 1250px; margin: 36px auto 0; }
.themes-section .theme-grid .theme-card h2 { font-size: 24px; margin: 14px 0 8px; line-height: 1.2; letter-spacing: -.02em; }
@media (max-width: 780px) { .page-hero { padding-top: 140px; } }

/* ---------- Tarifs ---------- */
.pricing { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.price-card { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 36px; }
.price-card.main { border-color: #b3272e; background: radial-gradient(circle at 50% 130%, #400f13 0, transparent 60%), var(--panel); }
.price-card h2 { font-size: 26px; margin: 16px 0 6px; }
.price-card .price { margin: 0 0 18px; }
.price-card .price b { font-family: Manrope, sans-serif; font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.price-card .price span { color: var(--muted); font-size: 15px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.price-card li { padding: 10px 0 10px 26px; position: relative; color: #c6c8d0; font-size: 15px; line-height: 1.5; border-bottom: 1px solid #ffffff0d; }
.price-card li:last-child { border-bottom: 0; }
.price-card li:before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.price-card li a { color: var(--ink); border-bottom: 1px solid var(--red); }
.pricing-note { max-width: 1100px; margin: 40px auto 0; color: var(--muted); font-size: 15px; }
.pricing-note a { color: var(--ink); border-bottom: 1px solid var(--red); }
@media (max-width: 780px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Page contact / devis ---------- */
.contact-page { max-width: 760px; margin: 0 auto; padding-top: 170px; min-height: 70vh; }
.contact-page-head { margin-bottom: 46px; }
.contact-page h1 { font-size: clamp(34px, 4vw, 58px); }
.success-head { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 40px; }
.form-error {
  border: 1px solid #b3272e; background: #e5232b14; color: #ff9a9e;
  border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 24px;
}
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-form label { display: flex; flex-direction: column; gap: 8px; }
.quote-form label > span {
  font-family: Manrope, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #9ca0ab;
}
.quote-form input, .quote-form select, .quote-form textarea {
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; outline: none; transition: border-color .2s; width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--red); }
.quote-form textarea { resize: vertical; min-height: 150px; }
.quote-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9ca0ab 50%), linear-gradient(135deg, #9ca0ab 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.quote-form ::placeholder { color: #5f626e; }
.quote-form .btn { align-self: flex-start; margin-top: 6px; }
.quote-form small { color: #7d808c; font-size: 12px; }
@media (max-width: 780px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 50px 5vw;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.footer-brand img { width: 130px; }
.footer-brand p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.footer-links { margin-left: auto; display: flex; gap: 24px; font-size: 13px; color: #a8abb5; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { width: 100%; display: flex; justify-content: space-between; color: #5f626e; font-size: 12px; }
.footer-legal p { margin: 4px 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .editor-features { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .story-steps { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  section { padding: 80px 6vw; }
  .nav { padding: 0 6vw; }
  .nav { height: 76px; }
  .nav.scrolled { height: 64px; }
  .brand { gap: 11px; }
  .brand img { width: 58px; height: 58px; }
  .brand-name { font-size: 19px; }
  .brand-name b { font-size: 11px; letter-spacing: .3em; }
  .menu-toggle { display: flex; flex-direction: column; gap: 8px; margin-left: auto; padding: 12px; cursor: pointer; }
  .menu-toggle span { width: 34px; height: 3px; border-radius: 2px; background: var(--ink); }
  .nav nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #070708f7; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 18px 6vw 28px; display: none; gap: 0;
    font-size: 19px; font-family: Manrope, sans-serif; font-weight: 600; color: var(--ink);
  }
  .nav nav.open { display: flex; }
  .nav nav > a { padding: 16px 2px; border-bottom: 1px solid #ffffff12; }
  .nav nav > a:last-of-type { border-bottom: 0; }
  .nav-cta { margin-top: 14px; padding: 16px 20px; font-size: 17px; justify-content: space-between; border-color: #b3272e; background: #e5232b14; }
  .theme-grid, .editor-shots { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; min-height: 100svh; justify-content: flex-end; }
  .hero-bg img { object-position: 50% 30%; }
  .hero:after {
    background:
      linear-gradient(180deg, #070708e6 0%, #07070899 18%, #07070882 42%, #070708c4 68%, #070708 94%);
  }
  h1 { font-size: clamp(36px, 10vw, 46px); }
  h2 { font-size: clamp(28px, 7.5vw, 34px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 34px; }
  .hero-stats li:last-child { grid-column: 1 / -1; }
  .hero-proof { margin-top: 24px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; }
}
