/* =========================================================
   IMARA DIGITAL — Système de design
   Palette : Hibiscus #C4476A · Nuit #1A0A12 · Crème #F9F4F6
   Type : Cormorant Garamond (titres, italique pour mots-clés)
          DM Sans (corps)
   ========================================================= */

:root {
  --hibiscus: #C4476A;
  --hibiscus-dark: #7A2D47;
  --hibiscus-deep: #3D1E28;
  --night: #1A0A12;
  --night-soft: #221117;
  --rose-light: #E8849A;
  --cream: #F9F4F6;
  --cream-warm: #F4ECEF;
  --border: #EDD8E0;
  --muted: #9A8A8E;
  --muted-dark: #6F5F63;
  --ink: #2A1A1F;
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2rem);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--hibiscus); color: var(--white); }

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(26, 10, 18, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(196,71,106,0.15);
}
.nav--light .nav-logo span,
.nav--light .nav-links a:not(.nav-cta) {
  color: var(--ink);
}
.nav--light.nav--solid {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
}
.nav--light .nav-burger span { background: var(--ink); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  font-style: italic;
  color: var(--hibiscus);
  letter-spacing: 0.005em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3ch;
}
.nav-logo span {
  color: var(--white);
  font-weight: 400;
  font-style: normal;
  font-size: 1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color .2s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta).is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: var(--hibiscus);
}

.nav-cta {
  background: var(--hibiscus);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-weight: 500 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--hibiscus-dark); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 22px; height: 1.5px;
  background: var(--white);
  display: block;
  transition: .3s var(--ease);
  transform-origin: center;
}

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */

.section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad); }
.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.container { max-width: var(--max); margin: 0 auto; }
.container--narrow { max-width: 820px; margin: 0 auto; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hibiscus);
  display: inline-block;
}
/* Variante éditoriale numérotée : <span class="eyebrow" data-n="01">Label</span> */
.eyebrow[data-n]::before {
  content: attr(data-n);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35em;
  letter-spacing: 0;
  margin-right: 0.6em;
  color: var(--hibiscus);
  text-transform: none;
}

.title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.title em { font-style: italic; color: var(--hibiscus); font-weight: 400; }
.title--xl { font-size: clamp(3rem, 6.5vw, 5.25rem); }
.title--lg { font-size: clamp(2.4rem, 4.5vw, 3.75rem); }
.title--md { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.lede {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--muted-dark);
  line-height: 1.7;
  max-width: 560px;
  text-wrap: pretty;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}
/* L'italique Cormorant a des descenders importants ; ajoute un coussin
   sous le titre quand il précède directement une lede. */
.section-head .title + .lede,
.section-head .title { padding-bottom: 0.15em; }

