/* MiniProf home — palette logo (navy / lavender / plum / plastron) */
:root {
  --ink: #0b1c33;
  --ink-soft: #8a9bb0;
  --paper: #f6f3ee;
  --paper-deep: #ebe6dc;
  --lavender: #c4a8ef;
  --shell: #8b4db8;
  --shell-deep: #5c2d8a;
  --plastron: #f3e6a8;
  --book: #2a4a8f;
  --highlight: #f3e6a8;
  --highlight-ink: #0b1c33;
  --confetti-cyan: #7ec8e8;
  --confetti-gold: #f0c14a;
  --confetti-violet: #b794f0;
  --line: rgba(11, 28, 51, 0.12);
  --line-on-dark: rgba(246, 243, 238, 0.1);
  --surface: rgba(255, 255, 255, 0.88);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Newsreader", "Georgia", serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: clip;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.home {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.home::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Hero (navy full-bleed) ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding:
    clamp(1.5rem, 4vw, 3rem)
    clamp(1.25rem, 5vw, 4rem)
    0;
  /* Le hero ne doit pas devenir un second conteneur défilable. */
  overflow: visible;
  color: var(--paper);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5rem;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(11, 28, 51, 0.35) 45%,
    var(--ink) 100%
  );
}

@media (max-height: 820px) {
  .hero {
    min-height: auto;
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: 0;
  }
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 35% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.hero-wash {
  position: absolute;
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(ellipse 55% 50% at 78% 68%, rgba(139, 77, 184, 0.45), transparent 62%),
    radial-gradient(ellipse 40% 38% at 14% 22%, rgba(243, 230, 168, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 48% 100%, rgba(42, 74, 143, 0.35), transparent 58%),
    linear-gradient(165deg, #12263f 0%, var(--ink) 48%, #081422 100%);
  animation: wash-breathe 7s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding-bottom: clamp(1rem, 4vh, 3rem);
}

.brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.75rem);
  font-weight: 800;
  font-optical-sizing: auto;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
  overflow-wrap: normal;
}

/* Highlight via background (évite le bug z-index/opacity du ::before) */
.mark {
  display: inline;
  padding: 0.02em 0.14em 0.1em;
  color: var(--ink);
  white-space: nowrap;
  border-radius: 2px;
  background-image: linear-gradient(var(--plastron), var(--plastron));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 92%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: mark-wipe 0.7s var(--ease-out) 0.9s forwards;
}

.lede {
  margin: 0 0 1.1rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 400;
  color: #c5d0de;
  line-height: 1.5;
}

.trust-line {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--lavender);
  line-height: 1.45;
}

.trust-line span {
  color: var(--plastron);
}

.cta {
  display: flex;
}

.btn-start {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.55rem;
  border: 2px solid var(--plastron);
  border-radius: 4px;
  background: var(--plastron);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--shell);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background 0.2s ease,
    border-color 0.2s ease;
  animation: cta-glow 2.8s ease-in-out 1.8s infinite;
}

.btn-start:hover {
  animation: none;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--shell);
  background: #fff;
  border-color: #fff;
}

.btn-start:active {
  animation: none;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shell);
}

.btn-start.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 6px 6px 0 rgba(139, 77, 184, 0.45);
  animation: none;
}

.btn-start.btn-ghost:hover {
  background: var(--shell);
  border-color: var(--shell);
  color: #fff;
  box-shadow: 8px 8px 0 var(--plastron);
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: min(78vh, 740px);
  height: 100%;
  margin-right: clamp(-1.25rem, -4vw, 0);
  margin-bottom: 0;
}

.mascot-stage {
  position: relative;
  width: min(100%, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* pas d’isolation : mix-blend-mode doit fondre le fond noir dans le navy du hero */
}

.mascot-stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 10% 4%;
  z-index: 0;
  background: radial-gradient(
    ellipse 58% 52% at 50% 42%,
    rgba(139, 77, 184, 0.55) 0%,
    rgba(42, 74, 143, 0.25) 45%,
    transparent 72%
  );
  filter: blur(32px);
  pointer-events: none;
}

