/* ==========================================================================
   avis-sur-jm-date.com
   Direction : un carnet de papier ivoire, un accent bordeaux rosé, des titres
   en serif et un seul motif — un fil continu qui forme deux boucles.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --bg: #fff7fa;
  --bg-deep: #ffeaf3;
  --surface: #ffffff;
  --ink: #2a1621;
  --ink-2: #503a46;
  --muted: #8c7280;
  --line: #f5d7e4;
  --line-soft: #fae7ef;

  --accent: #e0187a;
  --accent-ink: #b80f60;
  --accent-soft: #ffd3e7;
  --accent-tint: #fff0f7;

  --pink: #f01f87;
  --pink-deep: #c9116a;
  --grad: radial-gradient(900px 420px at 12% -10%, rgba(255, 120, 185, 0.55), transparent 62%),
    radial-gradient(700px 380px at 95% 110%, rgba(150, 10, 80, 0.35), transparent 65%),
    linear-gradient(135deg, #f01f87 0%, #e0187a 48%, #c9116a 100%);
  --on-pink: #ffffff;
  --on-pink-2: rgba(255, 255, 255, 0.9);
  --on-pink-3: rgba(255, 255, 255, 0.74);

  --sand: #a5672c;
  --sand-soft: #fbefe2;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 1px 2px rgba(120, 20, 70, 0.05), 0 12px 30px -18px rgba(150, 20, 80, 0.3);
  --header-h: 68px;
  --wrap: 1120px;
  --gutter: 24px;
}

/* --- Base ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43b97, var(--accent) 55%, var(--pink-deep));
  color: #fff;
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: linear-gradient(135deg, #e8288a, var(--accent-ink));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(184, 15, 96, 0.75);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.btn--light {
  background: #fff;
  color: var(--accent-ink);
  box-shadow: 0 6px 18px -10px rgba(90, 0, 40, 0.6);
}

.btn--light:hover {
  background: #fff4f9;
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -12px rgba(90, 0, 40, 0.7);
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* --- En-tête ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--pink);
  box-shadow: 0 10px 30px -18px rgba(120, 10, 60, 0.7);
}

/* L'ouverture rose passe sous l'en-tête : une seule teinte en haut de page. */
.site-header + main > .hero:first-child,
.site-header + main > .page-hero:first-child {
  margin-top: calc(-1 * var(--header-h));
}

.site-header + main > .hero:first-child {
  padding-top: calc(56px + var(--header-h));
}

.site-header + main > .page-hero:first-child {
  padding-top: calc(56px + var(--header-h));
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
}

