/* Polices auto-hébergées, réduites aux caractères latins utiles (licences OFL dans assets/fonts/). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(assets/fonts/bricolage-grotesque.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/dmsans-400.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/dmsans-500.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/dmsans-600.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/dmsans-700.woff2) format("woff2"); }

/* ─── Fondations ─────────────────────────────────────────── */
:root {
  --bg: #1c1f1a;
  --bg-deep: #181b16;
  --surface: #242821;
  --surface-2: #2b3027;
  --ink: #f4f4ec;
  --muted: #b0b5a6;
  --soft: #c9cdbf;
  --line: #3a3f34;
  --accent: #d5fa47;
  --accent-ink: #4f6b12;
  --paper: #f3f3ed;
  --dark: #191d16;
  --font: "DM Sans", Arial, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", Arial, sans-serif;
  --header-h: 80px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
}
:focus-visible {
  outline: 3px solid #9cc22a;
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: var(--dark);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(1380px, calc(100% - 112px));
  margin-inline: auto;
}
/* Mot mis en avant dans un titre : même police, couleur d'accent. */
.hl {
  color: var(--accent);
}
.light-section .hl {
  color: var(--accent-ink);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--dark);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #d5fa4726;
  flex-shrink: 0;
}

/* ─── Boutons et liens ───────────────────────────────────── */
.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 100px;
  padding: 16px 26px;
  min-height: 48px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button > span {
  font-size: 18px;
  line-height: 1;
}
.button-small {
  padding: 10px 18px;
  min-height: 44px;
  font-size: 14px;
  gap: 14px;
}
.button-light {
  background: var(--paper);
  color: var(--dark);
}
.button-light:hover {
  background: var(--accent);
}
.button-accent {
  background: var(--accent);
  color: var(--dark);
}
.button-accent:hover {
  background: #e1ff7a;
  box-shadow: 0 10px 40px #d5fa4726;
}
.button-outline {
  background: transparent;
  border-color: #6b7556;
}
.button-outline:hover {
  border-color: var(--accent);
}
.button-dark {
  background: var(--dark);
  color: var(--paper);
}
.button-dark:hover {
  background: #313a27;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  border: 0;
  border-bottom: 1px solid #7a7f6e;
  padding: 10px 0 4px;
  background: none;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.text-link-dark {
  border-color: #26311b66;
}
.text-link-dark:hover {
  color: var(--dark);
  border-color: var(--dark);
}
.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover {
  color: var(--accent);
}

/* ─── Header ─────────────────────────────────────────────── */
.header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.3s,
    backdrop-filter 0.3s;
}
.header-shell.is-scrolled {
  background: #1c1f1ae0;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.site-header {
  height: var(--header-h);
  margin: auto;
  width: min(1480px, calc(100% - 80px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.is-scrolled .site-header {
  border-color: transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.brand-light {
  font-weight: 400;
  color: #c3c7ba;
}
.brand-symbol {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--dark);
  font-size: 30px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}
.brand-symbol span {
  font-size: 15px;
  position: absolute;
  right: 2px;
  top: -3px;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--soft);
}
.desktop-nav a {
  padding: 8px 0;
  transition: color 0.2s;
}
.desktop-nav a:hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 40px 56px;
}
.hero-copy {
  align-self: center;
}
h1 {
  font-size: clamp(50px, 5.4vw, 84px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}
.hero-description {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin: 28px 0 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.hero-facts {
  display: flex;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-facts > div {
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.hero-facts > div:last-child {
  border: 0;
  margin: 0;
  padding: 0;
}
.hero-facts dt {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9ba192;
  margin-bottom: 4px;
}
.hero-facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--soft);
}
.hero-facts strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-visual {
  position: relative;
  align-self: center;
  min-width: 0;
}
.visual-caption {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--soft);
  margin: 0 0 14px;
}
.visual-caption > span:last-child {
  font-size: 20px;
  color: var(--accent);
}
.browser-frame {
  background: #30352b;
  padding: 7px;
  border-radius: 14px;
  box-shadow: 0 32px 70px #0000004d;
  border: 1px solid #4a5040;
}
.browser-bar {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #c0c4b6;
  padding: 0 8px 4px;
  font-size: 11px;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d725f;
}
.browser-address {
  border-radius: 5px;
  background: #262a22;
  width: 62%;
  text-align: center;
  padding: 2px;
}

/* Aperçu du hero */
.mini-site {
  --ms-bg: #f1f0e6;
  --ms-ink: #23291f;
  --ms-accent: #56624a;
  background: var(--ms-bg);
  color: var(--ms-ink);
  border-radius: 6px;
  overflow: hidden;
  transition:
    color 0.4s,
    background 0.4s;
}
#hero-site {
  view-transition-name: hero-site;
}
.mini-site[data-palette="blue"] {
  --ms-bg: #e9eff3;
  --ms-ink: #16354d;
  --ms-accent: #2f5f86;
}
.mini-site[data-palette="clay"] {
  --ms-bg: #f5ebe1;
  --ms-ink: #5a2f1f;
  --ms-accent: #b2512f;
}
.mini-nav {
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  border-bottom: 1px solid color-mix(in srgb, var(--ms-ink) 12%, transparent);
}
.mini-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}
.mini-brand small {
  font-family: var(--font);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 6px;
  opacity: 0.7;
}
.mini-nav-cta {
  background: var(--ms-accent);
  color: var(--ms-bg);
  border-radius: 20px;
  padding: 5px 11px;
  font-weight: 600;
  white-space: nowrap;
}
.mini-title {
  padding: 20px 22px 18px;
}
.mini-title p {
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ms-accent);
  margin: 0 0 8px;
}
.mini-title h2 {
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -1.2px;
  font-weight: 700;
  margin: 0;
}
.mini-title h2 span {
  color: var(--ms-accent);
}
.mini-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
}
.mini-actions span {
  border-radius: 20px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--ms-ink) 30%, transparent);
}
.mini-actions span:first-child {
  background: var(--ms-ink);
  color: var(--ms-bg);
  border-color: var(--ms-ink);
}
.mini-visual {
  height: 205px;
  position: relative;
  overflow: hidden;
  background: #8d8a7c;
}
.mini-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: var(--ms-bg);
  color: var(--ms-ink);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 6px 18px #0003;
}
::view-transition-old(hero-site),
::view-transition-new(hero-site) {
  animation-duration: 0.35s;
}