/* En-tête asymétrique : titre à gauche, lede calée en bas à droite.
   Casse la monotonie du bloc centré empilé répété à chaque section. */
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.section-head--split .lede { max-width: 380px; padding-bottom: 0.35rem; }
@media (max-width: 760px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

/* =========================================================
   OFFRES — rangées éditoriales (home)
   ========================================================= */
.offer-rows { border-top: 1px solid var(--border); }
.offer-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: padding-left .32s var(--ease), background .32s var(--ease);
}
.offer-row:hover { padding-left: 1.5rem; background: var(--cream); }
.offer-row__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--muted);
  width: 1.6em;
}
.offer-row:hover .offer-row__n { color: var(--hibiscus); }
.offer-row__main { min-width: 0; }
.offer-row__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--ink);
}
.offer-row__name em { font-style: italic; color: var(--hibiscus); }
.offer-row__desc {
  font-size: 0.92rem;
  color: var(--muted-dark);
  margin-top: 0.5rem;
  max-width: 46ch;
  line-height: 1.5;
}
.offer-row__price {
  text-align: right;
  white-space: nowrap;
}
.offer-row__price b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--ink);
}
.offer-row__price small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.offer-row__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hibiscus);
  font-size: 1.05rem;
  flex: none;
  transition: background .25s var(--ease), color .25s, border-color .25s;
}
.offer-row:hover .offer-row__arrow { background: var(--hibiscus); color: var(--white); border-color: var(--hibiscus); }
.offer-row--feat .offer-row__name::after {
  content: 'Le plus demandé';
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.9rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--hibiscus);
  padding: 4px 10px;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .offer-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "n main" "n price";
    gap: 0.4rem 1rem;
    row-gap: 0.6rem;
  }
  .offer-row__n { grid-area: n; align-self: start; }
  .offer-row__main { grid-area: main; }
  .offer-row__price { grid-area: price; text-align: left; }
  .offer-row__arrow { display: none; }
  .offer-row:hover { padding-left: 0.5rem; }
  .offer-row--feat .offer-row__name::after { display: block; margin: 0.5rem 0 0; width: max-content; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--hibiscus);
  color: var(--white);
}
.btn--primary:hover { background: var(--hibiscus-dark); transform: translateY(-1px); }
.btn--ghost-dark {
  border-color: rgba(232,132,154,0.35);
  color: var(--rose-light);
}
.btn--ghost-dark:hover { border-color: var(--hibiscus); color: var(--white); background: rgba(196,71,106,0.08); }
.btn--ghost-light {
  border-color: var(--border);
  color: var(--ink);
}
.btn--ghost-light:hover { border-color: var(--hibiscus); color: var(--hibiscus); }
.btn .arrow { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   ICONS — fines, stroke 1.25px, héritent currentColor
   ========================================================= */

.icon {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--lg { width: 24px; height: 24px; stroke-width: 1.1; }
.icon--xl { width: 32px; height: 32px; stroke-width: 1; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 100vh;
  background: var(--night);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem var(--pad) 5rem;
}
.hero__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero__glow--1 {
  top: -30%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(196,71,106,0.22) 0%, transparent 65%);
}
.hero__glow--2 {
  bottom: -25%; left: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(122,45,71,0.18) 0%, transparent 65%);
}
.hero__noise {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Brume feutrée : voile horizontal très léger en bas + halo vignette */
.hero__brume {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(196,71,106,0.10) 0%, transparent 60%),
    linear-gradient(0deg, rgba(26,10,18,0.65) 0%, transparent 35%),
    radial-gradient(ellipse 130% 85% at 50% 50%, transparent 50%, rgba(0,0,0,0.35) 100%);
  mix-blend-mode: normal;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  color: var(--white);
  margin: 1.5rem 0 1.75rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--hibiscus); font-weight: 400; }

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
  text-wrap: pretty;
}

.hero__btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero__meta {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero__meta-val {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rose-light);
}

/* Hero right column — composition typographique */
.hero__card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(196,71,106,0.06) 100%);
  border: 1px solid rgba(196,71,106,0.22);
  border-radius: var(--r-lg);
  padding: 2rem;
  backdrop-filter: blur(6px);
}
.hero__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose-light);
  margin-bottom: 1.5rem;
}
.hero__card-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hibiscus);
  box-shadow: 0 0 0 4px rgba(196,71,106,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(196,71,106,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(196,71,106,0.04); }
}
.hero__card-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero__card-quote em { font-style: italic; color: var(--hibiscus); }
.hero__card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(196,71,106,0.4), transparent);
  margin: 1.5rem 0;
}
.hero__card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.hero__card-fact { display: flex; flex-direction: column; gap: 2px; }
.hero__card-fact-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--white);
  line-height: 1;
}
.hero__card-fact-num em { font-style: italic; color: var(--hibiscus); }
.hero__card-fact-lbl {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.hero__sig {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--hibiscus);
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* =========================================================
   VALEURS
   ========================================================= */

.valeurs { background: var(--cream); position: relative; }

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.valeur {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.valeur:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(196,71,106,0.25);
  border-color: rgba(196,71,106,0.3);
}
.valeur__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.valeur__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hibiscus);
}
.valeur__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--muted);
}
.valeur__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.valeur__title em { font-style: italic; color: var(--hibiscus); }
.valeur__desc {
  font-size: 0.92rem;
  color: var(--muted-dark);
  line-height: 1.65;
}

