/* SÉDUSIÀ BY CALI — maquette A « Boudoir poudré » */
:root {
  --prune: #3B1630;      /* texte, boutons, section sombre */
  --prune-2: #4F2443;    /* cartes sur fond sombre */
  --violet: #6E2A5E;     /* surtitres, accents */
  --poudre: #F8E9EC;     /* fond principal */
  --poudre-2: #FBF3F5;   /* fond des sections claires */
  --rose: #EBCFD6;
  --lilas: #E3D3EA;      /* violet pastel */
  --peche: #F1DCCB;
  --or: #C9A46A;
  --or-clair: #E7C88F;
  --bordure: #D9B8C2;
  --blanc: #FFFFFF;
  --titre: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --texte: Lato, 'Segoe UI', Arial, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--poudre);
  color: var(--prune);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }
a:hover { color: var(--prune); }
h1, h2, h3 { font-family: var(--titre); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--prune); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 16px 32px; border-radius: 999px;
  font: 700 16px/1.2 var(--texte); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--prune); color: #fff; }
.btn-dark:hover { background: var(--violet); color: #fff; box-shadow: 0 8px 20px -10px rgba(59,22,48,.6); }
.btn-line { border-color: var(--prune); color: var(--prune); }
.btn-line:hover { background: var(--prune); color: #fff; }
.btn-gold { background: var(--or-clair); color: var(--prune); }
.btn-gold:hover { background: #F0D7A6; color: var(--prune); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 233, 236, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(201,164,106,.45); }
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--prune); }
.brand img { width: 52px; height: 52px; }
.brand-name { font-family: var(--titre); font-weight: 700; font-size: 22px; color: var(--prune); white-space: nowrap; }
.brand-name span { font-family: var(--texte); font-size: 13px; letter-spacing: 3px; color: var(--violet); margin-left: 2px; }

.menu { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.menu a:not(.btn) { text-decoration: none; position: relative; padding: 4px 0; }
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.menu a:not(.btn):hover::after, .menu a.active::after { transform: scaleX(1); }
.menu .menu-cta { min-height: 46px; padding: 12px 24px; font-size: 14px; }

.burger { display: none; }

/* ---------- Mise en page générale ---------- */
.section { padding: 112px 32px; }
.section-light { background: var(--poudre-2); }
.section-dark { background: var(--prune); color: var(--poudre-2); }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap.wide { max-width: 1240px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.stack-sm { display: flex; flex-direction: column; gap: 20px; }
.stack-md { display: flex; flex-direction: column; gap: 28px; }

.eyebrow { font-family: var(--texte); margin: 0; letter-spacing: 4px; font-size: 13px; font-weight: 700; color: var(--violet); text-transform: uppercase; line-height: 1.5; }
.eyebrow-gold { color: var(--or-clair); }
h2 { font-size: 44px; }
.gold-line { width: 80px; height: 1px; background: var(--or); }
.prose { display: flex; flex-direction: column; gap: 18px; line-height: 1.75; }
.prose.narrow { max-width: 760px; margin: 0 auto; text-align: center; }
.signature { font-family: var(--titre); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--violet); }
.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.center-head h2 { max-width: 780px; }
.lead-sm { max-width: 720px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Accueil ---------- */
.hero {
  max-width: 1240px; margin: 0 auto; padding: 40px 32px 104px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.hero-logo {
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--poudre-2);
  box-shadow: 0 0 0 10px var(--poudre-2), 0 0 0 11px var(--or), 0 30px 60px -30px rgba(110,42,94,.35);
  animation: halo 1.2s ease both;
}
.hero-logo img { width: 100%; height: 100%; }
.hero-logo.has-photo { overflow: hidden; }
.hero-logo.has-photo img { object-fit: cover; border-radius: 50%; }
.hero h1 { font-size: 60px; line-height: 1.1; max-width: 860px; margin-top: 8px; }
.hero h1 em { color: var(--violet); }
.hero .eyebrow { margin-top: 12px; }
.lead { font-size: 19px; line-height: 1.6; max-width: 640px; }
@keyframes halo { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Produits ---------- */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; gap: 14px; }
.cat p, .cat h3 { font-family: var(--titre); font-weight: 500; font-size: 22px; line-height: 1.25; text-align: center; }
.cat-photo {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 999px 999px 12px 12px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    var(--tint, var(--rose));
}
/* emplacement vide : arche dorée + petit ornement */
.cat-photo::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(201,164,106,.55);
  border-radius: 999px 999px 6px 6px;
}
.cat-photo::after {
  content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  color: var(--or); font-size: 22px; opacity: .8;
}
.cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s ease; }
.cat:hover .cat-photo img { transform: scale(1.04); }

.brands {
  border-top: 1px solid var(--or); border-bottom: 1px solid var(--or);
  padding: 28px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 56px;
}
.brands-label { font-size: 13px; letter-spacing: 3px; font-weight: 700; color: var(--violet); text-transform: uppercase; }
.brand-item { font-family: var(--titre); font-size: 28px; line-height: 1.2; }

/* ---------- Ateliers ---------- */
.section-dark h2 { font-size: 46px; }
.section-dark .prose { color: var(--poudre-2); }
.two-cols.align-center { align-items: center; }
#ateliers .two-cols { align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--or-clair); border-radius: 999px; padding: 8px 16px; font-size: 14px; line-height: 1.4; }
.facts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fact { background: var(--prune-2); border-radius: 16px; padding: 20px 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.fact strong { font-family: var(--titre); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--or-clair); white-space: nowrap; }
.fact span { font-size: 15px; line-height: 1.5; text-align: right; }
.quote { font-family: var(--titre); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--or-clair); }