/* Panneau de contrôle du hero */
.studio-panel {
  position: relative;
  background: var(--surface-2);
  border: 1px solid #4a5040;
  border-radius: 14px;
  padding: 14px 16px;
  margin: -4px 12px 0 22px;
  box-shadow: 0 14px 40px #00000040;
  display: grid;
  gap: 10px;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.panel-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a7ad9b;
  width: 68px;
}
.segmented {
  display: flex;
  background: var(--bg-deep);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}
.segmented button {
  border: 0;
  background: none;
  font-size: 13px;
  padding: 8px 13px;
  min-height: 36px;
  border-radius: 30px;
  color: var(--soft);
  transition:
    background 0.2s,
    color 0.2s;
}
.segmented button:hover {
  color: var(--ink);
}
.segmented button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--dark);
  font-weight: 600;
}
.swatches {
  display: flex;
  gap: 8px;
}
.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 4px solid var(--surface-2);
  outline: 1px solid transparent;
  padding: 0;
  transition:
    outline-color 0.2s,
    transform 0.2s;
}
.swatch[aria-pressed="true"] {
  outline-color: #f5f5ee;
}
.swatch:hover {
  transform: scale(1.12);
}
.olive {
  background: #9fb26a;
}
.blue {
  background: #5d8fb2;
}
.clay {
  background: #c9785a;
}
.panel-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  min-height: 40px;
  border-radius: 30px;
  transition: transform 0.2s;
}
.panel-cta:hover {
  transform: translateX(3px);
}
.trust-strip {
  grid-column: 1/-1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  margin: 18px 0 0;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--soft);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-strip li:before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ─── Sections ───────────────────────────────────────────── */
