@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --muted-foreground: 220 9% 46%;
  --border: 220 13% 85%;
  --accent: 180 100% 50%;
  --section-bg: 210 40% 98%;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 12, 36, 0.95);
  backdrop-filter: blur(8px);
}

.site-header .container {
  max-width: 72rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00ffff;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover {
  box-shadow: 0 4px 20px -4px rgba(0, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Main content */

main {
  padding: 3.5rem 0 4rem;
}

.hero {
  text-align: center;
  padding-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: hsl(var(--foreground));
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: hsl(var(--foreground));
}

.lead {
  font-size: 1.15rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2rem;
}

section {
  padding: 2.5rem 0;
}

section.alt {
  background: hsl(var(--section-bg));
  border-radius: var(--radius);
}

section h2 {
  text-align: center;
}

section > .container > p:not(.lead) {
  color: hsl(var(--muted-foreground));
}

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

/* Lists */

.check-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 36rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}

.step strong {
  display: block;
  margin-bottom: 0.25rem;
}

.step span {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

/* Table */

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  border: 1px solid hsl(var(--border));
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

th {
  background: hsl(var(--section-bg));
  font-weight: 600;
}

td:first-child {
  font-weight: 600;
}

/* Pricing cards */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.price-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.price-card.highlight {
  border-color: hsl(var(--accent));
}

.price-card .price {
  font-size: 1.75rem;
  font-weight: 800;
}

.price-card .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.price-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

/* FAQ */

.faq details {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  margin-bottom: 1rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: hsl(var(--accent-foreground, var(--foreground)));
}

.faq details[open] summary::before {
  content: "−";
}

.faq p {
  color: hsl(var(--muted-foreground));
  margin: 0.75rem 0 0.25rem;
}

/* Stats grid (social proof) */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 auto 2.5rem;
  max-width: 44rem;
}

.stat-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: hsl(var(--accent));
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

/* Testimonials (social proof) */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial-card p {
  font-style: italic;
  color: hsl(var(--foreground));
  margin: 0 0 1rem;
}

.testimonial-card .author {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

/* Scenario box (projection mentale) */

.scenario-box {
  background: hsl(var(--section-bg));
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.scenario-box p {
  margin: 0 0 0.6rem;
}

.scenario-box p:last-child {
  margin-bottom: 0;
}

/* Trust line (hero reassurance) */

.trust-line {
  text-align: center;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}

/* Value props (Pourquoi choisir Client Génie) */

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.value-card p {
  margin: 0;
  font-size: 0.92rem;
  color: hsl(var(--muted-foreground));
}

/* Frustrations (pourquoi chercher une alternative) */

.frustration-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 42rem;
}

.frustration-list li {
  border-left: 3px solid hsl(var(--accent));
  padding: 0.25rem 0 0.25rem 1.1rem;
  margin-bottom: 1.25rem;
}

.frustration-list .frustration-title {
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.frustration-list .frustration-consequence {
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
  display: block;
}

/* Comparison dimension blocks */

.dimension {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.dimension h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  text-align: left;
}

.dimension-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dimension-col {
  padding: 0.9rem 1rem;
  border-radius: calc(var(--radius) - 0.2rem);
  background: hsl(var(--section-bg));
}

.dimension-col.genie {
  border: 1px solid hsl(var(--accent));
  background: transparent;
}

.dimension-col .dimension-label {
  display: block;
  font-weight: 600;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: hsl(var(--muted-foreground));
}

.dimension-col p {
  margin: 0;
  font-size: 0.92rem;
}

.dimension .benefit {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-style: italic;
}

/* Persona fit */

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.persona-col {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.persona-col.fit {
  border: 1px solid hsl(var(--accent));
}

.persona-col.not-fit {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--section-bg));
}

.persona-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  text-align: left;
}

.persona-col ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.persona-col ul li {
  margin-bottom: 0.4rem;
}

/* Mid-page CTA banner */

.cta-banner {
  text-align: center;
  background: hsl(var(--section-bg));
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}

.cta-banner p {
  margin: 0 0 1rem;
  font-weight: 500;
}

/* Related links */

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.related-links a {
  text-decoration: underline;
}

/* Final CTA */

.final-cta {
  text-align: center;
}

/* Footer */

footer {
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 1.5rem;
}

footer .container {
  max-width: 64rem;
}

footer .tagline {
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

footer .company {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

footer .company p:first-child {
  color: hsl(var(--foreground));
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.footer-nav p {
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.footer-nav a:hover {
  color: hsl(var(--foreground));
}

.footer-nav .alt-links {
  columns: 2;
}

.footer-nav .alt-links a {
  font-size: 0.78rem;
}

.copyright {
  text-align: center;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 640px) {
  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-nav .alt-links {
    columns: 1;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.75rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .dimension-grid {
    grid-template-columns: 1fr;
  }
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