/* ---------- Hôtesse ---------- */
.sub-title { font-size: 30px; text-align: center; margin-bottom: -16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--poudre-2); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.step-n { font-family: var(--titre); font-size: 40px; line-height: 1; color: var(--violet); }
.host-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.card-dark { background: var(--prune); color: var(--poudre-2); }
.card-dark strong { color: var(--or-clair); font-weight: 700; }
.card-line { border: 1px solid var(--or); }
.big-num { font-family: var(--titre); font-size: 72px; line-height: 1; color: var(--or-clair); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--or); font-size: 13px; }
.card .signature { font-size: 20px; margin-top: 4px; }
.card .btn { margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-links a {
  display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; font-size: 18px;
  color: var(--prune); padding: 6px 0; word-break: break-word;
}
.contact-links small { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--violet); font-weight: 700; line-height: 1.3; }
.contact-links a > span:last-child { line-height: 1.35; }
.ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--or); display: grid; place-items: center; transition: background-color .2s ease; }
.ico svg { width: 20px; height: 20px; fill: var(--violet); }
.contact-links a:hover .ico { background: var(--rose); }

.form { background: var(--blanc); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 0 var(--rose), 0 30px 60px -40px rgba(59,22,48,.35); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: 400 16px/1.5 var(--texte); color: var(--prune);
  padding: 14px 16px; border: 1px solid var(--bordure); border-radius: 12px; background: var(--blanc);
  width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--violet) 50%), linear-gradient(135deg, var(--violet) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(110,42,94,.15); }
.form .invalid { border-color: #B3261E; }
.form button { width: 100%; margin-top: 4px; }
.form-msg:empty { display: none; }
.form-msg { font-size: 15px; padding: 12px 16px; border-radius: 12px; background: var(--poudre-2); border: 1px solid var(--or); }
.form-msg.error { border-color: #B3261E; color: #8C1D18; background: #FCEEEE; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--violet); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 56px 32px 40px; text-align: center; font-size: 15px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.site-footer img { width: 64px; height: 64px; }
.footer-name { font-family: var(--titre); font-size: 22px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 6px; }
.footer-links a { text-decoration: none; font-weight: 700; padding: 6px 0; }
.footer-small { font-size: 13px; color: var(--violet); margin-top: 8px; }

/* ---------- Apparition douce ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ================= Tablette ================= */
@media (max-width: 1080px) {
  .menu { gap: 20px; font-size: 14px; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= Menu hamburger ================= */
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  /* pas de flou ici : il casserait le menu plein écran (position: fixed) */
  .site-header { background: var(--poudre); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-inner { padding: 12px 20px; height: var(--header-h); }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 20px; }

  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 48px; height: 48px; padding: 0; border: 1px solid var(--or); border-radius: 50%;
    background: transparent; cursor: pointer; position: relative; z-index: 60;
  }
  .burger span { display: block; width: 20px; height: 1.5px; background: var(--prune); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .menu {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 32px; background: var(--poudre);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .menu a:not(.btn) {
    font-family: var(--titre); font-size: 26px; line-height: 1.3;
    padding: 18px 4px; border-bottom: 1px solid rgba(201,164,106,.45);
  }
  .menu a:not(.btn)::after { display: none; }
  .menu .menu-cta { margin-top: 28px; min-height: 56px; font-size: 16px; }
  body.menu-open { overflow: hidden; }

  .two-cols { grid-template-columns: 1fr; gap: 40px; }
  .host-cards { grid-template-columns: 1fr; }
}

/* ================= Téléphone ================= */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 20px; }
  .stack { gap: 36px; }
  h2, .section-dark h2 { font-size: 32px; }
  .eyebrow { font-size: 12px; letter-spacing: 3px; }
  .brand-name span { font-size: 11px; letter-spacing: 2px; }

  .hero { padding: 24px 20px 72px; gap: 22px; }
  .hero-logo { width: 240px; height: 240px; box-shadow: 0 0 0 8px var(--poudre-2), 0 0 0 9px var(--or), 0 24px 48px -28px rgba(110,42,94,.35); }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .actions .btn { width: 100%; }

  .prose.narrow { text-align: left; }
  .signature { font-size: 20px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .cat:last-child { grid-column: 1 / -1; width: calc(50% - 7px); margin: 0 auto; }
  .cat p, .cat h3 { font-size: 18px; }
  .brands { gap: 14px 28px; padding: 22px 0; }
  .brands-label { width: 100%; text-align: center; }
  .brand-item { font-size: 24px; }

  .fact { gap: 12px; padding: 18px 20px; }
  .fact strong { font-size: 22px; }
  .fact span { font-size: 14px; }
  .quote { font-size: 21px; }
  .section-dark .btn { width: 100%; }

  .sub-title { font-size: 26px; margin-bottom: -8px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; }
  .step-n { font-size: 32px; min-width: 22px; }
  .card { padding: 28px 22px; border-radius: 20px; }
  .big-num { font-size: 60px; }
  .card .btn { width: 100%; }

  .contact-links a { font-size: 16px; }
  .form { padding: 24px 18px; border-radius: 20px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 33px; }
  h2, .section-dark h2 { font-size: 29px; }
  .brand-name { font-size: 18px; }
  .brand-name span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