/* =========================================================
   OFFRES
   ========================================================= */

.offres { background: var(--white); }

.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.pack {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--white);
  position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pack:hover {
  transform: translateY(-4px);
  border-color: rgba(196,71,106,0.4);
  box-shadow: 0 18px 40px -22px rgba(196,71,106,0.25);
}
.pack--feat {
  border: 1.5px solid var(--hibiscus);
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 60%);
}
.pack__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hibiscus);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pack__name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}
.pack__name em { font-style: italic; color: var(--hibiscus); }
.pack__desc {
  font-size: 0.88rem;
  color: var(--muted-dark);
  line-height: 1.5;
  margin-top: -0.5rem;
}
.pack__price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.pack__price span {
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pack__divider { display: none; }
.pack__features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.pack__features li {
  font-size: 0.875rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.45;
}
.pack__features .icon { color: var(--hibiscus); margin-top: 2px; }
.pack__features li.is-out { color: var(--muted); }
.pack__features li.is-out .icon { color: var(--border); }

/* Modules */
.modules-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.modules-head-t {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}
.modules-head-sub { font-size: 0.85rem; color: var(--muted-dark); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.module {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background .2s, border-color .2s;
}
.module:hover { background: var(--cream-warm); border-color: rgba(196,71,106,0.3); }
.module__name { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.module__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--hibiscus);
  font-weight: 500;
  line-height: 1.1;
}
.module__price span { font-size: 0.7rem; color: var(--muted); font-family: var(--font-body); }
.module__desc { font-size: 0.78rem; color: var(--muted-dark); line-height: 1.4; }

/* Maintenance */
.maint {
  margin-top: 2.5rem;
  background: var(--night);
  color: var(--white);
  border-radius: var(--r);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.maint::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,71,106,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.maint__tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hibiscus);
  margin-bottom: 0.6rem;
}
.maint__title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.maint__title em { font-style: italic; color: var(--hibiscus); }
.maint__price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.maint__price em { font-style: italic; color: var(--hibiscus); font-weight: 500; }
.maint__price span { font-size: 0.85rem; color: var(--muted); font-family: var(--font-body); }
.maint__sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.maint__col-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 1rem;
}
.maint__list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.maint__list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.5;
}
.maint__list li .icon { color: var(--hibiscus); margin-top: 2px; }

/* =========================================================
   PROCESSUS
   ========================================================= */

.process { background: var(--cream); position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--hibiscus) 0%, var(--hibiscus) 100%);
  opacity: 0.4;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.step__dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--hibiscus);
  margin-bottom: 1.25rem;
  transition: all .35s var(--ease);
  box-shadow: 0 4px 12px -4px rgba(196,71,106,0.15);
}
/* Alternance sombre/clair : étapes impaires en sombre, paires en clair */
.step:nth-child(odd) .step__dot {
  background: var(--night);
  border-color: var(--night);
  color: var(--hibiscus);
}
.step:nth-child(even) .step__dot {
  background: var(--white);
  border-color: var(--hibiscus);
  color: var(--hibiscus);
}
.step:hover .step__dot {
  background: var(--hibiscus);
  color: var(--white);
  border-color: var(--hibiscus);
  transform: scale(1.05);
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.step__desc {
  font-size: 0.85rem;
  color: var(--muted-dark);
  line-height: 1.55;
}
.step__time {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hibiscus);
  margin-top: 0.75rem;
}

/* =========================================================
   REALISATIONS / MAQUETTES PAR SECTEUR
   ========================================================= */

