/* ============================================================
   Lysalie · site vitrine
   Même grammaire visuelle que l'application (globals.css) :
   palette terracotta/blush/sauge/champagne, Cormorant + Manrope,
   relief doux, ombres taupe (jamais noires).
   ============================================================ */

:root {
  --bg: #f6efe4;
  --surface: #fcf9f4;
  --ink: #4a3d34;
  --muted: #a0917f;
  --line: #ebdfd0;
  --accent: #9a6a50;
  --accent-soft: #f6e2d8;
  --brown: #3d2f28;
  --blush: #f4dbd4;
  --rose: #e3b4ac;
  --rose-deep: #c58a7f;
  --sage: #9daa8d;
  --sage-deep: #7c8a6b;
  --champagne: #c89a56;
  --taupe: #e6dacb;
  --ok: #6f8763;
  --shadow-card: 0 22px 44px -24px rgba(120, 90, 60, 0.34), 0 2px 6px rgba(120, 90, 60, 0.05);
  --shadow-soft: 0 10px 24px -14px rgba(120, 90, 60, 0.3);
  --shadow-btn: 0 5px 12px -4px rgba(120, 90, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --shadow-lift: 0 34px 60px -26px rgba(120, 90, 60, 0.42), 0 3px 8px rgba(120, 90, 60, 0.06);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background:
    radial-gradient(1200px 700px at 12% -10%, #f0e7da 0%, transparent 55%),
    radial-gradient(1000px 800px at 108% 120%, #efe3d2 0%, transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--brown); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em.tone { font-style: italic; color: var(--accent); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 14px; padding: 13px 22px;
  font-size: 15px; font-weight: 600; font-family: var(--sans);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f6ece2);
  color: var(--ink); cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--accent); box-shadow: 0 12px 24px -10px rgba(120, 90, 60, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.7); }

.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #d49c90, #c1806f);
  border-color: #b5735f; color: #fbf3ee;
  box-shadow: 0 12px 22px -8px rgba(160, 95, 75, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 30px -8px rgba(160, 95, 75, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }

.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 16px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(252, 249, 244, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(120, 90, 60, 0.35);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mono {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, #f7e6de, #e9c4b9);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--accent); font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 1;
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--brown); letter-spacing: 0.01em; }
.brand-logo { height: 50px; width: auto; display: block; }
.footer .brand-logo { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; color: #7c6e60; }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-soft); place-items: center; cursor: pointer; color: var(--ink); }
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 16px; right: 16px; z-index: 49;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lift); padding: 10px;
}
.mobile-menu.open { display: block; animation: rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mobile-menu a { display: block; padding: 13px 16px; border-radius: 13px; font-weight: 600; font-size: 15px; }
.mobile-menu a:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 170px 0 60px; overflow: hidden; }
.aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 620px; height: 620px; top: -220px; left: -140px; background: #f4dbd4; }
.aurora i:nth-child(2) { width: 560px; height: 560px; top: -120px; right: -160px; background: #e8e3ce; animation-delay: -6s; animation-duration: 26s; }
.aurora i:nth-child(3) { width: 460px; height: 460px; top: 340px; left: 32%; background: #f2e4c8; opacity: 0.4; animation-delay: -12s; animation-duration: 30s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.12); }
}

.hero-in { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.hero-head { max-width: 640px; text-align: left; position: relative; }
.hero-head .hero-sub { margin-left: 0; }
.hero-cta { justify-content: flex-start; }

/* Arche photo + message flottant */
.hero-arch { position: relative; width: min(420px, 100%); margin: 0 auto; }
.arch-frame {
  position: relative; aspect-ratio: 3.1 / 4; border-radius: 999px 999px 30px 30px; overflow: hidden;
  box-shadow: 0 60px 110px -46px rgba(120, 90, 60, 0.55), 0 4px 10px rgba(120, 90, 60, 0.08);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.arch-ring {
  position: absolute; inset: -16px; pointer-events: none;
  border: 1.5px solid rgba(154, 106, 80, 0.32);
  border-radius: 999px 999px 40px 40px;
}
.arch-star { position: absolute; top: 6px; right: -30px; font-size: 30px; }
.arch-chip {
  position: absolute; bottom: 44px; left: -58px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lift); padding: 14px 18px;
  animation: floaty 6s ease-in-out infinite;
  max-width: 265px;
}
.arch-chip b { display: block; font-size: 14px; color: var(--brown); line-height: 1.3; }
.arch-chip small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.arch-chip .chip-dot { width: 38px; height: 38px; border-radius: 13px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); background: rgba(255, 255, 255, 0.6);
  border: 1px solid #f0d9cd; border-radius: 999px; padding: 8px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-soft);
}
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); margin: 26px 0 22px; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #7c6e60; max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.twinkle { display: inline-block; color: var(--champagne); animation: twinkle 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes twinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8) rotate(18deg); }
}

