/* ============================================================
   JMK COMMUNICATION — Johanna / Community Manager
   Design system extrait de la DA Instagram @johanna_pdc
   Rose poudré · Crème · Terracotta · serif élégant
   ============================================================ */

:root {
  /* Palette */
  --rose: #E78EA0;
  --rose-deep: #BD4E68;
  --rose-soft: #F2B9C4;
  --wine: #6B2840;
  --cream: #F7ECDC;
  --cream-2: #FBF4E9;
  --sand: #C99A6B;
  --sand-deep: #A06F3F;
  --ink: #2C2320;
  --ink-soft: #5F514A;
  --paper: #FFFCF7;
  --line: rgba(44, 35, 32, 0.10);

  /* Hero theming (piloté par les Tweaks) */
  --hero-bg: #D96E87;
  --hero-ink: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Mulish', system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow-soft: 0 22px 50px -30px rgba(91, 52, 40, 0.38);
  --shadow-card: 0 14px 32px -24px rgba(91, 52, 40, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ---------- Decor : motif signature ---------- */
.motif {
  position: absolute;
  color: currentColor;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.motif svg { width: 100%; height: 100%; display: block; }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
}

.serif-it { font-family: var(--font-display); font-style: italic; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--cream-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 18px 32px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  box-shadow: 0 10px 22px -14px rgba(44,35,32,.5);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -16px rgba(44,35,32,.55); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translate(4px, -4px); }

.btn--rose { --bg: var(--rose-deep); --fg: #fff; }
.btn--cream { --bg: var(--cream-2); --fg: var(--ink); }
.btn--ghost {
  --bg: transparent; --fg: currentColor;
  box-shadow: none;
  border: 1.5px solid currentColor;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }

.btn--lg { padding: 21px 40px; font-size: 1.06rem; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 9vw, 132px); }

.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }
.bg-rose { background: var(--rose-deep); color: #fff; }
.bg-ink { background: #211a17; color: var(--cream); }

.section-head { max-width: 720px; }
.section-head .kicker { color: var(--wine); }
.bg-rose .section-head .kicker, .bg-ink .section-head .kicker { color: inherit; opacity: .85; }
.section-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  text-wrap: balance;
}
.section-head h2 em { color: var(--rose-deep); }
.bg-rose .section-head h2 em, .bg-ink .section-head h2 em { color: var(--sand); }
.section-head .lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.bg-rose .section-head .lead, .bg-ink .section-head .lead { color: rgba(255,255,255,.92); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px;
  color: var(--rose-deep);
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  opacity: .8;
  white-space: nowrap;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: 12px 22px; font-size: 0.92rem; }
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================
   HERO (3 variantes pilotées par [data-hero])
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-ink);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #6fcf8e; box-shadow: 0 0 0 4px rgba(111,207,142,.25); }

.hero h1 {
  font-size: clamp(2.4rem, 4.9vw, 4.5rem);
  margin-top: 0;
  line-height: 1.1;
  text-wrap: balance;
}
.hero h1 .em { font-style: italic; color: #FBF4E9; }
.hero h1 .em-ul .squiggle { color: var(--cream); opacity: .9; }
.hero-kicker {
  background: rgba(255,252,247,.94);
  color: var(--wine);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-kicker::before { width: 18px; background: var(--rose-deep); }
.hero .sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  opacity: 1;
  margin-top: 26px;
}
.hero .desc {
  margin-top: 26px;
  font-size: 1.16rem;
  font-weight: 600;
  max-width: 48ch;
  color: #FFFFFF;
}
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof {
  margin-top: 40px;
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars span {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2.5px solid var(--hero-bg);
  margin-left: -14px;
  background-size: cover; background-position: center;
}
.avatars span:first-child { margin-left: 0; }
.hero-proof .pr-txt { font-size: 0.96rem; line-height: 1.35; }
.hero-proof .pr-txt b { font-weight: 800; }
.hero-proof .stars { color: var(--sand); letter-spacing: 2px; }

/* big watermark motif in hero */
.hero .motif--xl {
  width: 760px; height: 760px;
  right: -160px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.13;
  color: #fff;
}

/* ---- Variant A: split with portrait card ---- */
[data-hero="split"] .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: clamp(64px, 8vw, 110px);
}
[data-hero="split"] .hero-figure { display: block; }
.hero-figure {
  position: relative;
  display: none;
}
.hero-portrait {
  aspect-ratio: 4/5;
  border-radius: 220px 220px 28px 28px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--rose-soft) 100%);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-portrait .ph-label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.hero-float {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 12px;
}
.hero-float .hf-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--rose-deep); }
.hero-float .hf-lbl { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); line-height: 1.2; }
.hero-float.tl { top: 22px; left: -26px; }
.hero-float.br { bottom: 30px; right: -22px; }