.mascot {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: min(88vh, 720px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
  animation:
    mascot-enter 1.1s var(--ease-out) 0.45s both,
    mascot-float 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.6s infinite;
  transform-origin: 50% 85%;
  transition: filter 0.35s var(--ease-out);
}

.hero:has(.btn-start:hover) .mascot {
  animation-name: mascot-enter, mascot-react;
  animation-duration: 1.1s, 3.2s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-delay: 0s, 0s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  filter: drop-shadow(0 20px 36px rgba(139, 77, 184, 0.28));
}

.mascot-fade {
  display: none;
}

/* Confettis — formes logo */
.spark {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  --parallax-y: 0px;
  --drift-x: 4px;
  --drift-y: -14px;
  --drift-rot: 18deg;
  --drift-dur: 3.8s;
  animation:
    spark-pop 0.55s var(--ease-out) forwards,
    spark-drift var(--drift-dur) ease-in-out infinite;
  will-change: transform;
}

.spark-a {
  top: 18%;
  left: 12%;
  background: var(--confetti-gold);
  --drift-x: 6px;
  --drift-y: -18px;
  --drift-rot: 22deg;
  --drift-dur: 4.2s;
  animation-delay: 0.9s, 1.35s;
}

.spark-b {
  top: 28%;
  right: 10%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--confetti-cyan);
  --drift-x: -5px;
  --drift-y: -12px;
  --drift-rot: -16deg;
  --drift-dur: 3.4s;
  animation-delay: 1.05s, 1.5s;
}

.spark-c {
  top: 48%;
  left: 6%;
  width: 7px;
  height: 14px;
  background: var(--plastron);
  --drift-x: 8px;
  --drift-y: -10px;
  --drift-rot: 12deg;
  --drift-dur: 4.6s;
  animation-delay: 1.15s, 1.65s;
}

.spark-d {
  top: 12%;
  right: 22%;
  width: 12px;
  height: 6px;
  background: var(--confetti-violet);
  --drift-x: -7px;
  --drift-y: -16px;
  --drift-rot: 28deg;
  --drift-dur: 3.9s;
  animation-delay: 1.25s, 1.8s;
}

.spark-e {
  top: 38%;
  right: 4%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lavender);
  --drift-x: 5px;
  --drift-y: -20px;
  --drift-rot: -10deg;
  --drift-dur: 5s;
  animation-delay: 1.35s, 1.95s;
}

.spark-f {
  top: 58%;
  left: 18%;
  width: 11px;
  height: 5px;
  background: var(--confetti-cyan);
  --drift-x: -4px;
  --drift-y: -11px;
  --drift-rot: 14deg;
  --drift-dur: 3.6s;
  animation-delay: 1.45s, 2.1s;
}

.spark-g {
  top: 22%;
  left: 42%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--confetti-gold);
  --drift-x: 3px;
  --drift-y: -15px;
  --drift-rot: -24deg;
  --drift-dur: 4.4s;
  animation-delay: 1.2s, 1.7s;
}

.spark-h {
  top: 8%;
  left: 28%;
  width: 6px;
  height: 10px;
  background: var(--confetti-violet);
  --drift-x: -6px;
  --drift-y: -13px;
  --drift-rot: 20deg;
  --drift-dur: 4.1s;
  animation-delay: 1.5s, 2.2s;
}

.spark-i {
  top: 52%;
  right: 16%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--confetti-gold);
  --drift-x: 7px;
  --drift-y: -17px;
  --drift-rot: -14deg;
  --drift-dur: 3.7s;
  animation-delay: 1.55s, 2.3s;
}

.spark-j {
  top: 33%;
  left: 2%;
  width: 10px;
  height: 5px;
  background: var(--lavender);
  --drift-x: 5px;
  --drift-y: -9px;
  --drift-rot: 16deg;
  --drift-dur: 4.8s;
  animation-delay: 1.6s, 2.4s;
}