.brand-tag {
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--on-pink);
  font: 600 0.66rem/1.25 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(5px);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name small {
  margin-bottom: 4px;
  color: var(--muted);
  font: 600 0.62rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-name span {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--on-pink-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav a.is-active,
.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Fil décoratif ---------------------------------------------------------- */

.thread {
  position: absolute;
  pointer-events: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.32;
}

.thread--draw path {
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: draw 3.8s cubic-bezier(0.55, 0.1, 0.25, 1) 0.2s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* --- Ouverture ------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  background: var(--grad);
  color: var(--on-pink-2);
}

.hero h1,
.page-hero h1 {
  color: #fff;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #fff;
}

.hero .thread,
.page-hero .thread,
.verdict .thread,
.cta-band .thread {
  stroke: #fff;
}

.hero + .wrap {
  margin-top: 48px;
}

.hero .thread {
  left: 50%;
  top: var(--header-h);
  width: 1500px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  stroke-width: 1.8;
  opacity: 0.42;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: start;
}

.hero-copy {
  padding-top: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font: 600 0.74rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 4.6vw, 3.55rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: #ffd6ea;
  font-style: italic;
  font-weight: 300;
}

.hero-lead {
  max-width: 34rem;
  margin: 24px 0 0;
  color: var(--on-pink-2);
  font-size: 1.12rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.2;
}

.facts svg {
  width: 16px;
  height: 16px;
  color: #fff;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 26px 0 0;
  color: var(--on-pink-3);
  font-size: 0.85rem;
}

.byline span + span::before {
  content: "·";
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Carte d'inscription --------------------------------------------------- */

.signup {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.signup-card {
  position: relative;
  padding: 30px 28px 24px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(110, 0, 50, 0.12), 0 34px 70px -34px rgba(90, 0, 45, 0.65);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.signup.is-flash .signup-card {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 34px 70px -30px rgba(90, 0, 45, 0.7);
  transform: translateY(-3px);
}

.signup-head {
  margin-bottom: 18px;
  text-align: center;
}

.signup-head h2 {
  font-size: 1.65rem;
  font-weight: 500;
}

.signup-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.signup-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.78rem;
}

.signup-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.signup-note span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* Le formulaire est injecté par le script du partenaire dans #selector. */

.form-slot {
  position: relative;
  min-height: 112px;
}

.form-slot.is-ready {
  min-height: 0;
}

.form-loading,
.form-fallback {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-slot.is-ready .form-loading,
.form-slot.is-ready .form-fallback {
  display: none;
}

.form-fallback {
  display: none;
  padding: 18px;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  color: var(--ink-2);
  font-size: 0.92rem;
  text-align: center;
}

.form-slot.is-failed .form-loading {
  display: none;
}

.form-slot.is-failed .form-fallback {
  display: flex;
}

.skel {
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--bg) 0%, #fbf7f2 50%, var(--bg) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.skel--btn {
  margin-top: 6px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, #f8ecef 50%, var(--accent-soft) 100%);
  background-size: 200% 100%;
}

.skel--line {
  height: 14px;
  width: 70%;
  margin: 2px auto 0;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

#selector {
  font-family: var(--sans);
  color: var(--ink-2);
}

#selector:empty {
  display: none;
}

/* Thème du formulaire : la plateforme expose ses couleurs en variables. */
#selector .ptprelinker-contents-register-form-default,
#selector .ptprelinker-register-form {
  --ptprelinker-css-bg-body: transparent;
  --ptprelinker-css-bg-body-cgu: transparent;
  --ptprelinker-css-ft-body: var(--ink-2);
  --ptprelinker-css-ft-body-cgu: var(--muted);
  --ptprelinker-css-middle: var(--ink-2);

  --ptprelinker-css-primary: var(--accent);
  --ptprelinker-css-info: var(--accent);
  --ptprelinker-css-link-register: var(--accent);
  --ptprelinker-css-link-register-hover: var(--accent-ink);

  --ptprelinker-css-bg-input: var(--bg);
  --ptprelinker-css-ft-input: var(--ink);
  --ptprelinker-css-ft-placeholder: var(--muted);
  --ptprelinker-css-radius-input: 12px;
  --ptprelinker-css-height-input: 48px;
  --ptprelinker-css-border-width-input: 1px;
  --ptprelinker-css-border-input-focus: var(--accent);

  --ptprelinker-css-bg-border-icon: var(--bg);
  --ptprelinker-css-icon-radius: 12px;
  --ptprelinker-css-bg-icon-register-portal: var(--accent-tint);
  --ptprelinker-css-bg-icon-register-gold: var(--accent-tint);
  --ptprelinker-css-bg-icon-register-iron: var(--accent-tint);
  --ptprelinker-css-bg-icon-register-silver: var(--accent-tint);
  --ptprelinker-css-ft-icon-register-portal: var(--accent);
  --ptprelinker-css-ft-icon-register-gold: var(--accent);
  --ptprelinker-css-ft-icon-register-iron: var(--accent);
  --ptprelinker-css-ft-icon-register-silver: var(--accent);
  --ptprelinker-css-color-icon-register-gold: var(--accent);
  --ptprelinker-css-bg-primary-register-gold: var(--accent-tint);
  --ptprelinker-css-ft-primary-register-gold: var(--accent);

  --ptprelinker-css-bg-checkbox: var(--accent);
  --ptprelinker-css-ft-checkbox: #fff;

  --ptprelinker-css-bg-success: var(--accent);
  --ptprelinker-css-success: var(--accent);
  --ptprelinker-css-ft-success: #fff;
  --ptprelinker-css-border-success: var(--accent);
  --ptprelinker-css-hover-success: var(--accent-ink);
  --ptprelinker-css-border-hover-success: var(--accent-ink);
  --ptprelinker-css-radius-btn: 999px;

  font-family: var(--sans) !important;
}

#selector .ptprelinker--box,
#selector .ptprelinker-content,
#selector .ptprelinker-content-inner,
#selector .ptprelinker-content-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#selector .ptprelinker-close,
#selector .ptprelinker-legend-form,
#selector .ptprelinker-overlay {
  display: none !important;
}

#selector .ptprelinker-register-form,
#selector .ptprelinker-register-form form {
  background: transparent !important;
}

