/* ============================================================
   ELGÉ STUDIO — v3 « Minimal »
   Blanc, une sans-serif, une serif italique d'accent.
   Rien ne distrait. Tout mène au contact.
   ============================================================ */

:root {
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --bg: #FFFFFF;
  --ink: #0A0A0A;
  --muted: #6F6F6A;
  --soft: #F5F5F1;
  --line: #E9E9E4;
  --green: #3BA55D;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

::selection { background: var(--ink); color: #fff; }

/* ---------- Utilitaires ---------- */
.container { max-width: 68rem; margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: 6.5rem; }

.small-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 1.5rem;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }

.title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 1.25rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 36rem; }

/* ---------- Liens & boutons ---------- */
a { color: inherit; }

.link {
  text-decoration: none; font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: opacity 0.25s;
}
.link:hover { opacity: 0.55; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.8rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #2E2E2A; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- Disponibilité ---------- */
.avail {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.avail .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: breathe 2.4s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .avail .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAVIGATION — pilule flottante : logo · liens · CTA
   Alignement vertical garanti : tout est centré dans 54px,
   le CTA a une hauteur fixe, les liens une ligne de base neutre.
   ============================================================ */
.nav {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 100; max-width: calc(100% - 2rem);
}
.nav-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 6px; padding-left: 10px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(10, 10, 10, 0.08); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -16px rgba(0, 0, 0, 0.18);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-size: 0.9rem; font-weight: 500; line-height: 1;
  text-decoration: none; padding: 11px 13px; border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(10, 10, 10, 0.05); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px;
  font-size: 0.88rem; font-weight: 500; line-height: 1;
  background: var(--ink); color: #fff; border-radius: 999px; text-decoration: none;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.nav-cta:hover { background: #2E2E2A; transform: scale(1.03); }

/* Sur mobile, la pilule garde un seul lien essentiel (.m) + le CTA :
   « Accueil » sur les sous-pages, « Projets » sur l'accueil.
   Le lien devient une pilule bordée, jumelle du CTA. */
@media (max-width: 719px) {
  .nav-links a { display: none; }
  .nav-links a.m {
    display: inline-flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 18px;
    border: 1px solid var(--line); border-radius: 999px;
    color: var(--ink); font-size: 0.88rem;
    transition: border-color 0.25s, background 0.25s;
  }
  .nav-links a.m:hover { background: var(--soft); border-color: #DDDDD6; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: 11rem 6rem; }
.hero .avail { margin-bottom: 2.25rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.04;
  max-width: 56rem; margin-bottom: 2rem;
}
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin-bottom: 2.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-fields {
  display: flex; gap: 0.6rem 1.6rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
}

/* ============================================================
   PROJETS — tailles naturelles, rien n'est recadré
   ============================================================ */
.work-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  margin-bottom: 2.5rem;
}
.work-count { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.project { cursor: pointer; }
.project.feature { margin-bottom: 2.75rem; }

/* Grille masonry : chaque média garde ses proportions d'origine */
.work-masonry { columns: 1; column-gap: 2rem; }
@media (min-width: 720px) { .work-masonry { columns: 2; } }
.work-masonry .project { break-inside: avoid; margin-bottom: 2.75rem; }

.p-frame {
  position: relative; border-radius: 10px; overflow: hidden; background: var(--soft);
}
.p-frame img {
  width: 100%; height: auto; display: block;
  transition: transform 0.9s var(--ease);
}
.p-frame.video { aspect-ratio: 16/9; }
.p-frame.video video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.p-frame.video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100.5%; height: 100.5%; border: 0; pointer-events: none;
}
.project:hover .p-frame img, .project:hover .p-frame video { transform: scale(1.02); }

.project-meta {
  display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; row-gap: 0.15rem;
  padding-top: 0.9rem;
}
.project-meta .idx { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.project-meta h3 { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; min-width: 0; }
.project-meta .cat { color: var(--muted); font-size: 0.85rem; margin-left: auto; flex-shrink: 0; }
.project-meta .arrow {
  color: var(--muted); font-size: 0.9rem;
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.project:hover .project-meta .arrow { opacity: 1; transform: none; }
.project:hover .project-meta h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ============================================================
   SERVICES — LISTE TEXTE
   ============================================================ */
.services { border-top: 1px solid var(--line); }
.service-line {
  display: grid; grid-template-columns: 1fr; gap: 0.4rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line);
}
.service-line h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; }
.service-line .num { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.service-line .detail { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 800px) {
  .service-line { grid-template-columns: 5rem 1fr 1.2fr; align-items: baseline; gap: 2rem; }
}

/* ============================================================
   À PROPOS
   ============================================================ */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
.about-photo {
  width: 100%; max-width: 300px;
  aspect-ratio: 4/5; object-fit: cover; border-radius: 10px;
}
.about-text p { color: var(--muted); margin-bottom: 1rem; max-width: 36rem; }
.about-text p strong { color: var(--ink); font-weight: 500; }
.about-facts { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.about-fact .n { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.about-fact .l { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 300px 1fr; gap: 4.5rem; }
}

/* ============================================================
   PACK 360 — CARTE SOBRE
   ============================================================ */
.pack-card {
  background: var(--soft); border-radius: 16px;
  padding: 3rem 2rem; display: flex; flex-direction: column; gap: 1.75rem;
}
.pack-card h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 500; letter-spacing: -0.025em; max-width: 34rem; }
.pack-card > p { color: var(--muted); max-width: 34rem; }
.pack-points { display: flex; gap: 2rem; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.pack-points span { display: flex; align-items: center; gap: 0.5rem; }
.pack-points .tick { color: var(--ink); font-weight: 600; }
.pack-foot { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.pack-price { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.pack-price small { color: var(--muted); font-size: 0.85rem; font-weight: 400; }
@media (min-width: 800px) { .pack-card { padding: 4rem; } }

/* ============================================================
   MÉTHODE
   ============================================================ */
.steps { display: grid; gap: 2.5rem; margin-top: 3rem; }
.step .num { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.step h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.6rem; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.25rem; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-media { width: 100%; max-width: 1050px; display: flex; align-items: center; justify-content: center; }
.lightbox-media img, .lightbox-media video { max-width: 100%; max-height: 74svh; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.25); }
.lightbox-media .vimeo-wrap { position: relative; width: min(1050px, 100%); aspect-ratio: 16/9; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.25); border-radius: 10px; }
.lightbox-media .vimeo-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lightbox-caption { text-align: center; margin-top: 1.5rem; }
.lightbox-caption h3 { font-size: 1.15rem; font-weight: 500; }
.lightbox-caption p { color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
.lightbox-close, .lightbox-nav {
  background: var(--soft); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--ink); color: #fff; }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }

/* ============================================================
   PAGE OFFRE 360
   ============================================================ */
.offre-hero { padding-block: 11rem 5rem; }
.offre-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; letter-spacing: -0.035em; max-width: 50rem; margin-bottom: 1.75rem; }
.offre-hero .lead { margin-bottom: 3rem; }
.demo-frame {
  position: relative; aspect-ratio: 16/9; border-radius: 14px;
  overflow: hidden; background: var(--soft); border: 1px solid var(--line);
}
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .demo-frame { aspect-ratio: 4/5; } }

.compare-grid { display: grid; gap: 1.5rem; }
.compare-card { border-radius: 14px; padding: 2.5rem; }
.compare-card.bad { background: var(--soft); }
.compare-card.good { background: var(--ink); color: #fff; }
.compare-card .small-label { margin-bottom: 0.9rem; }
.compare-card.good .small-label { color: rgba(255,255,255,0.55); }
.compare-card h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.4rem; letter-spacing: -0.02em; }
.compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.compare-card li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }
.compare-card.bad li { color: var(--muted); }
.compare-card.good li { color: rgba(255,255,255,0.85); }
.x { color: #C0564A; font-weight: 700; flex-shrink: 0; }
.v { font-weight: 700; flex-shrink: 0; }
.compare-card.bad .v { color: var(--green); }
.compare-card.good .v { color: #8FD6A4; }
@media (min-width: 800px) { .compare-grid { grid-template-columns: 1fr 1fr; } }

.inclus-grid { display: grid; gap: 2.5rem; margin-top: 3rem; }
.inclus h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.inclus ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.inclus li { display: flex; gap: 0.55rem; }
.inclus .v { color: var(--green); }
@media (min-width: 800px) { .inclus-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Prix & ROI */
.pricing-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.roi-card {
  background: var(--soft); border-radius: 14px;
  padding: 2.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.roi-card h2 { font-size: 1.65rem; font-weight: 500; margin-bottom: 0.9rem; letter-spacing: -0.02em; }
.roi-card > div > p { color: var(--muted); }
.roi-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; margin: 1.75rem 0 0.9rem; }
.roi-label output { font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"].roi-slider {
  width: 100%; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 2px;
  background: #DDDDD6; outline: none;
}
input[type="range"].roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer;
}
input[type="range"].roi-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 3px solid #fff; cursor: pointer;
}
.roi-result { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem 1.9rem; }
.roi-result .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.roi-result .value { font-size: 2.3rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.price-card {
  background: var(--ink); color: #fff; border-radius: 14px; padding: 2.75rem;
  display: flex; flex-direction: column;
}
.price-old { text-decoration: line-through; color: rgba(255,255,255,0.45); font-size: 0.95rem; }
.price-now { font-size: 3.4rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.5rem; }
.price-now small { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.55); }
.price-card ul {
  list-style: none; display: flex; flex-direction: column; gap: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.4rem; margin-bottom: 2rem;
  color: rgba(255,255,255,0.85);
}
.price-card li { display: flex; gap: 0.6rem; }
.price-card .v { color: #8FD6A4; }
.price-card .btn { border-color: #fff; background: #fff; color: var(--ink); }
.price-card .btn:hover { background: transparent; color: #fff; }
.price-trust {
  display: flex; justify-content: space-between; gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.14); margin-top: 1.75rem; padding-top: 1.3rem;
}
.price-trust span {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.6); text-align: center;
}
.price-trust svg { width: 17px; height: 17px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { max-width: 44rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.35rem 0; }
.faq summary {
  font-size: 1.05rem; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { color: var(--muted); transition: transform 0.3s; flex-shrink: 0; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .answer { color: var(--muted); margin-top: 0.85rem; }

/* Sticky CTA */
.sticky-cta {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 90;
  width: min(440px, calc(100% - 2rem));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.55rem 0.55rem 0.55rem 1.4rem;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.2);
  opacity: 0; pointer-events: none; transform: translate(-50%, 16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.sticky-cta.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sticky-cta strong { font-size: 0.92rem; font-weight: 600; display: block; letter-spacing: -0.01em; }
.sticky-cta small { color: var(--muted); font-size: 0.78rem; }
.sticky-cta .btn { padding: 0.6rem 1.25rem; font-size: 0.87rem; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal { max-width: 44rem; margin-inline: auto; padding: 10rem 1.5rem 6rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 3.5rem; }
.legal article { margin-bottom: 2.75rem; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.legal p { color: var(--muted); margin-bottom: 0.9rem; }
.legal ul { color: var(--muted); padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.9rem; }
.legal a { color: var(--ink); }
.legal strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   CONTACT / FOOTER — compact : deux colonnes, une ligne de pied
   ============================================================ */
.contact { border-top: 1px solid var(--line); padding: 5.5rem 0 1.75rem; }
.contact-inner {
  max-width: 34rem; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.contact h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 500; letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}
.contact .avail { margin-bottom: 2.5rem; }
.contact-inner .contact-form { width: 100%; text-align: left; }
.contact-inner .contact-form .btn { align-self: stretch; width: 100%; }
.contact-alt { color: var(--muted); font-size: 0.95rem; margin-top: 1.75rem; }
.contact-alt a { color: var(--ink); }

.footer-bottom {
  display: flex; flex-direction: column; gap: 1.1rem;
  border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 1.5rem;
  font-size: 0.82rem; color: var(--muted);
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-brand svg { height: 16px; width: auto; fill: var(--ink); flex-shrink: 0; }
.footer-bottom a { color: inherit; text-decoration: none; transition: color 0.25s; }
.footer-bottom a:hover { color: var(--ink); }
.footer-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   MOBILE — le site doit vivre sur téléphone (< 720px)
   Rythme resserré, CTA pleine largeur, tout respire sans déborder.
   ============================================================ */
@media (max-width: 719px) {
  .section { padding-block: 4.25rem; }
  .container { padding-inline: 1.25rem; }

  /* Navbar : logo flottant à gauche, pilule CTA seule */
  .nav { top: 0.85rem; }
  .nav-logo { top: 0.85rem; left: 1.25rem; height: 52px; }
  .nav-logo svg { height: 21px; }
  .nav-inner { gap: 0; padding: 6px; }
  .nav-cta { height: 40px; padding: 0 19px; }

  /* Hero */
  .hero { padding-block: 8.5rem 4rem; }
  .hero .avail { margin-bottom: 1.75rem; }
  .hero h1 { margin-bottom: 1.5rem; }
  .hero p { font-size: 1.05rem; margin-bottom: 2.25rem; }
  .hero-actions { width: 100%; gap: 1.25rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link { margin-inline: auto; }

  /* Projets */
  .work-head { margin-bottom: 1.9rem; }
  .work-masonry { column-gap: 1.25rem; }
  .work-masonry .project, .project.feature { margin-bottom: 2.1rem; }
  .project-meta { padding-top: 0.75rem; }

  /* Services */
  .service-line { padding: 1.6rem 0; }
  .service-line h3 { font-size: 1.3rem; }

  /* Studio */
  .about-grid { gap: 2rem; }
  .about-photo { width: min(300px, 72vw); margin-inline: 0; }
  .about-facts { gap: 1.4rem 2.2rem; margin-top: 1.6rem; }

  /* Pack 360 */
  .pack-card { padding: 2.25rem 1.5rem; gap: 1.4rem; }
  .pack-points { flex-direction: column; gap: 0.7rem; }
  .pack-foot { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .pack-foot .btn { width: 100%; }
  .pack-price { text-align: center; }

  /* Méthode */
  .steps { gap: 2rem; margin-top: 2.25rem; }

  /* Page Offre 360 */
  .offre-hero { padding-block: 8.5rem 3.25rem; }
  .compare-card { padding: 1.9rem 1.4rem; }
  .roi-card, .price-card { padding: 2rem 1.4rem; }
  .price-now { font-size: 2.9rem; }
  .price-trust { gap: 0.5rem; }
  .inclus-grid { gap: 2rem; margin-top: 2.25rem; }

  /* Contact / Footer */
  .contact { padding: 5rem 0 1.6rem; }
  .contact .avail { margin-bottom: 2rem; }
  .footer-actions { gap: 0.8rem; }
  .footer-actions .btn { flex: 1 1 100%; }
  .copy-msg { bottom: auto; top: calc(100% + 0.5rem); }
  .footer-bottom { margin-top: 3.5rem; }

  /* Pages légales */
  .legal { padding: 8rem 1.25rem 4rem; }
}

/* ============================================================
   BADGE LECTURE — vignettes vidéo (l'aperçu animé ne se charge
   que sur grand écran, injecté par main.js)
   ============================================================ */
.p-frame .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  pointer-events: none;
}
.p-frame .play svg { width: 20px; height: 20px; margin-left: 3px; }
.project:hover .p-frame .play { transform: translate(-50%, -50%) scale(1.08); }
.p-frame.live .play { opacity: 0; }

/* ============================================================
   FORMULAIRE DE CONTACT
   ============================================================ */
.contact-form {
  max-width: 34rem; margin-top: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form .form-intro { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.25rem; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row label { flex: 1 1 14rem; }
.contact-form label {
  display: flex; flex-direction: column; gap: 0.45rem;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem;
  background: var(--soft); border: 1px solid var(--line); border-radius: 10px;
  outline: none; transition: border-color 0.25s;
  width: 100%; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }
@media (max-width: 719px) {
  .contact-form .btn { align-self: stretch; width: 100%; }
}

/* ============================================================
   TÉMOIGNAGES (prêt — sera activé avec les vraies citations)
   ============================================================ */
.quotes { display: grid; gap: 1.4rem; margin-top: 3rem; }
.quote {
  background: var(--soft); border-radius: 14px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.quote p { font-size: 1.05rem; line-height: 1.6; }
.quote footer { color: var(--muted); font-size: 0.88rem; }
.quote footer strong { color: var(--ink); font-weight: 500; display: block; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   PAGES 404 / MERCI
   ============================================================ */
.simple-page {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  max-width: 68rem; margin-inline: auto; padding: 7rem 1.5rem 4rem;
}
.simple-page h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.035em; margin-bottom: 1.25rem; max-width: 34rem; }
.simple-page p { color: var(--muted); font-size: 1.1rem; max-width: 30rem; margin-bottom: 2.5rem; }

/* ============================================================
   DEUX PORTES — chaque visiteur trouve son chemin
   (sur-mesure pour les marques, pack fixe pour l'immobilier)
   ============================================================ */
.doors { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
.door {
  border-radius: 16px; padding: 2.5rem; background: var(--soft);
  display: flex; flex-direction: column; gap: 1.15rem; align-items: flex-start;
}
.door .small-label { margin-bottom: 0; }
.door h3 { font-size: 1.55rem; font-weight: 500; letter-spacing: -0.02em; }
.door > p { color: var(--muted); }
.door-points { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; color: var(--muted); font-size: 0.95rem; }
.door-points li { display: flex; gap: 0.6rem; }
.door-points li::before { content: "✓"; color: var(--green); font-weight: 700; }
.door .btn { margin-top: 0.75rem; }
.door.dark { background: var(--ink); color: #fff; }
.door.dark > p, .door.dark .door-points, .door.dark .small-label { color: rgba(255, 255, 255, 0.72); }
.door.dark .door-points li::before { color: #8FD6A4; }
.door-btn { background: #fff; color: var(--ink); border-color: #fff; }
.door-btn:hover { background: transparent; color: #fff; }
@media (min-width: 800px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door { padding: 2.75rem; }
}
@media (max-width: 719px) {
  .door { padding: 2rem 1.5rem; }
  .door .btn { width: 100%; }
}

/* ---------- Accessibilité clavier ---------- */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   V5 — signature graphique
   ============================================================ */

/* Transitions fondues entre les pages (navigateurs récents) */
@view-transition { navigation: auto; }

/* Surlignage « marqueur » — la seule touche de couleur du site */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.05em;
  height: 0.22em; background: rgba(59, 165, 93, 0.28);
  border-radius: 3px; z-index: -1;
}

/* Page Projets : en-tête + filtres */
.page-head { padding-block: 10rem 0.5rem; }
.page-head h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500; letter-spacing: -0.035em; margin-bottom: 1rem;
}
.page-head .lead { margin-bottom: 0; }

.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2.25rem 0 2.75rem; }
.chip {
  padding: 0.55rem 1.15rem; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; font-family: inherit; font-size: 0.88rem; font-weight: 500;
  color: var(--muted); cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { opacity: 0.55; margin-left: 0.3rem; font-size: 0.8em; }
.project.hidden { display: none; }

/* Lien « tous les projets » sous la sélection de l'accueil */
.work-more { display: flex; justify-content: center; margin-top: 1.5rem; }