.spark-k {
  top: 64%;
  right: 28%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--confetti-cyan);
  --drift-x: -3px;
  --drift-y: -12px;
  --drift-rot: 26deg;
  --drift-dur: 3.5s;
  animation-delay: 1.7s, 2.5s;
}

/* Staggered entrance */
.reveal-item {
  opacity: 0;
  transform: translateY(1.4rem);
  animation: rise-in 0.85s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.15s);
}

.hero-visual.reveal-item {
  transform: none;
  animation-name: none;
  opacity: 1;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(11, 28, 51, 0.66);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.25s var(--ease-out),
    background 0.2s ease,
    border-color 0.2s ease;
  animation: scroll-cue-in 0.7s var(--ease-out) 1.8s both;
}

.scroll-cue::after {
  content: "↓";
  color: var(--plastron);
  font-size: 1rem;
  animation: scroll-cue-arrow 1.8s ease-in-out infinite;
}

.scroll-cue:hover {
  background: var(--shell-deep);
  border-color: var(--shell);
  transform: translateX(-50%) translateY(-2px);
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(0.75rem);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-cue-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes scroll-cue-arrow {
  0%,
  100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes mark-wipe {
  to {
    background-size: 100% 92%;
  }
}

@keyframes mascot-enter {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.8deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes mascot-react {
  0%,
  100% {
    transform: translateY(-4px) rotate(0.4deg) scale(1.01);
  }
  50% {
    transform: translateY(-9px) rotate(-0.5deg) scale(1.015);
  }
}

@keyframes spark-pop {
  from {
    opacity: 0;
    transform: scale(0.4) translate3d(0, var(--parallax-y), 0);
  }
  to {
    opacity: 0.95;
    transform: scale(1) translate3d(0, var(--parallax-y), 0);
  }
}

@keyframes spark-drift {
  0%,
  100% {
    transform: translate3d(0, var(--parallax-y), 0) rotate(0deg);
  }
  50% {
    transform: translate3d(var(--drift-x), calc(var(--drift-y) + var(--parallax-y)), 0)
      rotate(var(--drift-rot));
  }
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 6px 6px 0 var(--shell);
  }
  50% {
    box-shadow: 9px 9px 0 var(--shell);
  }
}

@keyframes wash-breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .mark,
  .mascot,
  .spark,
  .btn-start,
  .beat,
  .scroll-reveal,
  .hero-wash,
  .scroll-cue,
  .scroll-cue::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-item,
  .mascot,
  .spark,
  .beat,
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .mark {
    background-size: 100% 92%;
  }

  .btn-start {
    box-shadow: 6px 6px 0 var(--shell);
  }

  .hero:has(.btn-start:hover) .mascot {
    transform: none;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
  }
}

/* ——— Sections ——— */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 2rem);
}

.section-head {
  max-width: 36rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  color: #5a6b80;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

.scroll-reveal.is-in {
  opacity: 1;
  transform: none;
}

.faq details[open] p {
  animation: rise-in 0.35s var(--ease-out);
}

/* Demo chat */
.demo-wrap.hidden {
  opacity: 0;
  transform: translateY(18px);
}

.demo-wrap.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.chat-demo {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 243, 238, 0.9)),
    repeating-linear-gradient(
      transparent,
      transparent 27px,
      rgba(11, 28, 51, 0.05) 27px,
      rgba(11, 28, 51, 0.05) 28px
    );
  box-shadow: 8px 8px 0 rgba(139, 77, 184, 0.22);
}