#selector input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
#selector select {
  font-family: var(--sans) !important;
  /* 16 px : en dessous, iOS zoome à la mise au point du champ. */
  font-size: 16px !important;
}

#selector button,
#selector input[type="submit"] {
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

#selector input[type="checkbox"] {
  accent-color: var(--accent);
}

#selector label {
  font-size: 0.82rem;
  line-height: 1.45;
}

/* --- Bandeau « en bref » --------------------------------------------------- */

.brief {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brief h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.brief-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.brief-points li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.brief-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.52em;
  width: 14px;
  height: 8px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

.score {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--surface) 84%, transparent 85% 100%),
    conic-gradient(var(--accent) var(--pct, 90%), var(--accent-soft) 0);
  text-align: center;
}

.score b {
  display: block;
  color: var(--ink);
  font: 400 3rem/1 var(--serif);
  letter-spacing: -0.02em;
}

.score b small {
  color: var(--muted);
  font-size: 1.1rem;
}

.score span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --- Chapitres ------------------------------------------------------------- */

.chapter {
  position: relative;
  padding: 88px 0 0;
}

.chapter-head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px 22px;
  align-items: baseline;
  margin-bottom: 30px;
}

.chapter-num {
  color: var(--accent);
  font: italic 300 2.4rem/1 var(--serif);
}

.chapter-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
}

.chapter-head p {
  grid-column: 2;
  max-width: 44rem;
  margin: 6px 0 0;
  color: var(--ink-2);
}

.chapter-body {
  padding-left: 96px;
}

.prose {
  max-width: 44rem;
}

.prose p {
  margin-bottom: 1.1em;
}

.prose--lead p:first-child {
  color: var(--ink);
  font-size: 1.12rem;
}

/* Présentation : texte + illustration */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.illus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.illus .thread {
  left: 50%;
  top: 50%;
  width: 520px;
  max-width: none;
  transform: translate(-50%, -54%);
  opacity: 0.35;
}

.device {
  position: relative;
  width: 252px;
  padding: 10px;
  border-radius: 40px;
  background: #2a2126;
  box-shadow: 0 40px 70px -40px rgba(60, 20, 40, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.device-screen {
  overflow: hidden;
  padding: 16px 14px 18px;
  border-radius: 31px;
  background: var(--surface);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.device-top .mini-logo {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--pink);
}

.device-top .mini-logo img {
  width: auto;
  height: 15px;
}

.device-top i {
  display: block;
  width: 46px;
  height: 7px;
  border-radius: 4px;
  background: var(--line-soft);
}

.pcard {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--surface);
}

.pcard-photo {
  position: relative;
  height: 210px;
  background:
    radial-gradient(60% 55% at 30% 32%, rgba(214, 140, 160, 0.85), transparent 70%),
    radial-gradient(55% 60% at 74% 70%, rgba(155, 42, 78, 0.55), transparent 72%),
    radial-gradient(70% 60% at 70% 18%, rgba(240, 205, 170, 0.9), transparent 70%),
    linear-gradient(160deg, #f3dccf, #e9c3c8);
}

.pcard-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 253, 249, 0.85);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.pcard-photo .tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--accent-ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pcard-body {
  padding: 13px 14px 14px;
}

.pcard-body .bar {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: var(--line-soft);
}

.pcard-body .bar + .bar {
  margin-top: 7px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.chips span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.64rem;
  line-height: 1.5;
}

.device-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 14px;
}

.device-actions span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.device-actions span.yes {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.device-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.device-actions span.yes svg {
  fill: currentColor;
  stroke: none;
}

.caption {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  text-align: center;
}

/* Atouts */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 28px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: #dccfc2;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  font-weight: 500;
}

.feature p {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.68;
}

.after-note {
  max-width: 46rem;
  margin: 30px 0 0;
}

/* Limites */
.limits {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.limit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 30px;
}

.limit + .limit {
  border-top: 1px solid var(--line-soft);
}

.limit-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sand-soft);
  color: var(--sand);
}

.limit-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.limit h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 500;
}

.limit p {
  font-size: 0.96rem;
}

/* Pour qui / tarifs */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  position: relative;
  padding: 32px 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font: 600 0.7rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.panel h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 400;
}

.panel p {
  font-size: 0.97rem;
}