/* ---- Variant B: centered editorial ---- */
[data-hero="center"] .hero-grid { padding-block: clamp(80px, 11vw, 150px); text-align: center; }
[data-hero="center"] .hero-inner { max-width: 920px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
[data-hero="center"] .hero .desc { margin-inline: auto; }
[data-hero="center"] .hero-cta { justify-content: center; }
[data-hero="center"] .hero-proof { justify-content: center; }
[data-hero="center"] .hero-figure { display: none; }
[data-hero="center"] .hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }

/* ---- Variant C: cream / soft, statement type ---- */
[data-hero="statement"] {
  --hero-bg: var(--cream);
  --hero-ink: var(--ink);
}
[data-hero="statement"] .hero-badge { background: rgba(213,107,130,.10); border-color: rgba(213,107,130,.25); color: var(--rose-deep); }
[data-hero="statement"] .hero .desc { color: var(--ink-soft); }
[data-hero="statement"] .hero h1 .em { color: var(--rose-deep); }
[data-hero="statement"] .hero .sub { color: var(--sand-deep); }
[data-hero="statement"] .hero .motif--xl { color: var(--rose); opacity: .12; }
[data-hero="statement"] .hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding-block: clamp(64px, 8vw, 110px);
}
[data-hero="statement"] .hero-figure { display: block; }
[data-hero="statement"] .hero-portrait { background: linear-gradient(160deg, var(--rose-soft), var(--rose)); }
[data-hero="statement"] .hero-portrait .ph-label { color: rgba(255,255,255,.9); }
[data-hero="statement"] .hero-proof .pr-txt { color: var(--ink); }
[data-hero="statement"] .hero-proof .pr-txt b { color: var(--ink); }
[data-hero="statement"] .avatars span { border-color: var(--cream); }

@media (max-width: 860px) {
  [data-hero] .hero-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .hero-figure { order: 2; }
  .hero-float.tl { left: 8px; }
  .hero-float.br { right: 8px; }
}

/* ============================================================
   PROBLÈME — pain points
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.pain-card {
  background: var(--paper);
  border: 1px solid rgba(189, 78, 104, 0.14);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.bg-rose .pain-card { background: rgba(255,255,255,.96); color: var(--ink); }
.pain-card .pc-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--rose-soft);
  font-weight: 600;
  line-height: 1;
}
.pain-card h3 {
  font-size: 1.5rem;
  margin-top: 14px;
  line-height: 1.12;
}
.pain-card p { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }
.pain-card .pc-tag {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose-deep);
  font-size: 1.05rem;
}
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }

.turn {
  margin-top: 56px;
  background: #211a17;
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.turn .motif { color: var(--rose); width: 360px; height: 360px; right: -90px; bottom: -120px; opacity: .16; }
.turn h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 18ch; position: relative; }
.turn h3 em { color: var(--sand); font-style: italic; }
.turn .turn-cta { position: relative; }

/* ============================================================
   QUI SUIS-JE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo .ph {
  aspect-ratio: 4/5;
  border-radius: 28px 28px 200px 200px;
  background: linear-gradient(155deg, var(--rose-soft), var(--rose));
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.about-photo .ph .ph-label { color: rgba(255,255,255,.92); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; }
.about-photo .motif { color: #fff; opacity: .18; width: 70%; height: 70%; bottom: 6%; left: 14%; }
.about-photo .sig {
  position: absolute; bottom: -18px; right: -10px;
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose-deep);
}
.about-copy .kicker { color: var(--wine); }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-wrap: balance; }
.about-copy h2 em { color: var(--rose-deep); font-style: italic; }
.about-copy p { margin-top: 20px; color: var(--ink-soft); font-size: 1.08rem; }
.about-copy p strong { color: var(--ink); font-weight: 800; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-tags span {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700; font-size: 0.9rem;
}
.about-stats { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }
.about-stats .st .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--rose-deep); line-height: 1; }
.about-stats .st .lbl { font-size: 0.92rem; color: var(--ink-soft); font-weight: 700; margin-top: 6px; }
@media (max-width: 900px) {
  /* mobile : titre d'abord, photo juste après, puis le texte */
  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-copy { display: contents; }
  .about-copy .kicker { order: -3; }
  .about-copy h2 { order: -2; }
  .about-photo { order: -1; margin: 26px 0 40px; }
  /* squiggle encore un peu plus fin sous "Community Manager" en mobile */
  .about-copy .em-ul .squiggle svg path { stroke-width: 3; }
}

