:root {
  --bg-main: #f7f1e6;
  --bg-soft: #efe7d8;
  --ink: #213027;
  --ink-muted: #4f6255;
  --brand-deep: #1f3a31;
  --brand: #2e5b4a;
  --brand-soft: #dbe7de;
  --accent: #d8b56a;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-1: 0 10px 28px rgba(31, 58, 49, 0.08);
  --shadow-2: 0 22px 60px rgba(31, 58, 49, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 20% 0%, #fff8ea 0%, var(--bg-main) 40%, #f2eadc 100%);
  color: var(--ink);
  font-family: "Hanken Grotesque", sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(1200px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 241, 230, 0.86);
  border-bottom: 1px solid rgba(33, 48, 39, 0.1);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-wordmark {
  font-family: "Newsreader", serif;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-wordmark em {
  color: var(--brand);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.22rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-ghost {
  color: var(--ink);
  border-color: rgba(33, 48, 39, 0.25);
  background: rgba(255, 255, 255, 0.55);
}

.btn-primary {
  color: #f7f5ee;
  background: linear-gradient(132deg, var(--brand) 0%, #284b3f 100%);
  box-shadow: 0 10px 25px rgba(31, 58, 49, 0.2);
}

.hero {
  padding: 3.8rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(46, 91, 74, 0.12);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1,
.section-title,
.final-cta h2 {
  font-family: "Newsreader", serif;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.hero p.lead {
  color: var(--ink-muted);
  max-width: 62ch;
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero .eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-trust {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-muted);
}

.hero-trust li::before {
  content: "\2713";
  color: var(--brand);
  margin-right: 0.45rem;
  font-weight: 700;
}

.hero-window {
  background: linear-gradient(160deg, #f9f6ee 0%, #ffffff 100%);
  border: 1px solid rgba(33, 48, 39, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.window-top {
  display: flex;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(33, 48, 39, 0.08);
  background: rgba(219, 231, 222, 0.45);
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccb885;
}

.window-body {
  padding: 1rem;
}

.brief-card {
  background: var(--white);
  border: 1px solid rgba(33, 48, 39, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--shadow-1);
}

.brief-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.platform-marquee {
  padding: 1rem 0 0.3rem;
}

.marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.track {
  display: flex;
  gap: 0.7rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.pill {
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #fffdf8;
  border: 1px solid rgba(33, 48, 39, 0.12);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-title {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-sub {
  color: var(--ink-muted);
  max-width: 68ch;
}

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

.card {
  background: #fffef9;
  border: 1px solid rgba(33, 48, 39, 0.12);
  border-radius: var(--radius-md);
  padding: 1.05rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-6px) rotate(-0.25deg);
  box-shadow: var(--shadow-2);
}

.pain-title {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.15rem;
}

.pain-impact {
  margin-top: 0.75rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.stat {
  background: linear-gradient(180deg, #fefcf6 0%, #f5efe3 100%);
}

.stat .num {
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--brand-deep);
}

.lou-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 20% 20%, #335e4d 0%, #173229 60%, #122920 100%);
  color: #edf6ef;
  padding: 1.4rem;
}

.starfield,
.starfield::before,
.starfield::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0.75px, transparent 0.85px);
  background-size: 42px 42px;
  opacity: 0.24;
  animation: twinkle 7s ease-in-out infinite;
  pointer-events: none;
}

.starfield::before {
  background-size: 60px 60px;
  animation-delay: -2s;
}

.starfield::after {
  background-size: 78px 78px;
  animation-delay: -4s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.35;
  }
}

.lou-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: radial-gradient(circle at 35% 30%, rgba(224, 255, 236, 0.95) 0%, #92c6ac 42%, #2f5e4c 100%);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.45), 0 0 34px rgba(205, 237, 219, 0.35);
  animation: breathe 4.2s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

.lou-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.lou-tab {
  border-radius: 999px;
  border: 1px solid rgba(235, 246, 237, 0.25);
  color: #eaf5ec;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.lou-tab.active {
  background: rgba(216, 181, 106, 0.2);
  border-color: rgba(216, 181, 106, 0.55);
}

.chat {
  border-radius: var(--radius-md);
  border: 1px solid rgba(235, 246, 237, 0.25);
  background: rgba(16, 38, 30, 0.5);
  padding: 0.85rem;
  min-height: 168px;
}

.bubble {
  max-width: 88%;
  border-radius: 14px;
  padding: 0.55rem 0.72rem;
  margin: 0.35rem 0;
  font-size: 0.92rem;
}

.bubble.user {
  background: rgba(229, 242, 232, 0.12);
}

.bubble.bot {
  margin-left: auto;
  background: rgba(216, 181, 106, 0.22);
}

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

.placeholder-slot {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(33, 48, 39, 0.28);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  text-align: center;
  padding: 1rem;
  color: var(--ink-muted);
  background: repeating-linear-gradient(
    45deg,
    #f9f4e8,
    #f9f4e8 12px,
    #f2e9d8 12px,
    #f2e9d8 24px
  );
}

.mock img {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(33, 48, 39, 0.28);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: repeating-linear-gradient(
    45deg,
    #f9f4e8,
    #f9f4e8 12px,
    #f2e9d8 12px,
    #f2e9d8 24px
  );
}

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

.bento .wide {
  grid-column: 1 / -1;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: rgba(46, 91, 74, 0.5);
  box-shadow: 0 24px 50px rgba(31, 58, 49, 0.2);
}

.badge {
  position: absolute;
  top: -11px;
  right: 14px;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: #2e5b4a;
  color: #edf6ef;
  font-size: 0.73rem;
  font-weight: 800;
}

.price-main {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  gap: 0.18rem;
  margin: 0.6rem 0;
}

.price-main strong,
.price-main .price-month,
.price-main .price-annual-new {
  font-family: "Newsreader", serif;
  font-size: 1.9rem;
  line-height: 1;
}

.price-main .price-annual-wrap {
  display: none;
  align-items: baseline;
  gap: 0.45rem;
}

.price-main .price-old {
  text-decoration: line-through;
  color: #8b9a91;
  font-weight: 600;
}

.price-main .price-annual-new {
  color: var(--brand);
  font-weight: 800;
}

.price-main .price-suffix {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.pricing-cycle-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pricing-cycle-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e8e3d8;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid #ddd6c8;
  margin-bottom: 1.2rem;
}

.pricing-cycle-switch label {
  cursor: pointer;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #395248;
  transition: all 0.25s ease;
}

.price-card .cycle-annuel {
  display: none;
}

#pricing-cycle-annual:checked ~ .pricing-cycle-switch [data-cycle-option="annuel"],
#pricing-cycle-annual:not(:checked) ~ .pricing-cycle-switch [data-cycle-option="mensuel"] {
  background: #1e6b50;
  color: #fff;
}

#pricing-cycle-annual:checked ~ .price-grid .price-month {
  display: none;
}

#pricing-cycle-annual:checked ~ .price-grid .price-annual-wrap {
  display: inline-flex;
}

#pricing-cycle-annual:checked ~ .price-grid .cycle-mensuel {
  display: none;
}

#pricing-cycle-annual:checked ~ .price-grid .cycle-annuel {
  display: inline-flex;
}

.price-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  flex: 1;
}

.price-cta-row {
  margin-top: auto;
  display: flex;
}

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

.footer {
  border-top: 1px solid rgba(33, 48, 39, 0.14);
  color: var(--ink-muted);
  padding: 1.2rem 0 2rem;
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.reveal-ready [data-reveal].is-visible,
.reveal.in {
  opacity: 1;
  transform: none;
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(33, 48, 39, 0.2);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--ink);
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    right: 1.2rem;
    flex-direction: column;
    align-items: stretch;
    background: #fcf7ed;
    border: 1px solid rgba(33, 48, 39, 0.12);
    border-radius: 14px;
    width: min(290px, calc(100% - 2.4rem));
    padding: 0.7rem;
    box-shadow: var(--shadow-2);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .grid-3,
  .stats-grid,
  .showcase-grid,
  .bento,
  .price-grid,
  .actualites-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }
}

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

  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .track {
    transform: none;
  }
}
