:root {
  --esm-blue: #106bf4;
  --esm-orange: #ff6700;
  --esm-yellow: #ffb000;
  --esm-purple: #8b00ff;
  --esm-red: #ff1010;
  --esm-brown: #6b3f12;
  --esm-green: #12b800;
  --esm-bg: #f7f9fc;
  --esm-text: #101828;
  --esm-white: #ffffff;
  --esm-muted: #667085;
  --esm-border: #e4e7ec;
  --esm-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
  --esm-radius: 18px;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at center, #004fce 0%, #202049 70%);
  color: var(--esm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-page {
  overflow-x: hidden;
  overflow-y: hidden;
  background: radial-gradient(circle at center, #004fce 0%, #202049 70%);
  color: var(--esm-white);
}

.home-page .bubble-layer {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-page .bubble {
  position: absolute;
  bottom: -40px;
  left: var(--bubble-x, 50%);
  width: var(--bubble-size, 30px);
  height: var(--bubble-size, 30px);
  opacity: 100%;
  pointer-events: none;
  transform: translate3d(-50%, 0, 0) scale(0.92);
  will-change: transform, opacity;
  animation: bubble-rise var(--bubble-duration, 12s) linear forwards;
}

.home-page .bubble img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes bubble-rise {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scale(0.82);
  }

  12% {
    opacity: 0.5;
  }

  78% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform:
      translate3d(
        calc(-50% + var(--bubble-drift, 24px)),
        calc(-1 * var(--bubble-travel, 110vh)),
        0
      )
      scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .bubble-layer {
    display: none;
  }

  .home-page .bubble {
    animation: none;
  }
}

.app-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.app-container {
  max-width: 920px;
}

.home-section {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100vh;
  min-height: 0;
  padding: 4.5rem 1.5rem 1.25rem;
  overflow: hidden;
}

.home-container {
  display: flex;
  height: calc(100vh - 5.75rem);
  min-height: 0;
  max-width: 1120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 2rem;
}

.home-brand-row {
  justify-content: center;
  margin-bottom: 1.1rem;
}

.generator-brand-row {
  margin-bottom: 1rem;
}

.brand-name {
  color: var(--esm-blue);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.app-tag,
.category-badge {
  border-radius: 999px;
  color: var(--esm-blue);
  background: rgba(16, 107, 244, 0.1);
  font-weight: 700;
}

.intro-block {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.home-intro {
  max-width: 1120px;
  margin-right: auto;
  margin-bottom: clamp(1.4rem, 4vh, 2.6rem);
  margin-left: auto;
  text-align: center;
}

.home-badge {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(1rem, 2.8vh, 1.6rem);
  padding: 0.55rem 1.25rem;
  border: 2px solid rgba(100, 204, 255, 0.78);
  border-radius: 18px;
  background: linear-gradient(110deg, #2939db 0%, var(--esm-blue) 72%, #0aa8ff 100%);
  box-shadow: 0 16px 38px rgba(16, 107, 244, 0.22);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.app-title {
  color: var(--esm-text);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.home-intro .app-title {
  max-width: 980px;
  margin-right: auto;
  margin-bottom: clamp(1rem, 2.8vh, 1.5rem);
  margin-left: auto;
  color: #fffdf7;
  font-size: 58px;
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

.app-subtitle {
  color: var(--esm-muted);
  line-height: 1.45;
}

.home-intro .app-subtitle {
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.16rem, 1.55vw, 1.45rem);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.home-subtitle {
  text-wrap: balance;
}

.intro-copy {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  color: var(--esm-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.choice-block {
  text-align: center;
  padding-top: 90px
}

.choice-title {
  margin-bottom: clamp(1rem, 2.8vh, 1.4rem);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.85rem, 2.3vh, 1.35rem) 1.45rem;
  max-width: 760px;
  margin: 0 auto;
}

.category-item {
  flex: 0 1 auto;
}

.category-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 54px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  color: var(--esm-white);
  box-shadow: none;
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg)) translateY(0);
  transition: filter 160ms ease, transform 160ms ease;
}

.category-card:hover,
.category-card:focus {
  color: var(--esm-white);
  filter: brightness(1.1);
  transform: rotate(var(--tilt, 0deg)) translateY(-4px);
}

.category-title {
  display: block;
}

.category-title {
  color: inherit;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
}

.category-bricoleur {
  --tilt: -3deg;
  background: var(--esm-yellow);
}

.category-mode {
  --tilt: 0deg;
  background: var(--esm-purple);
  color: var(--esm-white);
}

.category-newsletter {
  --tilt: -1deg;
  background: var(--esm-orange);
  color: var(--esm-white);
}

.category-club {
  --tilt: 2deg;
  background: var(--esm-blue);
  color: var(--esm-white);
}

.category-restauration {
  --tilt: -1.5deg;
  background: var(--esm-red);
  color: var(--esm-white);
}

.category-photographie {
  --tilt: -5deg;
  background: var(--esm-brown);
  color: var(--esm-white);
}

.category-digital {
  --tilt: 1.5deg;
  background: var(--esm-green);
  color: var(--esm-white);
}

.home-signature {
  margin-top: auto;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.site-footer {
  margin-top: auto;
  padding-top: clamp(1rem, 3vh, 1.8rem);
  text-align: center;
}

.site-footer .home-signature {
  margin-top: 0.9rem;
  padding-top: 0;
}

.content-footer {
  padding: 0 1.5rem 3rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus {
  background: rgba(255, 255, 255, 0.14);
  color: var(--esm-white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.menu-toggle {
  position: fixed;
  z-index: 40;
  top: 2rem;
  right: 4rem;
  width: 48px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.side-menu {
  position: fixed;
  z-index: 60;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(38vw, 560px);
  min-width: 430px;
  padding: 4.6rem 3.8rem;
  background: #0b0824;
  color: var(--esm-white);
  transform: translateX(-102%);
  transition: transform 220ms ease;
}

.is-menu-open .side-menu {
  transform: translateX(0);
}

.side-menu-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 7rem;
}

.side-menu-logo img {
  display: block;
  width: 190px;
  height: auto;
}

.menu-close {
  border: 0;
  background: transparent;
  color: var(--esm-white);
  cursor: pointer;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.menu-close span {
  margin-right: 0.35rem;
}

.side-menu-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.side-menu-label span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--esm-blue);
}

.side-menu-link {
  display: block;
  margin-left: 2.5rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.9rem;
  line-height: 1.5;
  text-decoration: none;
}

.side-menu-link:hover,
.side-menu-link:focus {
  color: var(--esm-white);
}

.menu-scrim {
  position: fixed;
  z-index: 55;
  inset: 0;
  display: none;
  border: 0;
  background: transparent;
}

.is-menu-open .menu-scrim {
  display: block;
}

.is-menu-open .side-menu {
  z-index: 70;
}

.generator-box {
  border-radius: var(--esm-radius);
  box-shadow: var(--esm-shadow);
  padding: 1.5rem;
}

.category-badge {
  margin-bottom: 1.25rem;
}

.back-link {
  color: var(--esm-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.back-link:hover,
.back-link:focus {
  color: var(--esm-blue);
}

.button.app-button,
.button.is-primary {
  border-radius: 999px;
  background-color: var(--esm-blue);
  border-color: var(--esm-blue);
  font-weight: 800;
}

.button.app-button:hover,
.button.app-button:focus,
.button.is-primary:hover,
.button.is-primary:focus {
  background-color: #0d5ed8;
  border-color: #0d5ed8;
}

.button.is-light {
  border-radius: 999px;
  color: var(--esm-blue);
  background: rgba(16, 107, 244, 0.1);
  font-weight: 800;
}

.actions-row {
  margin-top: 1.5rem;
}

.message-area {
  margin-top: 1.25rem;
}

.result-area {
  margin-top: 1.5rem;
}

.result-card {
  border: 1px solid var(--esm-border);
  border-radius: var(--esm-radius);
  box-shadow: none;
}

.gtb-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gtb-block {
  padding: 1rem;
  border: 1px solid var(--esm-border);
  border-radius: 14px;
  background: var(--esm-white);
}

.gtb-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--esm-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.gtb-block.is-by {
  border-color: rgba(255, 103, 0, 0.35);
  background: rgba(255, 103, 0, 0.06);
}

.gtb-block.is-by .gtb-label {
  color: var(--esm-orange);
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.roadmap-help {
  margin-top: 0.75rem;
  color: var(--esm-muted);
  font-size: 0.95rem;
}

.email-form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--esm-border);
}

.notification {
  border-radius: 14px;
}

.input {
  border-radius: 999px;
}

.signature {
  margin-top: 1.5rem;
  color: var(--esm-muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (min-width: 769px) {
  .generator-box {
    padding: 2rem;
  }

  .gtb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .home-section {
    padding: 4.6rem 1rem 0.9rem;
  }

  .home-container {
    height: calc(100vh - 5.5rem);
    min-height: 0;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .home-badge {
    min-height: 44px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 1rem;
  }

  .home-intro {
    margin-bottom: 1.35rem;
  }

  .home-intro .app-title.title.is-1 {
    font-size: clamp(2rem, 10.5vw, 2.65rem);
    line-height: 1.08;
  }

  .home-intro .app-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  .app-title.title.is-2 {
    font-size: 2rem;
  }

  .post-actions,
  .post-actions .button,
  .actions-row .button {
    width: 100%;
  }

  .choice-title {
    margin-bottom: 0.9rem;
    font-size: 1.12rem;
  }

  .category-grid {
    display: grid;
    width: 100%;
    max-width: 360px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .category-card {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0.5rem 0.75rem;
  }

  .category-title {
    font-size: 0.9rem;
  }

  .home-signature {
    padding-top: 0;
    font-size: 0.78rem;
  }

  .site-footer {
    padding-top: 0.85rem;
  }

  .site-footer .home-signature {
    padding-top: 0;
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    top: 1.55rem;
    right: 1.35rem;
    width: 38px;
  }

  .menu-toggle span {
    width: 38px;
    height: 3px;
    margin-bottom: 9px;
  }

  .side-menu {
    width: 88vw;
    min-width: 0;
    padding: 2.3rem 1.8rem;
  }

  .side-menu-top {
    gap: 1.2rem;
    margin-bottom: 5rem;
  }

  .side-menu-logo img {
    width: 130px;
  }

  .menu-close {
    font-size: 1rem;
  }

  .side-menu-link {
    margin-left: 2rem;
    font-size: 1.55rem;
  }

}

@media (min-width: 521px) and (max-width: 900px) {
  .home-section {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .home-intro .app-title {
    font-size: clamp(3rem, 7.8vw, 4rem);
  }

  .home-intro .app-subtitle {
    font-size: 1.35rem;
  }

  .menu-toggle {
    top: 2.2rem;
    right: 2.2rem;
  }

  .side-menu {
    width: 76vw;
    min-width: 0;
  }
}

/* Page de réservation Calendly */
html {
  scroll-behavior: smooth;
}

.calendly-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at center, #004fce 0%, #202049 70%);
  color: var(--esm-white);
}

.calendly-hero {
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding: 8.5rem 1.5rem 3rem;
}

.calendly-hero-container {
  display: flex;
  min-height: calc(100vh - 11.5rem);
  align-items: center;
  justify-content: center;
}

.calendly-hero-card {
  width: min(100%, 980px);
  padding: 3rem;
  border: 1px solid rgba(132, 230, 255, 0.18);
  border-top: 6px solid var(--esm-orange);
  border-radius: 22px;
  background: rgba(11, 8, 36, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.calendly-badge {
  margin-bottom: 2rem;
}

.calendly-title {
  max-width: 820px;
  margin: 0 auto 1.4rem;
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
}

.calendly-lead,
.calendly-copy {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.calendly-copy {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.calendly-price {
  display: inline-flex;
  margin: 1.45rem auto 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 103, 0, 0.45);
  border-radius: 999px;
  background: rgba(255, 103, 0, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  line-height: 1.35;
}

.calendly-price strong {
  color: var(--esm-white);
  font-weight: 900;
}

.calendly-primary-button {
  min-height: 54px;
  margin-top: 2rem;
  padding: 0.85rem 1.55rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--esm-blue) 0%, #168cff 58%, #2636C1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.calendly-primary-button:hover,
.calendly-primary-button:focus {
  color: var(--esm-white);
  filter: brightness(1.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.calendly-widget-section {
  padding: 5rem 1.5rem 6rem;
  background: transparent;
}

.calendly-widget-heading {
  max-width: 980px;
  margin: 0 auto 1.5rem;
}

.calendly-widget-heading h2 {
  margin-top: 1rem;
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
}

.calendly-inline-widget {
  width: min(100%, 1080px);
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(132, 230, 255, 0.18);
  border-radius: 18px;
  background: var(--esm-white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

@media (max-width: 900px) {
  .calendly-hero {
    align-items: flex-start;
    min-height: 100vh;
    padding: 6.8rem 1rem 2rem;
  }

  .calendly-hero-container {
    min-height: calc(100vh - 8.8rem);
  }

  .calendly-hero-card {
    padding: 2rem 1.1rem;
    border-radius: 18px;
  }

  .calendly-badge {
    margin-bottom: 1.35rem;
  }

  .calendly-title {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  .calendly-price {
    border-radius: 18px;
  }

  .calendly-primary-button {
    width: 100%;
  }

  .calendly-widget-section {
    padding: 4rem 1rem 5rem;
  }
}
.brand-logo {
  display: inline-flex;
  align-items: center;
}

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

.generator-page {
  --category-color: var(--esm-green);
  --category-soft: rgba(18, 184, 0, 0.22);
  overflow-x: hidden;
  background: radial-gradient(circle at center, #004fce 0%, #202049 70%);
  color: var(--esm-white);
}

.content-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at center, #004fce 0%, #202049 70%);
  color: var(--esm-white);
}

.contact-page {
  min-height: 100vh;
  overflow-y: auto;
}

.generator-logo {
  position: fixed;
  z-index: 35;
  top: 1rem;
  left: 4rem;
  display: inline-flex;
}

.generator-logo img {
  display: block;
  width: 118px;
  height: auto;
}

.content-section {
  min-height: 100vh;
  padding: 8.5rem 1.5rem 4rem;
}

.content-card {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 3rem;
  border: 1px solid rgba(132, 230, 255, 0.16);
  border-top: 5px solid var(--esm-blue);
  border-radius: 22px;
  background: rgba(11, 8, 36, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.content-badge {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(132, 230, 255, 0.68);
  border-radius: 999px;
  background: rgba(16, 107, 244, 0.18);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

.content-card h1,
.content-card h2 {
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.content-card h1 {
  max-width: 860px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
}

.content-card h2 {
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
  font-weight: 900;
}

.content-card p,
.legal-list,
.contact-list {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.content-lead {
  max-width: 920px;
  margin-bottom: 2.4rem;
  font-size: 1.25rem;
}

.content-block {
  margin-top: 2rem;
}

.content-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.96rem;
}

.roadmap-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.roadmap-preview-card {
  min-height: 170px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(132, 230, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(16, 107, 244, 0.22), rgba(255, 103, 0, 0.16)),
    rgba(255, 255, 255, 0.04);
}

.roadmap-placeholder {
  display: flex;
  height: 130px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.roadmap-preview-card figcaption {
  padding: 0.7rem 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-list,
.contact-list {
  margin-top: 0.8rem;
  margin-left: 1.1rem;
}

.contact-list {
  margin-left: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.65rem;
}

.contact-list span {
  display: inline-block;
  min-width: 92px;
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.content-primary-button,
.content-secondary-button {
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.content-primary-button {
  background: linear-gradient(100deg, #2f43d9 0%, var(--esm-blue) 100%);
  box-shadow: inset 0 0 0 2px #168cff;
}

.content-secondary-button {
  background: #343c48;
}

.content-primary-button:hover,
.content-primary-button:focus,
.content-secondary-button:hover,
.content-secondary-button:focus {
  color: var(--esm-white);
  filter: brightness(1.08);
}

.contact-form {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-page .contact-form {
  margin-top: 1.6rem;
  padding-top: 0;
  border-top: 0;
}

.contact-form .label {
  color: var(--esm-white);
}

.contact-form .input,
.contact-form .textarea {
  border: 1px solid rgba(132, 230, 255, 0.48);
  background: rgba(255, 255, 255, 0.04);
  color: var(--esm-white);
}

.contact-form .textarea {
  min-height: 140px;
  border-radius: 18px;
}

.generator-section {
  min-height: 100vh;
  padding: 11.5rem 1.5rem 2.1rem;
}

.generator-container {
  display: flex;
  max-width: 1240px;
  min-height: calc(100vh - 13.6rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.generator-card {
  width: min(100%, 1160px);
  padding: 2.55rem 2.25rem 2.05rem;
  border-top: 6px solid var(--category-color);
  border-radius: 18px;
  background: #0b0824;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.generator-category-badge {
  display: inline-flex;
  min-width: 156px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.25rem;
  padding: 0.35rem 1.4rem;
  border: 2px solid var(--category-color);
  border-radius: 999px;
  background: var(--category-soft);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
}

.generator-title {
  max-width: 999px;
  margin-bottom: 1.55rem;
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.05rem, 3.1vw, 2.9rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.generator-primary-action {
  margin-top: 0;
  margin-bottom: 2.3rem;
}

.generator-button,
.lead-submit-button {
  min-height: 54px;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--esm-orange) 0%, #ff7f1a 62%, #ffc22c 100%);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.generator-button:hover,
.generator-button:focus,
.lead-submit-button:hover,
.lead-submit-button:focus {
  color: var(--esm-white);
  filter: brightness(1.08);
}

.generator-message {
  min-height: 1.8rem;
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.generator-message .notification,
.lead-message .notification {
  margin: 0;
  border: 1px solid rgba(132, 230, 255, 0.32);
  background: rgba(132, 230, 255, 0.1);
  color: var(--esm-white);
}

.generator-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.editable-brief-help {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.idea-panel {
  min-height: 190px;
  padding: 1.45rem 1.35rem;
  border: 1px solid rgba(132, 230, 255, 0.9);
  border-radius: 14px;
  background: rgba(11, 8, 36, 0.58);
  color: var(--esm-white);
}

.idea-panel.is-user-edited {
  border-color: rgba(255, 103, 0, 0.95);
}

.idea-panel-header {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.idea-panel h2 {
  margin-bottom: 0;
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.edited-indicator {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  background: rgba(255, 103, 0, 0.16);
  color: var(--esm-orange);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.idea-editor {
  width: 100%;
  min-height: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.48;
  text-align: center;
  resize: none;
  outline: none;
}

.idea-editor::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.idea-editor:focus {
  color: var(--esm-white);
}

.reset-field-button {
  display: block;
  margin: 0.7rem auto 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.reset-field-button:hover,
.reset-field-button:focus {
  color: var(--category-color);
}

.idea-panel p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.generator-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 3.95rem;
}

.roadmap-button,
.receive-button {
  min-width: 245px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.roadmap-button {
  background: linear-gradient(100deg, #2f43d9 0%, var(--esm-blue) 100%);
  box-shadow: inset 0 0 0 2px #168cff;
}

.receive-button {
  background: #343c48;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.roadmap-button span,
.receive-button span {
  margin-left: 0.45rem;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 0;
}

.roadmap-button:hover,
.roadmap-button:focus,
.receive-button:hover,
.receive-button:focus {
  color: var(--esm-white);
  filter: brightness(1.08);
}

.generator-signature {
  margin-top: 3.6rem;
  padding-top: 0;
}

.generator-footer {
  margin-top: 3.6rem;
  padding-top: 0;
}

.generator-footer .generator-signature {
  margin-top: 0.9rem;
}

.dashboard-card {
  border: 1px solid rgba(132, 230, 255, 0.2);
  border-top: 6px solid var(--category-color);
}

.dashboard-app {
  width: 100%;
}

.question-step,
.dashboard-heading {
  text-align: center;
}

.dashboard-kicker {
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-question-title {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.question-statement {
  max-width: 850px;
  margin: 0 auto 1.6rem;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--category-color);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.question-options {
  display: grid;
  max-width: 760px;
  gap: 1rem;
  margin: 2rem auto 0;
}

.question-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.question-group-title {
  margin: 1.35rem 0 0.8rem;
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.question-answer {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(132, 230, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--esm-white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.question-answer:hover,
.question-answer:focus {
  border-color: rgba(132, 230, 255, 0.68);
  background: rgba(255, 255, 255, 0.09);
  color: var(--esm-white);
  transform: translateY(-1px);
}

.question-answer.is-selected {
  border-color: var(--category-color);
  background: var(--category-soft);
  box-shadow: inset 0 0 0 1px var(--category-color);
}

.answer-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.answer-dot[data-color="vert"] {
  background: var(--esm-green);
}

.answer-dot[data-color="rouge"] {
  background: var(--esm-red);
}

.answer-dot[data-color="bleu"] {
  background: var(--esm-blue);
}

.answer-dot[data-color="jaune"] {
  background: var(--esm-yellow);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dashboard-secondary-button {
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.dashboard-secondary-button:hover,
.dashboard-secondary-button:focus {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--esm-white);
  filter: brightness(1.08);
}

.dashboard-generate-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.dashboard-form-stack {
  display: grid;
  gap: 1.1rem;
}

.dashboard-form-card {
  min-height: 0;
}

.dashboard-form-header {
  justify-content: flex-start;
}

.dashboard-form-header h2 {
  text-align: left;
}

.dashboard-card-intro {
  max-width: 980px;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
}

.dashboard-summary-field,
.dashboard-detail-field {
  display: grid;
  gap: 0.45rem;
  color: var(--esm-white);
  font-weight: 900;
}

.dashboard-summary-field {
  margin-bottom: 1rem;
}

.dashboard-summary-field span,
.dashboard-detail-field span {
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
}

.dashboard-summary-editor,
.dashboard-detail-field textarea {
  width: 100%;
  min-height: 62px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(132, 230, 255, 0.36);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--esm-white);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  outline: none;
  resize: vertical;
}

.dashboard-summary-editor:focus,
.dashboard-detail-field textarea:focus {
  border-color: var(--category-color);
  box-shadow: 0 0 0 3px var(--category-soft);
}

.dashboard-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.dashboard-detail-grid[data-field-count="1"] {
  grid-template-columns: 1fr;
}

.dashboard-detail-field textarea {
  min-height: 118px;
}

.thank-you-step {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.4rem 1rem;
  text-align: center;
}

.thank-you-copy {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.lead-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.lead-modal.is-open {
  display: flex;
}

.lead-modal-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: #106BF4;
  opacity: 30%
}

.lead-modal-stack {
  position: relative;
  width: min(100%, 1280px);
}

.modal-layer {
  position: absolute;
  inset: 0;
  border-radius: 22px;
}

.modal-layer-red {
  background: var(--esm-red);
  transform: translate(22px, 20px) rotate(3deg);
}

.modal-layer-blue {
  background: var(--esm-blue);
  transform: translate(-18px, 34px) rotate(-3deg);
}

.modal-layer-green {
  background: var(--esm-green);
  transform: translate(-10px, 16px) rotate(1deg);
}

.lead-modal-card {
  position: relative;
  z-index: 2;
  min-height: 610px;
  padding: 3rem 3.8rem 3.6rem;
  border-radius: 22px;
  background: #0b0824;
  color: var(--esm-white);
}

.lead-modal-close {
  position: absolute;
  top: 1.3rem;
  right: 1.6rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lead-modal-card h2 {
  margin: 0 0 5.8rem;
  padding: 0 0 1.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #fffdf7;
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.lead-field {
  display: grid;
  max-width: 820px;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 5.4rem;
}

.lead-field label,
.lead-checkbox {
  color: var(--esm-white);
  font-family: Prompt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.lead-field input {
  width: 100%;
  min-height: 72px;
  padding: 0 2rem;
  border: 2px solid rgba(132, 230, 255, 0.92);
  border-radius: 18px;
  background: transparent;
  color: var(--esm-white);
  font-size: 1.5rem;
  font-style: italic;
  outline: none;
}

.lead-field input::placeholder {
  color: rgba(255, 255, 255, 0.95);
}

.lead-checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.2rem;
}

.lead-checkbox input {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  accent-color: var(--esm-blue);
}

.lead-submit-button {
  margin-top: 0.6rem;
  background: linear-gradient(100deg, #2f43d9 0%, var(--esm-blue) 100%);
}

.lead-message {
  margin-top: 1.2rem;
}

@media (min-width: 901px) {
  body.generator-page {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .generator-page .generator-logo {
    top: 2.4rem;
    left: 4.4rem;
  }

  .generator-page .generator-logo img {
    width: 102px;
  }

  .generator-page .menu-toggle {
    top: 3rem;
    right: 4.4rem;
  }

  .generator-section {
    min-height: 100vh;
    padding: 5.6rem 1.5rem 3.6rem;
  }

  .generator-container {
    min-height: calc(100vh - 9.2rem);
    justify-content: center;
  }

  .generator-card {
    flex-direction: column;
    overflow: visible;
    padding: 1.7rem 1.5rem 1.45rem;
  }

  .generator-category-badge {
    min-height: 32px;
    margin-bottom: 1.55rem;
    font-size: 0.98rem;
  }

  .generator-title {
    margin-bottom: 1.15rem;
    font-size: clamp(2rem, 2.7vw, 2.55rem);
    line-height: 1.12;
  }

  .generator-primary-action {
    margin-bottom: 1.15rem;
  }

  .generator-button,
  .lead-submit-button {
    min-height: 46px;
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
  }

  .generator-message {
    min-height: 1.25rem;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
  }

  .editable-brief-help {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
  }

  .generator-results {
    min-height: 0;
  }

  .generator-results .idea-panel:not(.dashboard-form-card) {
    height: clamp(132px, 22vh, 176px);
    min-height: 0;
    overflow: hidden;
    padding: 1rem 1rem 0.9rem;
  }

  .idea-panel-header {
    margin-bottom: 0.55rem;
  }

  .idea-panel h2 {
    font-size: 1.35rem;
  }

  .idea-editor {
    min-height: 68px;
    max-height: calc(100% - 3.9rem);
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .reset-field-button {
    margin-top: 0.45rem;
  }

  .idea-panel p {
    display: block;
    max-height: calc(100% - 2.3rem);
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .generator-secondary-actions {
    margin-top: 1.55rem;
  }

  .roadmap-button,
  .receive-button {
    min-height: 44px;
    font-size: 1rem;
  }

  .generator-signature {
    margin: 0;
    color: rgba(255, 255, 255, 0.32);
    font-size: 1rem;
    pointer-events: none;
    display: flex;
    justify-content: center;
  }

  .lead-modal {
    overflow-y: auto;
  }

  .lead-modal-card {
    max-height: calc(100vh - 6rem);
    min-height: 0;
    overflow-y: auto;
  }
}

@media (max-width: 900px) {
  .content-section {
    padding: 7.5rem 1rem 2rem;
  }

  .content-card {
    padding: 2rem 1.1rem;
    border-radius: 18px;
  }

  .content-card h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .content-lead {
    font-size: 1.08rem;
  }

  .roadmap-preview-grid {
    grid-template-columns: 1fr;
  }

  .content-actions,
  .content-actions .button {
    width: 100%;
  }

  body.generator-page {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .generator-logo {
    top: 1rem;
    left: 1rem;
    max-width: calc(100vw - 6rem);
  }

  .generator-logo img {
    width: clamp(72px, 22vw, 92px);
    max-width: 100%;
  }

  .generator-section {
    padding: 6.6rem 1rem 1.4rem;
  }

  .generator-container {
    min-height: calc(100vh - 8.9rem);
  }

  .generator-card {
    padding: 2rem 1rem 1.45rem;
  }

  .generator-category-badge {
    margin-bottom: 2.2rem;
  }

  .generator-title {
    font-size: clamp(1.95rem, 8vw, 2.55rem);
  }

  .question-options {
    margin-top: 1.45rem;
  }

  .question-answer {
    align-items: flex-start;
    min-height: 50px;
  }

  .generator-results {
    grid-template-columns: 1fr;
  }

  .idea-panel {
    min-height: 150px;
  }

  .idea-editor {
    min-height: 110px;
    resize: vertical;
  }

  .dashboard-actions,
  .generator-secondary-actions {
    gap: 0.75rem;
  }

  .dashboard-actions .button,
  .dashboard-secondary-button {
    width: 100%;
  }

  .dashboard-form-header {
    justify-content: center;
  }

  .dashboard-form-header h2 {
    text-align: center;
  }

  .dashboard-detail-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-summary-editor,
  .dashboard-detail-field textarea {
    min-height: 94px;
  }

  .generator-secondary-actions {
    margin-top: 2rem;
  }

  .roadmap-button,
  .receive-button {
    width: 100%;
    min-width: 0;
  }

  .lead-modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 4.5rem 1rem 2rem;
  }

  .lead-modal-card {
    min-height: auto;
    padding: 2rem 1.2rem 2.2rem;
  }

  .lead-modal-card h2 {
    margin: 0 0 2.8rem;
    padding: 0 0 1.4rem;
  }

  .lead-field {
    display: block;
    margin-bottom: 2.4rem;
  }

  .lead-field label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
  }

  .lead-field input {
    min-height: 58px;
    padding: 0 1rem;
    font-size: 1.05rem;
  }

  .lead-checkbox {
    align-items: flex-start;
    margin-bottom: 1.7rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  .lead-checkbox input {
    width: 30px;
    height: 30px;
  }
}
.esm-logo {
  position: fixed;
  top: 1rem;
  left: 64px;
  width: 160px;
  max-width: calc(100vw - 7rem);
  height: auto;
  z-index: 20;
}

@media screen and (max-width: 768px) {
  .generator-logo,
  .esm-logo {
    display: none !important;
  }
}