/* trait (squiggle) plus fin sous "Community Manager" sur tous les écrans */
.about-copy .em-ul .squiggle svg path { stroke-width: 3.5; }

/* ============================================================
   RÉSULTATS / TÉMOIGNAGES
   ============================================================ */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 60px;
}
.stat-band .sb {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
}
.stat-band .sb .num { font-family: var(--font-display); font-size: clamp(2.2rem,3.4vw,2.9rem); font-weight: 600; line-height: 1; }
.stat-band .sb .lbl { margin-top: 8px; font-size: 0.94rem; opacity: .85; font-weight: 600; }
@media (max-width: 820px) { .stat-band { grid-template-columns: 1fr 1fr; } }

.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.tcard .stars { color: var(--sand); letter-spacing: 2px; font-size: 1.05rem; }
.tcard blockquote {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.4;
  font-weight: 500;
}
.tcard blockquote em { color: var(--rose-deep); }
.tcard .who { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 13px; }
.tcard .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--rose-soft), var(--sand)); flex: none; }
.tcard .who .nm { font-weight: 800; font-size: 0.98rem; }
.tcard .who .rl { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 900px) { .tcards { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 24px 8px 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--rose-deep); color: var(--rose-deep); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; font-size: 1.1rem; }
.faq-item[data-open="true"] .faq-q .ic { background: var(--rose-deep); color: #fff; transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 40px 26px 0; color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ============================================================
   CTA / FORMULAIRE
   ============================================================ */
.cta-card {
  background: #211a17;
  color: var(--cream);
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.cta-left { padding: clamp(40px, 5vw, 64px); position: relative; z-index: 2; }
.cta-left .motif { color: var(--rose); width: 320px; height: 320px; left: -80px; bottom: -110px; opacity: .18; }
.cta-left .kicker { color: var(--sand); position: relative; }
.cta-left h2 { font-size: clamp(2rem, 3.6vw, 3rem); position: relative; text-wrap: balance; }
.cta-left h2 em { color: var(--sand); font-style: italic; }
.cta-left .lead { margin-top: 18px; color: rgba(247,236,220,.82); font-size: 1.1rem; position: relative; }
.cta-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.cta-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; }
.cta-points li .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rose-deep); color: #fff; display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }
.cta-meta { margin-top: 34px; display: flex; align-items: center; gap: 14px; position: relative; }
.cta-meta .cta-spark { font-size: 1.7rem; color: var(--sand); line-height: 1; }
.cta-meta small { font-size: 0.9rem; color: rgba(247,236,220,.88); line-height: 1.3; }

.cta-form {
  background: var(--cream-2);
  color: var(--ink);
  padding: clamp(36px, 5vw, 56px);
}
.cta-form .form-kicker { color: var(--rose-deep); }
.cta-form h3 { font-size: 1.7rem; margin-top: 14px; }
.cta-form h3 + p { color: var(--ink-soft); margin-top: 8px; font-size: 1rem; }
.field { margin-top: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0; /* autorise les inputs à rétrécir dans la grille (sinon la carte déborde de l'écran) */
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(231,142,160,.18);
}
.field textarea { resize: vertical; min-height: 96px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form .btn { width: 100%; margin-top: 26px; }
.cta-form .reassure { margin-top: 16px; text-align: center; font-size: 0.86rem; color: var(--ink-soft); }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--rose-deep); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.6rem; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER — fin de page signature, fond encre
   ============================================================ */
