/* Solvast — design tokens & base
   Palette: ink + warm paper + vermillon accent.
   Deliberately avoids the generic SaaS purple/blue gradient look; the audience
   is local French tradespeople, so the register is "established artisan", not
   "startup".
   NOTE: distinct from templates/style.css, which styles generated CLIENT sites. */

:root {
  --ink: #14181f;
  --ink-soft: #3d4552;
  /* Darkened from #6b7280: that value scored 4.40:1 on --paper, below the
     WCAG AA 4.5:1 floor for body text. This scores ~5.6:1. */
  --muted: #5b6373;
  --paper: #fbf9f5;
  --paper-2: #f4efe6;
  --line: #e4ddd1;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-wash: #fdf1ea;
  --green: #15503f;

  /* Display face: Fraunces (variable, opsz + wght).
     Chosen over Instrument Serif — see report. Sturdier stems survive phone
     rendering; the optical-size axis keeps large headlines tight without
     thinning small ones. */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: clamp(1rem, .975rem + .12vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.06rem + .3vw, 1.25rem);
  --step-2: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);

  --radius: 10px;
  --radius-lg: 16px;
  --container: 1120px;
  --shadow: 0 1px 2px rgba(20, 24, 31, .06), 0 8px 24px -12px rgba(20, 24, 31, .18);
  --shadow-lift: 0 2px 4px rgba(20, 24, 31, .05), 0 14px 32px -16px rgba(20, 24, 31, .28);

  --ease: cubic-bezier(.22, .68, .24, 1);
  --logo-accent: var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display headings. Fraunces carries more weight than Instrument Serif did, so
   the tracking is only mildly negative and scales down as size drops. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 550;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.05; letter-spacing: -.021em; }
h2 { font-size: var(--step-3); line-height: 1.12; letter-spacing: -.015em; }
h3 { font-size: var(--step-2); line-height: 1.25; letter-spacing: -.005em; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper2 { background: var(--paper-2); border-block: 1px solid var(--line); }
.lede { font-size: var(--step-1); line-height: 1.58; color: var(--ink-soft); max-width: 58ch; }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .75rem;
}
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; min-height: 48px;
  transition: background-color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(154, 52, 18, .2); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 4px 14px -4px rgba(154, 52, 18, .45); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-soft); background: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- logo --- */
/* The mark is a blocky "S" split at the waist by a mortar seam: two dressed
   stones stacked. Bars 5.4u, counters 4.4u on a 32u grid, corners chamfered
   2.6u — it holds together down to 16px. Top stone inherits currentColor so
   the same markup works on paper and on the dark footer. */
.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--ink); min-height: 48px;
}
.logo__mark {
  width: 30px; height: 30px; flex: none; display: block;
  transition: transform .35s var(--ease);
}
.logo__mark-accent { fill: var(--logo-accent); }
.logo:hover .logo__mark { transform: translateY(-2px); }
.logo__word {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-weight: 600; font-size: 1.4rem; letter-spacing: -.005em; line-height: 1;
}

