/* ÉclatLocal — landing MVP (no paid deps) */
:root {
  --primary: #2c3e50;
  --accent: #c9a87c;
  --accent-dark: #a8885c;
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #2c3e50;
  --muted: #5d6d7e;
  --border: #e8e2d9;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
  --max: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell,
    "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
}

a {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

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

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

.nav-cta {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

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

.btn-ghost:hover {
  border-color: var(--primary);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  max-width: 18em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.hero-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.4rem;
}

.price-tag {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0 0.25rem;
}

.price-tag small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

/* Sections */
section {
  padding: 3rem 0;
}

section.alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.alt .card {
  background: var(--bg);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(201, 168, 124, 0.25);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: Georgia, serif;
}

/* Pricing */
.pricing-box {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.pricing-box ul {
  text-align: left;
  color: var(--muted);
  padding-left: 1.1rem;
  margin: 1.25rem 0 1.5rem;
}

.pricing-box li + li {
  margin-top: 0.45rem;
}

.badge {
  display: inline-block;
  background: rgba(201, 168, 124, 0.3);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 4rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Audit preview */
.audit-preview {
  display: grid;
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 720px;
}

.audit-preview figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.audit-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.audit-preview figcaption {
  padding: 0.65rem 0.9rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 720px) {
  .audit-preview {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 0;
  background: var(--primary);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.cta-band .fine {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.coming-soon {
  opacity: 0.7;
  font-style: italic;
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-block;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

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

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

  .steps li {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .steps li::before {
    position: static;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 719px) {
  .nav-links {
    display: none;
  }
}

/* Legal / stub pages */
.legal-page {
  padding: 2.5rem 0 3.5rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.legal-page .legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page .note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-page .back-link:hover {
  color: var(--primary);
}