.footer {
  position: relative;
  background: #211a17;
  color: var(--cream);
  padding-block: clamp(64px, 7vw, 96px) 34px;
  overflow: hidden;
}
.footer .wrap { position: relative; z-index: 1; }

/* grand motif signature en filigrane */
.footer-motif {
  width: min(58vw, 640px);
  aspect-ratio: 657 / 538;
  right: -10%;
  bottom: -24%;
  color: var(--rose-deep);
  opacity: .14;
}

/* --- accroche + CTA --- */
.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(247, 236, 220, .14);
}
.footer .kicker { color: var(--rose-soft); }
.footer-title {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  text-wrap: balance;
}
.footer-title em { color: var(--sand); }

/* --- colonnes --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(247, 236, 220, .14);
}
.footer .brand-mark { color: var(--rose); }
.footer .brand-name small { color: var(--rose-soft); }
.footer-tag {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 0.98rem;
  color: rgba(247, 236, 220, .72);
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-weight: 800;
  text-decoration: none;
  color: var(--rose-soft);
  transition: color .2s;
}
.footer-ig .ig { width: 20px; height: 20px; display: inline-flex; }
.footer-ig:hover { color: #fff; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.fc-title {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}
.footer-col a {
  width: fit-content;
  text-decoration: none;
  font-weight: 600;
  color: rgba(247, 236, 220, .85);
  transition: color .2s, transform .2s;
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-col .arrow { font-weight: 800; }
.fc-note {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(247, 236, 220, .55);
}

/* --- barre du bas --- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
}
.footer .copy { color: rgba(247, 236, 220, .55); font-size: 0.88rem; }
.footer-claim { color: rgba(247, 236, 220, .42); font-size: 0.85rem; }
.to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(247, 236, 220, .3);
  text-decoration: none;
  font-weight: 800;
  color: var(--cream);
  transition: background .25s, border-color .25s, transform .25s;
}
.to-top:hover { background: var(--rose-deep); border-color: var(--rose-deep); transform: translateY(-3px); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
  .footer-cta .btn { white-space: normal; text-align: center; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.pain-grid .reveal:nth-child(2) { transition-delay: .08s; }
.pain-grid .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- rubans / marquees (transitions entre sections) ---------- */
.ribbon { overflow: hidden; position: relative; z-index: 1; }
.ribbon--ink { background: #211a17; color: var(--cream); }
.ribbon--rose { background: var(--rose-deep); color: #fff; }
.ribbon--sand { background: var(--sand); color: #fff; }
.ribbon-track { display: flex; align-items: center; width: max-content; white-space: nowrap; padding: 17px 0; animation: ribbon-marquee 34s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon--rose .ribbon-track { animation-direction: reverse; }
.ribbon--rose {
  transform: rotate(-3deg);
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 40px -22px rgba(91,52,40,.5);
}

/* Bande de transition inclinée : le fond change de couleur le long de la
   même diagonale que le ruban (sinon la frontière droite entre les deux
   sections reste visible de part et d'autre du ruban tourné). */
.tilt-band {
  position: relative;
  z-index: 3;
  height: 5.24vw; /* tan(3°) × 100vw → la diagonale du bloc suit l'angle du ruban */
  display: grid;
  align-items: center;
  background: linear-gradient(to bottom right, var(--paper) calc(50% - 1px), var(--cream-2) 50%);
  overflow-x: clip; /* le ruban tourné déborde en largeur : on coupe sans créer de scroll */
}
.tilt-band .ribbon {
  width: 104vw;       /* déborde un peu pour couvrir les coins une fois tourné */
  margin-left: -2vw;
}
.rib-i { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.1rem, 1.9vw, 1.65rem); padding: 0 28px; }
.rib-s { color: var(--sand); font-size: 0.9rem; }
.ribbon--rose .rib-s, .ribbon--sand .rib-s { color: rgba(255,255,255,.85); }
@keyframes ribbon-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
}

/* ============================================================
   COSY LAYER — rayons signature, grain, doodles, feed, photos
   ============================================================ */

/* --- grain papier global (très subtil) --- */
body.no-grain::after { display: none; }
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- rayons / sunburst (la signature de ses posts) --- */
.rays { position: absolute; pointer-events: none; z-index: 0; }
.rays::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    var(--ray, rgba(201,154,107,.5)) 0deg 0.75deg,
    transparent 0.75deg 6deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 14%, #000 42%, rgba(0,0,0,.34) 64%, transparent 80%);
  mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 14%, #000 42%, rgba(0,0,0,.34) 64%, transparent 80%);
}

/* --- doodles SVG --- */
.doodle { position: absolute; pointer-events: none; z-index: 3; color: var(--sand); }
.doodle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.squiggle { display: block; width: 100%; height: 0.42em; color: var(--sand); }
.em-ul { position: relative; display: inline-block; white-space: nowrap; }
.em-ul .squiggle { position: absolute; left: -2%; right: -2%; bottom: 0.04em; width: 104%; opacity: .9; }

@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@keyframes spin-slow { to { transform: rotate(360deg) } }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: .9 } 50% { transform: scale(.7); opacity: .5 } }
@media (prefers-reduced-motion: no-preference) {
  .doodle--spark svg { animation: twinkle 3.4s ease-in-out infinite; transform-origin: center; }
  .float-soft { animation: floaty 6s ease-in-out infinite; }
}