.real { background: var(--white); }
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative;
}
.mq-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,71,106,0.4);
  box-shadow: 0 22px 50px -22px rgba(26,10,18,0.18);
}

/* Aperçu navigateur stylisé — palette par secteur */
.mq-preview {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.mq-preview-chrome {
  position: absolute; top: 0; left: 0; right: 0;
  height: 22px;
  background: rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 4px;
  padding: 0 8px;
}
.mq-preview-chrome span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.mq-preview-chrome { display: none; }
.mq-preview-body {
  position: absolute;
  inset: 0;
  padding: clamp(18px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.mq-preview-h {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.06;
  margin-bottom: 0;
  word-break: break-word;
  letter-spacing: -0.01em;
}
.mq-preview-bars { display: none; }
.mq-preview-cta {
  margin-top: 0;
  padding: 0 0 3px;
  border-radius: 0;
  background: none !important;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
}

/* ---- Restauration : terracotta + brown ---- */
.mq-card--restau .mq-preview { background: #2D2521; }
.mq-card--restau .mq-preview-h { color: #F4ECDF; font-family: 'Playfair Display', Georgia, serif; }
.mq-card--restau .mq-preview-h em { color: #C25B3C; }
.mq-card--restau .mq-preview-bars span { background: rgba(244,236,223,0.18); }
.mq-card--restau .mq-preview-bars span:nth-child(2) { width: 70%; }
.mq-card--restau .mq-preview-bars span:nth-child(3) { width: 90%; background: rgba(194,91,60,0.4); }
.mq-card--restau .mq-preview-cta { background: #C25B3C; color: #F4ECDF; }

/* ---- Santé : sauge ---- */
.mq-card--sante .mq-preview { background: #F2F4F1; }
.mq-card--sante .mq-preview-h { color: #1E2A2A; font-family: 'Fraunces', Georgia, serif; font-style: normal; }
.mq-card--sante .mq-preview-h em { color: #5B8C7B; font-style: italic; }
.mq-card--sante .mq-preview-bars span { background: rgba(30,42,42,0.1); }
.mq-card--sante .mq-preview-bars span:nth-child(1) { width: 90%; background: rgba(91,140,123,0.3); }
.mq-card--sante .mq-preview-bars span:nth-child(2) { width: 60%; }
.mq-card--sante .mq-preview-cta { background: #5B8C7B; color: #fff; border-radius: 999px; }

/* ---- Esthétique : nude + champagne ---- */
.mq-card--esth .mq-preview {
  background: linear-gradient(160deg, #E8D5C4 0%, #C8A089 100%);
}
.mq-card--esth .mq-preview-h { color: #3A2E2A; font-family: 'Bodoni Moda', Didot, serif; font-style: italic; font-weight: 500; }
.mq-card--esth .mq-preview-h em { font-style: italic; color: #3A2E2A; }
.mq-card--esth .mq-preview-bars span { background: rgba(58,46,42,0.15); }
.mq-card--esth .mq-preview-bars span:nth-child(2) { width: 75%; }
.mq-card--esth .mq-preview-cta { background: #3A2E2A; color: #FAF5F0; }

/* ---- BTP : navy + jaune ---- */
.mq-card--btp .mq-preview { background: #0F2A47; }
.mq-card--btp .mq-preview-h { color: #fff; font-family: 'Archivo', system-ui, sans-serif; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: 17px; }
.mq-card--btp .mq-preview-h em { color: #F2B940; font-style: normal; }
.mq-card--btp .mq-preview-bars span { background: rgba(255,255,255,0.15); }
.mq-card--btp .mq-preview-bars span:nth-child(2) { width: 60%; background: rgba(242,185,64,0.5); }
.mq-card--btp .mq-preview-cta { background: #F2B940; color: #0F2A47; }

/* ---- Avocat : bordeaux + parchemin ---- */
.mq-card--avocat .mq-preview { background: #F1ECE4; }
.mq-card--avocat .mq-preview-h { color: #1A1314; font-family: 'EB Garamond', Georgia, serif; font-style: normal; font-weight: 500; }
.mq-card--avocat .mq-preview-h em { color: #6E1B2E; font-style: italic; }
.mq-card--avocat .mq-preview-bars span { background: rgba(26,19,20,0.1); }
.mq-card--avocat .mq-preview-bars span:nth-child(1) { width: 50%; background: #B89968; }
.mq-card--avocat .mq-preview-bars span:nth-child(3) { width: 70%; }
.mq-card--avocat .mq-preview-cta { background: #6E1B2E; color: #fff; }

/* ---- Photographe : noir minimal ---- */
.mq-card--photo .mq-preview { background: #0A0A0A; }
.mq-card--photo .mq-preview-h { color: #fff; font-family: 'Syne', system-ui, sans-serif; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; }
.mq-card--photo .mq-preview-h em { color: #E63946; font-style: normal; }
.mq-card--photo .mq-preview-bars { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.mq-card--photo .mq-preview-bars span { width: 100%; height: 100%; background: rgba(255,255,255,0.08); border-radius: 0; }
.mq-card--photo .mq-preview-cta { background: #E63946; color: #fff; }

/* CTA couleur lisible par secteur (couverture éditoriale, sans fond) */
.mq-card--restau .mq-preview-cta { color: #F4ECDF; }
.mq-card--sante  .mq-preview-cta { color: #3D6557; }
.mq-card--esth   .mq-preview-cta { color: #3A2E2A; }
.mq-card--btp    .mq-preview-cta { color: #F2B940; }
.mq-card--avocat .mq-preview-cta { color: #6E1B2E; }
.mq-card--photo  .mq-preview-cta { color: #E63946; }

/* Meta info under the preview */
.mq-meta {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mq-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hibiscus);
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.mq-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}
.mq-name em { font-style: italic; color: var(--hibiscus); }
.mq-desc {
  font-size: 0.9rem;
  color: var(--muted-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.mq-link {
  font-size: 0.82rem;
  color: var(--hibiscus);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.mq-link .arrow { transition: transform .25s var(--ease); display: inline-block; }
.mq-card:hover .mq-link .arrow { transform: translateX(4px); }
.mq-card:hover .mq-link { color: var(--hibiscus-dark); }

/* Footer note under the grid */
.mq-foot {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.mq-foot-t {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.mq-foot-t em { color: var(--hibiscus); }
.mq-foot-s {
  font-size: 0.85rem;
  color: var(--muted-dark);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .real-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .real-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   A PROPOS
   ========================================================= */

.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-portrait {
  background: var(--night);
  border-radius: var(--r);
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.about-portrait::before {
  content: 'FWS';
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11rem;
  font-weight: 400;
  color: rgba(196,71,106,0.18);
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 1;
}
.about-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(26,10,18,0.85) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(196,71,106,0.25) 0%, transparent 55%);
  pointer-events: none;
}
.about-portrait > * { position: relative; z-index: 1; }
.about-portrait__name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}
.about-portrait__role { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.about-portrait__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  background: rgba(196,71,106,0.22);
  color: var(--rose-light);
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  width: max-content;
}

.about-content > * + * { margin-top: 1.25rem; }
.about-content .lede { max-width: 100%; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem !important;
}
.about-stat {
  padding-left: 0;
}
.about-stat__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.about-stat__num em { font-style: italic; color: var(--hibiscus); }
.about-stat__lbl { font-size: 0.78rem; color: var(--muted-dark); margin-top: 6px; line-height: 1.4; }
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem !important;
}
.about-pill {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact { background: var(--night); color: var(--white); }
.contact .title { color: var(--white); }
.contact .lede { color: rgba(255,255,255,0.6); }

/* Variante claire (utilisée sur la landing) */
.contact--light { background: var(--cream); color: var(--ink); }
.contact--light .title { color: var(--ink); }
.contact--light .lede { color: var(--muted-dark); }
.contact--light .contact-item__icon {
  background: var(--white);
  border-color: var(--border);
  color: var(--hibiscus);
}
.contact--light .contact-item__lbl { color: var(--muted); }
.contact--light .contact-item__val { color: var(--ink); }
.contact--light .contact-item__val a { color: var(--hibiscus); }
.contact--light .contact-item__val a:hover { color: var(--hibiscus-dark); }
.contact--light .contact-zone {
  background: var(--white);
  border: 1px solid var(--border);
}
.contact--light .contact-zone__title { color: var(--muted); }
.contact--light .contact-zone__val { color: var(--ink); }
.contact--light .contact-zone__val small { color: var(--muted); }
.contact--light .contact-form {
  background: var(--white);
  border: 1px solid var(--border);
}
.contact--light .form-group label { color: var(--muted-dark); }
.contact--light .form-group input,
.contact--light .form-group select,
.contact--light .form-group textarea {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--ink);
}
.contact--light .form-group input::placeholder,
.contact--light .form-group textarea::placeholder { color: var(--muted); }
.contact--light .form-group input:focus,
.contact--light .form-group select:focus,
.contact--light .form-group textarea:focus { background: var(--white); border-color: var(--hibiscus); }
.contact--light .form-group select option { background: var(--white); color: var(--ink); }
.contact--light .form-note { color: var(--muted-dark); }
.contact--light .form-note a { color: var(--hibiscus); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(196,71,106,0.15);
  border: 1px solid rgba(196,71,106,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--hibiscus);
}
.contact-item__lbl { font-size: 0.7rem; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.12em; }
.contact-item__val { font-size: 0.95rem; color: var(--white); }
.contact-item__val a { color: var(--rose-light); text-decoration: none; }
.contact-item__val a:hover { color: var(--white); }
.contact-zone {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,71,106,0.2);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
}
.contact-zone__title { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.contact-zone__val { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.contact-zone__val small { color: var(--muted); font-size: 0.8rem; display: block; margin-top: 4px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,71,106,0.18);
  border-radius: var(--r);
  padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,71,106,0.2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--hibiscus); background: rgba(255,255,255,0.07); }
.form-group select option { background: var(--night); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form-note { font-size: 0.78rem; color: var(--muted); }
.form-note a { color: var(--rose-light); text-decoration: none; }
.form-submit {
  background: var(--hibiscus);
  color: var(--white);
  border: none;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.form-submit:hover { background: var(--hibiscus-dark); transform: translateY(-1px); }
.form-submit .arrow { transition: transform .2s; }
.form-submit:hover .arrow { transform: translateX(3px); }

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: #120709;
  color: rgba(255,255,255,0.6);
  padding: 4rem var(--pad) 2rem;
  border-top: 1px solid rgba(196,71,106,0.12);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--hibiscus);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3ch;
}
.footer-brand-logo span { color: var(--white); font-weight: 400; font-style: normal; font-size: 1em; }
.footer-brand-baseline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rose-light);
  margin-bottom: 1rem;
  max-width: 280px;
  line-height: 1.5;
}
.footer-brand-desc { font-size: 0.85rem; color: var(--muted); max-width: 320px; line-height: 1.6; }
.footer-col-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose-light);
  margin-bottom: 1.25rem;
}
.footer-col-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-col-list a:hover { color: var(--rose-light); }
.footer-bot {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-bot a { color: var(--muted); text-decoration: none; }
.footer-bot a:hover { color: var(--rose-light); }

/* =========================================================
   PAGE HEADERS (pages internes)
   ========================================================= */

.page-head {
  background: var(--night);
  color: var(--white);
  padding: 9rem var(--pad) 5rem;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,71,106,0.2) 0%, transparent 65%);
  filter: blur(60px);
}
.page-head__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.page-head .eyebrow { color: var(--hibiscus); }
.page-head .title { color: var(--white); margin: 1rem 0 1.25rem; }
.page-head__lede { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 600px; line-height: 1.7; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--rose-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* =========================================================
   TYPOGRAPHIE LONGUE (mentions, articles)
   ========================================================= */

.prose { font-size: 1rem; line-height: 1.75; color: var(--ink); max-width: 720px; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 3rem !important;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.prose h2 em { font-style: italic; color: var(--hibiscus); }
.prose h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 1.75rem !important;
}
.prose p { color: var(--muted-dark); }
.prose a { color: var(--hibiscus); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { padding-left: 1.25rem; color: var(--muted-dark); }
.prose ul li { margin-top: 0.4rem; }

/* =========================================================
   SECTION NAV (scroll-spy) — sous-barre de la home
   ========================================================= */

.secnav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(249, 244, 246, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  position: -webkit-sticky;
  position: sticky;
}
/* Indice de défilement (bord droit) — visible surtout sur mobile */
.secnav::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 1px;
  width: 36px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(249,244,246,0), rgba(249,244,246,0.95));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.secnav.is-scrollable::after { opacity: 1; }
.secnav.is-scrolled-end::after { opacity: 0; }
.secnav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.secnav__inner::-webkit-scrollbar { display: none; }
.secnav__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 16px 13px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted-dark);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color .2s var(--ease);
  scroll-snap-align: start;
}
.secnav__i {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.secnav__link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 2px;
  background: var(--hibiscus);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.secnav__link:hover { color: var(--hibiscus); }
.secnav__link:hover .secnav__i { color: var(--hibiscus); }
.secnav__link.is-active { color: var(--ink); font-weight: 500; }
.secnav__link.is-active .secnav__i { color: var(--hibiscus); }
.secnav__link.is-active::after { transform: scaleX(1); }

/* Décalage d'ancrage : sections cachées sous nav (72) + secnav (~50) */
#accueil, #valeurs, #pourquoi, #offres, #process, #realisations, #apropos, #contact {
  scroll-margin-top: 124px;
}

@media (max-width: 960px) {
  .secnav { top: 72px; backdrop-filter: saturate(130%) blur(6px); -webkit-backdrop-filter: saturate(130%) blur(6px); background: rgba(249, 244, 246, 0.96); }
  .secnav__inner { padding: 0 max(var(--pad), 0.75rem); }
  .secnav__link { font-size: 0.8rem; padding: 13px 12px 11px; }
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); will-change: auto; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   TWEAKS PANEL (vanilla)
   ========================================================= */

.tweaks {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 20px 50px -15px rgba(26,10,18,0.25);
  width: 280px;
  padding: 1.25rem;
  font-family: var(--font-body);
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.tweaks__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.tweaks__close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}
.tweaks__close:hover { color: var(--hibiscus); }
.tweak-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.tweak-row:last-child { margin-bottom: 0; }
.tweak-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-dark);
}
.tweak-seg {
  display: flex;
  gap: 4px;
  background: var(--cream);
  border-radius: var(--r-sm);
  padding: 3px;
  border: 1px solid var(--border);
}
.tweak-seg button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 6px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--muted-dark);
  transition: all .2s;
}
.tweak-seg button.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.tweak-swatch-row { display: flex; gap: 6px; }
.tweak-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  outline: 1px solid var(--border);
  outline-offset: 2px;
  transition: outline-color .2s, transform .2s;
}
.tweak-swatch.is-active { outline-color: var(--ink); outline-width: 1.5px; }
.tweak-swatch:hover { transform: scale(1.08); }

/* Density: spacious / compact */
body.is-compact .section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
body.is-compact .hero { padding-top: 7rem; padding-bottom: 3rem; min-height: auto; }
body.is-compact .section-head { margin-bottom: 2rem; }

/* Italic: off */
body.no-italic .title em,
body.no-italic .hero h1 em,
body.no-italic .pack__name em,
body.no-italic .step__dot,
body.no-italic .modules-head-t {
  font-style: normal;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { margin-top: 1rem; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .offres-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .maint { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .process-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-grid::before { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-portrait { height: 320px; }
  .about-portrait::before { font-size: 7rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--night);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
    border-top: 1px solid rgba(196,71,106,0.2);
    align-items: stretch;
  }
  .nav-burger { display: flex; }
}

/* Perf mobile : le flou backdrop est coûteux au scroll — on l'allège fortement */
@media (max-width: 960px) {
  .nav--solid {
    backdrop-filter: saturate(130%) blur(6px);
    -webkit-backdrop-filter: saturate(130%) blur(6px);
    background: rgba(26, 10, 18, 0.94);
  }
  .nav--light.nav--solid { background: rgba(255,255,255,0.96); }
  .hero__card { backdrop-filter: none; }
}

@media (max-width: 540px) {
  .hero__meta { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   POURQUOI IMARA — comparatif
   ========================================================= */
.pourquoi {
  background: var(--night);
  position: relative;
  overflow: hidden;
}
.pourquoi::before {
  content: '';
  position: absolute;
  top: -20%; right: -8%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,71,106,0.16) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.pourquoi .container { position: relative; z-index: 1; }

.pq-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  overflow: hidden;
}
.pq-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.pq-cell {
  background: var(--night-soft);
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.pq-cell small { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.35; }
.pq-cell strong { color: var(--white); font-weight: 500; font-size: 0.95rem; }

/* Header row */
.pq-row--head .pq-cell {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.pq-row--head .pq-diy, .pq-row--head .pq-agency { color: rgba(255,255,255,0.55); }
.pq-crit { color: var(--rose-light) !important; font-size: 0.82rem !important; }
.pq-row--head .pq-crit { background: transparent; }

/* Imara highlighted column */
.pq-imara {
  background: linear-gradient(180deg, rgba(196,71,106,0.16) 0%, rgba(196,71,106,0.06) 100%) !important;
  position: relative;
}
.pq-imara strong { color: var(--rose-light); }
.pq-row--head .pq-imara {
  color: var(--white);
  font-style: italic;
  align-items: flex-start;
}
.pq-imara-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--hibiscus);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.pq-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,71,106,0.2);
  border-radius: var(--r);
}
.pq-cta-t {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}
.pq-cta-t em { font-style: italic; color: var(--hibiscus); }

@media (max-width: 820px) {
  .pq-table { background: transparent; border: none; gap: 1.25rem; }
  .pq-row {
    grid-template-columns: 1fr;
    gap: 1px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-sm);
    overflow: hidden;
  }
  .pq-row--head { display: none; }
  /* Each cell becomes labelled by its column role on mobile */
  .pq-cell { padding: 0.85rem 1.1rem; }
  .pq-crit {
    background: rgba(196,71,106,0.14) !important;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem !important;
    color: var(--rose-light) !important;
    padding-top: 1rem; padding-bottom: 1rem;
  }
  .pq-diy::before { content: 'Soi-même · '; color: rgba(255,255,255,0.4); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .pq-imara::before { content: 'Imara · '; color: var(--hibiscus); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
  .pq-agency::before { content: 'Agence · '; color: rgba(255,255,255,0.4); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .pq-imara-tag { display: none; }
}

/* =========================================================
   BANDEAU COOKIES (RGPD)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--night);
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(196,71,106,0.25);
  border-radius: var(--r);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-banner.is-shown { opacity: 1; transform: none; }
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}
.cookie-banner__text strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--rose-light);
  margin-bottom: 0.35rem;
}
.cookie-banner__text a { color: var(--rose-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  transition: background .2s, border-color .2s, color .2s;
}
.cookie-btn--accept { background: var(--hibiscus); color: var(--white); }
.cookie-btn--accept:hover { background: var(--hibiscus-dark); }
.cookie-btn--ghost { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn--ghost:hover { border-color: var(--rose-light); color: var(--white); }

@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}