.light-section {
  background: var(--paper);
  color: var(--dark);
}
.experience {
  padding: 100px 0 0;
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  margin-bottom: 22px;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.heading-row h2,
.approach h2,
.faq h2,
.about h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
}
.heading-row > p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 0 5px;
  color: var(--muted);
}
.light-section .heading-row > p {
  color: #565c50;
}

/* Démos */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  min-width: 0;
}
.project-art {
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #333;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.project-card:hover .project-art,
.project-card:focus-visible .project-art {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px #171c1526;
}
.project-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s;
}
.project-card:hover .project-art img {
  transform: scale(1.04);
}
.project-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0000 35%, #000000b3);
}
.project-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
}
.project-overlay small {
  display: block;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}
.project-overlay strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.project-open {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--dark);
  font-size: 20px;
  transition: transform 0.3s;
}
.project-card:hover .project-open {
  transform: rotate(45deg);
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 2px;
}
.project-meta p {
  font-size: 14px;
  color: #565c50;
  margin: 0;
}
.tag {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #c3c8b9;
  border-radius: 30px;
  padding: 4px 10px;
  white-space: nowrap;
}
.concept-note {
  font-size: 13px;
  color: #5c6256;
  margin: 6px 0 40px;
}
.quality-strip {
  border-top: 1px solid #d1d5c8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 34px 0 44px;
  gap: 30px;
}
.quality-strip > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quality-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e3e8d6;
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quality-icon svg {
  width: 22px;
  height: 22px;
}
.quality-strip p {
  font-size: 14px;
  color: #5b6156;
  margin: 0;
  line-height: 1.55;
}
.quality-strip strong {
  color: #242a1f;
  font-weight: 600;
}