/* Vitrine hero : cadre navigateur + chips flottantes */
.hero-stage { position: relative; max-width: 1020px; margin: 70px auto 0; }
.browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 60px 110px -50px rgba(120, 90, 60, 0.55), 0 4px 10px rgba(120, 90, 60, 0.07);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fdfaf5, #f8f1e7); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--taupe); }
.browser-bar i:nth-child(1) { background: #e3b4ac; }
.browser-bar i:nth-child(2) { background: #e5cf9f; }
.browser-bar i:nth-child(3) { background: #b9c4a9; }
.browser-url {
  flex: 1; max-width: 380px; margin: 0 auto; text-align: center;
  font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.float-chip {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .serif { font-size: 22px; color: var(--accent); line-height: 1; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.chip-a { top: 42px; left: -66px; animation-delay: -1s; }
.chip-b { bottom: 90px; right: -60px; animation-delay: -3.4s; }
.chip-c { top: 46%; right: -78px; animation-delay: -2.2s; }
.chip-dot { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* ---------- Sections ---------- */

.section { padding: 108px 0; position: relative; }
.section .aurora { overflow: hidden; border-radius: 0; }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 18px 0 14px; }
.section-head p { color: #7c6e60; font-size: 1.05rem; }

.k-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}

/* Philosophie */
.philo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.philo-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-card); padding: 34px 30px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.philo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.philo-num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--rose); line-height: 1; }
.philo-card h3 { font-size: 24px; margin: 14px 0 10px; }
.philo-card p { font-size: 14.5px; color: #7c6e60; }
.philo-card p b { color: var(--ink); font-weight: 700; }

/* Manifeste : photo + citation */
.manifesto-zone {
  display: grid; grid-template-columns: 380px 1fr; gap: 0; align-items: stretch;
  max-width: 960px; margin: 90px auto 0; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #fcf2ed, #f9eae2);
  border: 1px solid #f0dbd0;
  box-shadow: 0 26px 50px -24px rgba(150, 100, 80, 0.4), 0 2px 6px rgba(150, 100, 80, 0.06);
}
.manifesto-photo { position: relative; min-height: 340px; }
.manifesto-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manifesto {
  text-align: left; padding: 56px 52px; position: relative; align-self: center;
}
.manifesto::before {
  content: "“"; position: absolute; top: 6px; left: 30px;
  font-family: var(--serif); font-size: 110px; color: var(--rose); opacity: 0.5; line-height: 1;
}
.manifesto p { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: italic; color: var(--brown); line-height: 1.4; }
.manifesto footer { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Bande photo éditoriale */
.mosaic-band { padding: 40px 0 20px; }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr; gap: 28px; align-items: center; }
.mosaic figure {
  background: #fff; padding: 12px 12px 16px; border-radius: 18px;
  box-shadow: var(--shadow-card); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic figure:nth-child(1) { transform: rotate(-2deg); }
.mosaic figure:nth-child(2) { transform: rotate(1.6deg) translateY(16px); }
.mosaic figure:nth-child(3) { transform: rotate(-1.2deg); }
.mosaic figure:hover { transform: rotate(0) translateY(-4px); }
.mosaic img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 4 / 3; }
.mosaic figure:nth-child(2) img { aspect-ratio: 3 / 4; }
.mosaic-caption {
  text-align: center; margin-top: 46px;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--accent);
}

/* ---------- Témoignages (carrousel) ---------- */

.car-wrap { position: relative; max-width: 1020px; margin: 0 auto; }
.car-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 8px 40px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 min(460px, 86%); scroll-snap-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-card); padding: 36px 34px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.t-stars { color: var(--champagne); font-size: 15px; letter-spacing: 3px; }
.t-card blockquote {
  font-family: var(--serif); font-size: 1.28rem; font-style: italic;
  color: var(--brown); line-height: 1.45; flex: 1;
}
.t-card figcaption { display: flex; align-items: center; gap: 13px; }
.t-av {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 16px; font-family: var(--serif);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.t-card figcaption b { display: block; font-size: 14.5px; color: var(--ink); }
.t-card figcaption small { font-size: 12.5px; color: var(--muted); }
.car-btn {
  position: absolute; top: 42%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
  box-shadow: var(--shadow-soft); transition: transform 0.2s ease, color 0.2s ease;
}
.car-btn:hover { transform: translateY(-2px); color: var(--rose-deep); }
.car-btn.prev { left: -20px; }
.car-btn.next { right: -20px; }
.car-dots { display: flex; gap: 9px; justify-content: center; }
.car-dots i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.car-dots i.on { background: var(--rose-deep); transform: scale(1.25); }

/* Features alternées */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 60px 0; }
.feature.rev .f-media { order: 2; }
.f-copy .k-label { display: block; margin-bottom: 14px; }
.f-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.f-copy > p { color: #7c6e60; font-size: 15.5px; margin-bottom: 22px; }
.f-list { list-style: none; display: grid; gap: 12px; }
.f-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.f-list li b { font-weight: 700; }
.f-check {
  width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #e9efe0; border: 1px solid #d4e0c5; color: var(--ok); font-size: 12px; margin-top: 1px;
}
.f-media { position: relative; }
.f-media .browser { border-radius: 20px; }
.f-media .glow {
  position: absolute; inset: -8% -6%; z-index: -1; border-radius: 50%;
  filter: blur(70px); opacity: 0.5;
}

/* Cadre téléphone (sans encoche : elle recouvrait le contenu) */
.phone {
  width: 300px; margin: 0 auto; background: var(--brown); border-radius: 46px; padding: 12px;
  box-shadow: 0 60px 100px -46px rgba(80, 55, 35, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  position: relative;
}
.phone-screen { border-radius: 36px; overflow: hidden; background: #f6efe4; }
.phone img { width: 100%; }

/* Dans les sections features : hauteurs plafonnées pour garder les colonnes équilibrées */
.feature .phone-screen { max-height: 520px; }
.feature .phone-screen img { height: 520px; object-fit: cover; object-position: top; }
.feature .browser img { max-height: 470px; height: auto; object-fit: cover; object-position: top; width: 100%; }

/* Téléphone scrollable (déroulé jour J) : on fait défiler la vraie page, en longueur */
.phone-scroll { height: 520px; overflow-y: auto; scrollbar-width: none; }
.phone-scroll::-webkit-scrollbar { display: none; }
.feature .phone-scroll img { height: auto; object-fit: unset; object-position: unset; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; pointer-events: none;
  background: rgba(61, 47, 40, 0.82); color: #f6efe4;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  backdrop-filter: blur(4px);
  animation: hintbob 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
.scroll-hint.off { opacity: 0; }
@keyframes hintbob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ---------- Configurateur marque blanche ---------- */

.config-zone { display: grid; grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
.config-panel { display: grid; gap: 26px; }
.config-panel .label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.config-panel input[type="text"] {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
  padding: 14px 18px; font-size: 16px; font-family: var(--sans); color: var(--ink); outline: none;
  box-shadow: inset 0 2px 5px rgba(120, 90, 60, 0.07);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.config-panel input[type="text"]:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch {
  width: 54px; height: 54px; border-radius: 18px; cursor: pointer; border: 2px solid transparent;
  box-shadow: var(--shadow-soft), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease; position: relative;
}
.swatch:hover { transform: translateY(-3px) scale(1.05); }
.swatch.on { border-color: var(--brown); transform: scale(1.08); }
.swatch.on::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.config-hint { font-size: 13.5px; color: var(--muted); }

/* Mini-app rebrandable */
.mini-app {
  --cfg-accent: #9a6a50; --cfg-grad-a: #d49c90; --cfg-grad-b: #c1806f; --cfg-soft: #f6e2d8; --cfg-logo-a: #f7e6de; --cfg-logo-b: #e9c4b9;
  display: grid; grid-template-columns: 168px 1fr;
  background: #f8f2e9; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 60px 110px -50px rgba(120, 90, 60, 0.55), 0 4px 10px rgba(120, 90, 60, 0.07);
  min-height: 380px; font-size: 12px;
  transition: --cfg-accent 0.4s;
}
.ma-side { background: rgba(255, 255, 255, 0.5); border-right: 1px solid var(--line); padding: 18px 13px; display: flex; flex-direction: column; gap: 5px; }
.ma-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.ma-logo {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, var(--cfg-logo-a), var(--cfg-logo-b));
  color: var(--cfg-accent); font-family: var(--serif); font-weight: 700; font-size: 19px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: background 0.5s, color 0.5s;
}
.ma-name { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--brown); line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100px; }
.ma-name small { display: block; font-family: var(--sans); font-weight: 600; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ma-nav { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: #7c6e60; font-weight: 600; font-size: 11px; transition: background 0.5s, color 0.5s; }
.ma-nav.on { background: var(--cfg-soft); color: var(--cfg-accent); box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.ma-nav svg { flex: none; }
.ma-main { padding: 20px 22px; }
.ma-hello { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--brown); }
.ma-hello .twinkle { font-size: 15px; }
.ma-sub { color: var(--muted); font-size: 10.5px; margin: 2px 0 14px; }
.ma-cards { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.ma-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-card); }
.ma-card.tinted { background: var(--cfg-soft); border-color: transparent; transition: background 0.5s; }
.ma-k { font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ma-couple { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--brown); margin-top: 6px; }
.ma-meta { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.ma-cd { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--cfg-accent); margin-top: 8px; transition: color 0.5s; }
.ma-btn {
  margin-top: 12px; display: inline-block; padding: 7px 13px; border-radius: 10px;
  background: linear-gradient(180deg, var(--cfg-grad-a), var(--cfg-grad-b));
  color: #fff; font-weight: 700; font-size: 10px;
  box-shadow: 0 8px 16px -6px rgba(120, 80, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background 0.5s;
}
.ma-bar { height: 5px; border-radius: 10px; background: #ebe0cf; overflow: hidden; margin-top: 10px; }
.ma-bar i { display: block; height: 100%; width: 64%; border-radius: 10px; background: linear-gradient(90deg, var(--cfg-grad-a), var(--cfg-grad-b)); transition: background 0.5s; }
.ma-task { display: flex; align-items: center; gap: 8px; font-size: 10.5px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.ma-task:last-child { border-bottom: none; }
.ma-task .dot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #d9c7b4; flex: none; }
.ma-task .dot.done { background: var(--cfg-soft); border-color: var(--cfg-accent); position: relative; transition: background 0.5s, border-color 0.5s; }
.ma-wide { grid-column: 1 / -1; }

/* ---------- Démo en direct ---------- */

.demo-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.demo-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 14px; font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: #7c6e60;
  box-shadow: var(--shadow-soft); transition: all 0.25s ease;
}
.demo-tab:hover { transform: translateY(-2px); color: var(--accent); }
.demo-tab.on {
  background: linear-gradient(180deg, #fbeee7, #f6e2d8); color: var(--accent);
  border-color: #f0d9cd; box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.demo-stage { position: relative; }
.demo-frame { display: none; }
.demo-frame.on { display: block; animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.demo-frame .browser { max-width: 1020px; margin: 0 auto; }
.demo-frame iframe { display: block; width: 100%; height: 640px; border: 0; background: #f6efe4; }
.demo-phone-wrap { display: flex; justify-content: center; }
.demo-phone-wrap .phone { width: 340px; }
.demo-phone-wrap iframe { display: block; width: 100%; height: 660px; border: 0; background: #f6efe4; }
.demo-foot { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.demo-foot a { color: var(--accent); font-weight: 600; }
.demo-foot a:hover { color: var(--rose-deep); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 135, 99, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(111, 135, 99, 0); }
}

/* ---------- Tarifs ---------- */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 880px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow-card); padding: 42px 38px; position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.price-card.hi { background: linear-gradient(180deg, #fcf2ed, #f9eae2); border-color: #f0dbd0; }
.price-tag {
  position: absolute; top: -14px; right: 28px;
  background: linear-gradient(180deg, #d49c90, #c1806f); color: #fbf3ee;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 10px 18px -8px rgba(160, 95, 75, 0.55);
}
.price-card h3 { font-size: 26px; }
.price-card .p-desc { font-size: 13.5px; color: var(--muted); margin: 6px 0 22px; }
.price-num { font-family: var(--serif); font-size: 52px; font-weight: 700; color: var(--brown); line-height: 1; }
.price-num small { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); }
.price-card .f-list { margin-top: 26px; }
.price-note { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-soft); overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-weight: 700; font-size: 15.5px; color: var(--brown);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--serif); font-size: 26px; color: var(--rose-deep);
  transition: transform 0.3s ease; flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; font-size: 14.5px; color: #7c6e60; }
.faq .faq-body a { color: var(--accent); font-weight: 600; }

/* ---------- Blog ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1020px; margin: 0 auto; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.post-cover { height: 190px; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.post-card:hover .post-cover img { transform: scale(1.045); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.post-body h3 { font-size: 22px; line-height: 1.25; }
.post-body p { font-size: 14px; color: #7c6e60; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--muted); }

/* Page article */
.article { max-width: 720px; margin: 0 auto; padding: 150px 24px 90px; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin: 18px 0 14px; }
.article .a-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 34px; }
.article .a-lead {
  font-size: 1.12rem; color: var(--ink); background: linear-gradient(180deg, #fcf2ed, #f9eae2);
  border: 1px solid #f0dbd0; border-radius: 20px; padding: 24px 28px; margin-bottom: 38px;
  box-shadow: var(--shadow-soft);
}
.article h2 { font-size: 1.75rem; margin: 44px 0 14px; }
.article p { margin-bottom: 18px; color: #5d4f43; }
.article ul, .article ol { margin: 0 0 18px 22px; color: #5d4f43; }
.article li { margin-bottom: 8px; }
.article a { color: var(--accent); font-weight: 600; }
.article .a-cta {
  margin-top: 46px; text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 38px 32px; box-shadow: var(--shadow-card);
}
.article .a-cta h3 { font-size: 24px; margin-bottom: 8px; }
.article .a-cta p { color: #7c6e60; font-size: 14.5px; margin-bottom: 20px; }

/* ---------- CTA final ---------- */

.final-cta {
  max-width: 900px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fcf2ed, #f7e5db);
  border: 1px solid #f0dbd0; border-radius: 32px; padding: 74px 40px;
  box-shadow: 0 40px 80px -34px rgba(150, 100, 80, 0.45), 0 2px 6px rgba(150, 100, 80, 0.06);
}
.final-cta h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 16px; }
.final-cta p { color: #7c6e60; max-width: 540px; margin: 0 auto 32px; }
.final-cta .aurora i { opacity: 0.4; }

/* ---------- Formulaire démo personnalisée ---------- */

.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; text-align: left; align-items: start; position: relative; }
.cta-copy > p { color: #7c6e60; margin: 18px 0 0; }
.cta-copy h2 { margin-top: 22px; }
.cta-possible {
  margin-top: 24px; padding: 20px 22px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid #f0d9cd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 14.5px; color: #6d5c4e;
}
.cta-possible b { color: var(--accent); }
.cta-direct { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(154, 106, 80, 0.18); font-size: 14px; color: #7c6e60; }
.cta-direct a { color: var(--accent); font-weight: 700; }
.cta-direct a:hover { color: var(--rose-deep); }

.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: 30px 28px; box-shadow: var(--shadow-card);
}
.lead-form .full { grid-column: 1 / -1; }
.lf-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 6px; }
.lead-form input, .lead-form textarea {
  width: 100%; background: #fdfaf5; border: 1px solid var(--line); border-radius: 13px;
  padding: 11px 14px; font-size: 14.5px; font-family: var(--sans); color: var(--ink); outline: none;
  box-shadow: inset 0 2px 5px rgba(120, 90, 60, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form .btn-primary { width: 100%; justify-content: center; }
.lf-note { font-size: 12px; color: var(--muted); text-align: center; }
.lf-done {
  grid-column: 1 / -1; text-align: center; padding: 34px 10px;
  font-size: 15px; color: var(--ink);
}
.lf-done .serif { display: block; font-size: 26px; margin-bottom: 10px; color: var(--accent); }
.lf-error { grid-column: 1 / -1; font-size: 13px; color: var(--danger, #b0574c); text-align: center; }
.lf-error a { font-weight: 700; text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

@media (max-width: 960px) {
  .cta-grid { grid-template-columns: 1fr; gap: 38px; }
}

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; margin-top: 40px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand-name { font-size: 20px; }
.footer-links { display: flex; gap: 22px; font-size: 13.5px; color: #7c6e60; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }
.footer-note { font-size: 12.5px; color: var(--muted); }

/* ---------- Animations d'apparition ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .philo-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
  .feature.rev .f-media { order: 0; }
  .config-zone { grid-template-columns: 1fr; gap: 40px; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .float-chip { display: none; }
  .demo-frame iframe { height: 480px; }
  .manifesto-zone { grid-template-columns: 1fr; }
  .manifesto-photo { min-height: 300px; }
  .manifesto { padding: 44px 34px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic figure:nth-child(2) { display: none; }
  .car-btn.prev { left: 4px; }
  .car-btn.next { right: 4px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-head { text-align: center; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .arch-chip { left: 6px; bottom: 30px; }
  .arch-star { right: 4px; }
}

@media (max-width: 760px) {
  .nav-links, .nav .btn-nav-cta { display: none; }
  .burger { display: grid; }
  .hero { padding-top: 130px; }
  .section { padding: 76px 0; }
  .mini-app { grid-template-columns: 1fr; min-height: 0; }
  .ma-side { flex-direction: row; align-items: center; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .ma-brand { margin-bottom: 0; margin-right: 8px; }
  .ma-nav span { display: none; }
  .demo-frame iframe { height: 420px; }
  .demo-phone-wrap .phone { width: 300px; }
  .demo-phone-wrap iframe { height: 580px; }
  .manifesto { padding: 40px 28px; }
  .final-cta { padding: 54px 26px; }
}