.ticks {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

/* Grille de notes */
.scores {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.scores table {
  width: 100%;
  border-collapse: collapse;
}

.scores caption {
  text-align: left;
}

.scores th,
.scores td {
  padding: 17px 24px;
  text-align: left;
  vertical-align: middle;
}

.scores thead th {
  background: var(--bg);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scores tbody tr + tr th,
.scores tbody tr + tr td {
  border-top: 1px solid var(--line-soft);
}

.scores tbody th {
  width: 30%;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.scores .meter {
  width: 26%;
}

.meter-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: var(--accent-soft);
}

.meter-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 3px;
  background: var(--accent);
}

.scores .note {
  width: 10%;
  color: var(--ink);
  font: 500 1.05rem/1 var(--serif);
  white-space: nowrap;
}

.scores .comment {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.scores tr.total th,
.scores tr.total td {
  background: var(--accent-tint);
}

.scores tr.total .note {
  color: var(--accent);
  font-size: 1.25rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: #dccfc2;
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  display: block;
  padding: 20px 64px 20px 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin-top 0.25s ease;
}

.faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* Verdict */
.verdict {
  position: relative;
  margin-top: 96px;
  padding: 92px 0 96px;
  background: var(--grad);
  color: var(--on-pink-2);
  text-align: center;
  overflow: hidden;
}

.verdict .thread {
  left: 50%;
  top: 50%;
  width: 1500px;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.verdict-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.verdict .eyebrow {
  justify-content: center;
  color: #fff;
}

.verdict .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.verdict h2 {
  margin-bottom: 22px;
  color: #fffdf9;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
}

.verdict p {
  margin: 0 auto 34px;
  font-size: 1.08rem;
}

/* --- Pages intérieures ------------------------------------------------------ */

.page-hero {
  position: relative;
  padding: 56px 0 60px;
  overflow: hidden;
  background: var(--grad);
  color: var(--on-pink-2);
}

.page-hero .lead {
  color: var(--on-pink-2);
}

.page-hero .thread {
  right: -300px;
  top: -40px;
  width: 900px;
  max-width: none;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  opacity: 0.22;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  max-width: 42rem;
  margin: 20px 0 0;
  font-size: 1.1rem;
}

.back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--on-pink-3);
  font-size: 0.88rem;
  text-decoration: none;
}

.back:hover {
  color: #fff;
}

.page-body {
  padding: 30px 0 24px;
}

.block {
  margin-top: 18px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.block h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  font-weight: 400;
}

.block h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
  font-weight: 500;
}

.block p,
.block li {
  font-size: 0.98rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.step {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--bg);
}

.step p {
  margin: 0;
  font-size: 0.93rem;
}

.callout {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--sand-soft);
  color: var(--ink-2);
  font-size: 0.93rem;
}

.callout svg {
  width: 22px;
  height: 22px;
  color: var(--sand);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-list {
  margin: 0;
  padding: 0;
}

.legal-list > div {
  padding: 22px 0;
}

.legal-list > div + div {
  border-top: 1px solid var(--line-soft);
}

.legal-list dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
}

.legal-list dd {
  margin: 0;
  font-size: 0.97rem;
}

.updated {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}

.form {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e0187a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-tint);
}