/* --- carte-citation (recrée ses posts Insta) --- */
.qcard {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.qcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.qcard .rays { inset: -14%; }
.qcard .motif {
  position: absolute;
  width: 64%; height: 64%;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  opacity: 0.55; z-index: 1;
}
.qcard-txt { position: relative; z-index: 2; }
.qcard .qt {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.92rem, 1.1vw, 1.12rem);
  line-height: 1.16;
  text-wrap: balance;
}
.qcard .qsub {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  margin-top: 9px;
  font-size: clamp(0.76rem, 0.9vw, 0.9rem);
}
.qcard .ig-go {
  position: absolute; inset: auto 12px 12px auto;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.28);
  font-size: 0.8rem; z-index: 3;
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.qcard:hover .ig-go { opacity: 1; transform: none; }
.qcard--pink { background: var(--rose); color: #FBF4E9; }
.qcard--pink .motif { color: var(--cream); }
.qcard--pink .qsub { color: var(--cream); opacity: .92; }
.qcard--pink .rays { --ray: rgba(251,244,233,.5); }
.qcard--cream { background: var(--cream); color: var(--rose-deep); }
.qcard--cream .motif { color: var(--sand); opacity: .42; }
.qcard--cream .qt { color: var(--rose-deep); }
.qcard--cream .qsub { color: var(--sand-deep); }
.qcard--cream .rays { --ray: rgba(201,154,107,.4); }

/* ============ SECTION FEED ============ */
.feed-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 44px; }
.feed-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feed-handle { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--rose-deep); text-decoration: none; }
.feed-handle .ig { width: 30px; height: 30px; }
@media (max-width: 980px) { .feed-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .feed-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ CADRES PHOTO (image-slot) ============ */
.photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(165deg, var(--cream) 0%, var(--rose-soft) 70%, var(--rose) 100%);
  z-index: 1;
}
.photo-frame--arch { border-radius: 240px 240px 30px 30px; }
.photo-frame--soft { border-radius: 30px 30px 220px 220px; }
.photo-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-frame .frame-grain {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 -90px 70px -60px rgba(44,35,32,.25);
  border-radius: inherit;
}