.messages.demo {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.25rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.messages.demo::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.messages.demo .message {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.messages.demo .message.show {
  opacity: 1;
  transform: none;
}

.messages.demo .message.user {
  align-self: flex-end;
  background: #2a6cf0;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.messages.demo .message.bot {
  align-self: flex-start;
  background: #f0f0f0;
  color: var(--ink);
  border: none;
  border-bottom-left-radius: 4px;
}

.messages.demo .message.loading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-style: italic;
  opacity: 0.75;
  transform: none;
}

.messages.demo .message.loading .loading-text {
  animation: loading-pulse 1.4s ease-in-out infinite;
}

@keyframes loading-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.messages.demo .message-content-wrapper {
  min-width: 0;
}

.messages.demo .message-content {
  word-break: break-word;
}

.demo-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.demo-cta .btn-start {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--plastron);
  animation: none;
}

.demo-cta .btn-start:hover {
  background: var(--shell-deep);
  border-color: var(--shell-deep);
  box-shadow: 8px 8px 0 var(--plastron);
}

/* Value beats — notebook rules, not cards */
.beats {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.beats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.beat {
  padding: 0.5rem 1.25rem;
  border-right: 1.5px solid var(--line);
  opacity: 0;
  transform: translateY(1rem);
}

.beats.is-in .beat {
  animation: rise-in 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 0.1s);
}

.beat:last-child {
  border-right: 0;
}

.beat-mark {
  display: block;
  width: 1.75rem;
  height: 0.35rem;
  margin-bottom: 0.85rem;
  background: var(--plastron);
  box-shadow: 3px 3px 0 var(--shell);
}

.beat h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.beat p {
  margin: 0;
  font-size: 0.98rem;
  color: #5a6b80;
  line-height: 1.45;
}

/* Plans teaser — renvoie vers /offres */
.plans {
  text-align: center;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.plans .section-head {
  margin-bottom: 1.1rem;
}

.plans .section-sub {
  max-width: 34rem;
  margin-inline: auto;
}

.plans-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.plan {
  padding: 0 1.15rem;
}

.plan + .plan {
  border-left: 2px solid var(--plastron);
  box-shadow: inset 2px 0 0 var(--shell);
}

.plan h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.plan-price {
  margin: 0 0 0.45rem !important;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--shell-deep);
  letter-spacing: -0.02em;
}

.plan-price span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #5a6b80;
}

.plan p {
  margin: 0;
  color: #5a6b80;
  font-size: 0.95rem;
  line-height: 1.4;
}

.plan-pro h3 {
  color: var(--shell-deep);
}

.plan-divider {
  display: none;
}

.pro-benefits {
  display: none;
}

.plans-cta {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  text-align: center;
}

.plans-cta .btn-start {
  display: inline-flex;
}

.plans-cta-note {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: #5a6b80;
  line-height: 1.4;
}

.plans-cta-note a {
  color: var(--shell-deep);
  font-weight: 600;
}

.support-band {
  text-align: center;
}

.support-band-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.support-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.support-band p {
  margin: 0 0 1rem;
  color: #5a6b80;
  font-size: 1.05rem;
  line-height: 1.45;
}

.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
}

.support-list a {
  color: var(--shell-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.closing-pro {
  font-weight: 700;
}

/* About */
.about {
  text-align: center;
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.about-lead {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.about-beats {
  margin: 0 auto;
  max-width: 34rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--shell-deep);
}

.about-beats li {
  position: relative;
}

.about-beats li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -0.85rem;
  color: var(--shell);
}

/* Closing CTA band */
.closing {
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2rem);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.closing-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.closing h2 {
  margin: 0 0 0.65rem;
  color: #fff;
}

.closing p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.closing .btn-start {
  background: var(--plastron);
  color: var(--ink);
  border-color: var(--plastron);
}

/* FAQ */
.faq h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1.5px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 0.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s ease;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--shell);
  transition: transform 0.25s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--shell-deep);
}

.faq details p {
  margin: 0 0 1.1rem;
  padding-right: 2rem;
  color: #5a6b80;
  font-size: 1.02rem;
}

.faq a {
  color: var(--shell-deep);
  text-underline-offset: 3px;
}