.form .btn {
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-status {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 0.88rem;
}

.aside {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.aside h2 {
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 400;
}

.aside dl {
  margin: 0;
}

.aside dl > div {
  padding: 16px 0;
}

.aside dl > div + div {
  border-top: 1px solid var(--line-soft);
}

.aside dt {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.aside dd {
  margin: 0;
  font-size: 0.92rem;
}

.cta-band {
  position: relative;
  margin-top: 26px;
  padding: 40px 34px;
  border-radius: var(--r-lg);
  background: var(--grad);
  color: var(--on-pink-2);
  text-align: center;
  overflow: hidden;
}

.cta-band .thread {
  left: 50%;
  top: 50%;
  width: 1100px;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.28;
}

.cta-band > :not(.thread) {
  position: relative;
}

.cta-band h2 {
  margin-bottom: 8px;
  color: #fffdf9;
  font-size: 1.7rem;
  font-weight: 400;
}

.cta-band p {
  margin: 0 auto 22px;
  max-width: 34rem;
}

/* --- Pied de page ------------------------------------------------------------ */

.site-footer {
  padding: 52px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 0.86rem;
}

.verdict + .site-footer {
  border-top: 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
}

.footer-about {
  max-width: 30rem;
}

.footer-about .brand {
  margin-bottom: 14px;
}

.footer-about p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.site-footer--simple {
  padding: 30px 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.9;
}

.site-footer--simple p {
  margin: 0;
}

.site-footer--simple a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer--simple a:hover,
.site-footer--simple a[aria-current="page"] {
  color: var(--accent);
}

/* --- Barre d'inscription mobile ---------------------------------------------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dock.is-visible {
  transform: translateY(0);
}

.dock .btn {
  width: 100%;
}

.dock p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

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

@media (max-width: 1060px) {
  .nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .hero-grid {
    gap: 40px;
  }

  .chapter-body {
    padding-left: 0;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    margin-left: auto;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(60, 30, 40, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav a {
    padding: 14px 4px;
    border-radius: 0;
    color: var(--ink-2);
    font-size: 1rem;
  }

  .nav a + a {
    border-top: 1px solid var(--line-soft);
  }

  .nav a:hover,
  .nav a.is-active,
  .nav a[aria-current="page"] {
    background: transparent;
    color: var(--accent);
  }

  .site-header .wrap {
    gap: 12px;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .site-header + main > .hero:first-child {
    padding-top: calc(36px + var(--header-h));
  }

  .hero .thread {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .signup {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dock {
    display: block;
  }

  body.has-dock .site-footer {
    padding-bottom: calc(40px + 84px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 1rem;
  }

  .brand-name span {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-tag {
    padding-left: 9px;
    font-size: 0.58rem;
  }

  .brand-name small {
    font-size: 0.56rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 1.04rem;
  }

  .facts {
    margin-top: 22px;
    gap: 8px;
  }

  .facts li {
    font-size: 0.8rem;
  }

  .byline {
    margin-top: 18px;
    font-size: 0.8rem;
  }

  .signup-card {
    padding: 24px 18px 18px;
    border-radius: 22px;
  }

  .signup-head h2 {
    font-size: 1.45rem;
  }

  .brief {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .brief .score {
    order: -1;
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }

  .score b {
    font-size: 2.4rem;
  }

  .chapter {
    padding-top: 64px;
  }

  .chapter-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 22px;
  }

  .chapter-num {
    font-size: 1.7rem;
  }

  .chapter-head p {
    grid-column: 1;
  }

  .features,
  .duo,
  .steps,
  .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .row {
    gap: 0;
  }

  .feature,
  .panel {
    padding: 24px 22px;
  }

  .limit {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 22px;
  }

  .scores thead {
    display: none;
  }

  .scores table,
  .scores tbody,
  .scores tr,
  .scores th,
  .scores td {
    display: block;
    width: auto;
  }

  .scores tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding: 18px 20px;
  }

  .scores tbody tr + tr {
    border-top: 1px solid var(--line-soft);
  }

  .scores tbody tr + tr th,
  .scores tbody tr + tr td {
    border-top: 0;
  }

  .scores th,
  .scores td {
    padding: 0;
  }

  .scores tbody th {
    width: auto;
  }

  .scores .note {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    text-align: right;
  }

  .scores .meter {
    grid-column: 1 / -1;
    width: auto;
  }

  .scores .comment {
    grid-column: 1 / -1;
    font-size: 0.88rem;
  }

  .scores tr.total {
    background: var(--accent-tint);
  }

  .faq summary {
    padding: 18px 52px 18px 20px;
    font-size: 1.04rem;
  }

  .faq summary::after {
    right: 20px;
  }

  .faq .answer {
    padding: 0 20px 20px;
  }

  .verdict {
    margin-top: 72px;
    padding: 68px 0 72px;
  }

  .page-hero {
    padding: 34px 0 40px;
  }

  .site-header + main > .page-hero:first-child {
    padding-top: calc(34px + var(--header-h));
  }

  .page-hero .thread {
    display: none;
  }

  .page-hero h1 {
    font-size: 2.05rem;
  }

  .block,
  .form,
  .aside {
    padding: 24px 20px;
  }

  .cta-band {
    padding: 34px 22px;
  }

  .device {
    width: 236px;
  }

  .illus .thread {
    width: min(420px, 100vw);
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding: 0 14px;
  }

  .brand-name small {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .thread--draw path {
    stroke-dashoffset: 0;
  }
}