/* ---- HERO figure refait : photo + post flottant + chips ---- */
.hero-figure { position: relative; }
.hero-figure .hero-sun {
  inset: -14% -10% -14% -8%;
  --ray: rgba(255,255,255,.5);
  z-index: 0;
}
.hero-figure .photo-frame { max-width: 380px; margin-inline: auto; position: relative; z-index: 1; }
.qcard--float {
  position: absolute;
  width: 150px;
  right: -10px; bottom: 26px;
  z-index: 4;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--paper);
}
.hero-mini {
  position: absolute;
  right: -14px; bottom: 30px;
  z-index: 5;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: var(--shadow-soft);
  max-width: 250px;
}
.hero-mini .hm-mark {
  width: 40px; height: 40px; flex: none;
  color: var(--rose-deep);
}
.hm-txt { display: flex; flex-direction: column; line-height: 1.15; }
.hm-stars { color: var(--sand-deep); letter-spacing: 1px; font-size: 0.78rem; }
.hm-txt b { font-weight: 800; font-size: 0.94rem; color: var(--ink); }
.hm-txt small { font-size: 0.74rem; color: var(--ink-soft); }
.hero-float.tl { z-index: 5; }
.hero-figure .doodle--spark { width: 44px; height: 44px; top: -6px; right: 36px; color: var(--cream); }
.hero-figure .doodle--heart { width: 30px; height: 30px; left: -6px; top: 120px; color: var(--paper); }

/* statement : rayons en sand, photo plus chaude */
[data-hero="statement"] .hero-figure .hero-sun { --ray: rgba(201,154,107,.45); }
[data-hero="statement"] .qcard--float { border-color: var(--cream); }

/* ---- ABOUT figure refait ---- */
.about-photo { position: relative; }
.about-photo .about-sun {
  inset: -12%;
  --ray: rgba(201,154,107,.42);
  z-index: 0;
}
.about-photo .photo-frame { position: relative; z-index: 1; }
.about-photo .sig {
  position: absolute; bottom: -16px; right: -6px; z-index: 4;
}
.about-badge {
  position: absolute; top: 18px; left: -18px; z-index: 4;
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-card);
  font-weight: 800; font-size: 0.82rem;
  color: var(--ink);
}
.about-photo .doodle--arrow { width: 70px; height: 70px; right: 8px; top: -34px; color: var(--rose-deep); }
@media (min-width: 901px) {
  /* desktop : flèche retournée (elle pointe vers la photo, pas vers l'extérieur) */
  .about-photo .doodle--arrow { transform: scaleX(-1); }
}

/* ---- petite flèche manuscrite vers le formulaire ---- */
.cta-arrow {
  position: absolute; z-index: 5;
  width: 120px; height: 90px;
  right: -30px; top: 40%;
  color: var(--sand);
}
.cta-note {
  position: absolute; z-index: 5;
  right: -64px; top: 28%;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sand);
  font-size: 1.05rem;
  transform: rotate(-8deg);
}
@media (max-width: 980px) { .cta-arrow, .cta-note { display: none; } }

@media (max-width: 860px) {
  .hero-figure .photo-frame { max-width: 320px; }
  .qcard--float { width: 130px; right: 0; }
}