/* Footer */
.site-foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 2rem) 3rem;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.site-foot .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
}

.site-foot a {
  color: #5a6b80;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-foot a:hover {
  color: var(--shell-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot .copy {
  margin: 0;
  font-size: 0.9rem;
  color: #5a6b80;
  opacity: 0.85;
}

/* Mobile / tablette */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    padding:
      clamp(1.5rem, 5vw, 2.25rem)
      clamp(1.15rem, 4vw, 1.75rem)
      0;
    gap: 0.75rem;
  }

  .hero-copy {
    max-width: none;
    padding-bottom: 0;
    text-align: left;
    z-index: 3;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
    line-height: 1.3;
  }

  .mark {
    white-space: normal;
  }

  .lede {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
  }

  .trust-line {
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
  }

  .hero-visual {
    align-self: stretch;
    min-height: min(42vh, 380px);
    height: auto;
    margin-right: -1.15rem;
    margin-left: -1.15rem;
    justify-content: center;
    order: 2;
  }

  .mascot-stage {
    width: min(88%, 360px);
  }

  .mascot {
    max-height: min(42vh, 360px);
  }

  .brand {
    font-size: clamp(2.6rem, 13vw, 3.75rem);
    margin-bottom: 0.85rem;
  }

  .cta .btn-start {
    min-height: 3rem;
  }

  .scroll-cue {
    bottom: 0.7rem;
    font-size: 0.82rem;
  }

  .beats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .beat {
    padding: 1rem 0.85rem;
    border-right: 0;
    border-bottom: 1.5px solid var(--line);
  }

  .beat:nth-child(odd) {
    border-right: 1.5px solid var(--line);
  }

  .beat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .plans-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 0;
    text-align: left;
  }

  .plan {
    padding: 0 0.85rem;
  }

  .plan:nth-child(odd) {
    border-left: 0;
    box-shadow: none;
    padding-left: 0;
  }

  .plan:nth-child(even) {
    border-left: 2px solid var(--plastron);
    box-shadow: inset 2px 0 0 var(--shell);
  }

  .plan:nth-child(n + 3) {
    padding-top: 1.15rem;
    border-top: 2px solid var(--plastron);
  }

  .section {
    padding: clamp(2.75rem, 7vw, 4rem) clamp(1.15rem, 4vw, 1.75rem);
  }

  .demo-cta .btn-start,
  .closing .btn-start {
    width: min(100%, 22rem);
  }
}

@media (max-width: 480px) {
  body.home {
    font-size: 1.05rem;
  }

  .plans-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .plan,
  .plan:nth-child(even),
  .plan:nth-child(odd) {
    border-left: 0;
    box-shadow: none;
    padding: 0.9rem 0 0;
  }

  .plan:first-child {
    padding-top: 0;
  }

  .plan + .plan,
  .plan:nth-child(n + 3) {
    border-top: 2px solid var(--plastron);
    box-shadow: inset 0 2px 0 var(--shell);
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn-start {
    width: 100%;
  }

  .hero-visual {
    margin-left: -1rem;
    margin-right: -1rem;
    min-height: min(38vh, 300px);
  }

  .mascot {
    max-height: min(38vh, 300px);
  }

  .beats-grid {
    grid-template-columns: 1fr;
  }

  .beat,
  .beat:nth-child(odd) {
    border-right: 0;
    border-bottom: 1.5px solid var(--line);
  }

  .beat:last-child {
    border-bottom: 0;
  }

  .about-beats {
    flex-direction: column;
    gap: 0.35rem;
  }

  .about-beats li:not(:last-child)::after {
    display: none;
  }

  .chat-demo {
    padding: 0.9rem;
    box-shadow: 5px 5px 0 rgba(139, 77, 184, 0.22);
  }

  .messages.demo {
    min-height: 220px;
    max-height: 340px;
  }

  .faq summary {
    font-size: 0.98rem;
    padding: 0.95rem 0;
  }
}