/* Tarifs */
.offers {
  padding-block: 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: 15px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  background: var(--surface);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-number {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card h3 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 18px 0 14px;
}
.plan-description {
  color: var(--muted);
  font-size: 15px;
  max-width: 400px;
  margin: 0 0 26px;
}
.price {
  font-family: var(--display);
  font-size: 62px;
  font-weight: 650;
  letter-spacing: -2.5px;
  line-height: 1;
}
.price-unit {
  font-size: 30px;
  letter-spacing: 0;
}
.price-caption {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 24px;
}
.check-list {
  list-style: none;
  padding: 22px 0 4px;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.check-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 12px;
  color: #dfe3d6;
}
.check-list li:before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}
.price-card > .button {
  width: 100%;
}
.plan-total {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
.plan-total strong {
  font-weight: 600;
  color: var(--ink);
}
.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #2e3624, var(--surface) 60%);
}
.featured-label {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--accent);
  color: var(--dark);
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  padding: 4px 13px;
}
.featured .price {
  color: var(--accent);
}
.pricing-note {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 50px;
}
.care {
  border: 1px solid var(--line);
  background: #20241e;
  border-radius: 16px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px 40px;
  align-items: center;
}
.care-intro h3 {
  font-size: 26px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.care-intro p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.care-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.care-tier {
  background: var(--surface-2);
  border: 1px solid #40463a;
  border-radius: 12px;
  padding: 18px 20px;
}
.care-name {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.care-price {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 4px 0 6px;
  line-height: 1.1;
}
.care-price small {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.care-detail {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.care-optional {
  grid-column: 1/-1;
  margin: 0;
  font-size: 14px;
  color: var(--soft);
  background: #1c1f1a;
  border: 1px dashed #4a5040;
  border-radius: 10px;
  padding: 12px 16px;
}
.care-optional strong {
  color: var(--ink);
}
.care-details {
  grid-column: 1/-1;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.care-details summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
  padding: 4px 0;
}
.care-details p {
  line-height: 1.7;
  max-width: 820px;
}
.options-block {
  margin-top: 50px;
}
.options-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
.options-head h3 {
  font-size: 26px;
  letter-spacing: -0.6px;
  margin: 0;
}
.options-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.options-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: #dadfd0;
}
.options-list strong {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* Méthode */
.approach {
  padding-block: 95px 60px;
}
.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.approach h2 {
  font-size: clamp(36px, 3.4vw, 48px);
}
.approach-intro > p:not(.eyebrow) {
  max-width: 380px;
  font-size: 16px;
  color: #565e4f;
  margin: 24px 0 30px;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-list li {
  display: flex;
  gap: 25px;
  padding: 26px 0;
  border-top: 1px solid #d0d5c6;
}
.process-list li:first-child {
  padding-top: 4px;
  border-top: 0;
}
.process-list li > span {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ink);
  padding-top: 2px;
}
.process-when {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #e2e8d2;
  color: #43542c;
  border-radius: 20px;
  padding: 3px 10px;
  margin: 0 0 10px;
}
.process-list h3 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
.process-list p:not(.process-when) {
  font-size: 15px;
  line-height: 1.7;
  color: #565e4f;
  margin: 0;
}
.process-note {
  font-size: 13px;
  color: #5c6256;
  margin-top: 30px;
}

/* À propos */
.about {
  padding-block: 100px 40px;
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 80px;
  align-items: center;
}
.portrait-placeholder {
  aspect-ratio: 4/5;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, #d5fa4730, transparent 55%),
    linear-gradient(160deg, #30362a, #22261f);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.portrait-placeholder span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 150px;
  color: var(--accent);
  line-height: 1;
}
.portrait-caption {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
.about-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.75;
  color: var(--soft);
  max-width: 620px;
  margin: 22px 0 0;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.about-facts dt {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -1.2px;
  color: var(--accent);
  line-height: 1.1;
}
.about-facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* FAQ */
.faq {
  padding-block: 80px 100px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
}
.faq-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  margin-top: 24px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  font-size: 23px;
  color: var(--accent);
  transition: transform 0.25s;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  padding: 0 32px 24px 0;
}

/* Appel final et pied de page */
.final-cta {
  background: var(--accent);
  color: var(--dark);
  border-radius: 18px;
  padding: 62px 60px;
  position: relative;
  overflow: hidden;
}
.final-cta .eyebrow {
  font-size: 11px;
  margin-bottom: 22px;
}
.final-cta .eyebrow-dot {
  background: var(--dark);
  box-shadow: none;
}
.final-cta h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 30px;
  position: relative;
  z-index: 1;
}
.final-cta .hl {
  color: var(--dark);
  opacity: 0.55;
}
.final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  position: relative;
  z-index: 1;
}
.final-cta > p:last-of-type {
  font-size: 14px;
  margin: 18px 0 0;
  position: relative;
  z-index: 1;
}
.cta-mark {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 60px solid #23291512;
  pointer-events: none;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 50px;
}
.site-footer > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.footer-links {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 0;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links > span {
  padding: 6px 0;
}
.back-top {
  border: 1px solid #535b45;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.mobile-cta {
  display: none;
}

/* ─── Apparitions ────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Modale de démo ─────────────────────────────────────── */
dialog {
  padding: 0;
  border: 0;
  max-height: calc(100dvh - 40px);
  max-width: calc(100% - 40px);
  border-radius: 18px;
  box-shadow: 0 30px 150px #0006;
}
dialog::backdrop {
  background: #0d0f0cc2;
  backdrop-filter: blur(8px);
}
dialog[open] {
  animation: dialog-in 0.25s ease-out;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}
.demo-dialog {
  width: 1240px;
  height: calc(100dvh - 40px);
  background: var(--surface);
  color: var(--ink);
}
.demo-dialog[open] {
  display: flex;
  flex-direction: column;
}
.demo-dialog-header {
  padding: 18px 76px 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  position: relative;
}
.demo-dialog-header .eyebrow {
  font-size: 10px;
  margin: 0 0 4px;
  color: #b3c19f;
}
.demo-dialog-header h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 0;
}
.demo-header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.demo-newtab {
  font-size: 13px;
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
}
.demo-newtab:hover {
  color: var(--accent);
}
.close-dialog {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid #5c664c;
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}
.close-dialog:hover {
  background: #3b4430;
}
.device-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-deep);
  border-radius: 30px;
  padding: 4px;
}
.device-switch button {
  border: 0;
  background: none;
  font-size: 13px;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 20px;
}
.device-switch button[aria-pressed="true"] {
  background: #e8eedf;
  color: #26311b;
}
.demo-stage {
  flex: 1;
  min-height: 0;
  background: var(--bg-deep);
  padding: 20px;
  display: flex;
  justify-content: center;
}
.demo-device {
  width: 100%;
  height: 100%;
  transition: width 0.45s ease;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.demo-device.is-mobile {
  width: 390px;
  border-radius: 36px;
  border: 10px solid #353b2e;
}
.demo-device iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-dialog-footer {
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.demo-dialog-footer p {
  font-size: 14px;
  color: var(--soft);
  margin: 0;
}

/* ─── Pages légales ──────────────────────────────────────── */
.legal-header {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal {
  max-width: 760px;
  padding-block: 40px 100px;
}
.legal h1 {
  font-size: clamp(38px, 6vw, 56px);
  margin-bottom: 24px;
}
.legal h2 {
  font-size: 21px;
  margin: 36px 0 10px;
}
.legal p,
.legal li {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.75;
}
.legal mark {
  background: #d5fa4733;
  color: var(--accent);
  padding: 0 4px;
  border-radius: 3px;
}
.legal-todo {
  border: 1px dashed #d5fa4766;
  border-radius: 10px;
  padding: 12px 16px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1180px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    width: calc(100% - 48px);
  }
  .desktop-nav {
    gap: 20px;
  }
  .hero {
    gap: 40px 32px;
  }
  .hero-facts > div {
    padding-right: 16px;
    margin-right: 16px;
  }
  .mini-title h2 {
    font-size: 30px;
  }
  .mini-visual {
    height: 180px;
  }
  .project-art {
    height: 310px;
  }
  .care {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 22px;
    background: var(--ink);
    transition: transform 0.25s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
  }
  .mobile-menu {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 18px;
  }
  .mobile-menu > a:not(.button) {
    padding: 10px 0;
  }
  .mobile-menu .button {
    margin-top: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero-visual {
    max-width: 580px;
    width: 100%;
    margin-inline: auto;
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card:last-child {
    grid-column: 1/-1;
  }
  .heading-row {
    display: block;
  }
  .heading-row > p {
    margin: 22px 0 0;
    max-width: 560px;
  }
  .approach-layout,
  .about,
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-portrait {
    max-width: 340px;
  }
  .options-list {
    grid-template-columns: 1fr;
  }
  .demo-dialog-header {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  :root {
    --header-h: 70px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    width: calc(100% - 40px);
  }
  .mobile-menu {
    padding-inline: 20px;
  }
  .brand {
    font-size: 20px;
    gap: 9px;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
    font-size: 26px;
    line-height: 28px;
  }
  .hero {
    padding-top: 32px;
    gap: 36px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    gap: 10px;
  }
  h1 {
    font-size: clamp(40px, 11.5vw, 56px);
  }
  .hero-description {
    font-size: 17px;
    margin: 20px 0 26px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .text-link {
    margin-inline: auto;
  }
  .hero-facts {
    margin-top: 30px;
    justify-content: space-between;
  }
  .hero-facts > div {
    padding-right: 10px;
    margin-right: 10px;
  }
  .hero-facts dt {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .hero-facts dd {
    font-size: 13px;
  }
  .mini-title {
    padding: 16px;
  }
  .mini-title h2 {
    font-size: clamp(24px, 7.5vw, 30px);
  }
  .mini-nav {
    padding: 11px 14px;
  }
  .mini-brand small {
    display: none;
  }
  .mini-visual {
    height: 160px;
  }
  .studio-panel {
    margin: -4px 6px 0;
    padding: 14px;
  }
  .panel-label {
    width: 100%;
    margin-bottom: -6px;
  }
  .segmented {
    width: 100%;
  }
  .segmented button {
    flex: 1;
    padding: 8px 6px;
  }
  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }
  .experience,
  .offers {
    padding-top: 64px;
  }
  .offers {
    padding-bottom: 64px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .heading-row h2,
  .approach h2,
  .faq h2,
  .about h2 {
    font-size: clamp(32px, 9.5vw, 42px);
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .project-art {
    height: 280px;
  }
  .quality-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0 40px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .price-card {
    padding: 28px 24px;
  }
  .price-card h3 {
    font-size: 28px;
  }
  .price {
    font-size: 54px;
  }
  .care {
    padding: 24px 20px;
  }
  .care-tiers {
    grid-template-columns: 1fr;
  }
  .options-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .options-list li {
    font-size: 14px;
  }
  .approach {
    padding-block: 64px 44px;
  }
  .process-list li {
    gap: 16px;
  }
  .about {
    padding-top: 64px;
  }
  .about-portrait {
    max-width: 220px;
  }
  .portrait-placeholder span {
    font-size: 110px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .about-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .about-facts > div {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .about-facts dt {
    font-size: 28px;
    min-width: 90px;
  }
  .faq {
    padding-block: 50px 64px;
  }
  .faq-list summary {
    font-size: 15px;
  }
  .final-cta {
    padding: 36px 24px;
  }
  .final-cta h2 {
    font-size: 36px;
  }
  .final-actions .button {
    width: 100%;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 40px 110px;
  }
  .site-footer > p {
    display: none;
  }
  .footer-links {
    order: 3;
    width: 100%;
  }
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent);
    color: var(--dark);
    border-radius: 40px;
    padding: 15px 22px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 12px 40px #0008;
    transform: translateY(140%);
    transition: transform 0.35s ease;
  }
  .mobile-cta.is-visible {
    transform: none;
  }
  .mobile-cta small {
    font-weight: 500;
    font-size: 13px;
  }
  .demo-dialog {
    max-width: 100%;
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    margin: 0;
  }
  .demo-dialog-header {
    padding: 14px 70px 12px 18px;
  }
  .demo-dialog-header h2 {
    font-size: 17px;
  }
  .device-switch {
    display: none;
  }
  .close-dialog {
    top: 14px;
    right: 14px;
  }
  .demo-stage {
    padding: 0;
  }
  .demo-device,
  .demo-device.is-mobile {
    width: 100%;
    border: 0;
    border-radius: 0;
  }
  .demo-dialog-footer {
    padding: 12px 18px;
  }
  .demo-dialog-footer p {
    display: none;
  }
  .demo-dialog-footer .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.approach-card { min-height:380px; background:#d7dfc7; color:#26351e; padding:44px; display:flex; flex-direction:column; justify-content:space-between; border-radius:20px; }
.approach-card>span { font:750 clamp(36px,5vw,65px)/1.05 'Bricolage Grotesque',sans-serif; letter-spacing:-2px; }.approach-card b { color:#687c4d; }.approach-card small { font-size:12px; margin-top:40px; }
.care-recommendation { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--accent, #d6ff45); margin:0 0 8px; }
@media(max-width:600px) { .approach-card { min-height:270px; padding:30px; } }
/* Les vignettes reprennent les identités des sites qu'elles ouvrent. */
.project-art.preview-nonna { background:#fff3d9; padding:25px 32px 105px; border:1px solid #dbcfaf; }
.preview-nonna img { transform:rotate(4deg); border:8px solid #fffcf0; box-shadow:5px 5px 0 #b82c23; }
.project-art.preview-nonna:after,.project-art.preview-maison:after { display:none; }
.preview-nonna .project-overlay { color:#b82c23; }.preview-nonna .project-overlay strong { font-size:40px; font-weight:800; }
.project-art.preview-maison { background:#eeeae1; padding-left:42%; }
.preview-maison img { filter:saturate(.5); }.preview-maison .project-overlay { color:#292e2b; top:28px; bottom:auto; left:20px; right:55%; }.preview-maison .project-overlay strong { font-family:Georgia,serif; font-weight:400; font-size:38px; line-height:1.12; letter-spacing:-1.5px; margin-top:22px; }.preview-maison .project-overlay small { font-size:9px; }
.project-art.preview-delaunay { background:#0f2a44; padding:28px 25px 115px; }.preview-delaunay img { border-radius:5px; }.project-art.preview-delaunay:after { display:none; }.preview-delaunay .project-overlay strong { color:#ffca3d; }

/* Accueil compact : la proposition, les preuves, puis les prix. */
.hero { display:block; padding-top:46px; }
.hero-copy { display:grid; grid-template-columns:1.35fr 1fr; gap:16px 60px; align-items:center; }
.hero-copy>.eyebrow { grid-column:1/-1; margin:0 0 4px; }
.hero h1 { font-size:clamp(44px,5.1vw,74px); line-height:1.04; }
.hero-description { margin:0 0 22px; max-width:490px; font-size:18px; }
.hero-reassurance { margin:15px 0 0; color:var(--muted); font-size:11px; line-height:1.6; }
.hero-facts { grid-column:1/-1; margin:16px 0 0; padding-top:18px; }
.trust-strip { margin-top:22px; padding:18px 0 24px; }
.experience { padding-top:56px; }.section-heading { margin-bottom:28px; }
.offers { padding-block:60px; }.process { padding-block:60px 38px; }.about { padding-block:60px 30px; }.faq { padding-block:50px 60px; }
.heading-row h2,.offers h2,.faq h2,.about h2 { font-size:clamp(34px,4vw,56px); }
.plan-card { transition:transform .2s,border-color .2s; }.plan-card:hover { transform:translateY(-3px); }
.project-art { height:310px; }.quality-strip { padding-block:24px 28px; }.care { margin-top:28px; }.extras { margin-top:32px; }
@media(max-width:900px) { .hero-copy { grid-template-columns:1fr; gap:20px; }.hero-conversion { max-width:600px; }.hero-facts { margin-top:2px; }.hero h1 { font-size:clamp(42px,7vw,65px); }.hero { padding-top:32px; } }
@media(max-width:600px) { .hero { padding-top:24px; }.hero-copy { gap:16px; }.hero h1 { font-size:42px; }.hero-description { font-size:16px; line-height:1.55; margin-bottom:18px; }.hero-reassurance { max-width:290px; }.hero-facts { gap:0; }.trust-strip { margin-top:18px; gap:10px; font-size:11px; }.experience { padding-top:36px; }.offers,.process { padding-block:40px; }.about { padding-block:40px 20px; }.faq { padding-block:36px 40px; }.section-heading { margin-bottom:22px; }.project-art { height:290px; }.final-cta { padding:32px 24px; } }
.approach { padding-block:60px 38px; }
@media(max-width:600px) { .approach { padding-block:40px 28px; } }

.options-list li small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── Effets modernes (3D légère), coupés au toucher et en mouvement réduit ─── */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.hero {
  position: relative;
  isolation: isolate;
}
.hero-scene {
  --mx: 72%;
  --my: 30%;
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  translate: -50% 0;
  overflow: hidden;
  pointer-events: none;
}
/* Sol quadrillé en perspective, qui défile lentement vers l'horizon. */
.hero-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: 0;
  height: 75%;
  background-image:
    linear-gradient(#d5fa4721 1px, transparent 1px),
    linear-gradient(90deg, #d5fa4721 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%);
  mask-image: linear-gradient(to top, #000 10%, transparent 80%);
  animation: floor-move 14s linear infinite;
}
@keyframes floor-move {
  to {
    background-position: 0 72px;
  }
}
.hero-glow {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  width: 680px;
  height: 680px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #d5fa4726 0%, #d5fa470d 38%, transparent 68%);
  transition:
    left 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    top 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-glow-2 {
  left: 8%;
  top: 95%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #7fb3d51a, transparent 65%);
  transition: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  to {
    translate: -30% -65%;
  }
}
/* Entrée du hero : les lignes montent l'une après l'autre. */
.hero-copy > * {
  animation: hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* Cartes des démos : inclinaison 3D + reflet. */
.project-card {
  perspective: 1000px;
}
.project-art {
  --rx: 0deg;
  --ry: 0deg;
  transform: none;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s;
}
.project-card:hover .project-art,
.project-card:focus-visible .project-art {
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  box-shadow: 0 26px 50px #171c152e;
}
.project-art.is-tilting {
  transition:
    transform 0.12s linear,
    box-shadow 0.4s;
}
.glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), #ffffff38, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover .glare {
  opacity: 1;
}

/* Tarifs : les cartes se soulèvent au survol, bordure lumineuse qui tourne sur l'offre mise en avant. */
.price-card {
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s,
    opacity 0.6s;
}
.js .price-card.reveal.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px #0000004d;
}
.featured {
  border-color: #d5fa4740;
}
.featured:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), #d5fa47, #d5fa4700 22%, #d5fa4700 50%, #d5fa47 72%, #d5fa47);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 7s linear infinite;
  pointer-events: none;
}
@keyframes border-spin {
  to {
    --angle: 360deg;
  }
}

/* Apparitions : un léger basculement 3D au lieu d'un simple glissement. */
.js .reveal {
  transform: perspective(900px) translateY(26px) rotateX(7deg);
  transform-origin: 50% 0;
}
.js .reveal.is-visible {
  transform: none;
}

/* Bouton principal : un reflet le traverse au survol. */
.button-accent {
  position: relative;
  overflow: hidden;
}
.button-accent:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, #ffffffa6, transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.button-accent:hover:after {
  left: 120%;
}

@media (hover: none), (pointer: coarse) {
  .hero-glow {
    left: 80%;
    top: 20%;
  }
}
@media (max-width: 700px) {
  .hero-floor {
    height: 55%;
    background-size: 48px 48px;
  }
  .hero-glow {
    width: 420px;
    height: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-floor,
  .hero-glow-2,
  .featured:before,
  .hero-copy > * {
    animation: none !important;
  }
  .js .reveal {
    transform: none;
  }
}

.legal-links {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ─── Modale des démos : vrai téléphone en mode mobile, place maximale sur téléphone ─── */
.demo-stage {
  align-items: center;
  overflow: hidden;
}
.demo-device.is-mobile {
  --phone-scale: 1;
  box-sizing: content-box;
  flex: none;
  width: 390px;
  height: 844px;
  border: 12px solid #2c3127;
  border-top-width: 40px;
  border-radius: 48px;
  box-shadow: 0 30px 70px #00000073, inset 0 0 0 1px #ffffff14;
  transform: scale(var(--phone-scale));
  transform-origin: center center;
  position: relative;
}
.demo-device.is-mobile:before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -30px;
  left: 50%;
  translate: -50% 0;
  width: 104px;
  height: 22px;
  border-radius: 20px;
  background: #11140f;
  pointer-events: none;
}
@media (max-width: 700px) {
  .demo-dialog-header {
    padding: 10px 62px 10px 14px;
    gap: 2px;
  }
  .demo-dialog-header .eyebrow {
    display: none;
  }
  .demo-dialog-header h2 {
    font-size: 15px;
  }
  .demo-header-tools {
    gap: 10px;
  }
  .demo-newtab {
    font-size: 12px;
    padding: 2px 0;
  }
  .close-dialog {
    top: 8px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .demo-dialog-footer {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  }
  .demo-dialog-footer .button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.legal-summary {
  margin: 28px 0 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.legal-summary h2 {
  margin-top: 0;
}
.legal-summary li {
  margin-bottom: 8px;
}