/* ============ Instagram-profile feed (vrai look IG) ============ */
.ig-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  max-width: 780px;
  margin-inline: auto;
}
.ig-head {
  display: flex; gap: 26px; align-items: center;
  padding: 6px 4px 22px;
  border-bottom: 1px solid var(--line);
}
.ig-ava {
  width: 94px; height: 94px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--rose-soft), var(--rose));
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--rose-soft);
}
.ig-ava .brand-mark { width: 54px; height: 54px; color: #fff; }
.ig-meta { flex: 1; min-width: 0; }
.ig-handle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ig-name { font-size: 1.4rem; font-weight: 800; }
.ig-verified { width: 20px; height: 20px; flex: none; }
.ig-follow {
  margin-left: auto;
  background: var(--rose-deep); color: #fff;
  text-decoration: none; font-weight: 800; font-size: 0.9rem;
  padding: 9px 22px; border-radius: 10px; transition: .2s;
}
.ig-follow:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ig-stats { list-style: none; display: flex; gap: 28px; padding: 0; margin: 14px 0 0; flex-wrap: wrap; font-size: 0.98rem; color: var(--ink-soft); }
.ig-stats b { color: var(--ink); font-weight: 800; }
.ig-bio { margin-top: 14px; font-size: 0.96rem; line-height: 1.5; color: var(--ink); }
.ig-bio strong { font-weight: 800; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 20px; }
.ig-tile {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  display: block; text-decoration: none;
  background: var(--cream); border-radius: 5px;
}
.ig-tile img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.ig-tile .rays { inset: -14%; }
.ig-tile .motif { position: absolute; width: 62%; height: 62%; left: 50%; top: 54%; transform: translate(-50%,-50%); opacity: .5; z-index: 1; }
.ig-tile--pink { background: var(--rose); }
.ig-tile--pink .motif { color: var(--cream); }
.ig-tile--pink .rays { --ray: rgba(251,244,233,.5); }
.ig-tile--cream { background: var(--cream); }
.ig-tile--cream .motif { color: var(--sand); opacity: .42; }
.ig-tile--cream .rays { --ray: rgba(201,154,107,.4); }
.ig-quote { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; }
.iq-t { font-family: var(--font-display); font-weight: 600; font-size: clamp(.8rem, 1.5vw, 1.02rem); line-height: 1.15; text-wrap: balance; }
.iq-s { font-family: var(--font-display); font-style: italic; margin-top: 7px; font-size: clamp(.7rem, 1.15vw, .82rem); }
.ig-tile--pink .iq-t, .ig-tile--pink .iq-s { color: #FBF4E9; }
.ig-tile--cream .iq-t { color: var(--rose-deep); }
.ig-tile--cream .iq-s { color: var(--sand-deep); }
.ig-ic { position: absolute; top: 9px; right: 9px; width: 18px; height: 18px; z-index: 3; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.ig-ov { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 18px; background: rgba(20,12,10,.42); color: #fff; font-weight: 800; font-size: 0.95rem; opacity: 0; transition: opacity .25s; }
.ig-tile:hover .ig-ov { opacity: 1; }
@media (max-width: 560px) {
  .ig-card { padding: 18px; }
  .ig-head { gap: 16px; }
  .ig-ava { width: 74px; height: 74px; }
  .ig-ava .brand-mark { width: 42px; height: 42px; }
  .ig-name { font-size: 1.15rem; }
  .ig-stats { gap: 14px; font-size: 0.82rem; }
  .ig-follow { padding: 8px 16px; }
}

/* ============ Motif en fond — section "Soyons honnêtes" ============ */
#probleme { overflow: hidden; }
.sec-motif {
  position: absolute;
  top: -110px; left: -140px;
  width: 440px; height: 440px;
  color: #F4C3AE;
  opacity: 1;
  transform: rotate(-14deg);
  z-index: 0;
}
#probleme .wrap { position: relative; z-index: 2; }

/* ============ RÉSULTATS — refonte créative (DM Instagram) ============ */
#resultats { overflow: hidden; }
#resultats .wrap { position: relative; z-index: 2; }
.res-sun { position: absolute; width: 680px; height: 680px; right: -360px; top: -340px; --ray: rgba(255,255,255,.3); z-index: 0; }
.res-motif { position: absolute; width: 320px; height: 320px; left: -100px; bottom: -110px; color: #fff; opacity: .12; transform: rotate(10deg); z-index: 0; }

.results-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.results-head .kicker { color: #FBF4E9; }
.results-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); text-wrap: balance; }
.results-head h2 em { color: #FBF4E9; font-style: italic; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 24px;
  background: rgba(255,252,247,.95); color: var(--ink);
  padding: 11px 22px; border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.rating-pill .rp-stars { color: var(--sand-deep); letter-spacing: 2px; }
.rating-pill .rp-score { font-size: 0.95rem; }
.rating-pill .rp-score b { font-family: var(--font-display); font-size: 1.25rem; }
.rating-pill .rp-sep { width: 1px; height: 18px; background: var(--line); }
.rating-pill .rp-txt { font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); }

.results-stage { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 34px; align-items: start; }
@media (max-width: 920px) { .results-stage { grid-template-columns: 1fr; gap: 28px; } }

/* Featured pull-quote */
.feat-quote {
  position: relative; overflow: hidden;
  background: var(--cream); color: var(--ink);
  border-radius: 30px; padding: 42px 40px 36px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.5deg);
}
.feat-quote .rays { inset: -20%; --ray: rgba(201,154,107,.3); }
.feat-quote > .motif { position: absolute; width: 72%; height: 72%; right: -10%; bottom: -14%; color: var(--rose-soft); opacity: .5; z-index: 0; }
.fq-mark { position: absolute; top: 2px; left: 30px; font-family: var(--font-display); font-size: 7rem; line-height: 1; color: var(--rose-soft); z-index: 1; }
.fq-body { position: relative; z-index: 2; }
.feat-quote .stars { color: var(--sand); letter-spacing: 2px; font-size: 1.1rem; }
.feat-quote blockquote { margin: 14px 0 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.62rem); line-height: 1.34; font-weight: 500; }
.feat-quote blockquote em { color: var(--rose-deep); font-style: italic; }
.feat-quote .who { margin-top: 26px; display: flex; align-items: center; gap: 13px; }
.feat-quote .who .av {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--rose-soft); color: var(--wine);
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.25rem;
}
.feat-quote .who .nm { font-weight: 800; }
.feat-quote .who .rl { font-size: 0.85rem; color: var(--ink-soft); }
.feat-quote .doodle--spark { width: 38px; height: 38px; top: 20px; right: 24px; color: var(--rose); z-index: 3; }

/* DM Instagram-style thread */
.dm { background: #fff; color: var(--ink); border-radius: 30px; box-shadow: var(--shadow-soft); overflow: hidden; display: flex; flex-direction: column; transform: rotate(1deg); }
.dm-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dm-ava { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, var(--rose-soft), var(--rose)); }
.dm-ava .brand-mark { width: 26px; height: 26px; color: #fff; }
.dm-id { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.dm-id b { font-weight: 800; }
.dm-id small { color: var(--ink-soft); font-size: 0.78rem; }
.dm-id small::before { content: "● "; color: #4caf72; font-size: 0.7em; }
.dm-ig { width: 22px; height: 22px; color: var(--rose-deep); flex: none; }
.dm-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 11px; background: linear-gradient(180deg, #fff, #FFF7F0); }
.dm-day { text-align: center; font-size: 0.74rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 2px; }
.dm-row { display: flex; align-items: flex-end; gap: 8px; }
.dm-row.out { justify-content: flex-end; }
.dm-pic { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--rose-soft); }
.dm-bubble { position: relative; max-width: 76%; padding: 11px 15px; border-radius: 20px 20px 20px 6px; background: #F1E7DB; font-size: 0.95rem; line-height: 1.35; }
.dm-bubble.out { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; border-radius: 20px 20px 6px 20px; }
.dm-react { position: absolute; bottom: -11px; right: 10px; font-size: 0.82rem; background: #fff; border-radius: 50%; padding: 2px 4px; box-shadow: 0 2px 6px rgba(0,0,0,.14); line-height: 1; }
.dm-seen { text-align: right; font-size: 0.74rem; color: var(--ink-soft); margin-top: 2px; }

/* mini-raves marquee line */
.mini-raves { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; font-size: 0.96rem; color: #FFF3E8; }
.mini-raves .mr b { font-weight: 800; color: #fff; }
.mini-raves .mr-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cream); }

@media (max-width: 920px) { .feat-quote, .dm { transform: none; } }

/* Cadrage manuel des portraits */
.about-photo .photo-frame img {
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-figure .photo-frame img {
  object-fit: cover;
  object-position: 50% 14%;
}

/* ============================================================
   FIXES MOBILE — tout doit tenir dans un écran de 360-390px
   ============================================================ */
@media (max-width: 560px) {
  /* nav : marque + CTA compactés pour tenir côte à côte */
  .nav .wrap { padding-inline: 16px; }
  .nav-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1rem; }
  .nav-cta { padding: 10px 14px; font-size: 0.8rem; }

  /* gros boutons : padding réduit + retour à la ligne autorisé
     (sinon le nowrap les fait déborder et le texte est coupé) */
  .btn--lg { padding: 17px 26px; font-size: 0.98rem; }
  .btn { white-space: normal; text-align: center; }

  /* formulaire : Prénom / Email empilés */
  .field.row2 { grid-template-columns: 1fr; }
}