/* --- header --- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, .88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.header.is-scrolled {
  background: rgba(251, 249, 245, .95);
  box-shadow: 0 10px 30px -24px rgba(20, 24, 31, .8);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.nav { display: none; gap: 1.75rem; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav > a:not(.btn) { position: relative; padding: .35rem 0; transition: color .18s ease; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--ink); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.header .btn { padding: .6rem 1.1rem; min-height: 44px; font-size: .95rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  min-width: 48px; min-height: 48px; padding: 0; cursor: pointer; color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.nav-toggle:hover { border-color: var(--ink-soft); background: #fff; }
.nav-toggle svg { display: block; }
.burger path { transform-box: view-box; transition: transform .3s var(--ease), opacity .2s ease; }
.burger__l1 { transform-origin: 12px 7px; }
.burger__l2 { transform-origin: 12px 12px; }
.burger__l3 { transform-origin: 12px 17px; }
.nav-toggle[aria-expanded="true"] .burger__l1 { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger__l2 { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] .burger__l3 { transform: translateY(-5px) rotate(-45deg); }

/* 0fr -> 1fr so the panel can actually animate its height */
.mobile-nav { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.mobile-nav__inner {
  overflow: hidden; min-height: 0;
  visibility: hidden; transition: visibility .3s;
}
.mobile-nav.open { grid-template-rows: 1fr; }
.mobile-nav.open .mobile-nav__inner { visibility: visible; }
.mobile-nav__links { display: flex; flex-direction: column; padding: .5rem 0 1rem; border-top: 1px solid var(--line); }
.mobile-nav a {
  display: flex; align-items: center; min-height: 48px; padding: .85rem .25rem;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
  transition: color .18s ease, padding-left .22s var(--ease);
}
.mobile-nav a:hover { color: var(--accent-dark); padding-left: .55rem; }

@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* --- hero --- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__note { margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

/* Browser mockup — demonstrates the product instead of using stock imagery */
.mockup {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
}
.mockup__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; background: #d3cabb; flex: none; }
.mockup__url {
  margin-left: .5rem; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  font-size: .74rem; color: var(--muted); padding: .25rem .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Miniature demo site rendered in CSS */
.demo-site { font-size: .8rem; }
.demo-site__nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.demo-site__brand { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--green); }
.demo-site__links { display: flex; gap: .8rem; font-size: .68rem; color: var(--muted); }
.demo-site__hero {
  padding: 1.4rem 1rem; background: linear-gradient(180deg, #f7fbf9, #fff);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 1rem; align-items: center;
}
.demo-site__copy { min-width: 0; }
.demo-site__img {
  display: block; align-self: stretch; min-height: 88px; border-radius: 8px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .5), transparent 45%),
    linear-gradient(150deg, #cfe0d8 0%, #5f8a77 55%, #22392c 100%);
}
.demo-site__hero h4 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .35rem; color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.demo-site__hero p { font-size: .72rem; color: var(--muted); margin: 0 0 .85rem; }
.demo-site__btn { display: inline-block; background: var(--green); color: #fff; font-size: .68rem; font-weight: 600; padding: .45rem .85rem; border-radius: 6px; }
.demo-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 1rem; }
.demo-site__card { border: 1px solid var(--line); border-radius: 8px; padding: .6rem; }
.demo-site__card span { display: block; width: 18px; height: 18px; border-radius: 5px; background: #e6efe9; margin-bottom: .4rem; }
.demo-site__card b { display: block; font-size: .68rem; margin-bottom: .2rem; }
.demo-site__card i { display: block; font-style: normal; font-size: .6rem; color: var(--muted); line-height: 1.4; }

/* --- stats --- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--paper); padding: 1.5rem 1.25rem; }
.stat__num { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: .92rem; color: var(--ink-soft); margin-top: .4rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* --- generic card grid --- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .96rem; }
.card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-wash);
  display: grid; place-items: center; margin-bottom: 1rem; color: var(--accent-dark);
  transition: background-color .3s ease, color .3s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: #d9d0c0; box-shadow: var(--shadow-lift); }
  .card:hover .card__icon { background: var(--accent); color: #fff; }
}

/* --- process --- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 2.75rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* --- portfolio --- */
.work {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
/* Le fond teinte fait office d'arriere-plan ; la "page" blanche posee dessus
   se lit comme une capture d'ecran. --mini-accent porte la couleur du secteur,
   --mini-wash sa version claire (pictos, pastilles, eyebrows). */
.work__thumb {
  aspect-ratio: 16 / 10; padding: 1.1rem; border-bottom: 1px solid var(--line);
  container-type: inline-size;
}
.work--plomberie .work__thumb { background: linear-gradient(155deg, #1e3a5f, #10203a); --mini-accent: #1e6fd9; --mini-wash: #e7effb; }
.work--resto      .work__thumb { background: linear-gradient(155deg, #2c3d34, #16211c); --mini-accent: #2f7d5b; --mini-wash: #e6f0ea; }
.work--coiffure   .work__thumb { background: linear-gradient(155deg, #5c2c3d, #2c1420); --mini-accent: #a8406a; --mini-wash: #f8e9f0; }

/* Mini-page. Tout est dimensionne en em sur une base qui suit la largeur
   reelle de la vignette (container queries), donc la maquette garde ses
   proportions de capture d'ecran de ~340px desktop a la pleine largeur
   mobile. Repli fixe a 8px pour les navigateurs sans container queries. */
.mini {
  width: 100%; height: 100%; background: #fff; border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: 8px; line-height: 1.35; color: #1b1b1b;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .55);
  transition: transform .45s var(--ease);
}
@supports (container-type: inline-size) {
  .mini { font-size: clamp(6.8px, 2.7cqw, 10.5px); }
}
.mini__bar {
  display: flex; align-items: center; justify-content: space-between; gap: .8em;
  padding: .8em 1.1em; border-bottom: 1px solid #ededed; flex: none;
}
.mini__brand {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-size: 1.5em; font-weight: 600; letter-spacing: -.01em; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini__nav { display: flex; align-items: center; gap: .55em; flex: none; }
.mini__nav i { display: block; width: 1.8em; height: .45em; border-radius: 2px; background: #d9d9d9; }
/* Bouton d'action de la nav : un simple aplat accent se lit comme un bouton */
.mini__pill { display: block; width: 4.4em; height: 1.8em; border-radius: 3px; background: var(--mini-accent); margin-left: .35em; }

/* Elements editoriaux partages entre les trois maquettes */
.mini__col { display: flex; flex-direction: column; align-items: flex-start; gap: .55em; min-width: 0; }
.mini__kicker { display: block; width: 4.5em; height: .6em; border-radius: 99px; background: var(--mini-wash); }
.mini__h {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-size: 2em; font-weight: 600; line-height: 1.1; letter-spacing: -.012em; color: #111;
}
.mini__h--sm { font-size: 1.65em; }
.mini__p { color: #6d6d6d; font-size: .95em; }
.mini__cta {
  background: var(--mini-accent); color: #fff; font-weight: 700; font-size: 1.05em;
  padding: .55em 1em; border-radius: 3px; white-space: nowrap;
}
.mini__cta--wide { align-self: stretch; text-align: center; }
.mini__cta--ghost { background: #fff; color: var(--mini-accent); box-shadow: inset 0 0 0 1px var(--mini-accent); }

/* Artisan : hero texte + "photo" en degrade, puis 3 services nommes */
.mini__hero {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 1em; align-items: center; padding: 1em 1.1em;
  background: linear-gradient(180deg, #f6f8fb, #fff);
}
.mini__visual {
  position: relative; align-self: stretch; min-height: 6.5em; border-radius: 4px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, .5), transparent 45%),
    linear-gradient(150deg, #bcd0e6 0%, #5d82ab 52%, #243d59 100%);
}
.mini__visual::after {
  content: ""; position: absolute; left: .6em; bottom: .6em;
  width: 45%; height: .9em; border-radius: 2px; background: rgba(255, 255, 255, .85);
}
.mini__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; padding: 0 1.1em .9em; flex: none; }
.mini__scard {
  display: block; padding: .55em; border-radius: 3px; border: 1px solid #e8e4dd;
  font-size: .9em; font-weight: 600; color: #2c2c2c; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini__scard::before { content: ""; display: block; width: 1.7em; height: 1.7em; border-radius: 3px; background: var(--mini-wash); margin-bottom: .45em; }
.mini__scard::after { content: ""; display: block; width: 85%; height: .45em; border-radius: 2px; background: #ececec; margin-top: .4em; }

/* Restaurant : bandeau photo chaleureux (titre en reserve), carte tarifee */
.mini__band {
  flex: none; height: 4.6em; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .55em;
  background:
    radial-gradient(circle at 22% 25%, rgba(240, 196, 120, .4), transparent 48%),
    radial-gradient(circle at 78% 75%, rgba(240, 196, 120, .25), transparent 42%),
    linear-gradient(120deg, #3d5546, #15231b);
}
.mini__band::before { content: ""; width: 44%; height: 1.05em; border-radius: 2px; background: rgba(251, 249, 245, .92); }
.mini__band::after { content: ""; width: 26%; height: .5em; border-radius: 2px; background: rgba(251, 249, 245, .55); }
.mini__menu { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .5em; padding: .8em 1.1em .9em; }
.mini__menuhead { align-self: center; width: 3.4em; height: .55em; border-radius: 99px; background: var(--mini-wash); }
.mini__line {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6em;
  border-bottom: 1px dotted #e3e3e3; padding-bottom: .3em; font-size: .95em;
}
.mini__line em { font-style: normal; color: #333; }
.mini__line b { color: var(--mini-accent); font-weight: 700; }
.mini__menu .mini__cta--wide { margin-top: auto; }

/* Coiffure : colonne editoriale + galerie "photos" aux tons chauds */
.mini__split {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 1em; align-items: center; padding: .9em 1.1em;
}
.mini__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; min-width: 0; }
.mini__gallery span { display: block; aspect-ratio: 1 / .92; border-radius: 3px; }
.mini__gallery span:nth-child(1) { background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .38), transparent 48%), linear-gradient(150deg, #dcbcab, #8a5747); }
.mini__gallery span:nth-child(2) { background: radial-gradient(circle at 68% 28%, rgba(255, 255, 255, .32), transparent 46%), linear-gradient(160deg, #e9d6ca, #b0806a); }
.mini__gallery span:nth-child(3) { background: radial-gradient(circle at 35% 70%, rgba(255, 255, 255, .25), transparent 45%), linear-gradient(140deg, #c99a86, #66413a); }
.mini__gallery span:nth-child(4) { background: radial-gradient(circle at 70% 65%, rgba(255, 255, 255, .3), transparent 45%), linear-gradient(155deg, #e5c4b3, #96674f); }

/* Pied de page miniature : ancre la capture et evite l'effet "carte vide" */
.mini__foot { flex: none; margin-top: auto; display: flex; align-items: center; gap: .8em; padding: .75em 1.1em; background: #171b22; }
.mini__foot i { display: block; height: .45em; border-radius: 2px; background: #3e4552; }
.mini__foot i:nth-child(1) { width: 3.4em; background: #596272; }
.mini__foot i:nth-child(2) { width: 2.3em; margin-left: auto; }
.mini__foot i:nth-child(3) { width: 2.3em; }

.work__meta { padding: 1.1rem 1.25rem 1.4rem; }
.work__meta h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.work__meta p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (hover: hover) {
  .work:hover { transform: translateY(-3px); border-color: #d9d0c0; box-shadow: var(--shadow-lift); }
  .work:hover .mini { transform: scale(1.02); }
}

.notice {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--accent-wash); border: 1px solid #f3d5c4;
  border-radius: var(--radius); padding: .9rem 1.1rem;
  font-size: .93rem; color: var(--accent-dark); margin-top: 1.75rem;
}
.notice svg { flex: none; margin-top: .15rem; }

/* --- pricing --- */
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.price--featured { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
@media (hover: hover) {
  .price:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
}
.price__tag {
  position: absolute; top: -12px; left: 1.75rem;
  background: var(--accent); color: #fff; font-size: .73rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 99px;
}
.price h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.price__sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.price__amount { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -.025em; color: var(--ink); }
.price__amount small { font-family: var(--font-body); font-size: .85rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price__list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .6rem; font-size: .95rem; color: var(--ink-soft); }
.price__list li { display: flex; gap: .55rem; align-items: flex-start; }
.price__list svg { flex: none; margin-top: .3rem; color: var(--green); }
.price .btn { margin-top: auto; width: 100%; }

/* --- FAQ --- */
.faq { max-width: 76ch; }
.faq details { border-bottom: 1px solid var(--line); padding: .55rem 0; }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.04rem; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 48px; padding: .55rem 0;
  transition: color .18s ease;
}
.faq summary:hover { color: var(--accent-dark); }
.faq summary::-webkit-details-marker { display: none; }
/* Plus -> minus without a content swap: two gradient bars, the vertical one
   collapses to zero height. Transitionable, no extra markup. */
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background-image: linear-gradient(var(--accent), var(--accent)),
                    linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: center center, center center;
  background-size: 16px 2px, 2px 16px;
  transition: background-size .28s var(--ease), transform .28s var(--ease);
}
.faq details[open] summary::after { background-size: 16px 2px, 2px 0; transform: rotate(180deg); }
.faq details p { margin: .3rem 0 .8rem; color: var(--ink-soft); font-size: .98rem; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.faq details[open] p { animation: faq-in .3s var(--ease) both; }

/* --- contact --- */
.contact__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.1fr; } }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .92rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%; min-height: 48px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #cfc5b4; }
.field textarea { min-height: 130px; resize: vertical; }
/* Fleche du select dessinee en interne : rendu identique entre navigateurs */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6373' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.6rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form__consent { font-size: .875rem; color: var(--muted); margin: .25rem 0 1.25rem; }
.form__status { margin-top: 1rem; font-size: .95rem; display: none; }
.form__status.show { display: block; animation: faq-in .3s var(--ease) both; }
.form__status--ok { color: var(--green); font-weight: 600; }
.form__status--err { color: var(--accent-dark); font-weight: 600; }

.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .96rem; }
.contact-list svg { flex: none; margin-top: .2rem; color: var(--accent); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* --- footer --- */
.footer { background: var(--ink); color: #b9c0cc; padding-block: 3rem 2rem; }
.footer a { color: #e6e9ee; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
/* Brighter vermillon so the mark keeps its weight against ink */
.footer .logo { color: #fff; --logo-accent: #e8622a; }
.footer h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #98a1b0; margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer__bottom { border-top: 1px solid #2a303b; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .88rem; color: #98a1b0; }

/* --- legal page --- */
.legal { max-width: 74ch; }
.legal h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal dl { margin: 0 0 1.5rem; }
.legal dt { font-weight: 600; font-size: .92rem; color: var(--muted); }
.legal dd { margin: 0 0 .75rem; }
.legal .todo { background: #fff8e6; border: 1px solid #f0dda8; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .94rem; color: #6f5216; }
.legal .todo strong { color: #55400e; }

/* =========================================================
   MOTION
   Every rule below is neutralised by the reduced-motion block
   at the end of this file.
   ========================================================= */

/* Hero intro: CSS-only, runs on load. `both` fill means that when
   reduced-motion collapses the duration, elements land on their final state
   rather than disappearing. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero .eyebrow,
.js .hero h1,
.js .hero .lede,
.js .hero__cta,
.js .hero__note,
.js .mockup { animation: rise .7s var(--ease) both; }
.js .hero h1        { animation-delay: .06s; }
.js .hero .lede     { animation-delay: .12s; }
.js .hero__cta      { animation-delay: .18s; }
.js .hero__note     { animation-delay: .24s; }
.js .mockup         { animation-delay: .22s; }

/* Scroll reveal. Gated on `.js` so that with JS disabled or broken the page
   renders fully visible — never hide content behind a script. */
.js .section-head,
.js .stats,
.js .card,
.js .step,
.js .work,
.js .price,
.js .notice,
.js .faq details,
.js .contact__grid > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s var(--ease);
}
.js .is-in { opacity: 1; transform: none; }

/* Stagger siblings that enter the viewport together on wide screens */
.js .grid > *:nth-child(2), .js .steps > *:nth-child(2) { transition-delay: .06s; }
.js .grid > *:nth-child(3), .js .steps > *:nth-child(3) { transition-delay: .12s; }
.js .grid > *:nth-child(4), .js .steps > *:nth-child(4) { transition-delay: .18s; }
.js .grid > *:nth-child(5) { transition-delay: .24s; }
.js .grid > *:nth-child(6) { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  /* Belt and braces: reveal targets are visible regardless of observer state */
  .js .hero .eyebrow, .js .hero h1, .js .hero .lede, .js .hero__cta, .js .hero__note,
  .js .mockup, .js .section-head, .js .stats, .js .card, .js .step, .js .work,
  .js .price, .js .notice, .js .faq details, .js .contact__grid > * {
    opacity: 1 !important; transform: none !important;
  }
  .card:hover, .work:hover, .price:hover, .logo:hover .logo__mark,
  .work:hover .mini { transform: none !important; }
}
