:root {
    --ground: #FBF3F7;
    --surface: #FFFFFF;
    --surface-2: #F6E7EF;
    --ink: #43263C;
    --ink-soft: #7A5A70;
    --rose: #D96FA5;
    --rose-deep: #C2528D;
    --plum: #7D3A6E;
    --plum-deep: #5E2B53;
    --gold: #B98A44;
    --line: #EBD5E2;
    --shadow: 0 10px 30px rgba(125, 58, 110, .10);
    --shadow-lift: 0 18px 44px rgba(125, 58, 110, .18);
    --nav-shadow: 0 12px 28px rgba(125, 58, 110, .14);
    --wash-1: rgba(217, 111, 165, .16);
    --wash-2: rgba(125, 58, 110, .10);
    --wash-3: rgba(185, 138, 68, .12);
    --ok: #2F7D51;
    --err: #C13B3B;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --ground: #221520;
      --surface: #2E1D2B;
      --surface-2: #3A2436;
      --ink: #F2E4EC;
      --ink-soft: #C4A4B8;
      --rose: #E79CC2;
      --rose-deep: #D97FAE;
      --plum: #C77FB4;
      --plum-deep: #E0A3D0;
      --gold: #D4AC6E;
      --line: #4A2F44;
      --shadow: 0 10px 30px rgba(0, 0, 0, .35);
      --shadow-lift: 0 18px 44px rgba(0, 0, 0, .5);
    --nav-shadow: 0 12px 28px rgba(0, 0, 0, .5);
      --wash-1: rgba(231, 156, 194, .10);
      --wash-2: rgba(199, 127, 180, .08);
      --wash-3: rgba(212, 172, 110, .08);
      --ok: #7FD6A4;
      --err: #F09A9A;
    }
  }
  :root[data-theme="light"] {
    --ground: #FBF3F7;
    --surface: #FFFFFF;
    --surface-2: #F6E7EF;
    --ink: #43263C;
    --ink-soft: #7A5A70;
    --rose: #D96FA5;
    --rose-deep: #C2528D;
    --plum: #7D3A6E;
    --plum-deep: #5E2B53;
    --gold: #B98A44;
    --line: #EBD5E2;
    --shadow: 0 10px 30px rgba(125, 58, 110, .10);
    --shadow-lift: 0 18px 44px rgba(125, 58, 110, .18);
    --nav-shadow: 0 12px 28px rgba(125, 58, 110, .14);
    --wash-1: rgba(217, 111, 165, .16);
    --wash-2: rgba(125, 58, 110, .10);
    --wash-3: rgba(185, 138, 68, .12);
  }
  :root[data-theme="dark"] {
    --ground: #221520;
    --surface: #2E1D2B;
    --surface-2: #3A2436;
    --ink: #F2E4EC;
    --ink-soft: #C4A4B8;
    --rose: #E79CC2;
    --rose-deep: #D97FAE;
    --plum: #C77FB4;
    --plum-deep: #E0A3D0;
    --gold: #D4AC6E;
    --line: #4A2F44;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lift: 0 18px 44px rgba(0, 0, 0, .5);
    --nav-shadow: 0 12px 28px rgba(0, 0, 0, .5);
    --wash-1: rgba(231, 156, 194, .10);
    --wash-2: rgba(199, 127, 180, .08);
    --wash-3: rgba(212, 172, 110, .08);
  }

  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, sans-serif;
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  .serif { font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif; }
  .script {
    font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    color: var(--rose-deep);
  }

  h1, h2, h3 { text-wrap: balance; margin: 0; }
  p { margin: 0; }
  a { color: inherit; }
  img { max-width: 100%; display: block; }
  section { scroll-margin-top: 84px; }

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

  /* ---------- Navbar ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--ground) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--nav-shadow);
  }
  .nav-in {
    display: flex; align-items: center; gap: 28px;
    max-width: 1120px; margin: 0 auto; padding: 10px 24px;
  }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .brand img { width: 52px; height: 52px; object-fit: contain; }
  .brand-name {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: 21px; letter-spacing: .04em; color: var(--plum); font-weight: 600;
    white-space: nowrap;
  }
  .brand-name em { font-style: normal; color: var(--rose-deep); }
  .nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
  .nav-links a {
    text-decoration: none; font-size: 14.5px; font-weight: 500;
    letter-spacing: .02em; color: var(--ink-soft);
    padding: 6px 2px; border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
  }
  .nav-links a:hover, .nav-links a:focus-visible { color: var(--plum); border-bottom-color: var(--rose); }
  .nav-links a.btn-nav, .nav-links a.btn-nav:hover, .nav-links a.btn-nav:focus-visible { color: #fff; border-bottom: none; }
  :root[data-theme="dark"] .nav-links a.btn-nav { color: #221520; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .nav-links a.btn-nav { color: #221520; }
  }
  .btn {
    display: inline-block; text-decoration: none; cursor: pointer;
    background: var(--plum); color: #fff;
    border: 1px solid var(--plum); border-radius: 999px;
    padding: 11px 26px; font-size: 15px; font-weight: 600; letter-spacing: .02em;
    font-family: inherit;
    transition: transform .2s, box-shadow .2s, background .2s;
  }
  :root[data-theme="dark"] .btn:not(.btn-ghost) { color: #221520; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .btn:not(.btn-ghost) { color: #221520; }
  }
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .btn-ghost {
    background: transparent; color: var(--plum);
    border: 1.5px solid var(--plum);
  }
  .btn-ghost:hover { background: var(--surface-2); }
  .btn-nav { padding: 9px 20px; font-size: 14px; }
  .burger {
    display: none; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 8px;
    color: var(--plum); font-size: 26px; line-height: 1;
  }
  @media (max-width: 880px) {
    .burger { display: block; }
    .nav-links {
      display: none;
      position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; gap: 4px; align-items: stretch;
      background: var(--ground); border-bottom: 1px solid var(--line);
      padding: 12px 24px 20px;
    }
    .nav-links.open { display: flex; animation: navdrop .32s ease; }
    .nav-links a { padding: 10px 4px; font-size: 16px; }
    .btn-nav { text-align: center; margin-top: 8px; }
  }

  @keyframes navdrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

  /* ---------- Hero ---------- */
  .hero { position: relative; overflow: hidden; text-align: center; padding: 72px 24px 88px; }
  .hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
  .b1 { width: 480px; height: 480px; top: -140px; left: -120px; background: var(--wash-1); }
  .b2 { width: 420px; height: 420px; bottom: -160px; right: -100px; background: var(--wash-2); }
  .b3 { width: 300px; height: 300px; top: 30%; right: 12%; background: var(--wash-3); }
  .hero-ring {
    position: absolute; left: 50%; top: 46px; transform: translateX(-50%);
    width: 620px; height: 620px; border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--gold) 45%, transparent);
    pointer-events: none;
  }
  .hero-in { position: relative; max-width: 720px; margin: 0 auto; }
  .hero img.logo { width: 190px; margin: 0 auto 10px; }
  .hero .script { font-size: 30px; }
  .hero h1 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 6vw, 58px); font-weight: 500;
    line-height: 1.12; letter-spacing: .01em; color: var(--ink);
    margin: 14px 0 0;
  }
  .hero h1 .accent { font-style: italic; color: var(--rose-deep); position: relative; white-space: nowrap; }
  .hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 12px; }
  .hero p.sub { margin: 26px auto 0; max-width: 560px; color: var(--ink-soft); font-size: 17.5px; }
  .hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .hero-meta {
    margin-top: 44px; display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap;
    font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  }
  .hero-meta span::before { content: "◆"; color: var(--gold); font-size: 8px; vertical-align: 2px; margin-right: 9px; }

  /* ---------- Sections communs ---------- */
  .section { padding: 84px 0; }
  .section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
  .eyebrow {
    font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); font-weight: 600;
  }
  .section-head h2 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: clamp(30px, 4vw, 40px); font-weight: 500; color: var(--plum);
    margin-top: 10px;
  }
  .section-head p { color: var(--ink-soft); margin-top: 14px; }
  .alt { background: var(--surface-2); }
  :root[data-theme="dark"] .alt { background: #281a25; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alt { background: #281a25; } }

  .note {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface); border: 1px dashed var(--rose);
    color: var(--ink-soft); font-size: 13px;
    border-radius: 999px; padding: 6px 16px; margin-top: 18px;
  }
  .note b { color: var(--rose-deep); font-weight: 600; }

  /* ---------- Instagram ---------- */
  .ig-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  }
  @media (max-width: 880px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } .ig-grid a:nth-child(n+4) { display: none; } }
  .ig-grid a {
    position: relative; border-radius: 14px; overflow: hidden; display: block;
    box-shadow: var(--shadow);
  }
  .ig-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s; }
  .ig-grid a:hover img { transform: scale(1.05); }
  .ig-grid a::after {
    content: "♥"; position: absolute; inset: 0;
    display: grid; place-items: center;
    background: rgba(94, 43, 83, .45); color: #fff; font-size: 30px;
    opacity: 0; transition: opacity .25s;
  }
  .ig-grid a:hover::after { opacity: 1; }
  .ig-foot { text-align: center; margin-top: 32px; display: grid; gap: 16px; justify-items: center; }

  .socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .soc {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    padding: 9px 18px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--plum);
    transition: transform .2s, box-shadow .2s;
  }
  .soc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .sic { width: 18px; height: 18px; flex: none; color: var(--rose-deep); }

  /* ---------- Portfolio ---------- */
  .pf { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
  .pf-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
  .pf figure {
    margin: 0; flex: 1 1 300px; position: relative;
    border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  }
  .pf-col figure { flex: none; }
  .pf img { width: 100%; transition: transform .4s; }
  .pf figure:hover img { transform: scale(1.04); }
  .pf figcaption {
    position: absolute; left: 12px; bottom: 12px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(6px);
    color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .02em;
    padding: 7px 14px; border-radius: 999px;
  }
  .pf figcaption small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 12px; }

  /* ---------- Catalogue ---------- */
  .formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
  @media (max-width: 880px) { .formules { grid-template-columns: 1fr; } }
  .formule {
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    padding: 34px 30px; display: flex; flex-direction: column; gap: 0;
    box-shadow: var(--shadow); position: relative;
    transition: transform .25s, box-shadow .25s;
  }
  .formule:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .formule.star { border: 1.5px solid var(--gold); }
  .formule .tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: #fff; font-size: 12px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 5px 16px; border-radius: 999px; white-space: nowrap;
  }
  .formule h3 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: 24px; font-weight: 600; color: var(--plum); letter-spacing: .03em;
  }
  .formule .prix {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: 40px; color: var(--ink); margin-top: 8px;
    font-variant-numeric: tabular-nums;
  }
  .formule .prix small { font-size: 15px; color: var(--ink-soft); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
  .formule ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
  .formule li { padding-left: 24px; position: relative; font-size: 15px; color: var(--ink-soft); }
  .formule li::before { content: "✿"; position: absolute; left: 0; color: var(--rose); }
  .formule .btn { margin-top: auto; text-align: center; }

  .carte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 880px) { .carte { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .carte { grid-template-columns: 1fr; } }
  .carte-item {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    padding: 22px 24px;
    display: flex; flex-direction: column; gap: 4px;
    transition: transform .2s, box-shadow .2s;
  }
  .carte-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .carte-item .em { font-size: 26px; line-height: 1; }
  .carte-item h4 { margin: 8px 0 0; font-size: 16.5px; font-weight: 600; color: var(--ink); }
  .carte-item p { font-size: 13.5px; color: var(--ink-soft); }
  .carte-item .p { margin-top: 8px; font-weight: 700; color: var(--rose-deep); font-size: 15px; font-variant-numeric: tabular-nums; }
  .cat-foot { text-align: center; margin-top: 44px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
  .cat-foot .fine { font-size: 13px; color: var(--ink-soft); }

  /* ---------- Avis ---------- */
  .avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 880px) { .avis { grid-template-columns: 1fr; } }
  .avis-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    padding: 30px 28px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 14px;
  }
  .stars { color: var(--gold); letter-spacing: 4px; font-size: 15px; }
  .avis-card blockquote { margin: 0; font-size: 15.5px; color: var(--ink); font-style: italic; line-height: 1.6; }
  .avis-card .who { margin-top: auto; font-size: 14px; color: var(--ink-soft); }
  .avis-card .who b { color: var(--plum); font-weight: 600; }

  /* ---------- Contact ---------- */
  .contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
  @media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
  .contact-info h3 {
    font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
    font-size: 26px; color: var(--plum); font-weight: 500; margin-bottom: 18px;
  }
  .contact-info p { color: var(--ink-soft); margin-bottom: 26px; }
  .ci-list { display: grid; gap: 16px; }
  .ci {
    display: flex; gap: 14px; align-items: center;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; padding: 15px 18px;
  }
  .ci .ic {
    width: 40px; height: 40px; border-radius: 50%; flex: none;
    display: grid; place-items: center; font-size: 17px;
    background: var(--surface-2); color: var(--plum);
  }
  .ci div small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
  .ci div b { font-size: 16px; font-weight: 600; color: var(--ink); }

  form.devis {
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
    padding: 34px; box-shadow: var(--shadow);
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  }
  @media (max-width: 560px) { form.devis { grid-template-columns: 1fr; padding: 26px; } }
  .field { display: flex; flex-direction: column; gap: 7px; }
  .field.full { grid-column: 1 / -1; }
  .field label { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
  .field input, .field select, .field textarea {
    font-family: inherit; font-size: 15.5px; color: var(--ink);
    background: var(--ground); border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
  }
  .field textarea { resize: vertical; min-height: 110px; }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--rose); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 22%, transparent);
  }
  form.devis .btn { grid-column: 1 / -1; justify-self: start; }
  .btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
  .form-status { grid-column: 1 / -1; font-size: 14.5px; font-weight: 600; display: none; }
  .form-status.ok { display: block; color: var(--ok); }
  .form-status.err { display: block; color: var(--err); }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--line); padding: 44px 0 54px; }
  .foot-in {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  }
  .foot-in img { width: 64px; }
  .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
  .foot-links a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
  .foot-links a:hover { color: var(--plum); }
  .foot-soc { display: flex; gap: 10px; }
  .foot-soc a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line); color: var(--plum);
    transition: transform .2s, background .2s;
  }
  .foot-soc a:hover { transform: translateY(-2px); background: var(--surface-2); }
  .foot-in .cop { font-size: 13px; color: var(--ink-soft); width: 100%; text-align: center; margin-top: 10px; }

  /* ---------- Reveal ---------- */
  .reveal, .pop { opacity: 0; transform: translateY(28px) scale(.94); transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
  .reveal.vis, .pop.vis { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .pop { opacity: 1; transform: none; transition: none; }
    .nav-links.open { animation: none; }
    .ig-grid img, .pf img, .formule, .btn { transition: none; }
  }
